erigon-pulse/turbo/trie
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
..
.gitignore move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
account_node_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
database.go all: disable recording preimage of trie keys (#21402) 2021-03-08 12:26:27 +01:00
debug_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
debug.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
delete_subrtee_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
encoding_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
encoding.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
errors.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
flatdb_sub_trie_loader_test.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
flatdb_sub_trie_loader.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
gen_struct_step.go trie: do not use extension hash (#1535) 2021-03-03 15:54:42 +07:00
hack.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
hashbuilder.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
hasher_test.go post-rebase fixes 2020-12-03 18:59:17 +01:00
hasher.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
intermediate_hash_receiver.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
intermediate_hashes_test.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
intermediate_trie_hashes.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
node_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
node.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
proof.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
retain_list_builder.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
retain_list.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
stark_stats.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
stream_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
stream.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
structural_branch_test.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
structural_test.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
sub_trie_loader.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
sync_bloom.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_binary.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_eviction_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_eviction.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_from_witness.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_observers_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_observers.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_root.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
trie_test.go New Trie db layout - store trie structure info and multiple hashes per record (#1500) 2021-02-21 18:41:59 +00:00
trie_transform.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie_witness.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
trie.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
utils.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
visual.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness_builder_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness_builder.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness_marshalling.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness_operators_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness_operators.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness_stats.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witness.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witnessdb_sub_trie_loader_test.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00
witnessdb_sub_trie_loader.go move ./trie to ./turbo/trie (#1114) 2020-09-14 11:33:39 +01:00