Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
* Maximum number of signature check operations in an IsStandard() P2SH script. | * Maximum number of signature check operations in an IsStandard() P2SH script. | ||||
*/ | */ | ||||
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 bytes of mempool memory usage. | ||||
*/ | */ | ||||
static const unsigned int DEFAULT_MAX_MEMPOOL_SIZE = 300; | static const unsigned int DEFAULT_MAX_MEMPOOL_SIZE = 300000000; | ||||
/** | /** | ||||
* Default for -incrementalrelayfee, which sets the minimum feerate increase for | * Default for -incrementalrelayfee, which sets the minimum feerate increase for | ||||
* mempool limiting or BIP 125 replacement. | * mempool limiting or BIP 125 replacement. | ||||
*/ | */ | ||||
static const CFeeRate MEMPOOL_FULL_FEE_INCREMENT(1000 * SATOSHI); | static const CFeeRate MEMPOOL_FULL_FEE_INCREMENT(1000 * SATOSHI); | ||||
/** | /** | ||||
* Default for -bytespersigop . | * Default for -bytespersigop . | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 66 Lines • Show Last 20 Lines |