Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Lines | #define MIN_TRANSACTION_SIZE \ | ||||
(::GetSerializeSize(CTransaction(), PROTOCOL_VERSION)) | (::GetSerializeSize(CTransaction(), PROTOCOL_VERSION)) | ||||
/** Maximum number of dedicated script-checking threads allowed */ | /** Maximum number of dedicated script-checking threads allowed */ | ||||
static const int MAX_SCRIPTCHECK_THREADS = 15; | static const int MAX_SCRIPTCHECK_THREADS = 15; | ||||
/** -par default (number of script-checking threads, 0 = auto) */ | /** -par default (number of script-checking threads, 0 = auto) */ | ||||
static const int DEFAULT_SCRIPTCHECK_THREADS = 0; | static const int DEFAULT_SCRIPTCHECK_THREADS = 0; | ||||
static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60; | static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60; | ||||
static const bool DEFAULT_CHECKPOINTS_ENABLED = true; | static const bool DEFAULT_CHECKPOINTS_ENABLED = true; | ||||
static const bool DEFAULT_TXINDEX = false; | |||||
static constexpr bool DEFAULT_COINSTATSINDEX{false}; | |||||
static const char *const DEFAULT_BLOCKFILTERINDEX = "0"; | |||||
static const bool DEFAULT_PEERBLOOMFILTERS = true; | static const bool DEFAULT_PEERBLOOMFILTERS = true; | ||||
/** Default for -stopatheight */ | /** Default for -stopatheight */ | ||||
static const int DEFAULT_STOPATHEIGHT = 0; | static const int DEFAULT_STOPATHEIGHT = 0; | ||||
/** | /** | ||||
* Block files containing a block-height within MIN_BLOCKS_TO_KEEP of | * Block files containing a block-height within MIN_BLOCKS_TO_KEEP of | ||||
* ActiveChain().Tip() will not be pruned. | * ActiveChain().Tip() will not be pruned. | ||||
▲ Show 20 Lines • Show All 1,412 Lines • Show Last 20 Lines |