Type Alias StateNotification
StateNotification:
| {
commitDigest: Uint8Array;
from: number;
kind: "epochAdvanced";
to: number;
}
| { commitDigest: Uint8Array; kind: "memberAdded"; pubkey: string }
| {
actor?: string;
commitDigest: Uint8Array;
kind: "memberRemoved";
pubkey: string;
}
| {
commitDigest: Uint8Array;
componentId: number;
kind: "componentChanged";
}
| { commitDigest: Uint8Array; kind: "selfRemoved" }
| { commitDigest: Uint8Array; forkEpoch: number; kind: "branchRecovered" }
A group-state change derived from an accepted commit on the selected branch (
convergence.md"Applying the selected branch"). Every variant carriescommitDigest— the identity of the commit that produced it — so a rewind that supersedes the commit can withdraw exactly the notifications it derived (D-10, D-11). The notification SHAPE is implementation-defined;commit_digestattribution is the conformance requirement.