Difference between revisions of "Geth removedb"
Jump to navigation
Jump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | Remove blockchain and state databases | ||
+ | |||
+ | INFO [10-08|12:26:34.557] Maximum peer count ETH=50 total=50 | ||
+ | INFO [10-08|12:26:34.561] Set global gas cap cap=50,000,000 | ||
+ | INFO [10-08|12:26:34.561] Initializing the KZG library backend=gokzg | ||
+ | Location(s) of 'state data': | ||
+ | - [[~/Library/Ethereum/geth/chaindata]] | ||
+ | - ~/Library/Ethereum/geth/chaindata/ancient/state | ||
+ | |||
+ | Remove 'state data'? [y/n] y | ||
+ | Remove 'state data'? [y/n] y | ||
+ | INFO [10-08|12:27:06.069] Database successfully deleted kind="state data" paths="[~/Library/Ethereum/geth/chaindata | ||
+ | ~/Library/Ethereum/geth/chaindata/ancient/state]" elapsed=24.427s | ||
+ | Location(s) of 'ancient chain': | ||
+ | - ~/Library/Ethereum/geth/chaindata/ancient/chain | ||
+ | |||
+ | Remove 'ancient chain'? [y/n] y | ||
+ | Remove 'ancient chain'? [y/n] y | ||
+ | INFO [10-08|12:27:13.729] Database successfully deleted kind="ancient chain" paths= | ||
+ | [~/Library/Ethereum/geth/chaindata/ancient/chain] elapsed=33.835ms | ||
+ | |||
+ | == Related == | ||
+ | * [[Snap Sync]] | ||
+ | * [[LevelDB]] | ||
+ | * [[geth db]] | ||
+ | * [[geth export]] | ||
== See also == | == See also == | ||
+ | * {{geth db}} | ||
* {{geth}} | * {{geth}} | ||
[[Category:Geth]] | [[Category:Geth]] |
Latest revision as of 10:29, 8 October 2024
Remove blockchain and state databases
INFO [10-08|12:26:34.557] Maximum peer count ETH=50 total=50 INFO [10-08|12:26:34.561] Set global gas cap cap=50,000,000 INFO [10-08|12:26:34.561] Initializing the KZG library backend=gokzg Location(s) of 'state data': - ~/Library/Ethereum/geth/chaindata - ~/Library/Ethereum/geth/chaindata/ancient/state Remove 'state data'? [y/n] y Remove 'state data'? [y/n] y INFO [10-08|12:27:06.069] Database successfully deleted kind="state data" paths="[~/Library/Ethereum/geth/chaindata ~/Library/Ethereum/geth/chaindata/ancient/state]" elapsed=24.427s Location(s) of 'ancient chain': - ~/Library/Ethereum/geth/chaindata/ancient/chain Remove 'ancient chain'? [y/n] y Remove 'ancient chain'? [y/n] y INFO [10-08|12:27:13.729] Database successfully deleted kind="ancient chain" paths= [~/Library/Ethereum/geth/chaindata/ancient/chain] elapsed=33.835ms
Related[edit]
See also[edit]
geth db [ inspect | inspect-history | check-state-content | stats | metadata | dumptrie | get | --help ] geth db --datadir, geth --db.engine
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: