Skip to main content

signed_region_from_block

Function signed_region_from_block 

Source
pub fn signed_region_from_block(block: &Reader<'_>) -> Result<Vec<u8>>
Expand description

Reconstruct the canonical signed region from a parsed (wire) StreamBlock by re-encoding it with the provenance field cleared (#321). Byte-identical to the publisher’s pre-provenance crate::streaming::encode_stream_block.