Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show All 23 Lines | |||||
* Default for -blockprioritypercentage, define the amount of block space | * Default for -blockprioritypercentage, define the amount of block space | ||||
* reserved to high priority transactions. | * reserved to high priority transactions. | ||||
*/ | */ | ||||
static const uint64_t DEFAULT_BLOCK_PRIORITY_PERCENTAGE = 5; | static const uint64_t DEFAULT_BLOCK_PRIORITY_PERCENTAGE = 5; | ||||
/** | /** | ||||
* Default for -blockmintxfee, which sets the minimum feerate for a transaction | * Default for -blockmintxfee, which sets the minimum feerate for a transaction | ||||
* in blocks created by mining code. | * in blocks created by mining code. | ||||
*/ | */ | ||||
static const Amount DEFAULT_BLOCK_MIN_TX_FEE(1000 * SATOSHI); | static const Amount DEFAULT_BLOCK_MIN_TX_FEE_PER_KB(1000 * SATOSHI); | ||||
/** | /** | ||||
* The maximum size for transactions we're willing to relay/mine. | * The maximum size for transactions we're willing to relay/mine. | ||||
*/ | */ | ||||
static const unsigned int MAX_STANDARD_TX_SIZE = 100000; | static const unsigned int MAX_STANDARD_TX_SIZE = 100000; | ||||
/** | /** | ||||
* Biggest 'standard' txin is a 15-of-15 P2SH multisig with compressed | * Biggest 'standard' txin is a 15-of-15 P2SH multisig with compressed | ||||
* keys (remember the 520 byte limit on redeemScript size). That works | * keys (remember the 520 byte limit on redeemScript size). That works | ||||
▲ Show 20 Lines • Show All 93 Lines • Show Last 20 Lines |