assert(pindex->GetBlockHash()==consensusParams.hashGenesisBlock);// Genesis block's hash must match.
assert(pindex->GetBlockHash()==consensusParams.hashGenesisBlock);// Genesis block's hash must match.
assert(pindex==chainActive.Genesis());// The current active chain's genesis block must be this block.
assert(pindex==chainActive.Genesis());// The current active chain's genesis block must be this block.
}
}
if(pindex->nChainTx==0)assert(pindex->nSequenceId==0);// nSequenceId can't be set for blocks that aren't linked
if(pindex->nChainTx==0)assert(pindex->nSequenceId<=0);// nSequenceId can't be set positive for blocks that aren't linked (negative is used for preciousblock)
// VALID_TRANSACTIONS is equivalent to nTx > 0 for all nodes (whether or not pruning has occurred).
// VALID_TRANSACTIONS is equivalent to nTx > 0 for all nodes (whether or not pruning has occurred).
// HAVE_DATA is only equivalent to nTx > 0 (or VALID_TRANSACTIONS) if no pruning has occurred.
// HAVE_DATA is only equivalent to nTx > 0 (or VALID_TRANSACTIONS) if no pruning has occurred.