Pruning for: exec, log_index, tx_lookup, history stages (#2399)
* Pruning for: exec, log_index, tx_lookup, history stages * Pruning for: exec, log_index, tx_lookup, history stages * Pruning for: exec, log_index, tx_lookup, history stages * Pruning for: exec, log_index, tx_lookup, history stages * add tvm flag * save * db migration for storage mode add flag --prune= remove flag --storage-mode= add flag --experiments=tevm,... rename integration set_storage_mode to set_prune * fix * forward move of stages must skip everything before PruneTo * keep in db progress of prune method * keep in db progress of prune method * simplify logs * simplify logs * simplify logs * fix test * simplify logs * simplify logs * simplify logs * simplify logs * remove callTraceSet as dupsort use etl transform for txlookup prune remove some logs * cleanup tests a bit * print_stages and eth_sync to show prune progress * fix print_stages * add readme about --prune.to flag * more docs * add --prune.history.older and other flags support * fix migration on empty db * better toString * better toString
Showing
- README.md 6 additions, 1 deletionREADME.md
- cmd/hack/hack.go 28 additions, 32 deletionscmd/hack/hack.go
- cmd/integration/Readme.md 15 additions, 3 deletionscmd/integration/Readme.md
- cmd/integration/commands/flags.go 22 additions, 21 deletionscmd/integration/commands/flags.go
- cmd/integration/commands/reset_state.go 15 additions, 7 deletionscmd/integration/commands/reset_state.go
- cmd/integration/commands/snapshot_check.go 11 additions, 10 deletionscmd/integration/commands/snapshot_check.go
- cmd/integration/commands/stages.go 185 additions, 65 deletionscmd/integration/commands/stages.go
- cmd/integration/commands/state_stages.go 18 additions, 16 deletionscmd/integration/commands/state_stages.go
- cmd/pics/state.go 1 addition, 1 deletioncmd/pics/state.go
- cmd/rpcdaemon/README.md 16 additions, 0 deletionscmd/rpcdaemon/README.md
- cmd/rpcdaemon/commands/get_chain_config_test.go 1 addition, 1 deletioncmd/rpcdaemon/commands/get_chain_config_test.go
- cmd/snapshots/debug/debug_test.go 1 addition, 1 deletioncmd/snapshots/debug/debug_test.go
- cmd/state/generate/regenerate_tx_lookup.go 10 additions, 1 deletioncmd/state/generate/regenerate_tx_lookup.go
- common/changeset/changeset.go 32 additions, 5 deletionscommon/changeset/changeset.go
- common/dbutils/bucket.go 31 additions, 13 deletionscommon/dbutils/bucket.go
- common/etl/collector.go 1 addition, 1 deletioncommon/etl/collector.go
- core/genesis.go 15 additions, 18 deletionscore/genesis.go
- core/rawdb/accessors_chain.go 25 additions, 7 deletionscore/rawdb/accessors_chain.go
- eth/backend.go 9 additions, 8 deletionseth/backend.go
- eth/ethconfig/config.go 5 additions, 5 deletionseth/ethconfig/config.go
Loading
Please register or sign in to comment