doc: Improve TxGraph & co docs

This commit is contained in:
Daniela Brozzoni
2023-10-17 11:00:05 +02:00
parent 908b0f9f5e
commit 0adff9c35f
11 changed files with 99 additions and 38 deletions

View File

@@ -11,7 +11,7 @@
//! Wallet
//!
//! This module defines the [`Wallet`] structure.
//! This module defines the [`Wallet`].
use crate::collections::{BTreeMap, HashMap, HashSet};
use alloc::{
boxed::Box,
@@ -77,7 +77,7 @@ const COINBASE_MATURITY: u32 = 100;
/// A Bitcoin wallet
///
/// The `Wallet` struct acts as a way of coherently interfacing with output descriptors and related transactions.
/// The `Wallet` acts as a way of coherently interfacing with output descriptors and related transactions.
/// Its main components are:
///
/// 1. output *descriptors* from which it can derive addresses.

View File

@@ -221,7 +221,7 @@ pub enum SignerContext {
},
}
/// Wrapper structure to pair a signer with its context
/// Wrapper to pair a signer with its context
#[derive(Debug, Clone)]
pub struct SignerWrapper<S: Sized + fmt::Debug + Clone> {
signer: S,