Module bdk::blockchain::electrum[][src]

This is supported on crate feature electrum only.
Expand description


This module defines a Blockchain struct that wraps an [electrum_client::Client] and implements the logic required to populate the wallet’s database by querying the inner client.


let client = electrum_client::Client::new("ssl://")?;
let blockchain = ElectrumBlockchain::from(client);


Wrapper over an Electrum Client that implements the required blockchain traits

Configuration for an ElectrumBlockchain