5#ifndef BITCOIN_MEMPOOL_ARGS_H
6#define BITCOIN_MEMPOOL_ARGS_H
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
std::optional< bilingual_str > ApplyArgsManOptions(const ArgsManager &argsman, const CChainParams &chainparams, MemPoolOptions &mempool_opts)
Overlay the options set in argsman on top of corresponding members in mempool_opts.
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Options struct containing options for constructing a CTxMemPool.