mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-31 00:05:13 +02:00
refactor: Move {MAX,DEFAULT}_SCRIPTCHECK_THREADS constants
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
|
||||
class ArgsManager;
|
||||
|
||||
/** Maximum number of dedicated script-checking threads allowed */
|
||||
static constexpr int MAX_SCRIPTCHECK_THREADS{15};
|
||||
/** -par default (number of script-checking threads, 0 = auto) */
|
||||
static constexpr int DEFAULT_SCRIPTCHECK_THREADS{0};
|
||||
|
||||
namespace node {
|
||||
[[nodiscard]] util::Result<void> ApplyArgsManOptions(const ArgsManager& args, ChainstateManager::Options& opts);
|
||||
} // namespace node
|
||||
|
||||
Reference in New Issue
Block a user