Function bao_tree::io::full_chunk_groups

source ·
pub fn full_chunk_groups(
    ranges: &ChunkRanges,
    block_size: BlockSize
) -> ChunkRanges
Expand description

Given a range set of byte ranges, round it up to chunk groups Given a range set of chunk ranges, return the full chunk groups.

If we store outboard data at a level of granularity of block_size, we can only share full chunk groups because we don’t have proofs for anything below a chunk group.