NegentropyStep

data class NegentropyStep(val outgoing: ByteArray?, val haveEventIds: List<NostrEventId>, val needEventIds: List<NostrEventId>, val complete: Boolean)

One stateful NIP-77 client result.

Constructors

Link copied to clipboard
constructor(outgoing: ByteArray?, haveEventIds: List<NostrEventId>, needEventIds: List<NostrEventId>, complete: Boolean)

Properties

Link copied to clipboard

Whether reconciliation has reached a terminal state.

Link copied to clipboard

Local-only event identifiers discovered in this step.

Link copied to clipboard

Remote-only event identifiers discovered in this step.

Link copied to clipboard

Next frame to send, or null when no frame remains.