Fix docs
This commit is contained in:
parent
a89dd85833
commit
2e7f98a371
@ -165,7 +165,9 @@ pub struct ElectrumBlockchainConfig {
|
|||||||
pub url: String,
|
pub url: String,
|
||||||
/// URL of the socks5 proxy server or a Tor service
|
/// URL of the socks5 proxy server or a Tor service
|
||||||
pub socks5: Option<String>,
|
pub socks5: Option<String>,
|
||||||
|
/// Request retry count
|
||||||
pub retry: u8,
|
pub retry: u8,
|
||||||
|
/// Request timeout (seconds)
|
||||||
pub timeout: u8,
|
pub timeout: u8,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,8 +78,8 @@ pub type OfflineWallet<D> = Wallet<OfflineBlockchain, D>;
|
|||||||
|
|
||||||
/// A Bitcoin wallet
|
/// A Bitcoin wallet
|
||||||
///
|
///
|
||||||
/// A wallet takes descriptors, a [`database`](crate::database) and a
|
/// A wallet takes descriptors, a [`database`](trait@crate::database::Database) and a
|
||||||
/// [`blockchain`](crate::blockchain) and implements the basic functions that a Bitcoin wallets
|
/// [`blockchain`](trait@crate::blockchain::Blockchain) and implements the basic functions that a Bitcoin wallets
|
||||||
/// needs to operate, like [generating addresses](Wallet::get_new_address), [returning the balance](Wallet::get_balance),
|
/// needs to operate, like [generating addresses](Wallet::get_new_address), [returning the balance](Wallet::get_balance),
|
||||||
/// [creating transactions](Wallet::create_tx), etc.
|
/// [creating transactions](Wallet::create_tx), etc.
|
||||||
///
|
///
|
||||||
|
@ -366,7 +366,7 @@ impl<D: Database, Cs: CoinSelectionAlgorithm<D>, Ctx: TxBuilderContext> TxBuilde
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Spend all the available inputs. This respects filters like [`unspendable`] and the change policy.
|
/// Spend all the available inputs. This respects filters like [`TxBuilder::unspendable`] and the change policy.
|
||||||
pub fn drain_wallet(mut self) -> Self {
|
pub fn drain_wallet(mut self) -> Self {
|
||||||
self.drain_wallet = true;
|
self.drain_wallet = true;
|
||||||
self
|
self
|
||||||
|
Loading…
x
Reference in New Issue
Block a user