Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show All 28 Lines | |||||
*/ | */ | ||||
static const unsigned int MAX_P2SH_SIGOPS = 15; | static const unsigned int MAX_P2SH_SIGOPS = 15; | ||||
/** The maximum number of sigops we're willing to relay/mine in a single tx */ | /** The maximum number of sigops we're willing to relay/mine in a single tx */ | ||||
static const unsigned int MAX_STANDARD_TX_SIGOPS = MAX_TX_SIGOPS_COUNT / 5; | static const unsigned int MAX_STANDARD_TX_SIGOPS = MAX_TX_SIGOPS_COUNT / 5; | ||||
/** Default for -maxmempool, maximum megabytes of mempool memory usage */ | /** Default for -maxmempool, maximum megabytes of mempool memory usage */ | ||||
static const unsigned int DEFAULT_MAX_MEMPOOL_SIZE = 300; | static const unsigned int DEFAULT_MAX_MEMPOOL_SIZE = 300; | ||||
/** Default for -incrementalrelayfee, which sets the minimum feerate increase | /** Default for -incrementalrelayfee, which sets the minimum feerate increase | ||||
* for mempool limiting or BIP 125 replacement **/ | * for mempool limiting or BIP 125 replacement **/ | ||||
static const Amount DEFAULT_INCREMENTAL_RELAY_FEE(1000); | static const CFeeRate MEMPOOL_FULL_FEE_INCREMENT(Amount(1000)); | ||||
/** Default for -bytespersigop */ | /** Default for -bytespersigop */ | ||||
static const unsigned int DEFAULT_BYTES_PER_SIGOP = 20; | static const unsigned int DEFAULT_BYTES_PER_SIGOP = 20; | ||||
/** | /** | ||||
* Min feerate for defining dust. Historically this has been the same as the | * Min feerate for defining dust. Historically this has been the same as the | ||||
* minRelayTxFee, however changing the dust limit changes which transactions are | * minRelayTxFee, however changing the dust limit changes which transactions are | ||||
* standard and should be done with care and ideally rarely. It makes sense to | * standard and should be done with care and ideally rarely. It makes sense to | ||||
* only increase the dust limit after prior releases were already not creating | * only increase the dust limit after prior releases were already not creating | ||||
* outputs below the new threshold. | * outputs below the new threshold. | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |