Skip to main content

encode_checkpoint

Function encode_checkpoint 

Source
pub fn encode_checkpoint(size: u64, root: &Hash) -> Vec<u8> ⓘ
Expand description

Encodes a root for publication: size and hash together, because a hash with no size is not a commitment to anything checkable.