RelayCatalogEntry

data class RelayCatalogEntry(val url: String, val createdAt: Long, val isActive: Boolean, val source: RelayCatalogSource, val isDnsDiscovered: Boolean, val isUserExcluded: Boolean, val dnsPriority: Int, val dnsWeight: Int, val dnsExpiresAt: Long)

One persisted relay catalog row.

Constructors

Link copied to clipboard
constructor(url: String, createdAt: Long, isActive: Boolean, source: RelayCatalogSource, isDnsDiscovered: Boolean, isUserExcluded: Boolean, dnsPriority: Int, dnsWeight: Int, dnsExpiresAt: Long)

Properties

Link copied to clipboard

Portable creation timestamp.

Link copied to clipboard

Absolute expiration or -1 when absent.

Link copied to clipboard

URI-record priority or -1 when absent.

Link copied to clipboard

URI-record weight or -1 when absent.

Link copied to clipboard

Whether this is the single active effective relay.

Link copied to clipboard

Whether authenticated current DNS contains the URL.

Link copied to clipboard

Whether the user excluded this automatic URL.

Link copied to clipboard

Automatic discovery or explicit user configuration.

Link copied to clipboard
val url: String

Canonical WSS URL and stable row key.