Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 71 Lines • ▼ Show 20 Lines | |||||
//! -maxtxfee default | //! -maxtxfee default | ||||
static const Amount DEFAULT_TRANSACTION_MAXFEE(COIN / 10); | static const Amount DEFAULT_TRANSACTION_MAXFEE(COIN / 10); | ||||
//! Discourage users to set fees higher than this amount (in satoshis) per kB | //! Discourage users to set fees higher than this amount (in satoshis) per kB | ||||
static const Amount HIGH_TX_FEE_PER_KB(COIN / 100); | static const Amount HIGH_TX_FEE_PER_KB(COIN / 100); | ||||
/** | /** | ||||
* -maxtxfee will warn if called with a higher fee than this amount (in satoshis | * -maxtxfee will warn if called with a higher fee than this amount (in satoshis | ||||
*/ | */ | ||||
static const Amount HIGH_MAX_TX_FEE(100 * HIGH_TX_FEE_PER_KB); | static const Amount HIGH_MAX_TX_FEE(100 * HIGH_TX_FEE_PER_KB); | ||||
/** Default for -limitancestorcount, max number of in-mempool ancestors */ | |||||
static const unsigned int DEFAULT_ANCESTOR_LIMIT = 25; | |||||
/** | |||||
* Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool | |||||
* ancestors. | |||||
*/ | |||||
static const unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 101; | |||||
/** Default for -limitdescendantcount, max number of in-mempool descendants */ | |||||
static const unsigned int DEFAULT_DESCENDANT_LIMIT = 25; | |||||
/** | |||||
* Default for -limitdescendantsize, maximum kilobytes of in-mempool | |||||
* descendants. | |||||
*/ | |||||
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; | ||||
/** 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) */ | ||||
▲ Show 20 Lines • Show All 691 Lines • Show Last 20 Lines |