Expand description
Consensus-based block verification.
In contrast to checkpoint verification, which only checks hardcoded hashes, block verification checks all Zcash consensus rules.
The block verifier performs all of the semantic validation checks. If accepted, the block is sent to the state service for contextual verification, where it may be accepted or rejected.
Re-exports§
pub use request::Request;
Modules§
Structs§
- Semantic
Block Verifier - Asynchronous semantic block verification.
- Shielded
Action Counts - The shielded components that the ZIP 218 action limits count.
Enums§
- Verify
Block Error - Block verification errors.
Constants§
- GLOBAL_
SHIELDED_ BUDGET - The ZIP 218 per-pool and global shielded action limits, which apply from NU7 activation.
- MAX_
BLOCK_ SIGOPS - The maximum number of transparent signature operations allowed in a block.
- ORCHARD_
BLOCK_ ACTION_ LIMIT - The per-pool action limit for both Orchard and Ironwood. See
GLOBAL_SHIELDED_BUDGET. - SAPLING_
BLOCK_ IO_ LIMIT - See
GLOBAL_SHIELDED_BUDGET. - SPROUT_
BLOCK_ JOIN_ SPLIT_ LIMIT - See
GLOBAL_SHIELDED_BUDGET.
Functions§
- map_
commit_ 🔒error - Converts an error from a
CommitSemanticallyVerifiedBlockstate request into aVerifyBlockError. - record_
phase 🔒 - Records the time since
phase_startas the block verifier phasephase, then restarts the timer for the next phase.