Bitcoin Core  24.99.0
P2P Digital Currency
Namespaces | Functions
mempool_args.h File Reference
#include <optional>
Include dependency graph for mempool_args.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kernel
 

Functions

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

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 41 of file mempool_args.cpp.

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