[][src]Struct bwt::hd::HDWallet

pub struct HDWallet {
    pub max_funded_index: Option<u32>,
    pub max_imported_index: Option<u32>,
    pub done_initial_import: bool,
    // some fields omitted
}

Fields

max_funded_index: Option<u32>max_imported_index: Option<u32>done_initial_import: bool

Implementations

impl HDWallet[src]

pub fn new(
    master: ExtendedPubKey,
    network: Network,
    script_type: ScriptType,
    gap_limit: u32,
    initial_import_size: u32,
    rescan_policy: RescanSince
) -> Self
[src]

pub fn from_bare_xpub(
    xpub: XyzPubKey,
    network: Network,
    gap_limit: u32,
    initial_import_size: u32,
    rescan_policy: RescanSince
) -> Result<Self>
[src]

pub fn from_xpub(
    xpub: XyzPubKey,
    network: Network,
    gap_limit: u32,
    initial_import_size: u32,
    rescan_policy: RescanSince
) -> Result<Vec<Self>>
[src]

pub fn from_xpubs(
    xpubs: &[(XyzPubKey, RescanSince)],
    bare_xpubs: &[(XyzPubKey, RescanSince)],
    network: Network,
    gap_limit: u32,
    initial_import_size: u32
) -> Result<Vec<Self>>
[src]

pub fn derive(&self, index: u32) -> ExtendedPubKey[src]

pub fn to_address(&self, key: &ExtendedPubKey) -> Address[src]

pub fn derive_address(&self, index: u32) -> Address[src]

pub fn get_next_index(&self) -> u32[src]

Trait Implementations

impl Clone for HDWallet[src]

impl Debug for HDWallet[src]

impl Serialize for HDWallet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,