mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 11:57:17 +00:00
3da42f85d9
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. |
||
---|---|---|
.. | ||
testdata | ||
accountcmd_test.go | ||
accountcmd.go | ||
chaincmd.go | ||
config.go | ||
consolecmd_test.go | ||
consolecmd.go | ||
dao_test.go | ||
dbcmd.go | ||
genesis_test.go | ||
les_test.go | ||
main.go | ||
misccmd.go | ||
run_test.go | ||
snapshot.go | ||
verkle.go | ||
version_check_test.go | ||
version_check.go |