Overlay the options set in argsman on top of corresponding members in mempool_opts. Returns an error if one was encountered.
Synopsis
Declared in <node/mempool_args.h>
[[nodiscard]]
util::Result<void>
ApplyArgsManOptions(
ArgsManager const& argsman,
CChainParams const& chainparams,
kernel::MemPoolOptions& mempool_opts);
Return Value
An empty result on success, or an error describing the invalid option.
|
Note
|
The return value should not be discarded. |
Parameters
Name |
Description |
argsman [in] |
The ArgsManager in which to check set options. |
chainparams [in] |
Chain parameters used to validate and bound the options. |
mempool_opts [inout] |
The MemPoolOptions to modify according to |
Created with MrDocs