Create a new RelayLiveness instance
Configuration options for the liveness tracker
An observable of all relays that are dead
An observable of all relays that are online or not in backoff
An observable of all relays that are offline
An observable of all relays that are online
ReadonlyseenRelays that have been seen this session. this should be used when checking dead relays for liveness
Optional ReadonlystorageStorage adapter for persistence
An observable of all relays that are dead or in backoff
Relays that are known to be dead
Relays that are online or not in backoff
Relays that are known to be offline
Relays that are known to be online
Relays that are dead or in backoff
Filter relay list, removing dead relays and relays in backoff
Get remaining backoff time for a relay (in ms)
Get all seen relays (for debugging/monitoring)
Check if a relay is currently in backoff period
Load relay states from storage
Record a failed connection
The relay URL that failed
Record a successful connection
The relay URL that succeeded
Reset state for one or all relays
Optionalrelay: stringOptional specific relay URL to reset, or reset all if not provided
Revive a dead relay with the max backoff delay
Save all known relays and their states to storage
Record and manage liveness reports for relays