-
Notifications
You must be signed in to change notification settings - Fork 21.5k
cmd/geth: add db dumptrie command #22563
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
Conversation
rjl493456442
left a comment
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.
lgtm!
|
Actually, maybe this should just be |
|
I changed this to be more generic. Example: Dumping out the main account trie: from a certain position, max 10 accounts: Checking one of the account leafs, to figure out the storage trie: And then diving into that storage trie: |
Adds the command "geth db dumptrie <root> <seek> <max>", to better help investigate the trie data
The
db getslots <storage_root>can help investigate issues regarding data corruption