Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show All 17 Lines | |||||
class CTxOut; | class CTxOut; | ||||
/** | /** | ||||
* Default for -blockmaxsize, which controls the maximum size of block the | * Default for -blockmaxsize, which controls the maximum size of block the | ||||
* mining code will create. | * mining code will create. | ||||
*/ | */ | ||||
static const uint64_t DEFAULT_MAX_GENERATED_BLOCK_SIZE = 2 * ONE_MEGABYTE; | static const uint64_t DEFAULT_MAX_GENERATED_BLOCK_SIZE = 2 * ONE_MEGABYTE; | ||||
/** | /** | ||||
* Default for -blockprioritypercentage, define the amount of block space | |||||
* reserved to high priority transactions. | |||||
*/ | |||||
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_PER_KB(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; | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |