Bitcoin ABC 0.33.10
P2P Digital Currency
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 <validation.h>
9
10#include <optional>
11
12class ArgsManager;
13struct bilingual_str;
14
16static constexpr int MAX_SCRIPTCHECK_THREADS{15};
18static constexpr int DEFAULT_SCRIPTCHECK_THREADS{0};
19
20namespace node {
21std::optional<bilingual_str>
23} // namespace node
24
25#endif // BITCOIN_NODE_CHAINSTATEMANAGER_ARGS_H
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.
Definition: messages.h:12
void ApplyArgsManOptions(const ArgsManager &args, const Config &config, BlockFitter::Options &options)
Apply options from ArgsManager to BlockFitter options.
Definition: blockfitter.cpp:40
Bilingual messages:
Definition: translation.h:17
An options struct for ChainstateManager, more ergonomically referred to as ChainstateManager::Options...