@@ -35,10 +35,12 @@ class CInv;
35
35
36
36
/* * The maximum allowed size for a serialized block, in bytes (network rule) */
37
37
static const unsigned int MAX_BLOCK_SIZE = 1000000 ;
38
- /* * The maximum size for mined blocks */
39
- static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2 ;
38
+ /* * Default for -blockmaxsize, maximum size for mined blocks **/
39
+ static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 750000 ;
40
+ /* * Default for -blockprioritysize, maximum space for zero/low-fee transactions **/
41
+ static const unsigned int DEFAULT_BLOCK_PRIORITY_SIZE = 50000 ;
40
42
/* * The maximum size for transactions we're willing to relay/mine */
41
- static const unsigned int MAX_STANDARD_TX_SIZE = MAX_BLOCK_SIZE_GEN/ 5 ;
43
+ static const unsigned int MAX_STANDARD_TX_SIZE = 100000 ;
42
44
/* * The maximum allowed number of signature check operations in a block (network rule) */
43
45
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50 ;
44
46
/* * The maximum number of orphan transactions kept in memory */
@@ -55,8 +57,6 @@ static const int COINBASE_MATURITY = 100;
55
57
static const unsigned int LOCKTIME_THRESHOLD = 500000000 ; // Tue Nov 5 00:53:20 1985 UTC
56
58
/* * Maximum number of script-checking threads allowed */
57
59
static const int MAX_SCRIPTCHECK_THREADS = 16 ;
58
- /* * Default amount of block size reserved for high-priority transactions (in bytes) */
59
- static const int DEFAULT_BLOCK_PRIORITY_SIZE = 27000 ;
60
60
#ifdef USE_UPNP
61
61
static const int fHaveUPnP = true ;
62
62
#else
0 commit comments