go-ethereum/core/state
rjl493456442 3da42f85d9
all: clean up the configs for pruner and snapshotter (#22396)
This PR cleans up the configurations for pruner and snapshotter by passing a config struct.

And also, this PR disables the snapshot background generation if the chain is opened in "read-only" mode. The read-only mode is necessary in some cases. For example, we have a list of commands to open the etheruem node in "read-only" mode, like export-chain. In these cases, the snapshot background generation is non expected and should be banned explicitly.
2022-09-23 20:20:36 +02:00
..
pruner all: clean up the configs for pruner and snapshotter (#22396) 2022-09-23 20:20:36 +02:00
snapshot all: clean up the configs for pruner and snapshotter (#22396) 2022-09-23 20:20:36 +02:00
access_list.go all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 (#21509) 2020-10-23 08:26:57 +02:00
database.go core, light, trie: remove DiskDB function from trie database (#25690) 2022-09-07 09:08:56 +02:00
dump.go core/state: move state account to core/types + abstracted "write account to trie" (#23567) 2021-09-28 10:48:07 +02:00
iterator_test.go core, light, trie: remove DiskDB function from trie database (#25690) 2022-09-07 09:08:56 +02:00
iterator.go core/state: move state account to core/types + abstracted "write account to trie" (#23567) 2021-09-28 10:48:07 +02:00
journal.go core/state: fix typos in comments (#23702) 2021-10-10 15:00:00 +02:00
metrics.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
state_object_test.go build: use golangci-lint (#20295) 2019-11-18 10:49:17 +02:00
state_object.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
state_test.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
statedb_test.go core/state, trie: fix trie flush order for proper pruning 2022-08-23 21:17:12 +03:00
statedb.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
sync_test.go core, light, trie: remove DiskDB function from trie database (#25690) 2022-09-07 09:08:56 +02:00
sync.go core, les, eth: port snap sync changes (#24898) 2022-07-15 14:55:51 +03:00
trie_prefetcher_test.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
trie_prefetcher.go core/state: filter out nil trie for copy (#25575) 2022-09-01 09:34:32 +02:00