-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/oasis-node/cmd/debug: Add the
dumpdb
command
This command will attempt to extract the ABCI state from a combination of a shutdown node's on-disk database and the genesis document currently being used by the network, and will write the output as a JSON formatted genesis document. Some caveats: * It is not guaranteed that the dumped output will be usable as an actual genesis document without manual intervention. * Only the state that would be exported via a normal dump from a running node will be present in the dump.
- Loading branch information
Showing
7 changed files
with
460 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
go/oasis-node/cmd/debug: Add the `dumpdb` command | ||
|
||
This command will attempt to extract the ABCI state from a combination | ||
of a shutdown node's on-disk database and the genesis document currently | ||
being used by the network, and will write the output as a JSON formatted | ||
genesis document. | ||
|
||
Some caveats: | ||
|
||
- It is not guaranteed that the dumped output will be usable as an | ||
actual genesis document without manual intervention. | ||
|
||
- Only the state that would be exported via a normal dump from a running | ||
node will be present in the dump. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.