Bitcoin ABC
0.30.7
P2P Digital Currency
src
node
mempool_persist_args.h
Go to the documentation of this file.
1
// Copyright (c) 2022 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
10
class
ArgsManager
;
11
12
namespace
node
{
13
18
static
constexpr
bool
DEFAULT_PERSIST_MEMPOOL
{
true
};
19
20
bool
ShouldPersistMempool
(
const
ArgsManager
&argsman);
21
fs::path
MempoolPath
(
const
ArgsManager
&argsman);
22
23
}
// namespace node
24
25
#endif
// BITCOIN_NODE_MEMPOOL_PERSIST_ARGS_H
ArgsManager
Definition:
args.h:96
fs::path
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
Definition:
fs.h:30
fs.h
node
Definition:
init.h:28
node::MempoolPath
fs::path MempoolPath(const ArgsManager &argsman)
Definition:
mempool_persist_args.cpp:17
node::ShouldPersistMempool
bool ShouldPersistMempool(const ArgsManager &argsman)
Definition:
mempool_persist_args.cpp:13
node::DEFAULT_PERSIST_MEMPOOL
static constexpr bool DEFAULT_PERSIST_MEMPOOL
Default for -persistmempool, indicating whether the node should attempt to automatically load the mem...
Definition:
mempool_persist_args.h:18
Generated on Sat Dec 21 2024 14:46:05 for Bitcoin ABC by
1.9.4