|
|
|
@ -10,9 +10,9 @@
@@ -10,9 +10,9 @@
|
|
|
|
|
#include <stdint.h> |
|
|
|
|
|
|
|
|
|
/** The maximum allowed size for a serialized block, in bytes (only for buffer size limits) */ |
|
|
|
|
static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 4000000; |
|
|
|
|
static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 6000000; |
|
|
|
|
/** The maximum allowed weight for a block, see BIP 141 (network rule) */ |
|
|
|
|
static const unsigned int MAX_BLOCK_WEIGHT = 4000000; |
|
|
|
|
static const unsigned int MAX_BLOCK_WEIGHT = 6000000; |
|
|
|
|
/** The maximum allowed number of signature check operations in a block (network rule) */ |
|
|
|
|
static const int64_t MAX_BLOCK_SIGOPS_COST = 80000; |
|
|
|
|
/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */ |
|
|
|
|