FullState

@Serializable
@SerialName(value = "fullState")
class FullState<S>(val sender: ReplicaId, val state: S, val upThrough: Long = 0) : QuiltMessage<S>

The complete current state — sent once on first contact with a peer that has never been seen before. The recipient absorbs it with us.tractat.kuilt.crdt.Quilted.piece.

upThrough is sender's own-delta high-water: the snapshot already reflects every delta sender has minted with seq <= upThrough (0 when it has minted none). The recipient fast-forwards its per-sender receive cursor past that history, drops buffered inbound deltas the snapshot covers, and acks upThrough — without this a receiver whose gap outlives the sender's GC (e.g. a late joiner) can never ack via the delta path, permanently pinning the sender's pending-delta buffer.

Constructors

Link copied to clipboard
constructor(sender: ReplicaId, state: S, upThrough: Long = 0)

Properties

Link copied to clipboard
Link copied to clipboard
val state: S
Link copied to clipboard