mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02: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);
|
||
|
|
}
|