aboutsummaryrefslogtreecommitdiff
path: root/src/node/chainstatemanager_args.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node/chainstatemanager_args.h')
-rw-r--r--src/node/chainstatemanager_args.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/node/chainstatemanager_args.h b/src/node/chainstatemanager_args.h
index 701515953e..b2cdba68b8 100644
--- a/src/node/chainstatemanager_args.h
+++ b/src/node/chainstatemanager_args.h
@@ -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