plugeth/core/state/snapshot
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
..
account.go core/state/snapshot: implement storage iterator (#20971) 2020-04-29 12:53:08 +03:00
context.go core/state/snapshot: detect and clean up dangling storage snapshot in generation (#24811) 2022-05-23 13:26:22 +03:00
conversion.go all: introduce trie owner notion (#24750) 2022-06-06 17:14:55 +02:00
difflayer_test.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
difflayer.go all: remove duplicate word in comments (#25618) 2022-08-29 11:16:34 +03:00
disklayer_test.go core/rawdb: simplify TestDiskSeek to use memorydb (#25182) 2022-06-29 11:54:42 +02:00
disklayer.go snapshot, trie: fixed typos, mostly in snapshot pkg (#22133) 2021-01-07 08:36:21 +02:00
generate_test.go build: upgrade to go 1.19 (#25726) 2022-09-10 13:25:40 +02:00
generate.go core, trie: rework trie committer (#25320) 2022-08-04 11:03:20 +03:00
holdable_iterator_test.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
holdable_iterator.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
iterator_binary.go snapshot, trie: fixed typos, mostly in snapshot pkg (#22133) 2021-01-07 08:36:21 +02:00
iterator_fast.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
iterator_test.go core/state/snapshot: implement storage iterator (#20971) 2020-04-29 12:53:08 +03:00
iterator.go core: fix typo in iterator.go (#23502) 2021-08-31 10:21:42 +02:00
journal.go all: clean up the configs for pruner and snapshotter (#22396) 2022-09-23 20:20:36 +02:00
metrics.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
snapshot_test.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
snapshot.go all: clean up the configs for pruner and snapshotter (#22396) 2022-09-23 20:20:36 +02:00
sort.go core: fix broken tests due to API changes + linter 2020-02-25 12:51:16 +02:00
utils.go cmd/geth, core/state/snapshot: rework journal loading, implement account-check (#24765) 2022-06-06 17:09:39 +02:00