Skip to main content

Module tls_map_components

Module tls_map_components 

Source
Expand description

Component impls for the two TlsMap-shaped components: GroupMembershipComponent (GROUP_MEMBERSHIP, key: InboxId) and ComponentRegistryComponent (COMPONENT_REGISTRY, key: ComponentId).

Both store their value as TlsMap<K, VLBytes> where the inner VLBytes payload is opaque to this layer:

  • GROUP_MEMBERSHIP value bytes are prost-encoded GroupMembershipEntryV1 blobs; downstream consumers decode them after reading.
  • COMPONENT_REGISTRY value bytes are prost-encoded ComponentMetadata blobs.

Update payloads are encoded as TlsMapDelta<K, VLBytes> — single mutation per AppDataUpdate proposal at the steady-state path (UpdatePermission inserts/updates one registry entry; group membership updates one inbox at a time).

Structs§

ComponentRegistryComponent
Component impl for the COMPONENT_REGISTRY component.
GroupMembershipComponent
Component impl for the GROUP_MEMBERSHIP component.