Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: account activity monitor #4832

Open
1 of 2 tasks
aubrika opened this issue Aug 23, 2024 · 0 comments · May be fixed by #4844
Open
1 of 2 tasks

client: account activity monitor #4832

aubrika opened this issue Aug 23, 2024 · 0 comments · May be fixed by #4844
Assignees
Labels
A-client Area: Design and implementation for client functionality needs-refinement unclear, incomplete, or stub issue that needs work _P-high High priority
Milestone

Comments

@aubrika
Copy link
Contributor

aubrika commented Aug 23, 2024

We need a utility that can monitor the activity of one or more accounts, given only a full viewing key for each.

The input is a JSON file containing FullViewingKeys, and the tool needs to be able to check that, for each account of each FVK, the current UM-equivalent balance of the account is greater than or equal to the genesis balance.

This will require:

  • one-off scanning of the compact block with each FVK in order to compute the genesis allocations as they were in the genesis file
  • building a directory tree that can be pcli/pclientd home directories that have view databases in them and have the current state

In the (near) future the tool will also need to handle key rotations (transfer of balances from one account to another), so this work should be done to accommodate the work done to that end in #4831.

@aubrika aubrika added A-client Area: Design and implementation for client functionality _P-high High priority labels Aug 23, 2024
@aubrika aubrika added this to the Sprint 11 milestone Aug 23, 2024
@github-actions github-actions bot added the needs-refinement unclear, incomplete, or stub issue that needs work label Aug 23, 2024
@redshiftzero redshiftzero linked a pull request Aug 29, 2024 that will close this issue
8 tasks
@aubrika aubrika modified the milestones: Sprint 11, Sprint 12 Sep 9, 2024
@aubrika aubrika modified the milestones: Sprint 12, Sprint 13 Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-client Area: Design and implementation for client functionality needs-refinement unclear, incomplete, or stub issue that needs work _P-high High priority
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

2 participants