Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | |||||
/** Default for -limitdescendantcount, max number of in-mempool descendants */ | /** Default for -limitdescendantcount, max number of in-mempool descendants */ | ||||
static const unsigned int DEFAULT_DESCENDANT_LIMIT = 25; | static const unsigned int DEFAULT_DESCENDANT_LIMIT = 25; | ||||
/** Default for -limitdescendantsize, maximum kilobytes of in-mempool | /** Default for -limitdescendantsize, maximum kilobytes of in-mempool | ||||
* descendants */ | * descendants */ | ||||
static const unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT = 101; | static const unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT = 101; | ||||
/** Default for -mempoolexpiry, expiration time for mempool transactions in | /** Default for -mempoolexpiry, expiration time for mempool transactions in | ||||
* hours */ | * hours */ | ||||
static const unsigned int DEFAULT_MEMPOOL_EXPIRY = 336; | static const unsigned int DEFAULT_MEMPOOL_EXPIRY = 336; | ||||
/** Maximum bytes for transactions to store for processing during reorg */ | |||||
static const unsigned int MAX_DISCONNECTED_TX_POOL_SIZE = | |||||
20 * DEFAULT_MAX_BLOCK_SIZE; | |||||
/** The maximum size of a blk?????.dat file (since 0.8) */ | /** The maximum size of a blk?????.dat file (since 0.8) */ | ||||
static const unsigned int MAX_BLOCKFILE_SIZE = 0x8000000; // 128 MiB | static const unsigned int MAX_BLOCKFILE_SIZE = 0x8000000; // 128 MiB | ||||
/** The pre-allocation chunk size for blk?????.dat files (since 0.8) */ | /** The pre-allocation chunk size for blk?????.dat files (since 0.8) */ | ||||
static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000; // 16 MiB | static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000; // 16 MiB | ||||
/** The pre-allocation chunk size for rev?????.dat files (since 0.8) */ | /** The pre-allocation chunk size for rev?????.dat files (since 0.8) */ | ||||
static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000; // 1 MiB | static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000; // 1 MiB | ||||
/** Maximum number of script-checking threads allowed */ | /** Maximum number of script-checking threads allowed */ | ||||
▲ Show 20 Lines • Show All 670 Lines • Show Last 20 Lines |