Skip to main content

Module membership

Module membership 

Source
Expand description

Store-bound causal membership protocol.

Every causal author stream is identified by its author, the Owner grant that authorizes it, and an independently generated stream id. Entries carry the complete observed stream frontier; authorization is derived from that causal past, never from created_at.

Re-exports§

pub use super::causal_grants::AuthorStreamId;
pub use super::causal_grants::MembershipGrantId;

Structs§

AuthorHeadBody
The wire body of one membership author head. Every field here is signed.
MemberInfo
MembershipChain
MembershipCoord
MembershipEntryBody
The wire body of one membership entry. Every field here is signed.
MembershipEntryRef
MembershipFloor
MembershipGrantRecord
MembershipGrantRetirement
MembershipHeadAcceptanceBody
Issued by the head’s author after exact Store publication acceptance. The head binds the commit and transition; this result binds the winning publication envelope without retaining ordinary publication history.
MembershipHeadBody
MembershipHeadRef
MembershipStreamKey
MergeMembershipHeadTransition
MergeStoreOwnerGrantBarrier
OwnerStreamBarrier
ResolvedStoreMembership
StoreGrantStreamBarrier

Enums§

ApplyOutcome
LocalStoreMembership
MemberRole
MembershipError
MembershipFloorError
MembershipHeadAcceptanceIssuer
MembershipHeadActivation
MembershipHeadPredecessor
The exact predecessor head and, for a Store control, its finalized result.
MergeMembershipGrantRetirementBarrier
OwnerRecoveryAnchorRef
StoreAuthorityChange
StoreMembershipRoleGrant

Constants§

OWNER_PUBKEY_STATE_KEY

Functions§

derive_founder_stream_id
derive_grant_id
founder_entry
founder_entry_for_creation
membership_head_acceptance_semantic_prefix
test_wrapped_key_ref
validate_membership_floor
verify_membership_entry

Type Aliases§

AuthorHead
MembershipEntry
MembershipHeadAcceptance