Function 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.

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.