pub fn verify_receipts<R>(
expected_receipts_root: FixedBytes<32>,
expected_logs_bloom: Bloom,
receipts: &[R],
) -> Result<(), ConsensusError>where
R: Receipt,Available on crate features
node-api and node only.Expand description
Calculate the receipts root, and compare it against the expected receipts root and logs bloom.