pub fn encode_checkpoint(size: u64, root: &Hash) -> Vec<u8> ⓘ
Encodes a root for publication: size and hash together, because a hash with no size is not a commitment to anything checkable.