Skip to main content

Crate consensus

Crate consensus 

Source
Available on crate features node-api and node only.
Expand description

Beacon consensus implementation.

Structs§

EthBeaconConsensus
Ethereum beacon consensus

Functions§

compare_receipts_root_and_logs_bloom
Compare the calculated receipts root with the expected receipts root, also compare the calculated logs bloom with the expected logs bloom.
validate_block_post_execution
Validate a block with regard to execution results:
verify_receipts
Calculate the receipts root, and compare it against the expected receipts root and logs bloom.