subspace_data_retrieval::object_fetcher

Constant MAX_SEGMENT_PADDING

Source
pub const MAX_SEGMENT_PADDING: usize = 3;
Expand description

The maximum amount of segment padding.

This is the difference between the lengths of the compact encodings of the minimum and maximum block sizes, in any domain. As of January 2025, the minimum block size is (potentially) 63 or less, and the maximum block size is in the range 2^14 to 2^30 - 1. https://docs.substrate.io/reference/scale-codec/#fn-1