pub fn get_partition_end_indexes(partition: &Partition) -> Vec<PartitionIndex>
Expand description
return all end partition indexes for the given partition partition could be (0, 1, N). In this case we only return [1] the single ‘end_index’ that covers this partition. partition could be (0, 2, N). In this case, we return [1, 2], which are all the ‘end_index’ values contained in that range. (0, 0, N) returns [0] as a special case. There is a relationship between
- ‘pubkey_range_from_partition’
- ‘partition_from_pubkey’
- this function