node::ShouldPersistMempool

Determine whether the mempool should be persisted across restarts.

Synopsis

Declared in <node/mempool_persist_args.h>

bool
ShouldPersistMempool(ArgsManager const& argsman);

Return Value

True if -persistmempool is enabled, false otherwise.

Parameters

NameDescription
argsmanArgument manager holding the parsed settings.