mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-17 05:41:34 +02:00
Proposed change to default BLOCK_MAX_SIZE
This is a proposed change to prevent a spam attack. An attacker would need to be a miner to needlessly fill blocks. Individual miners should be able to change this if desired. Alternatively, we could look at adjusting fees, but seems to be not as straight forward?
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ class CValidationState;
|
||||
struct CNodeStateStats;
|
||||
|
||||
/** Default for -blockmaxsize and -blockminsize, which control the range of sizes the mining code will create **/
|
||||
static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 750000;
|
||||
static const unsigned int DEFAULT_BLOCK_MAX_SIZE = 200000;
|
||||
static const unsigned int DEFAULT_BLOCK_MIN_SIZE = 0;
|
||||
/** Default for -blockprioritysize, maximum space for zero/low-fee transactions **/
|
||||
static const unsigned int DEFAULT_BLOCK_PRIORITY_SIZE = 50000;
|
||||
|
||||
Reference in New Issue
Block a user