![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <node/mempool_args.h>#include <kernel/mempool_limits.h>#include <kernel/mempool_options.h>#include <common/args.h>#include <common/messages.h>#include <consensus/amount.h>#include <kernel/chainparams.h>#include <logging.h>#include <policy/feerate.h>#include <policy/policy.h>#include <tinyformat.h>#include <txgraph.h>#include <util/moneystr.h>#include <util/translation.h>#include <chrono>#include <memory>Go to the source code of this file.
Classes | |
| struct | MemPoolLimits |
| Options struct containing limit options for a CTxMemPool. More... | |
| struct | MemPoolOptions |
| Options struct containing options for constructing a CTxMemPool. More... | |
Functions | |
| util::Result< void > | ApplyArgsManOptions (const ArgsManager &argsman, const CChainParams &chainparams, MemPoolOptions &mempool_opts) |
Overlay the options set in argsman on top of corresponding members in mempool_opts. | |
| bilingual_str | AmountErrMsg (const std::string &optname, const std::string &strValue) |
Variables | |
| static constexpr int | MAX_32BIT_MEMPOOL_MB {500} |
| Maximum mempool size on 32-bit systems. | |
| bilingual_str common::AmountErrMsg | ( | const std::string & | optname, |
| const std::string & | strValue ) |
|
nodiscard |
Overlay the options set in argsman on top of corresponding members in mempool_opts.
Returns an error if one was encountered.
| [in] | argsman | The ArgsManager in which to check set options. |
| [in,out] | mempool_opts | The MemPoolOptions to modify according to argsman. |
Definition at line 45 of file mempool_args.cpp.
|
staticconstexpr |
Maximum mempool size on 32-bit systems.
Definition at line 30 of file mempool_args.cpp.