Difference between revisions of "Geth db inspect --help"
Jump to navigation
Jump to search
(Created page with "<pre> NAME: geth db inspect - Inspect the storage size for each type of data in the database USAGE: geth db inspect [command options] <prefix> <start> DESCRIPTION:...") |
|||
Line 1: | Line 1: | ||
− | <pre> | + | |
+ | {{lc}}<pre> | ||
NAME: | NAME: | ||
geth db inspect - Inspect the storage size for each type of data in the database | geth db inspect - Inspect the storage size for each type of data in the database |
Revision as of 09:50, 10 October 2024
NAME: geth db inspect - Inspect the storage size for each type of data in the database USAGE: geth db inspect [command options] <prefix> <start> 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. OPTIONS: API AND CONSOLE --header value, -H value ($GETH_HEADER) Pass custom headers to the RPC server when using --remotedb or the geth attach console. This flag can be given multiple times. ETHEREUM --datadir value (default: /Users/qs/Library/Ethereum) ($GETH_DATADIR) Data directory for the databases and keystore --datadir.ancient value ($GETH_DATADIR_ANCIENT) Root directory for ancient data (default = inside chaindata) --db.engine value ($GETH_DB_ENGINE) Backing database implementation to use ('pebble' or 'leveldb') --goerli (default: false) ($GETH_GOERLI) Görli network: pre-configured proof-of-authority test network --holesky (default: false) ($GETH_HOLESKY) Holesky network: pre-configured proof-of-stake test network --mainnet (default: false) ($GETH_MAINNET) Ethereum mainnet --sepolia (default: false) ($GETH_SEPOLIA) Sepolia network: pre-configured proof-of-work test network LOGGING AND DEBUGGING --remotedb value ($GETH_REMOTEDB) URL for remote database MISC --help, -h (default: false) show help STATE HISTORY MANAGEMENT --state.scheme value ($GETH_STATE_SCHEME) Scheme to use for storing ethereum state ('hash' or 'path') --syncmode value (default: snap) ($GETH_SYNCMODE) Blockchain sync mode ("snap" or "full")
geth db [ inspect | inspect-history | check-state-content | stats | metadata | dumptrie | get | --help ] geth db --datadir, geth --db.engine
Advertising: