Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Lines | |||||
/** Default for DEFAULT_WHITELISTRELAY. */ | /** Default for DEFAULT_WHITELISTRELAY. */ | ||||
static const bool DEFAULT_WHITELISTRELAY = true; | static const bool DEFAULT_WHITELISTRELAY = true; | ||||
/** Default for DEFAULT_WHITELISTFORCERELAY. */ | /** Default for DEFAULT_WHITELISTFORCERELAY. */ | ||||
static const bool DEFAULT_WHITELISTFORCERELAY = true; | static const bool DEFAULT_WHITELISTFORCERELAY = true; | ||||
/** Default for -minrelaytxfee, minimum relay fee for transactions */ | /** Default for -minrelaytxfee, minimum relay fee for transactions */ | ||||
static const unsigned int DEFAULT_MIN_RELAY_TX_FEE = 1000; | static const unsigned int DEFAULT_MIN_RELAY_TX_FEE = 1000; | ||||
//! -maxtxfee default | //! -maxtxfee default | ||||
static const CAmount DEFAULT_TRANSACTION_MAXFEE = 0.1 * COIN; | static const CAmount DEFAULT_TRANSACTION_MAXFEE = 0.1 * COIN.GetSatoshis(); | ||||
//! 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 CAmount HIGH_TX_FEE_PER_KB = 0.01 * COIN; | static const CAmount HIGH_TX_FEE_PER_KB = 0.01 * COIN.GetSatoshis(); | ||||
/** -maxtxfee will warn if called with a higher fee than this amount (in | /** -maxtxfee will warn if called with a higher fee than this amount (in | ||||
* satoshis */ | * satoshis */ | ||||
static const CAmount HIGH_MAX_TX_FEE = 100 * HIGH_TX_FEE_PER_KB; | static const CAmount HIGH_MAX_TX_FEE = 100 * HIGH_TX_FEE_PER_KB; | ||||
/** Default for -limitancestorcount, max number of in-mempool ancestors */ | /** Default for -limitancestorcount, max number of in-mempool ancestors */ | ||||
static const unsigned int DEFAULT_ANCESTOR_LIMIT = 25; | static const unsigned int DEFAULT_ANCESTOR_LIMIT = 25; | ||||
/** Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool | /** Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool | ||||
* ancestors */ | * ancestors */ | ||||
static const unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 101; | static const unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 101; | ||||
▲ Show 20 Lines • Show All 607 Lines • Show Last 20 Lines |