Difference between revisions of "Geth snapshot"

From wikieduonline
Jump to navigation Jump to search
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  <code>[[geth snapshot --help]]</code>
+
  [[geth snapshot --help]]
  <code>[[geth snapshot prune-state]]</code>
+
  [[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 ==
 +
* [[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 ==
 +
* [[Snapshot]]
 +
* <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]

Related[edit]

See also[edit]

Advertising: