Struct electrsd::ElectrsD [−][src]
pub struct ElectrsD { pub client: RawClient<ElectrumPlaintextStream>, pub electrum_url: String, pub esplora_url: Option<String>, // some fields omitted }
Expand description
Struct representing the bitcoind process with related information
Fields
client: RawClient<ElectrumPlaintextStream>
Electrum client connected to the electrs process
electrum_url: String
Url to connect to the electrum protocol (tcp)
esplora_url: Option<String>
Url to connect to esplora protocol (http)
Implementations
Create a new electrs process connected with the given bitcoind and default args.