Expand description
Block Verification.
This module contains functions for verifying blocks:
Structs§
- Batch
Prepare Cache  - Cached state created when batch preparing a group of blocks.
 - Prepared
Block  - A pre-prepared block with all data needed to verify it.
 - Prepared
Block ExPow  - 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.