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

Improve fwdctl dump #348

Open
rkuris opened this issue Nov 11, 2023 · 1 comment
Open

Improve fwdctl dump #348

rkuris opened this issue Nov 11, 2023 · 1 comment
Labels
good first issue Good for newcomers
Milestone

Comments

@rkuris
Copy link
Collaborator

rkuris commented Nov 11, 2023

Right now, the dump command only takes a database name. It would be easy to add options now:

  • output formats json and/or csv (these would need to be streaming for large databases)
  • specific starting key
  • specific stop key
  • maximum number of keys
  • if we stopped, have an option to render the next key for resuming

Some of these stream limits are already implemented for range proofs, so you can use the code there as a template of how to stop iterating.

(depends on #347)

@rkuris rkuris added the good first issue Good for newcomers label Nov 11, 2023
@rkuris rkuris added this to the v0.0.5 milestone Nov 18, 2023
@rkuris
Copy link
Collaborator Author

rkuris commented Nov 18, 2023

import from json (or any format) would also be amazing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Ready ⏳
Development

No branches or pull requests

3 participants