You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/geth: add db check-state-content to verify integrity of trie nodes (#24840)
This PR adds db tooling (geth db check-state-content) to verify the integrity of trie nodes. It iterates through the 32-byte key space in the database, which is expected to contain RLP-encoded trie nodes, addressed by hash.
@@ -71,6 +72,7 @@ Remove blockchain and state databases`,
71
72
dbExportCmd,
72
73
dbMetadataCmd,
73
74
dbMigrateFreezerCmd,
75
+
dbCheckStateContentCmd,
74
76
},
75
77
}
76
78
dbInspectCmd= cli.Command{
@@ -83,6 +85,16 @@ Remove blockchain and state databases`,
83
85
Usage: "Inspect the storage size for each type of data in the database",
84
86
Description: `This commands iterates the entire database. If the optional 'prefix' and 'start' arguments are provided, then the iteration is limited to the given subset of data.`,
0 commit comments