Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show All 16 Lines | |||||
/** 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 | /** 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); | static const Amount DEFAULT_BLOCK_MIN_TX_FEE(0); | ||||
/** 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; | ||||
/** 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 megabytes of mempool memory usage */ | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |