Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Functions
mempool_args.cpp File Reference
#include <mempool_args.h>
#include <kernel/mempool_options.h>
#include <common/args.h>
#include <consensus/amount.h>
#include <kernel/chainparams.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

std::optional< bilingual_strApplyArgsManOptions (const ArgsManager &argsman, const CChainParams &chainparams, MemPoolOptions &mempool_opts)
 Overlay the options set in argsman on top of corresponding members in mempool_opts.
 

Function Documentation

◆ ApplyArgsManOptions()

std::optional< bilingual_str > 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 24 of file mempool_args.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: