Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Verify commands and tools #1700

Closed
wants to merge 1 commit into from
Closed

Conversation

ethan-kr
Copy link
Contributor

@ethan-kr ethan-kr commented Nov 15, 2022

Proposed changes

  • This PR is derived from all: bloom-filter based pruning mechanism ethereum/go-ethereum#21724
  • Added snapshot subcommand in order to verify snapshot data
  • It creates a trie based on snapshot data and compare the created root hash with the root hash in the header
  • Added snapshot subcommand in order to trace statetrie nodes
  • It reads all the nodes in the statetrie, looking for any missing nodes.
  • Added iteration tools for snapshot nodes & statetrie nodes

Types of changes

Please put an x in the boxes related to your change.

  • Bugfix
  • New feature or enhancement
  • Others

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING GUIDELINES doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes ($ make test)
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules

Related issues

#1229

@ethan-kr ethan-kr added this to the v1.10 (Kore) milestone Nov 15, 2022
@ethan-kr ethan-kr self-assigned this Nov 15, 2022
@ethan-kr ethan-kr removed this from the v1.10 (Kore) milestone Nov 15, 2022
@ethan-kr ethan-kr removed their assignment Nov 15, 2022
@ethan-kr ethan-kr closed this Nov 15, 2022
@ethan-kr ethan-kr deleted the verify-statedb-rebase branch November 15, 2022 17:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant