erigon-pulse/core
Alex Sharov c3e1cfdac8
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
2021-07-20 21:03:19 +01:00
..
allocs Sokol genesis and chainconfig (#2116) 2021-06-07 12:01:54 +01:00
asm rename (#1978) 2021-05-20 19:25:53 +01:00
bloombits hide file exists err (#2218) 2021-06-22 11:09:45 +01:00
forkid mainnet london block and port some go-ethereum fixes related to baseFee (#2323) 2021-07-09 16:54:06 +07:00
rawdb Pruning for: exec, log_index, tx_lookup, history stages (#2399) 2021-07-20 21:03:19 +01:00
state remove mutexes use (#2406) 2021-07-20 15:34:11 +07:00
types unify stage params (#2384) 2021-07-17 09:09:56 +07:00
vm unify stage params (#2384) 2021-07-17 09:09:56 +07:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
block_validator_test.go To break dependency to db implementation - move all db classes to "ethdb/kv" and leave in "ethdb" only interfaces (#2195) 2021-06-19 15:21:53 +07:00
block_validator.go rename (#1978) 2021-05-20 19:25:53 +01:00
blockchain_insert.go step towards kv interface (#2311) 2021-07-07 23:15:49 +07:00
blockchain.go Sokol v0: epoch support (#2348) 2021-07-12 16:27:25 +01:00
blocks.go rename (#1978) 2021-05-20 19:25:53 +01:00
chain_makers.go Sokol v0: epoch support (#2348) 2021-07-12 16:27:25 +01:00
error.go eip 1559_tx_constraints (#2079) 2021-06-03 08:09:56 +01:00
events.go rename (#1978) 2021-05-20 19:25:53 +01:00
evm.go TEVM status pruning (#2034) 2021-06-11 09:34:25 +01:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis_account.go Upgrade tests to 9.0.2 (#2147) 2021-06-13 14:01:11 +01:00
gen_genesis.go rpc: 1559 in call and tracing (#2327) 2021-07-11 04:05:56 +00:00
genesis.go Pruning for: exec, log_index, tx_lookup, history stages (#2399) 2021-07-20 21:03:19 +01:00
mkalloc.go rename (#1978) 2021-05-20 19:25:53 +01:00
rlp_test.go To break dependency to db implementation - move all db classes to "ethdb/kv" and leave in "ethdb" only interfaces (#2195) 2021-06-19 15:21:53 +07:00
skip_analysis.go Update skip_analysis.go (#2364) 2021-07-14 07:52:32 +01:00
state_processor.go Sokol v0: can process 1-st block (#2310) 2021-07-08 19:40:43 +07:00
state_transition.go Revert "Revert "buy gas optimize (#2360)" (#2367)" (#2369) 2021-07-14 21:34:14 +07:00
tx_cacher.go hide file exists err (#2218) 2021-06-22 11:09:45 +01:00
tx_journal.go rename (#1978) 2021-05-20 19:25:53 +01:00
tx_list_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
tx_list.go txPool: propagate on peer connect (#2335) 2021-07-11 14:01:16 +07:00
tx_noncer.go rename (#1978) 2021-05-20 19:25:53 +01:00
tx_pool_test.go Replace ChainConfig.WithEIPsFlags by go-ethereum's ChainConfig.Rules (#2304) 2021-07-05 19:52:50 +01:00
tx_pool.go broadcast local txs (#2354) 2021-07-15 11:17:48 +07:00