Function get_hash_seq_and_sizes

Source
pub async fn get_hash_seq_and_sizes(
    connection: &Connection,
    hash: &Hash,
    max_size: u64,
) -> Result<(HashSeq, Arc<[u64]>)>
Expand description

Given a hash of a hash seq, get the hash seq and the verified sizes of its children.

This can be used to compute the total size when requesting a hash seq.