ElectrumConfig

data class ElectrumConfig(url: String, socks5: String?, retry: UByte, timeout: UByte?, stopGap: ULong)

Configuration for an ElectrumBlockchain

Constructors

Link copied to clipboard
fun ElectrumConfig(url: String, socks5: String?, retry: UByte, timeout: UByte?, stopGap: ULong)

Properties

Link copied to clipboard
var retry: UByte

Request retry count

Link copied to clipboard
var socks5: String?

URL of the socks5 proxy server or a Tor service

Link copied to clipboard
var stopGap: ULong

Stop searching addresses for transactions after finding an unused gap of this length

Link copied to clipboard
var timeout: UByte?

Request timeout in seconds

Link copied to clipboard
var url: String

URL of the Electrum server (such as ElectrumX, Esplora, BWT). May start with ssl:// or tcp:// and include a port, e.g. ssl://electrum.blockstream.info:60002