Difference between revisions of "Geth snapshot"
Jump to navigation
Jump to search
(→Errors) |
|||
(15 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
[[geth snapshot verify-state]] | [[geth snapshot verify-state]] | ||
[[geth snapshot prune-state]] | [[geth snapshot prune-state]] | ||
− | [[geth check-dangling-storage]] | + | [[geth snapshot check-dangling-storage]] |
− | [[geth inspect-account]] | + | [[geth snapshot inspect-account]] |
− | [[geth traverse-state]] | + | [[geth snapshot traverse-state]] |
− | [[geth traverse-rawstate]] | + | [[geth snapshot traverse-rawstate]] |
− | [[geth dump]] | + | [[geth snapshot dump]] |
− | [[export-preimages]] | + | [[geth snapshot export-preimages]] |
+ | |||
+ | [[geth db stats]] | grep [[snapshots]] | ||
+ | Snapshots: 0 earliest seq num: 0 | ||
+ | |||
+ | [[geth db inspect]] | grep snapshot | ||
+ | | Key-Value store | Account snapshot | 409.64 KiB | 8893 | | ||
+ | | Key-Value store | Storage snapshot | 0.00 B | 0 | | ||
+ | | Key-Value store | Clique snapshots | 0.00 B | 0 | | ||
+ | |||
+ | |||
+ | geth db metadata | grep snapshot | ||
+ | | [[snapshotDisabled]] | false | | ||
+ | | [[snapshotJournal]] | 34 bytes | | ||
+ | | [[snapshotRecoveryNumber]] | <nil> | | ||
+ | | [[snapshotRoot]] | 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709123454525434 | | ||
== Related errors == | == Related errors == | ||
* [[WARN Failed to load snapshot, regenerating]] | * [[WARN Failed to load snapshot, regenerating]] | ||
+ | * [[WARN Failed to load snapshot err="head doesn't match snapshot: have XXXX, want XXXX"]] | ||
+ | * [[WARN Loaded snapshot journal]] | ||
* [[INFO aborting state snapshot generation]] | * [[INFO aborting state snapshot generation]] | ||
* [[INFO Resuming state snapshot generation]] | * [[INFO Resuming state snapshot generation]] | ||
* [[INFO generating state snapshot]] | * [[INFO generating state snapshot]] | ||
− | * [[Allocated cache and file handles]] | + | * [[INFO Allocated cache and file handles]] |
+ | * [[INFO Loaded most recent local block]] | ||
+ | * [[INFO Loaded most recent local finalized block number]] | ||
== Related == | == Related == | ||
* [[Snapshot]] | * [[Snapshot]] | ||
− | * [[geth logs]] | + | * <code>[[geth logs]]</code> |
+ | * <code>[[geth db]]</code> | ||
+ | * <code>[[geth --snapshot]]</code> | ||
== See also == | == See also == |
Latest revision as of 11:52, 30 October 2024
geth snapshot --help geth snapshot verify-state geth snapshot prune-state geth snapshot check-dangling-storage geth snapshot inspect-account geth snapshot traverse-state geth snapshot traverse-rawstate geth snapshot dump geth snapshot export-preimages
geth db stats | grep snapshots Snapshots: 0 earliest seq num: 0
geth db inspect | grep snapshot | Key-Value store | Account snapshot | 409.64 KiB | 8893 | | Key-Value store | Storage snapshot | 0.00 B | 0 | | Key-Value store | Clique snapshots | 0.00 B | 0 |
geth db metadata | grep snapshot | snapshotDisabled | false | | snapshotJournal | 34 bytes | | snapshotRecoveryNumber | <nil> | | snapshotRoot | 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709123454525434 |
Related errors[edit]
- WARN Failed to load snapshot, regenerating
- WARN Failed to load snapshot err="head doesn't match snapshot: have XXXX, want XXXX"
- WARN Loaded snapshot journal
- INFO aborting state snapshot generation
- INFO Resuming state snapshot generation
- INFO generating state snapshot
- INFO Allocated cache and file handles
- INFO Loaded most recent local block
- INFO Loaded most recent local finalized block number
Related[edit]
See also[edit]
geth snapshot, --help
geth [ account | console | snapshot | --authrpc.addr | version | --sepolia | --goerli | --pprof | --http | --syncmode | --mine ] --rpc.evmtimeout | --ethstats | --help
, Geth logs, geth logs WARN,Log.Error
, ports:8551, 30303, 8547, ~/.ethereum/geth/,
,--verbosity, --config
,geth init
devp2p, p2psim, devp2p
, geth dumpconfig
Advertising: