Changeset View
Changeset View
Standalone View
Standalone View
src/consensus/consensus.h
Show All 22 Lines | |||||
static const int64_t MAX_BLOCK_SIGOPS_PER_MB = 20000; | static const int64_t MAX_BLOCK_SIGOPS_PER_MB = 20000; | ||||
/** allowed number of signature check operations per transaction. */ | /** allowed number of signature check operations per transaction. */ | ||||
static const uint64_t MAX_TX_SIGOPS_COUNT = 20000; | static const uint64_t MAX_TX_SIGOPS_COUNT = 20000; | ||||
/** | /** | ||||
* Coinbase transaction outputs can only be spent after this number of new | * Coinbase transaction outputs can only be spent after this number of new | ||||
* blocks (network rule). | * blocks (network rule). | ||||
*/ | */ | ||||
static const int COINBASE_MATURITY = 100; | static const int COINBASE_MATURITY = 100; | ||||
/** Coinbase scripts have their own script size limit. */ | |||||
static const int MAX_COINBASE_SCRIPTSIG_SIZE = 100; | |||||
/** Activation time for P2SH (April 1st 2012) */ | /** Activation time for P2SH (April 1st 2012) */ | ||||
static const int64_t P2SH_ACTIVATION_TIME = 1333234914; | static const int64_t P2SH_ACTIVATION_TIME = 1333234914; | ||||
/** Flags for nSequence and nLockTime locks */ | /** Flags for nSequence and nLockTime locks */ | ||||
enum { | enum { | ||||
/* Interpret sequence numbers as relative lock-time constraints. */ | /* Interpret sequence numbers as relative lock-time constraints. */ | ||||
LOCKTIME_VERIFY_SEQUENCE = (1 << 0), | LOCKTIME_VERIFY_SEQUENCE = (1 << 0), | ||||
Show All 16 Lines |