File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010#include <stdint.h>
1111
1212/** The maximum allowed size for a serialized block, in bytes (only for buffer size limits) */
13- static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 400000000 ;
13+ static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 100000000 ;
1414/** The maximum allowed weight for a block, see BIP 141 (network rule) */
15- static const unsigned int MAX_BLOCK_WEIGHT = 400000000 ;
15+ static const unsigned int MAX_BLOCK_WEIGHT = 100000000 ;
1616/** The maximum allowed number of signature check operations in a block (network rule) */
17- static const int64_t MAX_BLOCK_SIGOPS_COST = 8000000 ;
17+ static const int64_t MAX_BLOCK_SIGOPS_COST = 2000000 ;
1818/** Coinbase transaction outputs can only be spent after this number of new blocks (network rule) */
1919static const int COINBASE_MATURITY = 100 ;
2020
21- static const int WITNESS_SCALE_FACTOR = 4 ;
21+ static const int WITNESS_SCALE_FACTOR = 100 ;
2222
2323static const size_t MIN_TRANSACTION_WEIGHT = WITNESS_SCALE_FACTOR * 60 ; // 60 is the lower bound for the size of a valid serialized CTransaction
2424static const size_t MIN_SERIALIZABLE_TRANSACTION_WEIGHT = WITNESS_SCALE_FACTOR * 10 ; // 10 is the lower bound for the size of a serialized CTransaction
You can’t perform that action at this time.
0 commit comments