• rjl493456442's avatar
    all: clean up the configs for pruner and snapshotter (#22396) · 3da42f85
    rjl493456442 authored
    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.
    3da42f85
Name
Last commit
Last update
..
pruner Loading commit data...
snapshot Loading commit data...
access_list.go Loading commit data...
database.go Loading commit data...
dump.go Loading commit data...
iterator.go Loading commit data...
iterator_test.go Loading commit data...
journal.go Loading commit data...
metrics.go Loading commit data...
state_object.go Loading commit data...
state_object_test.go Loading commit data...
state_test.go Loading commit data...
statedb.go Loading commit data...
statedb_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...
trie_prefetcher.go Loading commit data...
trie_prefetcher_test.go Loading commit data...