![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
Go to the source code of this file.
Enumerations | |
enum | { LOCKTIME_VERIFY_SEQUENCE = (1 << 0), LOCKTIME_MEDIAN_TIME_PAST = (1 << 1) } |
Functions | |
unsigned int | MaxBlockSize (bool fDIP0001Active) |
unsigned int | MaxBlockSigOps (bool fDIP0001Active) |
Variables | |
static const unsigned int | MAX_LEGACY_BLOCK_SIZE = (1 * 1000 * 1000) |
static const int | COINBASE_MATURITY = 100 |
anonymous enum |
Flags for nSequence and nLockTime locks
Enumerator | |
---|---|
LOCKTIME_VERIFY_SEQUENCE | |
LOCKTIME_MEDIAN_TIME_PAST |
Definition at line 26 of file consensus.h.
|
inline |
The maximum allowed number of signature check operations in a block (network rule)
Definition at line 18 of file consensus.h.
Referenced by CheckBlock(), ConnectBlock(), ContextualCheckBlock(), CreateNewBlock(), and getblocktemplate().
|
inline |
Definition at line 12 of file consensus.h.
Referenced by CheckBlock(), ContextualCheckBlock(), CreateNewBlock(), CPartialMerkleTree::ExtractMatches(), getblocktemplate(), LoadExternalBlockFile(), MaxBlockSigOps(), MutateTxAddInput(), CConnman::OutboundTargetReached(), and CConnman::SetMaxOutboundTarget().
|
static |
Coinbase transaction outputs can only be spent after this number of new blocks (network rule)
Definition at line 23 of file consensus.h.
Referenced by Consensus::CheckTxInputs(), CMerkleTx::GetBlocksToMaturity(), CTxMemPool::removeForReorg(), and TransactionDesc::toHTML().
|
static |
The maximum allowed size for a serialized block, in bytes (network rule)
Definition at line 11 of file consensus.h.
Referenced by CheckTransaction(), and MaxBlockSize().