Marmot-TS
    Preparing search index...

    Type Alias AutoCommitIngestResult<TEnvelope>

    A self_remove-only commit this client built and staged during ingest because it is the deterministically-elected committer for a peer's departure (B6, protocol-core/member-departure.md). It is NOT applied yet — the layer that owns the transport MUST publish envelope and then confirm/roll back the pending state (publish-before-apply), exactly like a local commit send.

    type AutoCommitIngestResult<TEnvelope> = {
        actorPubkey: string;
        envelope: TEnvelope;
        kind: "autoCommit";
        pending: PendingState;
    }

    Type Parameters

    • TEnvelope
    Index
    actorPubkey: string

    This client's own pubkey — the auto-committer (actor) of the commit.

    envelope: TEnvelope
    kind: "autoCommit"
    pending: PendingState