Bitcoin ABC
0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
src
node
validation_cache_args.h
Go to the documentation of this file.
1
// Copyright (c) 2022 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_NODE_VALIDATION_CACHE_ARGS_H
6
#define BITCOIN_NODE_VALIDATION_CACHE_ARGS_H
7
8
class
ArgsManager
;
9
namespace
kernel
{
10
struct
ValidationCacheSizes;
11
};
12
13
namespace
node
{
14
void
ApplyArgsManOptions
(
const
ArgsManager
&
argsman
,
15
kernel::ValidationCacheSizes
&
cache_sizes
);
16
}
// namespace node
17
18
#endif
// BITCOIN_NODE_VALIDATION_CACHE_ARGS_H
ArgsManager
Definition
args.h:96
ApplyArgsManOptions
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.
Definition
mempool_args.cpp:24
kernel
Definition
blockmanager_opts.h:14
node
Definition
init.h:28
GetRand
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...
Definition
random.h:85
kernel::ValidationCacheSizes
Definition
validation_cache_sizes.h:15
Generated on Sat Nov 23 2024 02:37:59 for Bitcoin ABC by
1.9.8