Relay Session Snapshot
data class RelaySessionSnapshot(val state: RelaySessionSnapshot.State, val subscriptions: List<String>, val readySubscriptions: List<String>, val deliveryEventIds: List<NostrEventId>, val pendingIngestionIds: List<NostrEventId>, val reconnectAttempt: UInt)
Redacted state snapshot for host diagnostics and restoration policy.
Constructors
Link copied to clipboard
constructor(state: RelaySessionSnapshot.State, subscriptions: List<String>, readySubscriptions: List<String>, deliveryEventIds: List<NostrEventId>, pendingIngestionIds: List<NostrEventId>, reconnectAttempt: UInt)
Properties
Link copied to clipboard
Events with tracked delivery state.
Link copied to clipboard
Events awaiting durable host persistence.
Link copied to clipboard
Subscriptions that reached end-of-stored-events.
Link copied to clipboard
Consecutive reconnect attempt number.
Link copied to clipboard
Current connection state.
Link copied to clipboard
Active subscription identifiers.