[docs] Add docs to the 'wallet' module

This commit is contained in:
Steve Myers
2020-12-11 14:10:11 -08:00
parent 1d1d539154
commit 148e8c6088
5 changed files with 14 additions and 7 deletions

View File

@@ -46,15 +46,11 @@ use miniscript::psbt::PsbtInputSatisfier;
#[allow(unused_imports)]
use log::{debug, error, info, trace};
#[allow(missing_docs)] // TODO add missing docs and remove this allow
pub mod address_validator;
#[allow(missing_docs)] // TODO add missing docs and remove this allow
pub mod coin_selection;
pub mod export;
#[allow(missing_docs)] // TODO add missing docs and remove this allow
pub mod signer;
pub mod time;
#[allow(missing_docs)] // TODO add missing docs and remove this allow
pub mod tx_builder;
pub(crate) mod utils;
@@ -962,7 +958,7 @@ where
Ok((psbt, finished))
}
#[allow(missing_docs)] // TODO add missing docs and remove this allow
/// Return the secp256k1 context used for all signing operations
pub fn secp_ctx(&self) -> &SecpCtx {
&self.secp
}