[#ApplyArgsManOptions] = ApplyArgsManOptions :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] xref:util/Result.adoc[util::Result<void>] ApplyArgsManOptions( xref:ArgsManager.adoc[ArgsManager] const& argsman, xref:CChainParams.adoc[CChainParams] const& chainparams, xref:kernel/MemPoolOptions.adoc[kernel::MemPoolOptions]& mempool_opts); ---- == Return Value An empty result on success, or an error describing the invalid option. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | 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 `argsman.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#