Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
mempool_persist_args.h
Go to the documentation of this file.
1// Copyright (c) 2022-present The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5#ifndef BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H
6#define BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H
7
8#include <util/fs.h>
9
10class ArgsManager;
11
12namespace node {
13
18static constexpr bool DEFAULT_PERSIST_MEMPOOL{true};
19
21fs::path MempoolPath(const ArgsManager& argsman);
22
23} // namespace node
24
25#endif // BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H
fs::path MempoolPath(const ArgsManager &argsman)
bool ShouldPersistMempool(const ArgsManager &argsman)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition time.h:73