Expand description

Block verification utilities.

Re-exports

pub use self::queue::BlockQueue;
pub use self::queue::Config as QueueConfig;
pub use self::queue::VerificationQueue;

Modules

A queue of blocks. Sits between network or other I/O and the BlockChain. Sorts them ready for blockchain insertion.

Structs

A canonial verifier – this does full verification.

Parameters for full verification of block family

A no-op verifier – this will verify everything it’s given immediately.

Preprocessed block data gathered in verify_block_unordered call

Verification queue status

Enums

Verifier type.

Traits

Should be used to verify blocks.

Functions

Create a new verifier based on type.

t_nb 4.0 Phase 1 quick block verification. Only does checks that are cheap. Operates on a single block

t_nb 6.3 Phase 3 verification. Check block information against parent and uncles.

Phase 4 verification. Check block information against transaction enactment results,

Still operates on a individual block Returns a PreverifiedBlock structure populated with transactions

Check basic header parameters.