Skip to main content

decode_group_membership_delta

Function decode_group_membership_delta 

Source
pub fn decode_group_membership_delta(
    bytes: &[u8],
) -> Result<BTreeMap<InboxId, GroupMembershipEntry>, MigrationError>
Expand description

Decode a GROUP_MEMBERSHIP wire payload (a TlsMapDelta<InboxId, VLBytes> of all-Insert mutations against an empty prior — bootstrap shape) back to a BTreeMap<InboxId, GroupMembershipEntry>. Used by the bootstrap validator to inspect the proposal payload.