aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/chainstatemanager_opts.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-07-07 10:33:11 +0100
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-10-03 10:52:06 +0100
commitbe4ff3060b7b43b496dfb5a2c02b114b2b717106 (patch)
treebec551631a7c6f0047f3a65cac8a3995794b3108 /src/kernel/chainstatemanager_opts.h
parent4e78834ec11ede578437e7a96bafd5542f26a9d5 (diff)
Move global `scriptcheckqueue` into `ChainstateManager` class
Diffstat (limited to 'src/kernel/chainstatemanager_opts.h')
-rw-r--r--src/kernel/chainstatemanager_opts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/chainstatemanager_opts.h b/src/kernel/chainstatemanager_opts.h
index 917f7d226c..ee20eabd79 100644
--- a/src/kernel/chainstatemanager_opts.h
+++ b/src/kernel/chainstatemanager_opts.h
@@ -45,6 +45,8 @@ struct ChainstateManagerOpts {
DBOptions coins_db{};
CoinsViewOptions coins_view{};
Notifications& notifications;
+ //! Number of script check worker threads. Zero means no parallel verification.
+ int worker_threads_num{0};
};
} // namespace kernel