[−][src]Struct bwt::hd::HDWallet
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]
master: ExtendedPubKey,
network: Network,
script_type: ScriptType,
gap_limit: u32,
initial_import_size: u32,
rescan_policy: RescanSince
) -> Self
pub fn from_bare_xpub(
xpub: XyzPubKey,
network: Network,
gap_limit: u32,
initial_import_size: u32,
rescan_policy: RescanSince
) -> Result<Self>
[src]
xpub: XyzPubKey,
network: Network,
gap_limit: u32,
initial_import_size: u32,
rescan_policy: RescanSince
) -> Result<Self>
pub fn from_xpub(
xpub: XyzPubKey,
network: Network,
gap_limit: u32,
initial_import_size: u32,
rescan_policy: RescanSince
) -> Result<Vec<Self>>
[src]
xpub: XyzPubKey,
network: Network,
gap_limit: u32,
initial_import_size: u32,
rescan_policy: RescanSince
) -> Result<Vec<Self>>
pub fn from_xpubs(
xpubs: &[(XyzPubKey, RescanSince)],
bare_xpubs: &[(XyzPubKey, RescanSince)],
network: Network,
gap_limit: u32,
initial_import_size: u32
) -> Result<Vec<Self>>
[src]
xpubs: &[(XyzPubKey, RescanSince)],
bare_xpubs: &[(XyzPubKey, RescanSince)],
network: Network,
gap_limit: u32,
initial_import_size: u32
) -> Result<Vec<Self>>
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
Auto Trait Implementations
impl RefUnwindSafe for HDWallet
impl Send for HDWallet
impl Sync for HDWallet
impl Unpin for HDWallet
impl UnwindSafe for HDWallet
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,