Missing docs for electrum.rs

This commit is contained in:
Riccardo Casatta 2020-11-27 10:25:12 +01:00 committed by Steve Myers
parent 6b5c3bca82
commit 68db07b2e3
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

View File

@ -159,7 +159,11 @@ impl ElectrumLikeSync for Client {
/// Configuration for an [`ElectrumBlockchain`]
#[derive(Debug, serde::Deserialize, serde::Serialize)]
pub struct ElectrumBlockchainConfig {
/// URL of the Electrum server (such as ElectrumX, Esplora, BWT) may start with `ssl://` or `tcp://` and include a port
///
/// eg. `ssl://electrum.blockstream.info:60002`
pub url: String,
/// URL of the socks5 proxy server or a Tor service
pub socks5: Option<String>,
pub retry: u8,
pub timeout: u8,