Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show All 11 Lines | |||||
#include <string> | #include <string> | ||||
class CCoinsViewCache; | class CCoinsViewCache; | ||||
/** 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 -blockprioritysize, maximum space for zero/low-fee transactions | /** Default for -blockprioritypercentage, define the amount of block space | ||||
* **/ | * reserved to high priority transactions **/ | ||||
static const uint64_t DEFAULT_BLOCK_PRIORITY_SIZE = 0; | 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 unsigned int DEFAULT_BLOCK_MIN_TX_FEE = 1000; | static const unsigned int DEFAULT_BLOCK_MIN_TX_FEE = 1000; | ||||
/** 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; | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |