-
Notifications
You must be signed in to change notification settings - Fork 491
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs/cli: update docs with inspect command
Signed-off-by: jsvisa <delweng@gmail.com>
- Loading branch information
Showing
2 changed files
with
21 additions
and
2 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
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,19 @@ | ||
# Inspect ancient DB for block pruning | ||
|
||
The ```bor snapshot inspect-ancient-db``` command will inspect few fields in the ancient datastore using the given datadir location. | ||
|
||
|
||
This command prints the following information which is useful for block-pruning rounds: | ||
|
||
1. Offset / Start block number (from kvDB). | ||
2. Amount of items in the ancientdb. | ||
3. Last block number written in ancientdb. | ||
|
||
|
||
## Options | ||
|
||
- ```datadir```: Path of the data directory to store information | ||
|
||
- ```keystore```: Path of the data directory to store keys | ||
|
||
- ```datadir.ancient```: Path of the old ancient data directory |