erigon-pulse/turbo/snapshotsync
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
..
bodies_snapshot.go Add defer collector.Close() (#2351) 2021-07-13 09:17:21 +07:00
build_infobytes.go Body snapshot (#2100) 2021-07-06 23:33:26 +01:00
client.go Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
const.go Nuke LMDB (#2167) 2021-06-16 13:57:58 +03:00
downloader.go separate_config_from_node_and_eth (#2289) 2021-07-04 08:50:32 +01:00
external_downloader_grpc.pb.go Snapshot sync headers stage (#1836) 2021-05-08 09:45:40 +01:00
external_downloader.pb.go Snapshot sync headers stage (#1836) 2021-05-08 09:45:40 +01:00
headers_snapshot.go Linter: to check tx.Rollback() by ruleguard (#2383) 2021-07-16 20:23:54 +07:00
logger.go rename (#1978) 2021-05-20 19:25:53 +01:00
postprocessing_test.go Body snapshot (#2100) 2021-07-06 23:33:26 +01:00
postprocessing.go Body snapshot (#2100) 2021-07-06 23:33:26 +01:00
server.go unify stage params (#2384) 2021-07-17 09:09:56 +07:00
snapshot_builder_test.go Pruning for: exec, log_index, tx_lookup, history stages (#2399) 2021-07-20 21:03:19 +01:00
snapshot_builder.go Remove stage builder and use ID's in unwindOrder (#2381) 2021-07-16 20:17:40 +07:00
snapshot_mode_test.go Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
snapshot_mode.go Remote snapshot downloader (#1343) 2020-11-13 16:16:47 +00:00
wrapdb.go Body snapshot (#2100) 2021-07-06 23:33:26 +01:00