-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat(cli): add experimental db export/import commands #413
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #413 +/- ##
==========================================
- Coverage 82.87% 82.62% -0.25%
==========================================
Files 171 171
Lines 15613 15671 +58
Branches 2470 2476 +6
==========================================
+ Hits 12939 12948 +9
- Misses 2227 2277 +50
+ Partials 447 446 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started reviewing it but I noticed that it has changes from other PRs. I'll wait for a rebase to finish the review.
b4b5810
to
5772360
Compare
5772360
to
a60b86e
Compare
a60b86e
to
0938453
Compare
0938453
to
decae0a
Compare
Last test runs were OK, this run just has the commits signed. |
This PR depends on #410, it's basically two commands (prefixed with
x-
to indicate they are experimental):x-import
andx-export
, that will export raw blocks+transactions with no metadata with a trivial serialization. The format is intended to be simple enough so it can be stable, it's useful for recreating a database without having to sync to the network, and also useful for running experiments related to the loading of transactions.