pub fn contextual_check_block_header(
block: &BlockHeader,
state: &mut BlockValidationState,
blockman: &mut BlockManager,
params: &ChainParams,
pindex_prev: Arc<BlockIndex>,
n_adjusted_time: i64
) -> bool
Expand description
| Context-dependent validity checks. | | By “context”, we mean only the previous | block headers, but not the UTXO set; | UTXO-related validity checks are done | in ConnectBlock(). | | ———– | @note | | This function is not currently invoked | by ConnectBlock(), so we should consider | upgrade issues if we change which consensus | rules are enforced in this function | (eg by adding a new consensus rule). | See comment in ConnectBlock(). | ––––– | @note | | -reindex-chainstate skips the validation | that happens here! |