mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-30 13:07:32 -03:00
17 lines
491 B
C++
17 lines
491 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.
|
||
|
|
||
|
#include <mempool_args.h>
|
||
|
|
||
|
#include <kernel/mempool_options.h>
|
||
|
|
||
|
#include <util/system.h>
|
||
|
|
||
|
using kernel::MemPoolOptions;
|
||
|
|
||
|
void ApplyArgsManOptions(const ArgsManager& argsman, MemPoolOptions& mempool_opts)
|
||
|
{
|
||
|
mempool_opts.check_ratio = argsman.GetIntArg("-checkmempool", mempool_opts.check_ratio);
|
||
|
}
|