Skip to content

Commit

Permalink
Merge pull request #637 from navcoin/default-scriptcheck-threads
Browse files Browse the repository at this point in the history
Set DEFAULT_SCRIPTCHECK_THREADS to auto
  • Loading branch information
mxaddict committed Nov 21, 2019
2 parents 7058550 + 95e2387 commit ad883cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000; // 1 MiB
/** Maximum number of script-checking threads allowed */
static const int MAX_SCRIPTCHECK_THREADS = 16;
/** -par default (number of script-checking threads, 0 = auto) */
static const int DEFAULT_SCRIPTCHECK_THREADS = 2;
static const int DEFAULT_SCRIPTCHECK_THREADS = 0;
/** Number of blocks that can be requested at any given time from a single peer. */
static const int MAX_BLOCKS_IN_TRANSIT_PER_PEER = 16;
/** Timeout in seconds during which a peer must stall block download progress before being disconnected. */
Expand Down

0 comments on commit ad883cd

Please sign in to comment.