Module block

Source
Expand description

Block Verification.

This module contains functions for verifying blocks:

Structs§

PreparedBlock
A pre-prepared block with all data needed to verify it.
PreparedBlockExPow
A pre-prepared block with all data needed to verify it, except the block’s proof of work.

Functions§

batch_prepare_main_chain_blocks
Batch prepares a list of blocks for verification.
sanity_check_alt_block
This function sanity checks an alt-block.
verify_main_chain_block
Fully verify a block and all its transactions.
verify_prepped_main_chain_block
Fully verify a block that has already been prepared using batch_prepare_main_chain_blocks.