mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 21:02:38 -03:00
9333427014
They live as a CTxMemPool member. [META] These limits will be used in subsequent commits to replace calls to gArgs.
22 lines
704 B
C++
22 lines
704 B
C++
// Copyright (c) 2022 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_MEMPOOL_ARGS_H
|
|
#define BITCOIN_MEMPOOL_ARGS_H
|
|
|
|
class ArgsManager;
|
|
namespace kernel {
|
|
struct MemPoolOptions;
|
|
};
|
|
|
|
/**
|
|
* Overlay the options set in \p argsman on top of corresponding members in \p mempool_opts.
|
|
*
|
|
* @param[in] argsman The ArgsManager in which to check set options.
|
|
* @param[in,out] mempool_opts The MemPoolOptions to modify according to \p argsman.
|
|
*/
|
|
void ApplyArgsManOptions(const ArgsManager& argsman, kernel::MemPoolOptions& mempool_opts);
|
|
|
|
|
|
#endif // BITCOIN_MEMPOOL_ARGS_H
|