Skip to main content

deserialize_block

Function deserialize_block 

Source
pub fn deserialize_block(data: &[u8]) -> Result<Block>
Expand description

Deserialize only the block, discarding any witness data.

Prefer deserialize_block_with_witnesses_pair for new call-sites; this helper is retained for legacy uses where witnesses are not needed.