Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
chainstatemanager_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_CHAINSTATEMANAGER_ARGS_H
6#define BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H
7
8#include <util/result.h>
9#include <validation.h>
10
11class ArgsManager;
12
14static constexpr int MAX_SCRIPTCHECK_THREADS{15};
16static constexpr int DEFAULT_SCRIPTCHECK_THREADS{0};
17
18namespace node {
20} // namespace node
21
22#endif // BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H
ArgsManager & args
Definition bitcoind.cpp:270
static constexpr int DEFAULT_SCRIPTCHECK_THREADS
-par default (number of script-checking threads, 0 = auto)
static constexpr int MAX_SCRIPTCHECK_THREADS
Maximum number of dedicated script-checking threads allowed.
util::Result< void > ApplyArgsManOptions(const ArgsManager &args, BlockManager::Options &opts)
An options struct for ChainstateManager, more ergonomically referred to as ChainstateManager::Options...