Bitcoin Core  26.99.0
P2P Digital Currency
Functions
mempool_args.cpp File Reference
#include <node/mempool_args.h>
#include <kernel/mempool_limits.h>
#include <kernel/mempool_options.h>
#include <common/args.h>
#include <consensus/amount.h>
#include <kernel/chainparams.h>
#include <logging.h>
#include <policy/feerate.h>
#include <policy/policy.h>
#include <tinyformat.h>
#include <util/error.h>
#include <util/moneystr.h>
#include <util/translation.h>
#include <chrono>
#include <memory>
Include dependency graph for mempool_args.cpp:

Go to the source code of this file.

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. More...
 

Function Documentation

◆ ApplyArgsManOptions()

util::Result<void> ApplyArgsManOptions ( const ArgsManager argsman,
const CChainParams chainparams,
kernel::MemPoolOptions mempool_opts 
)

Overlay the options set in argsman on top of corresponding members in mempool_opts.

Returns an error if one was encountered.

Parameters
[in]argsmanThe ArgsManager in which to check set options.
[in,out]mempool_optsThe MemPoolOptions to modify according to argsman.

Definition at line 40 of file mempool_args.cpp.

Here is the call graph for this function: