refactor: Move {MAX,DEFAULT}_SCRIPTCHECK_THREADS constants

This commit is contained in:
Hennadii Stepanov
2023-07-07 10:43:24 +01:00
parent 6e17b31680
commit 5b3ea5fa2e
5 changed files with 7 additions and 6 deletions

View File

@@ -66,10 +66,6 @@ namespace util {
class SignalInterrupt;
} // namespace util
/** Maximum number of dedicated script-checking threads allowed */
static const int MAX_SCRIPTCHECK_THREADS = 15;
/** -par default (number of script-checking threads, 0 = auto) */
static const int DEFAULT_SCRIPTCHECK_THREADS = 0;
/** Block files containing a block-height within MIN_BLOCKS_TO_KEEP of ActiveChain().Tip() will not be pruned. */
static const unsigned int MIN_BLOCKS_TO_KEEP = 288;
static const signed int DEFAULT_CHECKBLOCKS = 6;