erigon-pulse/eth
gary rong b2351da9d6 all: disable recording preimage of trie keys (#21402)
* cmd, core, eth, light, trie: disable recording preimage by default

* core, eth: fix unit tests

* core: fix import

* all: change to nopreimage

* cmd, core, eth, trie: use cache.preimages flag

* cmd: enable preimages for archive node

* cmd/utils, trie: simplify preimage tracking a bit

* core: fix linter

Co-authored-by: Péter Szilágyi <peterke@gmail.com>
# Conflicts:
#	cmd/geth/main.go
#	cmd/geth/usage.go
#	cmd/utils/flags.go
#	core/blockchain.go
#	core/genesis.go
#	core/state/database.go
#	core/state/state_test.go
#	eth/api_test.go
#	eth/api_tracer.go
#	eth/backend.go
#	light/postprocess.go
#	trie/secure_trie.go
#	turbo/trie/database.go
2021-03-08 12:26:27 +01:00
..
downloader Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
fetcher Jump tables data race (#1245) 2020-10-20 22:23:56 +01:00
filters Add validation of senders amount (#1539) 2021-03-04 16:34:49 +07:00
gasprice Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
integrity New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
stagedsync Delete MultiWalk and GetIndexChunk funcs from Database interface (#1544) 2021-03-08 12:08:37 +07:00
tracers core, all: split vm.Context into BlockContext and TxContext (#21672) 2021-03-08 12:17:35 +01:00
api_backend.go core, all: split vm.Context into BlockContext and TxContext (#21672) 2021-03-08 12:17:35 +01:00
api_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
api_tracer.go core, all: split vm.Context into BlockContext and TxContext (#21672) 2021-03-08 12:17:35 +01:00
api.go eth/api: fix potential nil deref in AccountRange (#21710) 2020-12-03 17:37:38 +01:00
backend.go Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
bloombits.go [WIP] CallTraces index (#1157) 2020-10-12 09:39:04 +01:00
config.go all: disable recording preimage of trie keys (#21402) 2021-03-08 12:26:27 +01:00
debug.go Call bufio.Flash() in tester (#407) 2020-03-26 21:52:05 +00:00
discovery.go cmd/devp2p: add eth protocol test suite (#21598) 2020-10-06 14:12:09 +02:00
firehose.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
gen_config.go all: disable recording preimage of trie keys (#21402) 2021-03-08 12:26:27 +01:00
handler_test.go Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
handler.go Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
helper_test.go Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
peer.go Block body download - more recent updates (#1441) 2021-01-15 10:58:04 +00:00
protocol_test.go Revert "Extract validating interface (#1120)" (#1543) 2021-03-05 20:34:23 +00:00
protocol.go Block body download - more recent updates (#1441) 2021-01-15 10:58:04 +00:00
sync_test.go remove eth/63, add tests for eth/65 (#823) 2020-07-30 11:16:55 +01:00
sync.go Prevent block_fetcher from accessing the database (#1200) 2020-10-07 18:58:09 +01:00