Difference between revisions of "Geth db metadata"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
  [[geth db]] metadata
 
  [[geth db]] metadata
  
 +
geth db metadata | grep [[HeadBlock.Number]]
 
   
 
   
 
  .../...
 
  .../...

Revision as of 10:45, 8 October 2024

geth db metadata
geth db metadata | grep HeadBlock.Number

.../...
+-------------------------+--------------------------------------------------------------------+
|          FIELD          |                               VALUE                                |
+-------------------------+--------------------------------------------------------------------+
| databaseVersion         | 8 (0x8)                                                            |
| headBlockHash           | 0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 |
| headFastBlockHash       | 0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 |
| headHeaderHash          | 0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 |
| lastPivotNumber         | <nil>                                                              |
| len(snapshotSyncStatus) | 0 bytes                                                            |
| snapshotDisabled        | false                                                              |
| snapshotJournal         | 34 bytes                                                           |
| snapshotRecoveryNumber  | <nil>                                                              |
| snapshotRoot            | 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 |
| txIndexTail             | <nil>                                                              |
| frozen                  | 0 items                                                            |
| snapshotGenerator       | Done: true, Accounts: 0,                                           |
|                         | Slots: 0, Storage: 0, Marker:                                      |
| headBlock.Hash          | 0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 |
| headBlock.Root          | 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 |
| headBlock.Number        | 0 (0x0)                                                            |
| headHeader.Hash         | 0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3 |
| headHeader.Root         | 0xd7f8974fb5ac78d9ac099b9ad5018bedc2ce0a72dad1827a1709da30580f0544 |
| headHeader.Number       | 0 (0x0)                                                            |
+-------------------------+--------------------------------------------------------------------+


geth db [ inspect | inspect-history | check-state-content | stats | metadata | dumptrie | get | --help ] geth db --datadir, geth --db.engine

Advertising: