Difference between revisions of "Geth db"

From wikieduonline
Jump to navigation Jump to search
 
(38 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
  
 +
[[geth db --help]]
 +
[[geth db --datadir]]
 +
[[geth db inspect]]
 +
    [[ERROR Database contains unaccounted data]]
 +
[[geth db metadata]]
 +
    [[ERROR Invalid block body RLP]]
 +
[[geth db check-state-content]]
 +
[[geth db stats]]
 +
[[geth db inspect-history]]
 
  [[geth db --help]]
 
  [[geth db --help]]
  
 +
== Logs ==
 +
* <code>[[INFO Allocated cache and file handles]]</code>
 +
* <code>[[INFO Loaded most recent local block]]</code>
 +
* <code>[[INFO Inspecting database]]</code>
 +
* <code>[[ERROR Database contains unaccounted data]]</code>
 +
* [[geth]] starting with missing file: <code>[[Fatal: Failed to register the Ethereum service: L6]]</code>
  
geth db --help
+
== Related ==
NAME:
+
* <code>[[geth --sepolia]]</code>
    geth db - Low level database operations
+
* <code>[[geth snapshot]]</code>
+
* <code>[[.sst]]</code>
USAGE:
+
* <code>[[.ldb]]</code>
    geth db command [command options] [arguments...]  
+
* <code>[[geth removedb]]</code>
+
* <code>[[geth export]]</code>
COMMANDS:
+
* <code>[[geth --db.engine]]</code>
  [[inspect]]             Inspect the storage size for each type of data in the database
 
  [[stats]]               Print [[leveldb]] statistics
 
  compact              Compact leveldb database. WARNING: May take a very long time
 
  get                  Show the value of a database key
 
  delete              Delete a database key (WARNING: may corrupt your database)
 
  put                  Set the value of a database key (WARNING: may corrupt your database)
 
  dumptrie            Show the storage key/values of a given storage trie
 
  freezer-index        Dump out the index of a specific freezer table
 
  import              Imports leveldb-data from an exported RLP dump.
 
  export              Exports the chain data into an RLP dump. If the <dumpfile> has .gz suffix, gzip compression will be used.
 
  metadata            Shows metadata about the chain status.
 
  check-state-content  Verify that state data is cryptographically correct
 
  inspect-history      Inspect the state history within block range
 
  help, h              Shows a list of commands or help for one command
 
 
OPTIONS:
 
 
          --help, -h                          (default: false)
 
  
 +
== See also ==
 +
* {{geth db}}
 +
* {{geth snapshot}}
  
 
+
[[Category:Geth]]
== See also ==
 
* {{geth}}
 

Latest revision as of 13:47, 27 October 2024

Advertising: