mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
Move DEFAULT_PERSIST_MEMPOOL out of libbitcoinkernel
It is no longer used by anything inside libbitcoinkernel, move it to node/mempool_persist_args.h where it belongs.
This commit is contained in:
@@ -11,6 +11,12 @@ class ArgsManager;
|
||||
|
||||
namespace node {
|
||||
|
||||
/**
|
||||
* Default for -persistmempool, indicating whether the node should attempt to
|
||||
* automatically load the mempool on start and save to disk on shutdown
|
||||
*/
|
||||
static constexpr bool DEFAULT_PERSIST_MEMPOOL{true};
|
||||
|
||||
bool ShouldPersistMempool(const ArgsManager& argsman);
|
||||
fs::path MempoolPath(const ArgsManager& argsman);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user