From: github-actions Date: Mon, 8 Mar 2021 16:18:36 +0000 (+0000) Subject: Publish autogenerated nightly docs X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/enum.KeyError.html?a=commitdiff_plain;h=c68ead56a9fb5b3d980a1eefe34d3c0c90688d75;p=bitcoindevkit.org Publish autogenerated nightly docs --- diff --git a/static/docs-rs/bdk/nightly/latest/bdk/all.html b/static/docs-rs/bdk/nightly/latest/bdk/all.html index 4597fa3105..f87dfb6129 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/all.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/all.html @@ -1,7 +1,7 @@ -List of all items in this crate +List of all items in this crate -

List of all items[] +

List of all items[] -

Structs

Enums

Traits

Macros

Functions

Typedefs

- \ No newline at end of file +

Structs

Enums

Traits

Macros

Functions

Typedefs

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html index 4c95cb28ad..eafc893b25 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchain.html @@ -1,7 +1,7 @@ -bdk::blockchain::any::AnyBlockchain - Rust +bdk::blockchain::any::AnyBlockchain - Rust -

Enum bdk::blockchain::any::AnyBlockchain[][src]

pub enum AnyBlockchain {
+

Enum bdk::blockchain::any::AnyBlockchain[][src]

pub enum AnyBlockchain {
     Electrum(ElectrumBlockchain),
     Esplora(EsploraBlockchain),
     CompactFilters(CompactFiltersBlockchain),
@@ -13,27 +13,27 @@
 
This is supported on crate feature electrum only.

Electrum client

This is supported on crate feature esplora only.

Esplora client

CompactFilters(CompactFiltersBlockchain)
This is supported on crate feature compact_filters only.

Compact filters client

-

Trait Implementations

impl Blockchain for AnyBlockchain[src]

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

Type that contains the configuration

-

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

impl From<ElectrumBlockchain> for AnyBlockchain[src]

impl From<EsploraBlockchain> for AnyBlockchain[src]

Trait Implementations

impl Blockchain for AnyBlockchain[src]

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

Type that contains the configuration

+

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

impl From<ElectrumBlockchain> for AnyBlockchain[src]

impl From<EsploraBlockchain> for AnyBlockchain[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html index d98b27165d..1a316e43cd 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/enum.AnyBlockchainConfig.html @@ -1,7 +1,7 @@ -bdk::blockchain::any::AnyBlockchainConfig - Rust +bdk::blockchain::any::AnyBlockchainConfig - Rust -

Enum bdk::blockchain::any::AnyBlockchainConfig[][src]

pub enum AnyBlockchainConfig {
+

Enum bdk::blockchain::any::AnyBlockchainConfig[][src]

pub enum AnyBlockchainConfig {
     Electrum(ElectrumBlockchainConfig),
     Esplora(EsploraBlockchainConfig),
     CompactFilters(CompactFiltersBlockchainConfig),
@@ -14,21 +14,21 @@ will find this particularly useful.

This is supported on crate feature electrum only.

Electrum client

This is supported on crate feature esplora only.

Esplora client

This is supported on crate feature compact_filters only.

Compact filters client

-

Trait Implementations

impl Debug for AnyBlockchainConfig[src]

impl<'de> Deserialize<'de> for AnyBlockchainConfig[src]

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for AnyBlockchainConfig[src]

Trait Implementations

impl Debug for AnyBlockchainConfig[src]

impl<'de> Deserialize<'de> for AnyBlockchainConfig[src]

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for AnyBlockchainConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html index dcf4676e75..0232ac19bc 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/any/index.html @@ -1,7 +1,7 @@ -bdk::blockchain::any - Rust +bdk::blockchain::any - Rust -

Module bdk::blockchain::any[][src]

Runtime-checked blockchain types

+

Module bdk::blockchain::any[][src]

Runtime-checked blockchain types

This module provides the implementation of AnyBlockchain which allows switching the inner Blockchain type at runtime.

Example

@@ -44,5 +44,5 @@ blockchain type supported using a single line of code:

Enums

AnyBlockchain

Type that can contain any of the Blockchain types defined by the library

AnyBlockchainConfig

Type that can contain any of the blockchain configurations defined by the library

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html index 2c7b6c1be5..43d889c66b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html @@ -1,7 +1,7 @@ -bdk::blockchain::compact_filters::CompactFiltersError - Rust +bdk::blockchain::compact_filters::CompactFiltersError - Rust -

Enum bdk::blockchain::compact_filters::CompactFiltersError[][src]

pub enum CompactFiltersError {
+

Enum bdk::blockchain::compact_filters::CompactFiltersError[][src]

pub enum CompactFiltersError {
     InvalidResponse,
     InvalidHeaders,
     InvalidFilterHeader,
@@ -35,27 +35,27 @@
 
BIP158(Error)

Invalid BIP158 filter

Internal system time error

Global(Box<Error>)

Wrapper for crate::error::Error

-

Trait Implementations

impl Debug for CompactFiltersError[src]

impl Display for CompactFiltersError[src]

impl Error for CompactFiltersError[src]

Trait Implementations

impl Debug for CompactFiltersError[src]

impl Display for CompactFiltersError[src]

impl Error for CompactFiltersError[src]

impl From<CompactFiltersError> for Error[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<SystemTimeError> for CompactFiltersError[src]

impl From<CompactFiltersError> for Error[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<Error> for CompactFiltersError[src]

impl From<SystemTimeError> for CompactFiltersError[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html index 37bcf2067f..000675f15c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html @@ -1,7 +1,7 @@ -bdk::blockchain::compact_filters - Rust +bdk::blockchain::compact_filters - Rust -

Module bdk::blockchain::compact_filters[][src]

This is supported on crate feature compact_filters only.

Compact Filters

+

Module bdk::blockchain::compact_filters[][src]

This is supported on crate feature compact_filters only.

Compact Filters

This module contains a multithreaded implementation of an Blockchain backend that uses BIP157 (aka “Neutrino”) to populate the wallet’s database by downloading compact filters from the P2P network.

@@ -36,5 +36,5 @@ desirable to use multiple threads at once to sync in parallel.

Peer

A Bitcoin peer

Enums

CompactFiltersError

An error that can occur during sync with a CompactFiltersBlockchain

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html index cd59d6b1a0..94bfffa788 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html @@ -1,7 +1,7 @@ -bdk::blockchain::compact_filters::BitcoinPeerConfig - Rust +bdk::blockchain::compact_filters::BitcoinPeerConfig - Rust -

Struct bdk::blockchain::compact_filters::BitcoinPeerConfig[][src]

pub struct BitcoinPeerConfig {
+

Struct bdk::blockchain::compact_filters::BitcoinPeerConfig[][src]

pub struct BitcoinPeerConfig {
     pub address: String,
     pub socks5: Option<String>,
     pub socks5_credentials: Option<(String, String)>,
@@ -10,18 +10,18 @@
                        Fieldsaddress: String

Peer address such as 127.0.0.1:18333

socks5: Option<String>

Optional socks5 proxy

socks5_credentials: Option<(String, String)>

Optional socks5 proxy credentials

-

Trait Implementations

impl Debug for BitcoinPeerConfig[src]

impl<'de> Deserialize<'de> for BitcoinPeerConfig[src]

impl Serialize for BitcoinPeerConfig[src]

Trait Implementations

impl Debug for BitcoinPeerConfig[src]

impl<'de> Deserialize<'de> for BitcoinPeerConfig[src]

impl Serialize for BitcoinPeerConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html index 8513d170a3..1402fe90a0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html @@ -1,36 +1,36 @@ -bdk::blockchain::compact_filters::CompactFiltersBlockchain - Rust +bdk::blockchain::compact_filters::CompactFiltersBlockchain - Rust -

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchain[][src]

pub struct CompactFiltersBlockchain { /* fields omitted */ }
This is supported on crate feature compact_filters only.

Structure implementing the required blockchain traits

+

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchain[][src]

pub struct CompactFiltersBlockchain { /* fields omitted */ }
This is supported on crate feature compact_filters only.

Structure implementing the required blockchain traits

Example

See the blockchain::compact_filters module for a usage example.

-

Implementations

impl CompactFiltersBlockchain[src]

pub fn new<P: AsRef<Path>>(
    peers: Vec<Peer>,
    storage_dir: P,
    skip_blocks: Option<usize>
) -> Result<Self, CompactFiltersError>
[src]

Construct a new instance given a list of peers, a path to store headers and block +

Implementations

impl CompactFiltersBlockchain[src]

pub fn new<P: AsRef<Path>>(
    peers: Vec<Peer>,
    storage_dir: P,
    skip_blocks: Option<usize>
) -> Result<Self, CompactFiltersError>
[src]

Construct a new instance given a list of peers, a path to store headers and block filters downloaded during the sync and optionally a number of blocks to ignore starting from the genesis while scanning for the wallet’s outputs.

For each Peer specified a new thread will be spawned to download and verify the filters in parallel. It’s currently recommended to only connect to a single peer to avoid inconsistencies in the data returned, optionally with multiple connections in parallel to speed-up the sync process.

-

Trait Implementations

impl Blockchain for CompactFiltersBlockchain[src]

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

type Config = CompactFiltersBlockchainConfig

Type that contains the configuration

-

impl Debug for CompactFiltersBlockchain[src]

impl From<CompactFiltersBlockchain> for AnyBlockchain[src]

Trait Implementations

impl Blockchain for CompactFiltersBlockchain[src]

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

type Config = CompactFiltersBlockchainConfig

Type that contains the configuration

+

impl Debug for CompactFiltersBlockchain[src]

impl From<CompactFiltersBlockchain> for AnyBlockchain[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html index 3b5dbf1503..7dc756a1a2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html @@ -1,7 +1,7 @@ -bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig - Rust +bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig - Rust -

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig[][src]

pub struct CompactFiltersBlockchainConfig {
+

Struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig[][src]

pub struct CompactFiltersBlockchainConfig {
     pub peers: Vec<BitcoinPeerConfig>,
     pub network: Network,
     pub storage_dir: String,
@@ -12,19 +12,19 @@
 
network: Network

Network used

storage_dir: String

Storage dir to save partially downloaded headers and full blocks

skip_blocks: Option<usize>

Optionally skip initial skip_blocks blocks (default: 0)

-

Trait Implementations

impl Debug for CompactFiltersBlockchainConfig[src]

impl<'de> Deserialize<'de> for CompactFiltersBlockchainConfig[src]

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for CompactFiltersBlockchainConfig[src]

Trait Implementations

impl Debug for CompactFiltersBlockchainConfig[src]

impl<'de> Deserialize<'de> for CompactFiltersBlockchainConfig[src]

impl From<CompactFiltersBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for CompactFiltersBlockchainConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html index fea1b96860..dd8ebffc50 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Mempool.html @@ -1,27 +1,27 @@ -bdk::blockchain::compact_filters::Mempool - Rust +bdk::blockchain::compact_filters::Mempool - Rust -

Struct bdk::blockchain::compact_filters::Mempool[][src]

pub struct Mempool(_);
This is supported on crate feature compact_filters only.

Container for unconfirmed, but valid Bitcoin transactions

+

Struct bdk::blockchain::compact_filters::Mempool[][src]

pub struct Mempool(_);
This is supported on crate feature compact_filters only.

Container for unconfirmed, but valid Bitcoin transactions

It is normally shared between Peers with the use of Arc, so that transactions are not duplicated in memory.

-

Implementations

impl Mempool[src]

pub fn new() -> Self[src]

Create a new empty mempool

-

pub fn add_tx(&self, tx: Transaction)[src]

Add a transaction to the mempool

+

Implementations

impl Mempool[src]

pub fn new() -> Self[src]

Create a new empty mempool

+

pub fn add_tx(&self, tx: Transaction)[src]

Add a transaction to the mempool

Note that this doesn’t propagate the transaction to other peers. To do that, broadcast should be used.

-

pub fn get_tx(&self, inventory: &Inventory) -> Option<Transaction>[src]

Look-up a transaction in the mempool given an [Inventory] request

-

pub fn has_tx(&self, txid: &Txid) -> bool[src]

Return whether or not the mempool contains a transaction with a given txid

-

pub fn iter_txs(&self) -> Vec<Transaction>[src]

Return the list of transactions contained in the mempool

-

Trait Implementations

impl Debug for Mempool[src]

impl Default for Mempool[src]

pub fn get_tx(&self, inventory: &Inventory) -> Option<Transaction>[src]

Look-up a transaction in the mempool given an [Inventory] request

+

pub fn has_tx(&self, txid: &Txid) -> bool[src]

Return whether or not the mempool contains a transaction with a given txid

+

pub fn iter_txs(&self) -> Vec<Transaction>[src]

Return the list of transactions contained in the mempool

+

Trait Implementations

impl Debug for Mempool[src]

impl Default for Mempool[src]

Auto Trait Implementations

impl RefUnwindSafe for Mempool

impl Send for Mempool

impl Sync for Mempool

impl Unpin for Mempool

impl UnwindSafe for Mempool

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html index 6c869c0c0b..03b4787623 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.Peer.html @@ -1,30 +1,30 @@ -bdk::blockchain::compact_filters::Peer - Rust +bdk::blockchain::compact_filters::Peer - Rust -

Struct bdk::blockchain::compact_filters::Peer[][src]

pub struct Peer { /* fields omitted */ }
This is supported on crate feature compact_filters only.

A Bitcoin peer

-

Implementations

impl Peer[src]

pub fn connect<A: ToSocketAddrs>(
    address: A,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer over a plaintext TCP connection

+

Struct bdk::blockchain::compact_filters::Peer[][src]

pub struct Peer { /* fields omitted */ }
This is supported on crate feature compact_filters only.

A Bitcoin peer

+

Implementations

impl Peer[src]

pub fn connect<A: ToSocketAddrs>(
    address: A,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer over a plaintext TCP connection

This function internally spawns a new thread that will monitor incoming messages from the peer, and optionally reply to some of them transparently, like pings

-

pub fn connect_proxy<T: ToTargetAddr, P: ToSocketAddrs>(
    target: T,
    proxy: P,
    credentials: Option<(&str, &str)>,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer through a SOCKS5 proxy, optionally by using some credentials, specified +

pub fn connect_proxy<T: ToTargetAddr, P: ToSocketAddrs>(
    target: T,
    proxy: P,
    credentials: Option<(&str, &str)>,
    mempool: Arc<Mempool>,
    network: Network
) -> Result<Self, CompactFiltersError>
[src]

Connect to a peer through a SOCKS5 proxy, optionally by using some credentials, specified as a tuple of (username, password)

This function internally spawns a new thread that will monitor incoming messages from the peer, and optionally reply to some of them transparently, like pings

-

pub fn get_version(&self) -> &VersionMessage[src]

Return the [VersionMessage] sent by the peer

-

pub fn get_network(&self) -> Network[src]

Return the Bitcoin [Network] in use

-

pub fn get_mempool(&self) -> Arc<Mempool>[src]

Return the mempool used by this peer

-

pub fn is_connected(&self) -> bool[src]

Return whether or not the peer is still connected

-

pub fn send(&self, payload: NetworkMessage) -> Result<(), CompactFiltersError>[src]

Send a raw Bitcoin message to the peer

-

pub fn recv(
    &self,
    wait_for: &'static str,
    timeout: Option<Duration>
) -> Result<Option<NetworkMessage>, CompactFiltersError>
[src]

Waits for a specific incoming Bitcoin message, optionally with a timeout

-

Trait Implementations

impl Debug for Peer[src]

pub fn get_version(&self) -> &VersionMessage[src]

Return the [VersionMessage] sent by the peer

+

pub fn get_network(&self) -> Network[src]

Return the Bitcoin [Network] in use

+

pub fn get_mempool(&self) -> Arc<Mempool>[src]

Return the mempool used by this peer

+

pub fn is_connected(&self) -> bool[src]

Return whether or not the peer is still connected

+

pub fn send(&self, payload: NetworkMessage) -> Result<(), CompactFiltersError>[src]

Send a raw Bitcoin message to the peer

+

pub fn recv(
    &self,
    wait_for: &'static str,
    timeout: Option<Duration>
) -> Result<Option<NetworkMessage>, CompactFiltersError>
[src]

Waits for a specific incoming Bitcoin message, optionally with a timeout

+

Trait Implementations

impl Debug for Peer[src]

Auto Trait Implementations

impl !RefUnwindSafe for Peer

impl Send for Peer

impl Sync for Peer

impl Unpin for Peer

impl !UnwindSafe for Peer

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html index 1f9aeaae13..a7adde63e2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/index.html @@ -1,7 +1,7 @@ -bdk::blockchain::electrum - Rust +bdk::blockchain::electrum - Rust -

Module bdk::blockchain::electrum[][src]

This is supported on crate feature electrum only.

Electrum

+

Module bdk::blockchain::electrum[][src]

This is supported on crate feature electrum only.

Electrum

This module defines a Blockchain struct that wraps an [electrum_client::Client] and implements the logic required to populate the wallet’s database by querying the inner client.

@@ -12,5 +12,5 @@ querying the inner client.

Structs

ElectrumBlockchain

Wrapper over an Electrum Client that implements the required blockchain traits

ElectrumBlockchainConfig

Configuration for an ElectrumBlockchain

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html index 1022c7c881..88021cfe38 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchain.html @@ -1,29 +1,29 @@ -bdk::blockchain::electrum::ElectrumBlockchain - Rust +bdk::blockchain::electrum::ElectrumBlockchain - Rust -

Struct bdk::blockchain::electrum::ElectrumBlockchain[][src]

pub struct ElectrumBlockchain(_);
This is supported on crate feature electrum only.

Wrapper over an Electrum Client that implements the required blockchain traits

+

Struct bdk::blockchain::electrum::ElectrumBlockchain[][src]

pub struct ElectrumBlockchain(_);
This is supported on crate feature electrum only.

Wrapper over an Electrum Client that implements the required blockchain traits

Example

See the blockchain::electrum module for a usage example.

-

Trait Implementations

impl Blockchain for ElectrumBlockchain[src]

impl ConfigurableBlockchain for ElectrumBlockchain[src]

type Config = ElectrumBlockchainConfig

Type that contains the configuration

-

impl From<Client> for ElectrumBlockchain[src]

impl From<ElectrumBlockchain> for AnyBlockchain[src]

Trait Implementations

impl Blockchain for ElectrumBlockchain[src]

impl ConfigurableBlockchain for ElectrumBlockchain[src]

type Config = ElectrumBlockchainConfig

Type that contains the configuration

+

impl From<Client> for ElectrumBlockchain[src]

impl From<ElectrumBlockchain> for AnyBlockchain[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html index ae5c86bc93..18dd5a60fd 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html @@ -1,7 +1,7 @@ -bdk::blockchain::electrum::ElectrumBlockchainConfig - Rust +bdk::blockchain::electrum::ElectrumBlockchainConfig - Rust -

Struct bdk::blockchain::electrum::ElectrumBlockchainConfig[][src]

pub struct ElectrumBlockchainConfig {
+

Struct bdk::blockchain::electrum::ElectrumBlockchainConfig[][src]

pub struct ElectrumBlockchainConfig {
     pub url: String,
     pub socks5: Option<String>,
     pub retry: u8,
@@ -13,19 +13,19 @@
 
socks5: Option<String>

URL of the socks5 proxy server or a Tor service

retry: u8

Request retry count

timeout: Option<u8>

Request timeout (seconds)

-

Trait Implementations

impl Debug for ElectrumBlockchainConfig[src]

impl<'de> Deserialize<'de> for ElectrumBlockchainConfig[src]

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for ElectrumBlockchainConfig[src]

Trait Implementations

impl Debug for ElectrumBlockchainConfig[src]

impl<'de> Deserialize<'de> for ElectrumBlockchainConfig[src]

impl From<ElectrumBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for ElectrumBlockchainConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html index fd0667b56c..2515497c8b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/enum.Capability.html @@ -1,7 +1,7 @@ -bdk::blockchain::Capability - Rust +bdk::blockchain::Capability - Rust -

Enum bdk::blockchain::Capability[][src]

pub enum Capability {
+

Enum bdk::blockchain::Capability[][src]

pub enum Capability {
     FullHistory,
     GetAnyTx,
     AccurateFees,
@@ -11,24 +11,24 @@
 
FullHistory

Can recover the full history of a wallet and not only the set of currently spendable UTXOs

GetAnyTx

Can fetch any historical transaction given its txid

AccurateFees

Can compute accurate fees for the transactions found during sync

-

Trait Implementations

impl Clone for Capability[src]

impl Copy for Capability[src]

impl Debug for Capability[src]

impl Eq for Capability[src]

impl Hash for Capability[src]

Trait Implementations

impl Clone for Capability[src]

impl Copy for Capability[src]

impl Debug for Capability[src]

impl Eq for Capability[src]

impl Hash for Capability[src]

impl PartialEq<Capability> for Capability[src]

impl PartialEq<Capability> for Capability[src]

impl StructuralEq for Capability[src]

impl StructuralPartialEq for Capability[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 StructuralEq for Capability[src]

impl StructuralPartialEq for Capability[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html index 1b6c4269b5..54fd3e07ab 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/enum.EsploraError.html @@ -1,7 +1,7 @@ -bdk::blockchain::esplora::EsploraError - Rust +bdk::blockchain::esplora::EsploraError - Rust -

Enum bdk::blockchain::esplora::EsploraError[][src]

pub enum EsploraError {
+

Enum bdk::blockchain::esplora::EsploraError[][src]

pub enum EsploraError {
     Reqwest(Error),
     Parsing(ParseIntError),
     BitcoinEncoding(Error),
@@ -19,26 +19,26 @@
 
TransactionNotFound(Txid)

Transaction not found

HeaderHeightNotFound(u32)

Header height not found

HeaderHashNotFound(BlockHash)

Header hash not found

-

Trait Implementations

impl Debug for EsploraError[src]

impl Display for EsploraError[src]

impl Error for EsploraError[src]

Trait Implementations

impl Debug for EsploraError[src]

impl Display for EsploraError[src]

impl Error for EsploraError[src]

impl From<Error> for EsploraError[src]

impl From<Error> for EsploraError[src]

impl From<Error> for EsploraError[src]

impl From<EsploraError> for Error[src]

impl From<ParseIntError> for EsploraError[src]

impl From<Error> for EsploraError[src]

impl From<Error> for EsploraError[src]

impl From<Error> for EsploraError[src]

impl From<EsploraError> for Error[src]

impl From<ParseIntError> for EsploraError[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html index 13d9078ccd..ffbb1c6cb1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/index.html @@ -1,7 +1,7 @@ -bdk::blockchain::esplora - Rust +bdk::blockchain::esplora - Rust -

Module bdk::blockchain::esplora[][src]

This is supported on crate feature esplora only.

Esplora

+

Module bdk::blockchain::esplora[][src]

This is supported on crate feature esplora only.

Esplora

This module defines a Blockchain struct that can query an Esplora backend populate the wallet’s database by

Example

@@ -12,5 +12,5 @@ populate the wallet’s data EsploraBlockchainConfig

Configuration for an EsploraBlockchain

Enums

EsploraError

Errors that can happen during a sync with EsploraBlockchain

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html index 9ae6bca56a..9788a77612 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchain.html @@ -1,30 +1,30 @@ -bdk::blockchain::esplora::EsploraBlockchain - Rust +bdk::blockchain::esplora::EsploraBlockchain - Rust -

Struct bdk::blockchain::esplora::EsploraBlockchain[][src]

pub struct EsploraBlockchain(_);
This is supported on crate feature esplora only.

Structure that implements the logic to sync with Esplora

+

Struct bdk::blockchain::esplora::EsploraBlockchain[][src]

pub struct EsploraBlockchain(_);
This is supported on crate feature esplora only.

Structure that implements the logic to sync with Esplora

Example

See the blockchain::esplora module for a usage example.

-

Implementations

impl EsploraBlockchain[src]

pub fn new(base_url: &str, concurrency: Option<u8>) -> Self[src]

Create a new instance of the client from a base URL

-

Trait Implementations

impl Blockchain for EsploraBlockchain[src]

impl ConfigurableBlockchain for EsploraBlockchain[src]

type Config = EsploraBlockchainConfig

Type that contains the configuration

-

impl Debug for EsploraBlockchain[src]

impl From<EsploraBlockchain> for AnyBlockchain[src]

Implementations

impl EsploraBlockchain[src]

pub fn new(base_url: &str, concurrency: Option<u8>) -> Self[src]

Create a new instance of the client from a base URL

+

Trait Implementations

impl Blockchain for EsploraBlockchain[src]

impl ConfigurableBlockchain for EsploraBlockchain[src]

type Config = EsploraBlockchainConfig

Type that contains the configuration

+

impl Debug for EsploraBlockchain[src]

impl From<EsploraBlockchain> for AnyBlockchain[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html index a8cfd5c7a1..bd9534f00b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html @@ -1,7 +1,7 @@ -bdk::blockchain::esplora::EsploraBlockchainConfig - Rust +bdk::blockchain::esplora::EsploraBlockchainConfig - Rust -

Struct bdk::blockchain::esplora::EsploraBlockchainConfig[][src]

pub struct EsploraBlockchainConfig {
+

Struct bdk::blockchain::esplora::EsploraBlockchainConfig[][src]

pub struct EsploraBlockchainConfig {
     pub base_url: String,
     pub concurrency: Option<u8>,
 }
This is supported on crate feature esplora only.

Configuration for an EsploraBlockchain

@@ -9,19 +9,19 @@ Fieldsbase_url: String

Base URL of the esplora service

eg. https://blockstream.info/api/

concurrency: Option<u8>

Number of parallel requests sent to the esplora service (default: 4)

-

Trait Implementations

impl Debug for EsploraBlockchainConfig[src]

impl<'de> Deserialize<'de> for EsploraBlockchainConfig[src]

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for EsploraBlockchainConfig[src]

Trait Implementations

impl Debug for EsploraBlockchainConfig[src]

impl<'de> Deserialize<'de> for EsploraBlockchainConfig[src]

impl From<EsploraBlockchainConfig> for AnyBlockchainConfig[src]

impl Serialize for EsploraBlockchainConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html index dac02d67b7..1673a37d85 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.log_progress.html @@ -1,6 +1,6 @@ -bdk::blockchain::log_progress - Rust +bdk::blockchain::log_progress - Rust -

Function bdk::blockchain::log_progress[][src]

pub fn log_progress() -> LogProgress

Create a nwe instance of LogProgress

-
- \ No newline at end of file +

Function bdk::blockchain::log_progress[][src]

pub fn log_progress() -> LogProgress

Create a nwe instance of LogProgress

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html index 23f9fab889..f66cec6c29 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.noop_progress.html @@ -1,6 +1,6 @@ -bdk::blockchain::noop_progress - Rust +bdk::blockchain::noop_progress - Rust -

Function bdk::blockchain::noop_progress[][src]

pub fn noop_progress() -> NoopProgress

Create a new instance of NoopProgress

-
- \ No newline at end of file +

Function bdk::blockchain::noop_progress[][src]

pub fn noop_progress() -> NoopProgress

Create a new instance of NoopProgress

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html index ef2dad6784..193c29630b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/fn.progress.html @@ -1,6 +1,6 @@ -bdk::blockchain::progress - Rust +bdk::blockchain::progress - Rust -

Function bdk::blockchain::progress[][src]

pub fn progress() -> (Sender<ProgressData>, Receiver<ProgressData>)

Shortcut to create a channel (pair of Sender and Receiver) that can transport ProgressData

-
- \ No newline at end of file +

Function bdk::blockchain::progress[][src]

pub fn progress() -> (Sender<ProgressData>, Receiver<ProgressData>)

Shortcut to create a channel (pair of Sender and Receiver) that can transport ProgressData

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html index d9703b4804..4c2f4e961f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/index.html @@ -1,7 +1,7 @@ -bdk::blockchain - Rust +bdk::blockchain - Rust -

Module bdk::blockchain[][src]

Blockchain backends

+

Module bdk::blockchain[][src]

Blockchain backends

This module provides the implementation of a few commonly-used backends like Electrum, Esplora and Compact Filters/Neutrino, along with a generalized trait @@ -28,5 +28,5 @@ progress

Shortcut to create a channel (pair of Sender and Receiver) that can transport ProgressData

Type Definitions

ProgressData

Data sent with a progress update over a channel

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html index f7418c68ae..197f859ac3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.LogProgress.html @@ -1,19 +1,19 @@ -bdk::blockchain::LogProgress - Rust +bdk::blockchain::LogProgress - Rust -

Struct bdk::blockchain::LogProgress[][src]

pub struct LogProgress;

Type that implements Progress and logs at level INFO every update received

-

Trait Implementations

impl Clone for LogProgress[src]

impl Progress for LogProgress[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html index b79cc30b52..df55033d55 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/struct.NoopProgress.html @@ -1,19 +1,19 @@ -bdk::blockchain::NoopProgress - Rust +bdk::blockchain::NoopProgress - Rust -

Struct bdk::blockchain::NoopProgress[][src]

pub struct NoopProgress;

Type that implements Progress and drops every update received

-

Trait Implementations

impl Clone for NoopProgress[src]

impl Progress for NoopProgress[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html index 609d136857..0fa569bc8b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html @@ -1,7 +1,7 @@ -bdk::blockchain::Blockchain - Rust +bdk::blockchain::Blockchain - Rust -

Trait bdk::blockchain::Blockchain[][src]

pub trait Blockchain {
+

Trait bdk::blockchain::Blockchain[][src]

pub trait Blockchain {
     fn get_capabilities(&self) -> HashSet<Capability>;
 
fn setup<D: BatchDatabase, P: 'static + Progress>(
        &self,
        stop_gap: Option<usize>,
        database: &mut D,
        progress_update: P
    ) -> Result<(), Error>;
fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>; @@ -11,19 +11,19 @@ fn sync<D: BatchDatabase, P: 'static + Progress>(
        &self,
        stop_gap: Option<usize>,
        database: &mut D,
        progress_update: P
    ) -> Result<(), Error> { ... } }

Trait that defines the actions that must be supported by a blockchain backend

-

Required methods

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

-

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time

+

Required methods

fn get_capabilities(&self) -> HashSet<Capability>[src]

Return the set of Capability supported by this backend

+

fn setup<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Setup the backend and populate the internal database for the first time

This method is the equivalent of Blockchain::sync, but it’s guaranteed to only be called once, at the first Wallet::sync.

The rationale behind the distinction between sync and setup is that some custom backends might need to perform specific actions only the first time they are synced.

For types that do not have that distinction, only this method can be implemented, since Blockchain::sync defaults to calling this internally if not overridden.

-

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

-

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

-

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

-

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

-
Loading content...

Provided methods

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs

+

fn get_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a transaction from the blockchain given its txid

+

fn broadcast(&self, tx: &Transaction) -> Result<(), Error>[src]

Broadcast a transaction

+

fn get_height(&self) -> Result<u32, Error>[src]

Return the current height

+

fn estimate_fee(&self, target: usize) -> Result<FeeRate, Error>[src]

Estimate the fee rate required to confirm a transaction in a given target of blocks

+
Loading content...

Provided methods

fn sync<D: BatchDatabase, P: 'static + Progress>(
    &self,
    stop_gap: Option<usize>,
    database: &mut D,
    progress_update: P
) -> Result<(), Error>
[src]

Populate the internal database with transactions and UTXOs

If not overridden, it defaults to calling Blockchain::setup internally.

This method should implement the logic required to iterate over the list of the wallet’s script_pubkeys using Database::iter_script_pubkeys and look for relevant transactions @@ -33,5 +33,5 @@ in the blockchain to populate the database with BatchOperations::del_utxo.

The progress_update object can be used to give the caller updates about the progress by using Progress::update.

-
Loading content...

Implementations on Foreign Types

impl<T: Blockchain> Blockchain for Arc<T>[src]

Loading content...

Implementors

impl Blockchain for AnyBlockchain[src]

impl Blockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl Blockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl Blockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
Loading content...
- \ No newline at end of file +
Loading content...

Implementations on Foreign Types

impl<T: Blockchain> Blockchain for Arc<T>[src]

Loading content...

Implementors

impl Blockchain for AnyBlockchain[src]

impl Blockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl Blockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl Blockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html index 935495c7d3..3d6c61a834 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html @@ -1,11 +1,11 @@ -bdk::blockchain::ConfigurableBlockchain - Rust +bdk::blockchain::ConfigurableBlockchain - Rust -

Trait bdk::blockchain::ConfigurableBlockchain[][src]

pub trait ConfigurableBlockchain: Blockchain + Sized {
+

Trait bdk::blockchain::ConfigurableBlockchain[][src]

pub trait ConfigurableBlockchain: Blockchain + Sized {
     type Config: Debug;
     fn from_config(config: &Self::Config) -> Result<Self, Error>;
 }

Trait for Blockchain types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Type that contains the configuration

-
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-
Loading content...

Implementors

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl ConfigurableBlockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl ConfigurableBlockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
Loading content...
- \ No newline at end of file +

Associated Types

type Config: Debug[src]

Type that contains the configuration

+
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+
Loading content...

Implementors

impl ConfigurableBlockchain for AnyBlockchain[src]

type Config = AnyBlockchainConfig

impl ConfigurableBlockchain for CompactFiltersBlockchain[src]

This is supported on crate feature compact_filters only.

impl ConfigurableBlockchain for ElectrumBlockchain[src]

This is supported on crate feature electrum only.

impl ConfigurableBlockchain for EsploraBlockchain[src]

This is supported on crate feature esplora only.
Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html index fe372fdff0..7e58423b41 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Progress.html @@ -1,12 +1,12 @@ -bdk::blockchain::Progress - Rust +bdk::blockchain::Progress - Rust -

Trait bdk::blockchain::Progress[][src]

pub trait Progress: Send {
+

Trait bdk::blockchain::Progress[][src]

pub trait Progress: Send {
     fn update(
        &self,
        progress: f32,
        message: Option<String>
    ) -> Result<(), Error>; }

Trait for types that can receive and process progress updates during Blockchain::sync and Blockchain::setup

-

Required methods

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Send a new progress update

+

Required methods

fn update(&self, progress: f32, message: Option<String>) -> Result<(), Error>[src]

Send a new progress update

The progress value should be in the range 0.0 - 100.0, and the message value is an optional text message that can be displayed to the user.

-
Loading content...

Implementations on Foreign Types

impl Progress for Sender<ProgressData>[src]

Loading content...

Implementors

impl Progress for LogProgress[src]

impl Progress for NoopProgress[src]

Loading content...
- \ No newline at end of file +
Loading content...

Implementations on Foreign Types

impl Progress for Sender<ProgressData>[src]

Loading content...

Implementors

impl Progress for LogProgress[src]

impl Progress for NoopProgress[src]

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html index 134c2fc8a9..ed2029109c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/blockchain/type.ProgressData.html @@ -1,6 +1,6 @@ -bdk::blockchain::ProgressData - Rust +bdk::blockchain::ProgressData - Rust -

Type Definition bdk::blockchain::ProgressData[][src]

type ProgressData = (f32, Option<String>);

Data sent with a progress update over a channel

-
- \ No newline at end of file +

Type Definition bdk::blockchain::ProgressData[][src]

type ProgressData = (f32, Option<String>);

Data sent with a progress update over a channel

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html index e8448f1c69..2413f613a4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyBatch.html @@ -1,7 +1,7 @@ -bdk::database::any::AnyBatch - Rust +bdk::database::any::AnyBatch - Rust -

Enum bdk::database::any::AnyBatch[][src]

pub enum AnyBatch {
+

Enum bdk::database::any::AnyBatch[][src]

pub enum AnyBatch {
     Memory(<MemoryDatabase as BatchDatabase>::Batch),
     Sled(<Tree as BatchDatabase>::Batch),
 }

Type that contains any of the BatchDatabase::Batch types defined by the library

@@ -9,29 +9,29 @@ Variants

In-memory ephemeral database

Sled(<Tree as BatchDatabase>::Batch)
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl BatchOperations for AnyBatch[src]

Trait Implementations

impl BatchOperations for AnyBatch[src]

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

impl From<<Tree as BatchDatabase>::Batch> for AnyBatch[src]

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

impl From<<Tree as BatchDatabase>::Batch> for AnyBatch[src]

Auto Trait Implementations

impl !RefUnwindSafe for AnyBatch

impl !Send for AnyBatch

impl !Sync for AnyBatch

impl Unpin for AnyBatch

impl !UnwindSafe for AnyBatch

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html index cc9be00162..833d369021 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html @@ -1,7 +1,7 @@ -bdk::database::any::AnyDatabase - Rust +bdk::database::any::AnyDatabase - Rust -

Enum bdk::database::any::AnyDatabase[][src]

pub enum AnyDatabase {
+

Enum bdk::database::any::AnyDatabase[][src]

pub enum AnyDatabase {
     Memory(MemoryDatabase),
     Sled(Tree),
 }

Type that can contain any of the Database types defined by the library

@@ -11,47 +11,47 @@ Variants

In-memory ephemeral database

Sled(Tree)
This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

Container for the operations

-

impl BatchOperations for AnyDatabase[src]

Trait Implementations

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

Container for the operations

+

impl BatchOperations for AnyDatabase[src]

impl ConfigurableDatabase for AnyDatabase[src]

type Config = AnyDatabaseConfig

Type that contains the configuration

-

impl Database for AnyDatabase[src]

impl Debug for AnyDatabase[src]

impl From<MemoryDatabase> for AnyDatabase[src]

impl From<Tree> for AnyDatabase[src]

impl ConfigurableDatabase for AnyDatabase[src]

type Config = AnyDatabaseConfig

Type that contains the configuration

+

impl Database for AnyDatabase[src]

impl Debug for AnyDatabase[src]

impl From<MemoryDatabase> for AnyDatabase[src]

impl From<Tree> for AnyDatabase[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html index e9531eba87..401114bed5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html @@ -1,7 +1,7 @@ -bdk::database::any::AnyDatabaseConfig - Rust +bdk::database::any::AnyDatabaseConfig - Rust -

Enum bdk::database::any::AnyDatabaseConfig[][src]

pub enum AnyDatabaseConfig {
+

Enum bdk::database::any::AnyDatabaseConfig[][src]

pub enum AnyDatabaseConfig {
     Memory(()),
     Sled(SledDbConfiguration),
 }

Type that can contain any of the database configurations defined by the library

@@ -12,20 +12,20 @@ will find this particularly useful.

Variants
Memory(())

Memory database has no config

This is supported on crate feature key-value-db only.

Simple key-value embedded database based on [sled]

-

Trait Implementations

impl Debug for AnyDatabaseConfig[src]

impl<'de> Deserialize<'de> for AnyDatabaseConfig[src]

impl From<()> for AnyDatabaseConfig[src]

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

impl Serialize for AnyDatabaseConfig[src]

Trait Implementations

impl Debug for AnyDatabaseConfig[src]

impl<'de> Deserialize<'de> for AnyDatabaseConfig[src]

impl From<()> for AnyDatabaseConfig[src]

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

impl Serialize for AnyDatabaseConfig[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html index fa94b9154b..f10f01a29c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html @@ -1,7 +1,7 @@ -bdk::database::any - Rust +bdk::database::any - Rust -

Module bdk::database::any[][src]

Runtime-checked database types

+

Module bdk::database::any[][src]

Runtime-checked database types

This module provides the implementation of AnyDatabase which allows switching the inner Database type at runtime.

Example

@@ -26,5 +26,5 @@ database supported using a single line of code:

AnyBatch

Type that contains any of the BatchDatabase::Batch types defined by the library

AnyDatabase

Type that can contain any of the Database types defined by the library

AnyDatabaseConfig

Type that can contain any of the database configurations defined by the library

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html b/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html index 463a9c3cdf..1bd51979d2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html @@ -1,26 +1,26 @@ -bdk::database::any::SledDbConfiguration - Rust +bdk::database::any::SledDbConfiguration - Rust -

Struct bdk::database::any::SledDbConfiguration[][src]

pub struct SledDbConfiguration {
+

Struct bdk::database::any::SledDbConfiguration[][src]

pub struct SledDbConfiguration {
     pub path: String,
     pub tree_name: String,
 }

Configuration type for a [sled::Tree] database

Fields

path: String

Main directory of the db

tree_name: String

Name of the database tree, a separated namespace for the data

-

Trait Implementations

impl Debug for SledDbConfiguration[src]

impl<'de> Deserialize<'de> for SledDbConfiguration[src]

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

impl Serialize for SledDbConfiguration[src]

Trait Implementations

impl Debug for SledDbConfiguration[src]

impl<'de> Deserialize<'de> for SledDbConfiguration[src]

impl From<SledDbConfiguration> for AnyDatabaseConfig[src]

impl Serialize for SledDbConfiguration[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/index.html b/static/docs-rs/bdk/nightly/latest/bdk/database/index.html index fefbc9b568..c0479809b4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/index.html @@ -1,7 +1,7 @@ -bdk::database - Rust +bdk::database - Rust -

Module bdk::database[][src]

Database types

+

Module bdk::database[][src]

Database types

This module provides the implementation of some defaults database types, along with traits that can be implemented externally to let Wallets use customized databases.

It’s important to note that the databases defined here only contains “blockchain-related” data. @@ -19,5 +19,5 @@ this library automatically implements all the required traits for [sled::T BatchOperations

Trait for operations that can be batched

ConfigurableDatabase

Trait for Database types that can be created given a configuration

Database

Trait for reading data from a database

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html index 1aa1fe952d..3d0838a40d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/index.html @@ -1,10 +1,10 @@ -bdk::database::memory - Rust +bdk::database::memory - Rust -

Module bdk::database::memory[][src]

In-memory ephemeral database

+

Module bdk::database::memory[][src]

In-memory ephemeral database

This module defines an in-memory database type called MemoryDatabase that is based on a BTreeMap.

Structs

MemoryDatabase

In-memory ephemeral database

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html index c3f3470727..d6079f8566 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/memory/struct.MemoryDatabase.html @@ -1,55 +1,55 @@ -bdk::database::memory::MemoryDatabase - Rust +bdk::database::memory::MemoryDatabase - Rust -

Struct bdk::database::memory::MemoryDatabase[][src]

pub struct MemoryDatabase { /* fields omitted */ }

In-memory ephemeral database

+

Struct bdk::database::memory::MemoryDatabase[][src]

pub struct MemoryDatabase { /* fields omitted */ }

In-memory ephemeral database

This database can be used as a temporary storage for wallets that are not kept permanently on a device, or on platforms that don’t provide a filesystem, like wasm32.

Once it’s dropped its content will be lost.

If you are looking for a permanent storage solution, you can try with the default key-value database called [sled]. See the database module documentation for more defailts.

-

Implementations

impl MemoryDatabase[src]

pub fn new() -> Self[src]

Create a new empty database

-

Trait Implementations

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

Container for the operations

-

impl BatchOperations for MemoryDatabase[src]

Implementations

impl MemoryDatabase[src]

pub fn new() -> Self[src]

Create a new empty database

+

Trait Implementations

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

Container for the operations

+

impl BatchOperations for MemoryDatabase[src]

impl ConfigurableDatabase for MemoryDatabase[src]

type Config = ()

Type that contains the configuration

-

impl Database for MemoryDatabase[src]

impl Debug for MemoryDatabase[src]

impl Default for MemoryDatabase[src]

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

impl From<MemoryDatabase> for AnyDatabase[src]

impl ConfigurableDatabase for MemoryDatabase[src]

type Config = ()

Type that contains the configuration

+

impl Database for MemoryDatabase[src]

impl Debug for MemoryDatabase[src]

impl Default for MemoryDatabase[src]

impl From<<MemoryDatabase as BatchDatabase>::Batch> for AnyBatch[src]

impl From<MemoryDatabase> for AnyDatabase[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html index 4ebe2be662..71f2e85540 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html @@ -1,14 +1,14 @@ -bdk::database::BatchDatabase - Rust +bdk::database::BatchDatabase - Rust -

Trait bdk::database::BatchDatabase[][src]

pub trait BatchDatabase: Database {
+

Trait bdk::database::BatchDatabase[][src]

pub trait BatchDatabase: Database {
     type Batch: BatchOperations;
     fn begin_batch(&self) -> Self::Batch;
 
fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>; }

Trait for a database that supports batch operations

This trait defines the methods to start and apply a batch of operations.

-

Associated Types

type Batch: BatchOperations[src]

Container for the operations

-
Loading content...

Required methods

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

-

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

-
Loading content...

Implementations on Foreign Types

impl BatchDatabase for Tree[src]

type Batch = Batch

Loading content...

Implementors

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

Loading content...
- \ No newline at end of file +

Associated Types

type Batch: BatchOperations[src]

Container for the operations

+
Loading content...

Required methods

fn begin_batch(&self) -> Self::Batch[src]

Create a new batch container

+

fn commit_batch(&mut self, batch: Self::Batch) -> Result<(), Error>[src]

Consume and apply a batch of operations

+
Loading content...

Implementations on Foreign Types

impl BatchDatabase for Tree[src]

type Batch = Batch

Loading content...

Implementors

impl BatchDatabase for AnyDatabase[src]

type Batch = AnyBatch

impl BatchDatabase for MemoryDatabase[src]

type Batch = Self

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html index 0f3fe2a658..18eca80266 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchOperations.html @@ -1,7 +1,7 @@ -bdk::database::BatchOperations - Rust +bdk::database::BatchOperations - Rust -

Trait bdk::database::BatchOperations[][src]

pub trait BatchOperations {
+

Trait bdk::database::BatchOperations[][src]

pub trait BatchOperations {
     fn set_script_pubkey(
        &mut self,
        script: &Script,
        keychain: KeychainKind,
        child: u32
    ) -> Result<(), Error>;
fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>;
fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>; @@ -16,17 +16,17 @@ }

Trait for operations that can be batched

This trait defines the list of operations that must be implemented on the Database type and the BatchDatabase::Batch type.

-

Required methods

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

-

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

-

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

-

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

-

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

-

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

-

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child +

Required methods

fn set_script_pubkey(
    &mut self,
    script: &Script,
    keychain: KeychainKind,
    child: u32
) -> Result<(), Error>
[src]

Store a script_pubkey along with its keychain and child number.

+

fn set_utxo(&mut self, utxo: &LocalUtxo) -> Result<(), Error>[src]

Store a LocalUtxo

+

fn set_raw_tx(&mut self, transaction: &Transaction) -> Result<(), Error>[src]

Store a raw transaction

+

fn set_tx(&mut self, transaction: &TransactionDetails) -> Result<(), Error>[src]

Store the metadata of a transaction

+

fn set_last_index(
    &mut self,
    keychain: KeychainKind,
    value: u32
) -> Result<(), Error>
[src]

Store the last derivation index for a given keychain.

+

fn del_script_pubkey_from_path(
    &mut self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Delete a script_pubkey given the keychain and its child number.

+

fn del_path_from_script_pubkey(
    &mut self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Delete the data related to a specific script_pubkey, meaning the keychain and the child number.

-

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

-

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

-

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

-

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

-
Loading content...

Implementations on Foreign Types

impl BatchOperations for Tree[src]

impl BatchOperations for Batch[src]

Loading content...

Implementors

impl BatchOperations for AnyBatch[src]

impl BatchOperations for AnyDatabase[src]

impl BatchOperations for MemoryDatabase[src]

Loading content...
- \ No newline at end of file +

fn del_utxo(&mut self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Delete a LocalUtxo given its [OutPoint]

+

fn del_raw_tx(&mut self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Delete a raw transaction given its [Txid]

+

fn del_tx(
    &mut self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Delete the metadata of a transaction and optionally the raw transaction itself

+

fn del_last_index(
    &mut self,
    keychain: KeychainKind
) -> Result<Option<u32>, Error>
[src]

Delete the last derivation index for a keychain.

+
Loading content...

Implementations on Foreign Types

impl BatchOperations for Tree[src]

impl BatchOperations for Batch[src]

Loading content...

Implementors

impl BatchOperations for AnyBatch[src]

impl BatchOperations for AnyDatabase[src]

impl BatchOperations for MemoryDatabase[src]

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html index 7c56ab37f7..d78fcbd470 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html @@ -1,11 +1,11 @@ -bdk::database::ConfigurableDatabase - Rust +bdk::database::ConfigurableDatabase - Rust -

Trait bdk::database::ConfigurableDatabase[][src]

pub trait ConfigurableDatabase: Database + Sized {
+

Trait bdk::database::ConfigurableDatabase[][src]

pub trait ConfigurableDatabase: Database + Sized {
     type Config: Debug;
     fn from_config(config: &Self::Config) -> Result<Self, Error>;
 }

Trait for Database types that can be created given a configuration

-

Associated Types

type Config: Debug[src]

Type that contains the configuration

-
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

-
Loading content...

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

Loading content...

Implementors

Loading content...
- \ No newline at end of file +

Associated Types

type Config: Debug[src]

Type that contains the configuration

+
Loading content...

Required methods

fn from_config(config: &Self::Config) -> Result<Self, Error>[src]

Create a new instance given a configuration

+
Loading content...

Implementations on Foreign Types

impl ConfigurableDatabase for Tree[src]

type Config = SledDbConfiguration

Loading content...

Implementors

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html index 442969ecfc..395792dc02 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/database/trait.Database.html @@ -1,7 +1,7 @@ -bdk::database::Database - Rust +bdk::database::Database - Rust -

Trait bdk::database::Database[][src]

pub trait Database: BatchOperations {
+

Trait bdk::database::Database[][src]

pub trait Database: BatchOperations {
     fn check_descriptor_checksum<B: AsRef<[u8]>>(
        &mut self,
        keychain: KeychainKind,
        bytes: B
    ) -> Result<(), Error>;
fn iter_script_pubkeys(
        &self,
        keychain: Option<KeychainKind>
    ) -> Result<Vec<Script>, Error>;
fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>; @@ -16,21 +16,21 @@
fn increment_last_index(
        &mut self,
        keychain: KeychainKind
    ) -> Result<u32, Error>; }

Trait for reading data from a database

This traits defines the operations that can be used to read data out of a database

-

Required methods

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain.

+

Required methods

fn check_descriptor_checksum<B: AsRef<[u8]>>(
    &mut self,
    keychain: KeychainKind,
    bytes: B
) -> Result<(), Error>
[src]

Read and checks the descriptor checksum for a given keychain.

Should return Error::ChecksumMismatch if the checksum doesn’t match. If there’s no checksum in the database, simply store it for the next time.

-

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

-

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

-

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

-

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

-

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

-

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

-

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

-

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

-

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

-

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

-

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it

+

fn iter_script_pubkeys(
    &self,
    keychain: Option<KeychainKind>
) -> Result<Vec<Script>, Error>
[src]

Return the list of script_pubkeys

+

fn iter_utxos(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of LocalUtxos

+

fn iter_raw_txs(&self) -> Result<Vec<Transaction>, Error>[src]

Return the list of raw transactions

+

fn iter_txs(&self, include_raw: bool) -> Result<Vec<TransactionDetails>, Error>[src]

Return the list of transactions metadata

+

fn get_script_pubkey_from_path(
    &self,
    keychain: KeychainKind,
    child: u32
) -> Result<Option<Script>, Error>
[src]

Fetch a script_pubkey given the child number of a keychain.

+

fn get_path_from_script_pubkey(
    &self,
    script: &Script
) -> Result<Option<(KeychainKind, u32)>, Error>
[src]

Fetch the keychain and child number of a given script_pubkey

+

fn get_utxo(&self, outpoint: &OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Fetch a LocalUtxo given its [OutPoint]

+

fn get_raw_tx(&self, txid: &Txid) -> Result<Option<Transaction>, Error>[src]

Fetch a raw transaction given its [Txid]

+

fn get_tx(
    &self,
    txid: &Txid,
    include_raw: bool
) -> Result<Option<TransactionDetails>, Error>
[src]

Fetch the transaction metadata and optionally also the raw transaction

+

fn get_last_index(&self, keychain: KeychainKind) -> Result<Option<u32>, Error>[src]

Return the last defivation index for a keychain.

+

fn increment_last_index(&mut self, keychain: KeychainKind) -> Result<u32, Error>[src]

Increment the last derivation index for a keychain and return it

It should insert and return 0 if not present in the database

-
Loading content...

Implementations on Foreign Types

impl Database for Tree[src]

Loading content...

Implementors

impl Database for AnyDatabase[src]

impl Database for MemoryDatabase[src]

Loading content...
- \ No newline at end of file +
Loading content...

Implementations on Foreign Types

impl Database for Tree[src]

Loading content...

Implementors

impl Database for AnyDatabase[src]

impl Database for MemoryDatabase[src]

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html index d17f557a81..d6e745e3ef 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/fn.get_checksum.html @@ -1,6 +1,6 @@ -bdk::descriptor::checksum::get_checksum - Rust +bdk::descriptor::checksum::get_checksum - Rust -

Function bdk::descriptor::checksum::get_checksum[][src]

pub fn get_checksum(desc: &str) -> Result<String, DescriptorError>

Compute the checksum of a descriptor

-
- \ No newline at end of file +

Function bdk::descriptor::checksum::get_checksum[][src]

pub fn get_checksum(desc: &str) -> Result<String, DescriptorError>

Compute the checksum of a descriptor

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html index 5ec5d40dd2..4830a6d9f2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/checksum/index.html @@ -1,10 +1,10 @@ -bdk::descriptor::checksum - Rust +bdk::descriptor::checksum - Rust -

Module bdk::descriptor::checksum[][src]

Descriptor checksum

+

Module bdk::descriptor::checksum[][src]

Descriptor checksum

This module contains a re-implementation of the function used by Bitcoin Core to calculate the checksum of a descriptor

Functions

get_checksum

Compute the checksum of a descriptor

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html index ad359e8c78..f7ac6f4747 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html @@ -1,7 +1,7 @@ -bdk::descriptor::Descriptor - Rust +bdk::descriptor::Descriptor - Rust -

Enum bdk::descriptor::Descriptor[]

pub enum Descriptor<Pk> where
    Pk: MiniscriptKey, 
{ +

Enum bdk::descriptor::Descriptor[]

pub enum Descriptor<Pk> where
    Pk: MiniscriptKey, 
{ Bare(Bare<Pk>), Pkh(Pkh<Pk>), Wpkh(Wpkh<Pk>), @@ -50,7 +50,7 @@ Errors when miniscript exceeds resource limits under p2sh context

a descriptor that only contains public keys and a map to lookup the secret key given a public key.

pub fn to_string_with_secret(
    &self,
    key_map: &HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>
) -> String

Serialize a descriptor to string with its secret keys

Trait Implementations

impl<Pk> Clone for Descriptor<Pk> where
    Pk: MiniscriptKey + Clone

impl<Pk> Debug for Descriptor<Pk> where
    Pk: MiniscriptKey, 

impl<Pk> DescriptorTrait<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

pub fn sanity_check(&self) -> Result<(), Error>

Whether the descriptor is safe Checks whether all the spend paths in the descriptor are possible @@ -87,7 +87,7 @@ sighash when evaluating a CHECKSIG & co. OP code.

output controlled by the given descriptor; add the data to a given TxIn output. Read more

impl<Pk> Display for Descriptor<Pk> where
    Pk: MiniscriptKey, 

impl<Pk> Eq for Descriptor<Pk> where
    Pk: MiniscriptKey + Eq

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

impl<Pk> Eq for Descriptor<Pk> where
    Pk: MiniscriptKey + Eq

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

impl<Pk> ForEachKey<Pk> for Descriptor<Pk> where
    Pk: MiniscriptKey, 

Auto Trait Implementations

impl<Pk> RefUnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe

impl<Pk> Send for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Sync for Descriptor<Pk> where
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk> Unpin for Descriptor<Pk> where
    Pk: Unpin,
    <Pk as MiniscriptKey>::Hash: Unpin

impl<Pk> UnwindSafe for Descriptor<Pk> where
    Pk: RefUnwindSafe + UnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html index 8044a66591..cc6f336a8f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Legacy.html @@ -1,12 +1,12 @@ -bdk::descriptor::Legacy - Rust +bdk::descriptor::Legacy - Rust -

Enum bdk::descriptor::Legacy[]

pub enum Legacy {}

Legacy ScriptContext +

Enum bdk::descriptor::Legacy[]

pub enum Legacy {}

Legacy ScriptContext To be used as P2SH scripts For creation of Bare scriptpubkeys, construct the Miniscript under Bare ScriptContext

Trait Implementations

impl Clone for Legacy

impl Debug for Legacy

impl Eq for Legacy

impl Hash for Legacy

impl StructuralEq for Legacy

impl StructuralPartialEq for Legacy

Auto Trait Implementations

impl RefUnwindSafe for Legacy

impl Send for Legacy

impl Sync for Legacy

impl Unpin for Legacy

impl UnwindSafe for Legacy

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

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

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html index 1f86ee9012..c65d34b77c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Segwitv0.html @@ -1,9 +1,9 @@ -bdk::descriptor::Segwitv0 - Rust +bdk::descriptor::Segwitv0 - Rust -

Enum bdk::descriptor::Segwitv0[]

pub enum Segwitv0 {}

Segwitv0 ScriptContext

+

Enum bdk::descriptor::Segwitv0[]

pub enum Segwitv0 {}

Segwitv0 ScriptContext

Trait Implementations

impl Clone for Segwitv0

impl Debug for Segwitv0

impl Eq for Segwitv0

impl Hash for Segwitv0

impl StructuralEq for Segwitv0

impl StructuralPartialEq for Segwitv0

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

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

impl<Ctx> ExtScriptContext for Ctx where
    Ctx: 'static + ScriptContext
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html index b568fdcc01..26ac9a7148 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/enum.Error.html @@ -1,7 +1,7 @@ -bdk::descriptor::error::Error - Rust +bdk::descriptor::error::Error - Rust -

Enum bdk::descriptor::error::Error[][src]

pub enum Error {
+

Enum bdk::descriptor::error::Error[][src]

pub enum Error {
     InvalidHDKeyPath,
     InvalidDescriptorChecksum,
     HardenedDerivationXpub,
@@ -29,29 +29,29 @@
 
PK(Error)

Key-related error

Miniscript(Error)

Miniscript error

Hex(Error)

Hex decoding error

-

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<KeyError> for Error[src]

impl From<PolicyError> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<KeyError> for Error[src]

impl From<PolicyError> for Error[src]

Auto Trait Implementations

impl RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl UnwindSafe for Error

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html index 4d7c348246..9e5fae20c1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/error/index.html @@ -1,8 +1,8 @@ -bdk::descriptor::error - Rust +bdk::descriptor::error - Rust -

Module bdk::descriptor::error[][src]

Descriptor errors

+

Module bdk::descriptor::error[][src]

Descriptor errors

Enums

Error

Errors related to the parsing and usage of descriptors

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html index 57f5a9bfcf..7703a6fdd7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/index.html @@ -1,7 +1,7 @@ -bdk::descriptor - Rust +bdk::descriptor - Rust -

Module bdk::descriptor[][src]

Descriptors

+

Module bdk::descriptor[][src]

Descriptors

This module contains generic utilities to work with descriptors, plus some re-exported types from [miniscript].

Re-exports

@@ -33,5 +33,5 @@ For example, disallowing uncompressed keys in Segwit context

HDKeyPaths

Alias for the type of maps that represent derivation paths in a psbt::Input or psbt::Output

KeyMap

Alias type for a map of public key to secret key

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html index b13d28709f..ccf5b18e84 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PolicyError.html @@ -1,7 +1,7 @@ -bdk::descriptor::policy::PolicyError - Rust +bdk::descriptor::policy::PolicyError - Rust -

Enum bdk::descriptor::policy::PolicyError[][src]

pub enum PolicyError {
+

Enum bdk::descriptor::policy::PolicyError[][src]

pub enum PolicyError {
     NotEnoughItemsSelected(String),
     IndexOutOfRange(usize),
     AddOnLeaf,
@@ -17,27 +17,27 @@
 
AddOnPartialComplete

Can not add to an item that is Satisfaction::PartialComplete

MixedTimelockUnits

Can not merge CSV or timelock values unless both are less than or both are equal or greater than 500_000_000

IncompatibleConditions

Incompatible conditions (not currently used)

-

Trait Implementations

impl Debug for PolicyError[src]

impl Display for PolicyError[src]

impl Eq for PolicyError[src]

impl Error for PolicyError[src]

Trait Implementations

impl Debug for PolicyError[src]

impl Display for PolicyError[src]

impl Eq for PolicyError[src]

impl Error for PolicyError[src]

impl From<PolicyError> for Error[src]

impl From<PolicyError> for Error[src]

impl PartialEq<PolicyError> for PolicyError[src]

impl From<PolicyError> for Error[src]

impl From<PolicyError> for Error[src]

impl PartialEq<PolicyError> for PolicyError[src]

impl StructuralEq for PolicyError[src]

impl StructuralPartialEq for PolicyError[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 StructuralEq for PolicyError[src]

impl StructuralPartialEq for PolicyError[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html index cfd41dc789..96db705b71 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html @@ -1,7 +1,7 @@ -bdk::descriptor::policy::Satisfaction - Rust +bdk::descriptor::policy::Satisfaction - Rust -

Enum bdk::descriptor::policy::Satisfaction[][src]

Complete

Can satisfy the policy item

Fields of Complete

condition: Condition

Extra conditions that also need to be satisfied

None

Cannot satisfy or contribute to the policy item

-

Implementations

impl Satisfaction[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the Satisfaction is a leaf item

-

Trait Implementations

impl Clone for Satisfaction[src]

impl Debug for Satisfaction[src]

impl From<bool> for Satisfaction[src]

impl Serialize for Satisfaction[src]

Implementations

impl Satisfaction[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the Satisfaction is a leaf item

+

Trait Implementations

impl Clone for Satisfaction[src]

impl Debug for Satisfaction[src]

impl From<bool> for Satisfaction[src]

impl Serialize for Satisfaction[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html index 303f02d1e1..c6c0e6a539 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html @@ -1,7 +1,7 @@ -bdk::descriptor::policy::SatisfiableItem - Rust +bdk::descriptor::policy::SatisfiableItem - Rust -

Enum bdk::descriptor::policy::SatisfiableItem[][src]

Thresh

Threshold items with threshold count

Fields of Thresh

items: Vec<Policy>

The policy items

threshold: usize

The required threshold count

-

Implementations

impl SatisfiableItem[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the SatisfiableItem is a leaf item

-

pub fn id(&self) -> String[src]

Returns a unique id for the SatisfiableItem

-

Trait Implementations

impl Clone for SatisfiableItem[src]

impl Debug for SatisfiableItem[src]

impl From<SatisfiableItem> for Policy[src]

impl Serialize for SatisfiableItem[src]

Implementations

impl SatisfiableItem[src]

pub fn is_leaf(&self) -> bool[src]

Returns whether the SatisfiableItem is a leaf item

+

pub fn id(&self) -> String[src]

Returns a unique id for the SatisfiableItem

+

Trait Implementations

impl Clone for SatisfiableItem[src]

impl Debug for SatisfiableItem[src]

impl From<SatisfiableItem> for Policy[src]

impl Serialize for SatisfiableItem[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html index 561374611a..c4c0cdffa0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/index.html @@ -1,7 +1,7 @@ -bdk::descriptor::policy - Rust +bdk::descriptor::policy - Rust -

Module bdk::descriptor::policy[][src]

Descriptor policy

+

Module bdk::descriptor::policy[][src]

Descriptor policy

This module implements the logic to extract and represent the spending policies of a descriptor in a more human-readable format.

This is an EXPERIMENTAL feature, API and other major changes are expected.

@@ -27,5 +27,5 @@ in a more human-readable format.

Type Definitions

ConditionMap

Type for a map of sets of Condition items keyed by each set’s index

FoldedConditionMap

Type for a map of folded sets of Condition items keyed by a vector of the combined set’s indexes

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html index 364a28679c..97b9f29468 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html @@ -1,45 +1,45 @@ -bdk::descriptor::policy::Condition - Rust +bdk::descriptor::policy::Condition - Rust -

Struct bdk::descriptor::policy::Condition[][src]

pub struct Condition {
+

Struct bdk::descriptor::policy::Condition[][src]

pub struct Condition {
     pub csv: Option<u32>,
     pub timelock: Option<u32>,
 }

An extra condition that must be satisfied but that is out of control of the user

Fields

csv: Option<u32>

Optional CheckSequenceVerify condition

timelock: Option<u32>

Optional timelock condition

-

Implementations

impl Condition[src]

pub fn is_null(&self) -> bool[src]

Returns true if there are no extra conditions to verify

-

Trait Implementations

impl Clone for Condition[src]

impl Copy for Condition[src]

impl Debug for Condition[src]

impl Default for Condition[src]

impl Eq for Condition[src]

impl Hash for Condition[src]

Implementations

impl Condition[src]

pub fn is_null(&self) -> bool[src]

Returns true if there are no extra conditions to verify

+

Trait Implementations

impl Clone for Condition[src]

impl Copy for Condition[src]

impl Debug for Condition[src]

impl Default for Condition[src]

impl Eq for Condition[src]

impl Hash for Condition[src]

impl Ord for Condition[src]

impl Ord for Condition[src]

impl PartialEq<Condition> for Condition[src]

impl PartialEq<Condition> for Condition[src]

impl PartialOrd<Condition> for Condition[src]

impl PartialOrd<Condition> for Condition[src]

impl Serialize for Condition[src]

impl StructuralEq for Condition[src]

impl StructuralPartialEq for Condition[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 Serialize for Condition[src]

impl StructuralEq for Condition[src]

impl StructuralPartialEq for Condition[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PKOrF.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PKOrF.html index a40a487afd..83ef31c40e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PKOrF.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.PKOrF.html @@ -1,21 +1,21 @@ -bdk::descriptor::policy::PKOrF - Rust +bdk::descriptor::policy::PKOrF - Rust -

Struct bdk::descriptor::policy::PKOrF[][src]

pub struct PKOrF { /* fields omitted */ }

Raw public key or extended key fingerprint

-

Trait Implementations

impl Clone for PKOrF[src]

impl Debug for PKOrF[src]

impl Default for PKOrF[src]

impl Serialize for PKOrF[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html index f44028a5c1..fd8ef4944b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html @@ -1,7 +1,7 @@ -bdk::descriptor::policy::Policy - Rust +bdk::descriptor::policy::Policy - Rust -

Struct bdk::descriptor::policy::Policy[][src]

pub struct Policy {
+

Struct bdk::descriptor::policy::Policy[][src]

pub struct Policy {
     pub id: String,
     pub item: SatisfiableItem,
     pub satisfaction: Satisfaction,
@@ -12,27 +12,27 @@
 
item: SatisfiableItem

Type of this policy node

satisfaction: Satisfaction

How a much given PSBT already satisfies this polcy node (currently unused)

contribution: Satisfaction

How the wallet’s descriptor can satisfy this policy node

-

Implementations

impl Policy[src]

pub fn requires_path(&self) -> bool[src]

Return whether or not a specific path in the policy tree is required to unambiguously +

Implementations

impl Policy[src]

pub fn requires_path(&self) -> bool[src]

Return whether or not a specific path in the policy tree is required to unambiguously create a transaction

What this means is that for some spending policies the user should select which paths in the tree it intends to satisfy while signing, because the transaction must be created differently based on that.

-

pub fn get_condition(
    &self,
    path: &BTreeMap<String, Vec<usize>>
) -> Result<Condition, PolicyError>
[src]

Return the conditions that are set by the spending policy for a given path in the +

pub fn get_condition(
    &self,
    path: &BTreeMap<String, Vec<usize>>
) -> Result<Condition, PolicyError>
[src]

Return the conditions that are set by the spending policy for a given path in the policy tree

-

Trait Implementations

impl Clone for Policy[src]

impl Debug for Policy[src]

impl From<SatisfiableItem> for Policy[src]

impl Serialize for Policy[src]

Trait Implementations

impl Clone for Policy[src]

impl Debug for Policy[src]

impl From<SatisfiableItem> for Policy[src]

impl Serialize for Policy[src]

Auto Trait Implementations

impl RefUnwindSafe for Policy

impl Send for Policy

impl Sync for Policy

impl Unpin for Policy

impl UnwindSafe for Policy

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html index 7695fc40e6..9b4ec4f60c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.ConditionMap.html @@ -1,6 +1,6 @@ -bdk::descriptor::policy::ConditionMap - Rust +bdk::descriptor::policy::ConditionMap - Rust -

Type Definition bdk::descriptor::policy::ConditionMap[][src]

type ConditionMap = BTreeMap<usize, HashSet<Condition>>;

Type for a map of sets of Condition items keyed by each set’s index

-
- \ No newline at end of file +

Type Definition bdk::descriptor::policy::ConditionMap[][src]

type ConditionMap = BTreeMap<usize, HashSet<Condition>>;

Type for a map of sets of Condition items keyed by each set’s index

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html index 3f802f11b1..1cb751c1d2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/type.FoldedConditionMap.html @@ -1,6 +1,6 @@ -bdk::descriptor::policy::FoldedConditionMap - Rust +bdk::descriptor::policy::FoldedConditionMap - Rust -

Type Definition bdk::descriptor::policy::FoldedConditionMap[][src]

type FoldedConditionMap = BTreeMap<Vec<usize>, HashSet<Condition>>;

Type for a map of folded sets of Condition items keyed by a vector of the combined set’s indexes

-
- \ No newline at end of file +

Type Definition bdk::descriptor::policy::FoldedConditionMap[][src]

type FoldedConditionMap = BTreeMap<Vec<usize>, HashSet<Condition>>;

Type for a map of folded sets of Condition items keyed by a vector of the combined set’s indexes

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html index 1ff7c740a1..6d56bbc7db 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.DerivedDescriptorKey.html @@ -1,9 +1,9 @@ -bdk::descriptor::DerivedDescriptorKey - Rust +bdk::descriptor::DerivedDescriptorKey - Rust -

Struct bdk::descriptor::DerivedDescriptorKey[][src]

pub struct DerivedDescriptorKey<'s>(_, _);

Extended DescriptorPublicKey that has been derived

+

Struct bdk::descriptor::DerivedDescriptorKey[][src]

pub struct DerivedDescriptorKey<'s>(_, _);

Extended DescriptorPublicKey that has been derived

Derived keys are guaranteed to never contain wildcards of any kind

-

Implementations

impl<'s> DerivedDescriptorKey<'s>[src]

pub fn new(
    key: DescriptorPublicKey,
    secp: &'s Secp256k1<All>
) -> DerivedDescriptorKey<'s>
[src]

Construct a new derived key

+

Implementations

impl<'s> DerivedDescriptorKey<'s>[src]

pub fn new(
    key: DescriptorPublicKey,
    secp: &'s Secp256k1<All>
) -> DerivedDescriptorKey<'s>
[src]

Construct a new derived key

Panics if the key is wildcard

Methods from Deref<Target = DescriptorPublicKey>

pub fn master_fingerprint(&self) -> Fingerprint

The fingerprint of the master key associated with this key

pub fn full_derivation_path(&self) -> DerivationPath

Full path, from the master key

@@ -18,46 +18,46 @@ derivation steps in its path, or if the key has any wildcards.

to avoid hardened derivation steps, start from a DescriptorSecretKey and call as_public, or call TranslatePk2::translate_pk2 with some function which has access to secret key data.

-

Trait Implementations

impl<'s> Clone for DerivedDescriptorKey<'s>[src]

impl<'s> Debug for DerivedDescriptorKey<'s>[src]

impl<'s> Deref for DerivedDescriptorKey<'s>[src]

type Target = DescriptorPublicKey

The resulting type after dereferencing.

-

impl<'s> Display for DerivedDescriptorKey<'s>[src]

impl<'s> Eq for DerivedDescriptorKey<'s>[src]

impl<'s> Hash for DerivedDescriptorKey<'s>[src]

Trait Implementations

impl<'s> Clone for DerivedDescriptorKey<'s>[src]

impl<'s> Debug for DerivedDescriptorKey<'s>[src]

impl<'s> Deref for DerivedDescriptorKey<'s>[src]

type Target = DescriptorPublicKey

The resulting type after dereferencing.

+

impl<'s> Display for DerivedDescriptorKey<'s>[src]

impl<'s> Eq for DerivedDescriptorKey<'s>[src]

impl<'s> Hash for DerivedDescriptorKey<'s>[src]

impl<'s> MiniscriptKey for DerivedDescriptorKey<'s>[src]

type Hash = Self

The associated Hash type with the publicKey

-

impl<'s> MiniscriptKey for DerivedDescriptorKey<'s>[src]

type Hash = Self

The associated Hash type with the publicKey

+

impl<'s> Ord for DerivedDescriptorKey<'s>[src]

impl<'s> Ord for DerivedDescriptorKey<'s>[src]

impl<'s> PartialEq<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

impl<'s> PartialEq<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

impl<'s> PartialOrd<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

impl<'s> PartialOrd<DerivedDescriptorKey<'s>> for DerivedDescriptorKey<'s>[src]

impl<'s> ToPublicKey for DerivedDescriptorKey<'s>[src]

impl<'s> ToPublicKey for DerivedDescriptorKey<'s>[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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html index def740d6f4..473b68e217 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html @@ -1,7 +1,7 @@ -bdk::descriptor::Miniscript - Rust +bdk::descriptor::Miniscript - Rust -

Struct bdk::descriptor::Miniscript[]

Trait Implementations

impl<Pk, Ctx> Clone for Miniscript<Pk, Ctx> where
    Ctx: ScriptContext + Clone,
    Pk: MiniscriptKey + Clone

impl<Pk, Ctx> Debug for Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl<Pk, Ctx> Display for Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl<Pk, Ctx> Eq for Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Eq of Miniscript must depend only on node and not the type information. The type information and extra_properties can be deterministically determined by the ast.

-

impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

impl<Pk, Ctx> ForEachKey<Pk> for Miniscript<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Auto Trait Implementations

impl<Pk, Ctx> RefUnwindSafe for Miniscript<Pk, Ctx> where
    Ctx: RefUnwindSafe,
    Pk: RefUnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe

impl<Pk, Ctx> Send for Miniscript<Pk, Ctx> where
    Ctx: Send + Sync,
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk, Ctx> Sync for Miniscript<Pk, Ctx> where
    Ctx: Send + Sync,
    Pk: Send + Sync,
    <Pk as MiniscriptKey>::Hash: Send + Sync

impl<Pk, Ctx> Unpin for Miniscript<Pk, Ctx> where
    Ctx: Unpin,
    Pk: Unpin,
    <Pk as MiniscriptKey>::Hash: Unpin

impl<Pk, Ctx> UnwindSafe for Miniscript<Pk, Ctx> where
    Ctx: RefUnwindSafe + UnwindSafe,
    Pk: RefUnwindSafe + UnwindSafe,
    <Pk as MiniscriptKey>::Hash: RefUnwindSafe + UnwindSafe

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html index 7d08bbf19c..66fb771a0b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/index.html @@ -1,7 +1,7 @@ -bdk::descriptor::template - Rust +bdk::descriptor::template - Rust -

Module bdk::descriptor::template[][src]

Descriptor templates

+

Module bdk::descriptor::template[][src]

Descriptor templates

This module contains the definition of various common script templates that are ready to be used. See the documentation of each template for an example.

Structs

@@ -18,5 +18,5 @@ used. See the documentation of each template for an example.

DescriptorTemplate

Trait for descriptor templates that can be built into a full descriptor

Type Definitions

DescriptorTemplateOut

Type alias for the return type of DescriptorTemplate, descriptor! and others

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44.html index 755734f047..01ab4916ea 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::BIP44 - Rust +bdk::descriptor::template::BIP44 - Rust -

Struct bdk::descriptor::template::BIP44[][src]

pub struct BIP44<K: DerivableKey<Legacy>>(pub K, pub KeychainKind);

BIP44 template. Expands to pkh(key/44'/0'/0'/{0,1}/*)

+

Struct bdk::descriptor::template::BIP44[][src]

pub struct BIP44<K: DerivableKey<Legacy>>(pub K, pub KeychainKind);

BIP44 template. Expands to pkh(key/44'/0'/0'/{0,1}/*)

Since there are hardened derivation steps, this template requires a private derivable key (generally a xprv/tprv).

See BIP44Public for a template that can work with a xpub/tpub.

Example

@@ -18,17 +18,17 @@ assert_eq!(wallet.get_new_address()?.to_string(), "miNG7dJTzJqNbFS19svRdTCisC65dsubtR"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "pkh([c55b303f/44'/0'/0']tpubDDDzQ31JkZB7VxUr9bjvBivDdqoFLrDPyLWtLapArAi51ftfmCb2DPxwLQzX65iNcXz1DGaVvyvo6JQ6rTU73r2gqdEo8uov9QKRb7nKCSU/0/*)#xgaaevjx");
-

Trait Implementations

impl<K: DerivableKey<Legacy>> DescriptorTemplate for BIP44<K>[src]

Trait Implementations

impl<K: DerivableKey<Legacy>> DescriptorTemplate for BIP44<K>[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for BIP44<K> where
    K: RefUnwindSafe

impl<K> Send for BIP44<K> where
    K: Send

impl<K> Sync for BIP44<K> where
    K: Sync

impl<K> Unpin for BIP44<K> where
    K: Unpin

impl<K> UnwindSafe for BIP44<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44Public.html index 11aa8479e8..71de60fd1b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP44Public.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::BIP44Public - Rust +bdk::descriptor::template::BIP44Public - Rust -

Struct bdk::descriptor::template::BIP44Public[][src]

pub struct BIP44Public<K: DerivableKey<Legacy>>(pub K, pub Fingerprint, pub KeychainKind);

BIP44 public template. Expands to pkh(key/{0,1}/*)

+

Struct bdk::descriptor::template::BIP44Public[][src]

pub struct BIP44Public<K: DerivableKey<Legacy>>(pub K, pub Fingerprint, pub KeychainKind);

BIP44 public template. Expands to pkh(key/{0,1}/*)

This assumes that the key used has already been derived with m/44'/0'/0'.

This template requires the parent fingerprint to populate correctly the metadata of PSBTs.

See BIP44 for a template that does the full derivation, but requires private data @@ -21,17 +21,17 @@ for the key.

assert_eq!(wallet.get_new_address()?.to_string(), "miNG7dJTzJqNbFS19svRdTCisC65dsubtR"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "pkh([c55b303f/44'/0'/0']tpubDDDzQ31JkZB7VxUr9bjvBivDdqoFLrDPyLWtLapArAi51ftfmCb2DPxwLQzX65iNcXz1DGaVvyvo6JQ6rTU73r2gqdEo8uov9QKRb7nKCSU/0/*)#xgaaevjx");
-

Trait Implementations

impl<K: DerivableKey<Legacy>> DescriptorTemplate for BIP44Public<K>[src]

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for BIP44Public<K> where
    K: RefUnwindSafe

impl<K> Send for BIP44Public<K> where
    K: Send

impl<K> Sync for BIP44Public<K> where
    K: Sync

impl<K> Unpin for BIP44Public<K> where
    K: Unpin

impl<K> UnwindSafe for BIP44Public<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49.html index 74ce7a0a6d..4dcbb369ff 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::BIP49 - Rust +bdk::descriptor::template::BIP49 - Rust -

Struct bdk::descriptor::template::BIP49[][src]

pub struct BIP49<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);

BIP49 template. Expands to sh(wpkh(key/49'/0'/0'/{0,1}/*))

+

Struct bdk::descriptor::template::BIP49[][src]

pub struct BIP49<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);

BIP49 template. Expands to sh(wpkh(key/49'/0'/0'/{0,1}/*))

Since there are hardened derivation steps, this template requires a private derivable key (generally a xprv/tprv).

See BIP49Public for a template that can work with a xpub/tpub.

Example

@@ -18,17 +18,17 @@ assert_eq!(wallet.get_new_address()?.to_string(), "2N3K4xbVAHoiTQSwxkZjWDfKoNC27pLkYnt"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "sh(wpkh([c55b303f/49\'/0\'/0\']tpubDC49r947KGK52X5rBWS4BLs5m9SRY3pYHnvRrm7HcybZ3BfdEsGFyzCMzayi1u58eT82ZeyFZwH7DD6Q83E3fM9CpfMtmnTygnLfP59jL9L/0/*))#gsmdv4xr");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for BIP49<K>[src]

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for BIP49<K>[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for BIP49<K> where
    K: RefUnwindSafe

impl<K> Send for BIP49<K> where
    K: Send

impl<K> Sync for BIP49<K> where
    K: Sync

impl<K> Unpin for BIP49<K> where
    K: Unpin

impl<K> UnwindSafe for BIP49<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49Public.html index b9d2636dc6..718cbd7b7a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP49Public.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::BIP49Public - Rust +bdk::descriptor::template::BIP49Public - Rust -

Struct bdk::descriptor::template::BIP49Public[][src]

pub struct BIP49Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);

BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))

+

Struct bdk::descriptor::template::BIP49Public[][src]

pub struct BIP49Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);

BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))

This assumes that the key used has already been derived with m/49'/0'/0'.

This template requires the parent fingerprint to populate correctly the metadata of PSBTs.

See BIP49 for a template that does the full derivation, but requires private data @@ -21,17 +21,17 @@ for the key.

assert_eq!(wallet.get_new_address()?.to_string(), "2N3K4xbVAHoiTQSwxkZjWDfKoNC27pLkYnt"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "sh(wpkh([c55b303f/49\'/0\'/0\']tpubDC49r947KGK52X5rBWS4BLs5m9SRY3pYHnvRrm7HcybZ3BfdEsGFyzCMzayi1u58eT82ZeyFZwH7DD6Q83E3fM9CpfMtmnTygnLfP59jL9L/0/*))#gsmdv4xr");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for BIP49Public<K>[src]

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for BIP49Public<K> where
    K: RefUnwindSafe

impl<K> Send for BIP49Public<K> where
    K: Send

impl<K> Sync for BIP49Public<K> where
    K: Sync

impl<K> Unpin for BIP49Public<K> where
    K: Unpin

impl<K> UnwindSafe for BIP49Public<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84.html index cef5389f7c..d77b8473b1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::BIP84 - Rust +bdk::descriptor::template::BIP84 - Rust -

Struct bdk::descriptor::template::BIP84[][src]

pub struct BIP84<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);

BIP84 template. Expands to wpkh(key/84'/0'/0'/{0,1}/*)

+

Struct bdk::descriptor::template::BIP84[][src]

pub struct BIP84<K: DerivableKey<Segwitv0>>(pub K, pub KeychainKind);

BIP84 template. Expands to wpkh(key/84'/0'/0'/{0,1}/*)

Since there are hardened derivation steps, this template requires a private derivable key (generally a xprv/tprv).

See BIP84Public for a template that can work with a xpub/tpub.

Example

@@ -18,17 +18,17 @@ assert_eq!(wallet.get_new_address()?.to_string(), "tb1qedg9fdlf8cnnqfd5mks6uz5w4kgpk2pr6y4qc7"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "wpkh([c55b303f/84\'/0\'/0\']tpubDC2Qwo2TFsaNC4ju8nrUJ9mqVT3eSgdmy1yPqhgkjwmke3PRXutNGRYAUo6RCHTcVQaDR3ohNU9we59brGHuEKPvH1ags2nevW5opEE9Z5Q/0/*)#nkk5dtkg");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for BIP84<K>[src]

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for BIP84<K>[src]

Auto Trait Implementations

impl<K> RefUnwindSafe for BIP84<K> where
    K: RefUnwindSafe

impl<K> Send for BIP84<K> where
    K: Send

impl<K> Sync for BIP84<K> where
    K: Sync

impl<K> Unpin for BIP84<K> where
    K: Unpin

impl<K> UnwindSafe for BIP84<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84Public.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84Public.html index 66f7e010a2..7aa981b595 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84Public.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.BIP84Public.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::BIP84Public - Rust +bdk::descriptor::template::BIP84Public - Rust -

Struct bdk::descriptor::template::BIP84Public[][src]

pub struct BIP84Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);

BIP84 public template. Expands to wpkh(key/{0,1}/*)

+

Struct bdk::descriptor::template::BIP84Public[][src]

pub struct BIP84Public<K: DerivableKey<Segwitv0>>(pub K, pub Fingerprint, pub KeychainKind);

BIP84 public template. Expands to wpkh(key/{0,1}/*)

This assumes that the key used has already been derived with m/84'/0'/0'.

This template requires the parent fingerprint to populate correctly the metadata of PSBTs.

See BIP84 for a template that does the full derivation, but requires private data @@ -21,17 +21,17 @@ for the key.

assert_eq!(wallet.get_new_address()?.to_string(), "tb1qedg9fdlf8cnnqfd5mks6uz5w4kgpk2pr6y4qc7"); assert_eq!(wallet.public_descriptor(KeychainKind::External)?.unwrap().to_string(), "wpkh([c55b303f/84\'/0\'/0\']tpubDC2Qwo2TFsaNC4ju8nrUJ9mqVT3eSgdmy1yPqhgkjwmke3PRXutNGRYAUo6RCHTcVQaDR3ohNU9we59brGHuEKPvH1ags2nevW5opEE9Z5Q/0/*)#nkk5dtkg");
-

Trait Implementations

impl<K: DerivableKey<Segwitv0>> DescriptorTemplate for BIP84Public<K>[src]

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for BIP84Public<K> where
    K: RefUnwindSafe

impl<K> Send for BIP84Public<K> where
    K: Send

impl<K> Sync for BIP84Public<K> where
    K: Sync

impl<K> Unpin for BIP84Public<K> where
    K: Unpin

impl<K> UnwindSafe for BIP84Public<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2PKH.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2PKH.html index cab1a93d11..d527fc9959 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2PKH.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2PKH.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::P2PKH - Rust +bdk::descriptor::template::P2PKH - Rust -

Struct bdk::descriptor::template::P2PKH[][src]

pub struct P2PKH<K: IntoDescriptorKey<Legacy>>(pub K);

P2PKH template. Expands to a descriptor pkh(key)

+

Struct bdk::descriptor::template::P2PKH[][src]

pub struct P2PKH<K: IntoDescriptorKey<Legacy>>(pub K);

P2PKH template. Expands to a descriptor pkh(key)

Example

 use bdk::template::P2PKH;
@@ -19,17 +19,17 @@
     wallet.get_new_address()?.to_string(),
     "mwJ8hxFYW19JLuc65RCTaP4v1rzVU8cVMT"
 );
-

Trait Implementations

impl<K: IntoDescriptorKey<Legacy>> DescriptorTemplate for P2PKH<K>[src]

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for P2PKH<K> where
    K: RefUnwindSafe

impl<K> Send for P2PKH<K> where
    K: Send

impl<K> Sync for P2PKH<K> where
    K: Sync

impl<K> Unpin for P2PKH<K> where
    K: Unpin

impl<K> UnwindSafe for P2PKH<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH.html index c0442f0994..009c38940e 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::P2WPKH - Rust +bdk::descriptor::template::P2WPKH - Rust -

Struct bdk::descriptor::template::P2WPKH[][src]

pub struct P2WPKH<K: IntoDescriptorKey<Segwitv0>>(pub K);

P2WPKH template. Expands to a descriptor wpkh(key)

+

Struct bdk::descriptor::template::P2WPKH[][src]

pub struct P2WPKH<K: IntoDescriptorKey<Segwitv0>>(pub K);

P2WPKH template. Expands to a descriptor wpkh(key)

Example

 use bdk::template::P2WPKH;
@@ -19,17 +19,17 @@
     wallet.get_new_address()?.to_string(),
     "tb1q4525hmgw265tl3drrl8jjta7ayffu6jf68ltjd"
 );
-

Trait Implementations

impl<K: IntoDescriptorKey<Segwitv0>> DescriptorTemplate for P2WPKH<K>[src]

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for P2WPKH<K> where
    K: RefUnwindSafe

impl<K> Send for P2WPKH<K> where
    K: Send

impl<K> Sync for P2WPKH<K> where
    K: Sync

impl<K> Unpin for P2WPKH<K> where
    K: Unpin

impl<K> UnwindSafe for P2WPKH<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH_P2SH.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH_P2SH.html index 1f25b43b3d..a3699b2336 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH_P2SH.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/struct.P2WPKH_P2SH.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::P2WPKH_P2SH - Rust +bdk::descriptor::template::P2WPKH_P2SH - Rust -

Struct bdk::descriptor::template::P2WPKH_P2SH[][src]

pub struct P2WPKH_P2SH<K: IntoDescriptorKey<Segwitv0>>(pub K);

P2WPKH-P2SH template. Expands to a descriptor sh(wpkh(key))

+

Struct bdk::descriptor::template::P2WPKH_P2SH[][src]

pub struct P2WPKH_P2SH<K: IntoDescriptorKey<Segwitv0>>(pub K);

P2WPKH-P2SH template. Expands to a descriptor sh(wpkh(key))

Example

 use bdk::template::P2WPKH_P2SH;
@@ -19,17 +19,17 @@
     wallet.get_new_address()?.to_string(),
     "2NB4ox5VDRw1ecUv6SnT3VQHPXveYztRqk5"
 );
-

Trait Implementations

impl<K: IntoDescriptorKey<Segwitv0>> DescriptorTemplate for P2WPKH_P2SH<K>[src]

Trait Implementations

Auto Trait Implementations

impl<K> RefUnwindSafe for P2WPKH_P2SH<K> where
    K: RefUnwindSafe

impl<K> Send for P2WPKH_P2SH<K> where
    K: Send

impl<K> Sync for P2WPKH_P2SH<K> where
    K: Sync

impl<K> Unpin for P2WPKH_P2SH<K> where
    K: Unpin

impl<K> UnwindSafe for P2WPKH_P2SH<K> where
    K: UnwindSafe

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> 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> Instrument for T[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

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

impl<T> IntoWalletDescriptor for T where
    T: DescriptorTemplate
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html index 88976bcc4a..5a171dfc28 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/trait.DescriptorTemplate.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::DescriptorTemplate - Rust +bdk::descriptor::template::DescriptorTemplate - Rust -

Trait bdk::descriptor::template::DescriptorTemplate[][src]

pub trait DescriptorTemplate {
+

Trait bdk::descriptor::template::DescriptorTemplate[][src]

pub trait DescriptorTemplate {
     fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>;
 }

Trait for descriptor templates that can be built into a full descriptor

Since IntoWalletDescriptor is implemented for any DescriptorTemplate, they can also be @@ -20,6 +20,6 @@ passed directly to the Wa Ok(bdk::descriptor!(pkh(self.0))?) } }

-

Required methods

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

-
Loading content...

Implementors

Loading content...
- \ No newline at end of file +

Required methods

fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>[src]

Build the complete descriptor

+
Loading content...

Implementors

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html index 8dda1d0cea..683b30ac16 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/template/type.DescriptorTemplateOut.html @@ -1,7 +1,7 @@ -bdk::descriptor::template::DescriptorTemplateOut - Rust +bdk::descriptor::template::DescriptorTemplateOut - Rust -

Type Definition bdk::descriptor::template::DescriptorTemplateOut[][src]

type DescriptorTemplateOut = (ExtendedDescriptor, KeyMap, ValidNetworks);

Type alias for the return type of DescriptorTemplate, descriptor! and others

-

Trait Implementations

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

- \ No newline at end of file +

Type Definition bdk::descriptor::template::DescriptorTemplateOut[][src]

type DescriptorTemplateOut = (ExtendedDescriptor, KeyMap, ValidNetworks);

Type alias for the return type of DescriptorTemplate, descriptor! and others

+

Trait Implementations

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html index 7fa8e909ab..f906f4f285 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ExtractPolicy.html @@ -1,9 +1,9 @@ -bdk::descriptor::ExtractPolicy - Rust +bdk::descriptor::ExtractPolicy - Rust -

Trait bdk::descriptor::ExtractPolicy[][src]

pub trait ExtractPolicy {
+

Trait bdk::descriptor::ExtractPolicy[][src]

pub trait ExtractPolicy {
     fn extract_policy(
        &self,
        signers: &SignersContainer,
        secp: &Secp256k1<All>
    ) -> Result<Option<Policy>, DescriptorError>; }

Trait implemented on Descriptors to add a method to extract the spending policy

-

Required methods

fn extract_policy(
    &self,
    signers: &SignersContainer,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, DescriptorError>
[src]

Extract the spending policy

-
Loading content...

Implementors

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

Loading content...
- \ No newline at end of file +

Required methods

fn extract_policy(
    &self,
    signers: &SignersContainer,
    secp: &Secp256k1<All>
) -> Result<Option<Policy>, DescriptorError>
[src]

Extract the spending policy

+
Loading content...

Implementors

impl ExtractPolicy for Descriptor<DescriptorPublicKey>[src]

impl<Ctx: ScriptContext> ExtractPolicy for Miniscript<DescriptorPublicKey, Ctx>[src]

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html index f448721eea..944c1e1af1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.IntoWalletDescriptor.html @@ -1,11 +1,11 @@ -bdk::descriptor::IntoWalletDescriptor - Rust +bdk::descriptor::IntoWalletDescriptor - Rust -

Trait bdk::descriptor::IntoWalletDescriptor[][src]

pub trait IntoWalletDescriptor {
+

Trait bdk::descriptor::IntoWalletDescriptor[][src]

pub trait IntoWalletDescriptor {
     fn into_wallet_descriptor(
        self,
        secp: &Secp256k1<All>,
        network: Network
    ) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>; }

Trait for types which can be converted into an ExtendedDescriptor and a KeyMap usable by a wallet in a specific [Network]

-

Required methods

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

-
Loading content...

Implementations on Foreign Types

impl IntoWalletDescriptor for &str[src]

impl IntoWalletDescriptor for &String[src]

impl IntoWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

Loading content...

Implementors

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

impl IntoWalletDescriptor for ExtendedDescriptor[src]

impl<T: DescriptorTemplate> IntoWalletDescriptor for T[src]

Turns a DescriptorTemplate into a valid wallet descriptor by calling its +

Required methods

fn into_wallet_descriptor(
    self,
    secp: &Secp256k1<All>,
    network: Network
) -> Result<(ExtendedDescriptor, KeyMap), DescriptorError>
[src]

Convert to wallet descriptor

+
Loading content...

Implementations on Foreign Types

impl IntoWalletDescriptor for &str[src]

impl IntoWalletDescriptor for &String[src]

impl IntoWalletDescriptor for (ExtendedDescriptor, KeyMap)[src]

Loading content...

Implementors

impl IntoWalletDescriptor for DescriptorTemplateOut[src]

impl IntoWalletDescriptor for ExtendedDescriptor[src]

impl<T: DescriptorTemplate> IntoWalletDescriptor for T[src]

Turns a DescriptorTemplate into a valid wallet descriptor by calling its build method

-
Loading content...
- \ No newline at end of file +
Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html index e3baa8af75..28fec23f81 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/trait.ScriptContext.html @@ -1,7 +1,7 @@ -bdk::descriptor::ScriptContext - Rust +bdk::descriptor::ScriptContext - Rust -

Trait bdk::descriptor::ScriptContext[]

pub trait ScriptContext: Sealed + Clone + PartialEq<Self> + Eq + Ord + PartialOrd<Self> + Debug {
+

Trait bdk::descriptor::ScriptContext[]

pub trait ScriptContext: Sealed + Clone + PartialEq<Self> + Eq + Ord + PartialOrd<Self> + Debug {
     pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
;
pub fn max_satisfaction_size<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Option<usize>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
; @@ -75,5 +75,5 @@ ones for satisfaction

pub fn top_level_type_check<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

pub fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

pub fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

-
Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

Loading content...

Implementors

impl ScriptContext for Legacy

impl ScriptContext for Segwitv0

Loading content...
- \ No newline at end of file +Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

Loading content...

Implementors

impl ScriptContext for Legacy

impl ScriptContext for Segwitv0

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html index 57a93d8af4..b45cfb1c6c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.DerivedDescriptor.html @@ -1,6 +1,6 @@ -bdk::descriptor::DerivedDescriptor - Rust +bdk::descriptor::DerivedDescriptor - Rust -

Type Definition bdk::descriptor::DerivedDescriptor[][src]

type DerivedDescriptor<'s> = Descriptor<DerivedDescriptorKey<'s>>;

Alias for a Descriptor that contains extended derived keys

-
- \ No newline at end of file +

Type Definition bdk::descriptor::DerivedDescriptor[][src]

type DerivedDescriptor<'s> = Descriptor<DerivedDescriptorKey<'s>>;

Alias for a Descriptor that contains extended derived keys

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html index e113e5d76e..ccc69b29e9 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.ExtendedDescriptor.html @@ -1,7 +1,7 @@ -bdk::descriptor::ExtendedDescriptor - Rust +bdk::descriptor::ExtendedDescriptor - Rust -

Type Definition bdk::descriptor::ExtendedDescriptor[][src]

type ExtendedDescriptor = Descriptor<DescriptorPublicKey>;

Alias for a Descriptor that can contain extended keys using DescriptorPublicKey

-

Trait Implementations

impl IntoWalletDescriptor for ExtendedDescriptor[src]

- \ No newline at end of file +

Type Definition bdk::descriptor::ExtendedDescriptor[][src]

type ExtendedDescriptor = Descriptor<DescriptorPublicKey>;

Alias for a Descriptor that can contain extended keys using DescriptorPublicKey

+

Trait Implementations

impl IntoWalletDescriptor for ExtendedDescriptor[src]

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HDKeyPaths.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HDKeyPaths.html index 2378ad011e..0887426d7a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HDKeyPaths.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.HDKeyPaths.html @@ -1,7 +1,7 @@ -bdk::descriptor::HDKeyPaths - Rust +bdk::descriptor::HDKeyPaths - Rust -

Type Definition bdk::descriptor::HDKeyPaths[][src]

type HDKeyPaths = BTreeMap<PublicKey, KeySource>;

Alias for the type of maps that represent derivation paths in a psbt::Input or +

Type Definition bdk::descriptor::HDKeyPaths[][src]

type HDKeyPaths = BTreeMap<PublicKey, KeySource>;

Alias for the type of maps that represent derivation paths in a psbt::Input or psbt::Output

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html index 6e20b53e48..096f606de3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/descriptor/type.KeyMap.html @@ -1,10 +1,10 @@ -bdk::descriptor::KeyMap - Rust +bdk::descriptor::KeyMap - Rust -

Type Definition bdk::descriptor::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;

Alias type for a map of public key to secret key

+

Type Definition bdk::descriptor::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;

Alias type for a map of public key to secret key

This map is returned whenever a descriptor that contains secrets is parsed using Descriptor::parse_descriptor, since the descriptor will always only contain public keys. This map allows looking up the corresponding secret key given a public key from the descriptor.

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html index 8e3a13c410..520b19d82b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html @@ -1,7 +1,7 @@ -bdk::Error - Rust +bdk::Error - Rust -

Enum bdk::Error[][src]

pub enum Error {
+

Enum bdk::Error[][src]

pub enum Error {
     InvalidU32Bytes(Vec<u8>),
     Generic(String),
     ScriptDoesntHaveAddressForm,
@@ -98,38 +98,38 @@ explicit origin provided

Esplora(EsploraError)

Esplora client error

CompactFilters(CompactFiltersError)

Compact filters client error)

Sled(Error)

Sled database error

-

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

Trait Implementations

impl Debug for Error[src]

impl Display for Error[src]

impl Error for Error[src]

impl From<AddressValidatorError> for Error[src]

impl From<CompactFiltersError> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for CompactFiltersError[src]

This is supported on crate feature compact_filters only.

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<EsploraError> for Error[src]

impl From<KeyError> for Error[src]

impl From<PolicyError> for Error[src]

impl From<SignerError> for Error[src]

impl From<AddressValidatorError> for Error[src]

impl From<CompactFiltersError> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for CompactFiltersError[src]

This is supported on crate feature compact_filters only.

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<Error> for Error[src]

impl From<EsploraError> for Error[src]

impl From<KeyError> for Error[src]

impl From<PolicyError> for Error[src]

impl From<SignerError> for Error[src]

Auto Trait Implementations

impl !RefUnwindSafe for Error

impl Send for Error

impl Sync for Error

impl Unpin for Error

impl !UnwindSafe for Error

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html index bf5cc30762..6095d33348 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html @@ -1,7 +1,7 @@ -bdk::KeychainKind - Rust +bdk::KeychainKind - Rust -

Enum bdk::KeychainKind[][src]

pub enum KeychainKind {
+

Enum bdk::KeychainKind[][src]

pub enum KeychainKind {
     External,
     Internal,
 }

Types of keychains

@@ -9,31 +9,31 @@ Variants
External

External

Internal

Internal, usually used for change outputs

-

Implementations

impl KeychainKind[src]

pub fn as_byte(&self) -> u8[src]

Return KeychainKind as a byte

-

Trait Implementations

impl AsRef<[u8]> for KeychainKind[src]

impl Clone for KeychainKind[src]

impl Copy for KeychainKind[src]

impl Debug for KeychainKind[src]

impl<'de> Deserialize<'de> for KeychainKind[src]

impl Eq for KeychainKind[src]

impl Hash for KeychainKind[src]

Implementations

impl KeychainKind[src]

pub fn as_byte(&self) -> u8[src]

Return KeychainKind as a byte

+

Trait Implementations

impl AsRef<[u8]> for KeychainKind[src]

impl Clone for KeychainKind[src]

impl Copy for KeychainKind[src]

impl Debug for KeychainKind[src]

impl<'de> Deserialize<'de> for KeychainKind[src]

impl Eq for KeychainKind[src]

impl Hash for KeychainKind[src]

impl PartialEq<KeychainKind> for KeychainKind[src]

impl PartialEq<KeychainKind> for KeychainKind[src]

impl Serialize for KeychainKind[src]

impl StructuralEq for KeychainKind[src]

impl StructuralPartialEq for KeychainKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl Serialize for KeychainKind[src]

impl StructuralEq for KeychainKind[src]

impl StructuralPartialEq for KeychainKind[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Base32Len for T where
    T: AsRef<[u8]>, 

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

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

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

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

impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
    T: AsRef<[u8]>, 

type Err = Error

Error type if conversion fails

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html b/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html index e638cda9d3..97b852b86b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/enum.Utxo.html @@ -1,7 +1,7 @@ -bdk::Utxo - Rust +bdk::Utxo - Rust -

Enum bdk::Utxo[][src]

pub enum Utxo {
+

Enum bdk::Utxo[][src]

pub enum Utxo {
     Local(LocalUtxo),
     Foreign {
         outpoint: OutPoint,
@@ -14,23 +14,23 @@
 
Foreign

A UTXO owned by another wallet.

Fields of Foreign

outpoint: OutPoint

The location of the output.

psbt_input: Box<Input>

The information about the input we require to add it to a PSBT.

-

Implementations

impl Utxo[src]

pub fn outpoint(&self) -> OutPoint[src]

Get the location of the UTXO

-

pub fn txout(&self) -> &TxOut[src]

Get the TxOut of the UTXO

-

Trait Implementations

impl Clone for Utxo[src]

impl Debug for Utxo[src]

impl PartialEq<Utxo> for Utxo[src]

Implementations

impl Utxo[src]

pub fn outpoint(&self) -> OutPoint[src]

Get the location of the UTXO

+

pub fn txout(&self) -> &TxOut[src]

Get the TxOut of the UTXO

+

Trait Implementations

impl Clone for Utxo[src]

impl Debug for Utxo[src]

impl PartialEq<Utxo> for Utxo[src]

impl StructuralPartialEq for Utxo[src]

Auto Trait Implementations

impl RefUnwindSafe for Utxo

impl Send for Utxo

impl Sync for Utxo

impl Unpin for Utxo

impl UnwindSafe for Utxo

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 StructuralPartialEq for Utxo[src]

Auto Trait Implementations

impl RefUnwindSafe for Utxo

impl Send for Utxo

impl Sync for Utxo

impl Unpin for Utxo

impl UnwindSafe for Utxo

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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html b/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html index b64e4743c5..eae92a0ea4 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/fn.version.html @@ -1,6 +1,6 @@ -bdk::version - Rust +bdk::version - Rust -

Function bdk::version[][src]

pub fn version() -> &'static str

Get the version of BDK at runtime

-
- \ No newline at end of file +

Function bdk::version[][src]

pub fn version() -> &'static str

Get the version of BDK at runtime

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/index.html b/static/docs-rs/bdk/nightly/latest/bdk/index.html index d60d2bb38a..bcc2378ee6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/index.html @@ -1,7 +1,7 @@ -bdk - Rust +bdk - Rust -

Crate bdk[][src]

A modern, lightweight, descriptor-based wallet library written in Rust.

+

Crate bdk[][src]

A modern, lightweight, descriptor-based wallet library written in Rust.

About

The BDK library aims to be the core building block for Bitcoin wallets of any kind.

    @@ -147,7 +147,7 @@ BDK.

  • key-value-db: key value database based on sled for caching blockchain data

Re-exports

-
pub extern crate bitcoin;
pub extern crate miniscript;
pub extern crate electrum_client;
pub extern crate reqwest;
pub extern crate sled;
pub use descriptor::template;
pub use descriptor::HDKeyPaths;
pub use wallet::address_validator;
pub use wallet::signer;
pub use wallet::tx_builder::TxBuilder;
pub use wallet::Wallet;

Modules

+
pub extern crate bitcoin;
pub extern crate electrum_client;
pub extern crate miniscript;
pub extern crate reqwest;
pub extern crate sled;
pub use descriptor::template;
pub use descriptor::HDKeyPaths;
pub use wallet::address_validator;
pub use wallet::signer;
pub use wallet::tx_builder::TxBuilder;
pub use wallet::Wallet;

Modules

blockchain

Blockchain backends

database

Database types

descriptor

Descriptors

@@ -167,5 +167,5 @@ BDK.

Utxo

An unspent transaction output (UTXO).

Functions

version

Get the version of BDK at runtime

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html index 83d8b0023c..f74d3b3245 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.Language.html @@ -1,7 +1,7 @@ -bdk::keys::bip39::Language - Rust +bdk::keys::bip39::Language - Rust -

Enum bdk::keys::bip39::Language[]

pub enum Language {
+

Enum bdk::keys::bip39::Language[]

pub enum Language {
     English,
     ChineseSimplified,
     ChineseTraditional,
@@ -23,7 +23,7 @@ if the language code is not valid or not supported.

The index of an individual word in the word list is used as the binary value of that word when the phrase is turned into a [Seed][Seed].

Trait Implementations

impl Clone for Language

impl Copy for Language

impl Debug for Language

impl Default for Language

impl PartialEq<Language> for Language

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html index 99235e75c3..813b1c99ef 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/enum.MnemonicType.html @@ -1,7 +1,7 @@ -bdk::keys::bip39::MnemonicType - Rust +bdk::keys::bip39::MnemonicType - Rust -

Enum bdk::keys::bip39::MnemonicType[]

Trait Implementations

impl Clone for MnemonicType

impl Copy for MnemonicType

impl Debug for MnemonicType

impl Default for MnemonicType

impl Display for MnemonicType

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html index 1924abc15b..0d30030687 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/index.html @@ -1,7 +1,7 @@ -bdk::keys::bip39 - Rust +bdk::keys::bip39 - Rust -

Module bdk::keys::bip39[][src]

This is supported on crate feature keys-bip39 only.

BIP-0039

+

Module bdk::keys::bip39[][src]

This is supported on crate feature keys-bip39 only.

BIP-0039

Structs

Mnemonic

The primary type in this crate, most tasks require creating or using one.

Seed

The secret value used to derive HD wallet addresses from a Mnemonic phrase.

@@ -11,5 +11,5 @@ determines the binary value of each word when a
MnemonicType

Determines the number of words that will be present in a Mnemonic phrase

Type Definitions

MnemonicWithPassphrase

Type for a BIP39 mnemonic with an optional passphrase

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html index 52e506fcd4..4c56ec9bf6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Mnemonic.html @@ -1,7 +1,7 @@ -bdk::keys::bip39::Mnemonic - Rust +bdk::keys::bip39::Mnemonic - Rust -

Struct bdk::keys::bip39::Mnemonic[]

pub struct Mnemonic { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.

The primary type in this crate, most tasks require creating or using one.

+

Struct bdk::keys::bip39::Mnemonic[]

pub struct Mnemonic { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.

The primary type in this crate, most tasks require creating or using one.

To create a new Mnemonic from a randomly generated key, call Mnemonic::new().

To get a Mnemonic instance for an existing mnemonic phrase, including those generated by other software or hardware wallets, use Mnemonic::from_phrase().

@@ -72,31 +72,31 @@ specified in BIP0039.

pub fn language(&self) -> Language

Get the Language

Trait Implementations

impl AsRef<str> for Mnemonic

impl Clone for Mnemonic

impl Debug for Mnemonic

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

impl Debug for Mnemonic

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

impl Display for Mnemonic

impl Display for Mnemonic

impl Drop for Mnemonic

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

type Entropy = [u8; 32]

Type specifying the amount of entropy required e.g. [u8;32]

+

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

type Entropy = [u8; 32]

Type specifying the amount of entropy required e.g. [u8;32]

type Options = (MnemonicType, Language)

Extra options required by the generate_with_entropy

type Error = Option<ErrorKind>

Returned error in case of failure

-

impl LowerHex for Mnemonic

impl UpperHex for Mnemonic

impl LowerHex for Mnemonic

impl UpperHex for Mnemonic

impl Zeroize for Mnemonic

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html index a79521764e..508f58ecf8 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/struct.Seed.html @@ -1,7 +1,7 @@ -bdk::keys::bip39::Seed - Rust +bdk::keys::bip39::Seed - Rust -

Struct bdk::keys::bip39::Seed[]

pub struct Seed { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.

The secret value used to derive HD wallet addresses from a Mnemonic phrase.

+

Struct bdk::keys::bip39::Seed[]

pub struct Seed { /* fields omitted */ }
This is supported on crate feature keys-bip39 only.

The secret value used to derive HD wallet addresses from a Mnemonic phrase.

Because it is not possible to create a Mnemonic instance that is invalid, it is therefore impossible to have a Seed instance that is invalid. This guarantees that only a valid, intact mnemonic phrase can be used to derive HD wallet addresses.

@@ -13,28 +13,28 @@ crate and the BIP39 standard).

pub fn as_bytes(&self) -> &[u8]

Get the seed value as a byte slice

Trait Implementations

impl AsRef<[u8]> for Seed

impl Clone for Seed

impl Debug for Seed

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

impl Debug for Seed

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

impl Drop for Seed

impl LowerHex for Seed

impl UpperHex for Seed

impl LowerHex for Seed

impl UpperHex for Seed

impl Zeroize for Seed

Auto Trait Implementations

impl RefUnwindSafe for Seed

impl Send for Seed

impl Sync for Seed

impl Unpin for Seed

impl UnwindSafe for Seed

Blanket Implementations

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

impl<T> Base32Len for T where
    T: AsRef<[u8]>, 

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

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

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

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

impl<'f, T> CheckBase32<Vec<u5, Global>> for T where
    T: AsRef<[u8]>, 

type Err = Error

Error type if conversion fails

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html index 3f994afd7e..1602f69c01 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/bip39/type.MnemonicWithPassphrase.html @@ -1,9 +1,9 @@ -bdk::keys::bip39::MnemonicWithPassphrase - Rust +bdk::keys::bip39::MnemonicWithPassphrase - Rust -

Type Definition bdk::keys::bip39::MnemonicWithPassphrase[][src]

type MnemonicWithPassphrase = (Mnemonic, Option<String>);
This is supported on crate feature keys-bip39 only.

Type for a BIP39 mnemonic with an optional passphrase

-

Trait Implementations

impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html index 676e4f7351..2bfc37c2a0 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorKey.html @@ -1,24 +1,24 @@ -bdk::keys::DescriptorKey - Rust +bdk::keys::DescriptorKey - Rust -

Enum bdk::keys::DescriptorKey[][src]

pub enum DescriptorKey<Ctx: ScriptContext> {
+

Enum bdk::keys::DescriptorKey[][src]

pub enum DescriptorKey<Ctx: ScriptContext> {
     // some variants omitted
 }

Container for public or secret keys

-

Implementations

impl<Ctx: ScriptContext> DescriptorKey<Ctx>[src]

pub fn from_public(public: DescriptorPublicKey, networks: ValidNetworks) -> Self[src]

Create an instance given a public key and a set of valid networks

-

pub fn from_secret(secret: DescriptorSecretKey, networks: ValidNetworks) -> Self[src]

Create an instance given a secret key and a set of valid networks

-

pub fn override_valid_networks(self, networks: ValidNetworks) -> Self[src]

Override the computed set of valid networks

-

Trait Implementations

impl<Ctx: Debug + ScriptContext> Debug for DescriptorKey<Ctx>[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

The “identity” conversion is used internally by some bdk::fragments

-

Implementations

impl<Ctx: ScriptContext> DescriptorKey<Ctx>[src]

pub fn from_public(public: DescriptorPublicKey, networks: ValidNetworks) -> Self[src]

Create an instance given a public key and a set of valid networks

+

pub fn from_secret(secret: DescriptorSecretKey, networks: ValidNetworks) -> Self[src]

Create an instance given a secret key and a set of valid networks

+

pub fn override_valid_networks(self, networks: ValidNetworks) -> Self[src]

Override the computed set of valid networks

+

Trait Implementations

impl<Ctx: Debug + ScriptContext> Debug for DescriptorKey<Ctx>[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

The “identity” conversion is used internally by some bdk::fragments

+

Auto Trait Implementations

impl<Ctx> RefUnwindSafe for DescriptorKey<Ctx> where
    Ctx: RefUnwindSafe

impl<Ctx> Send for DescriptorKey<Ctx> where
    Ctx: Send

impl<Ctx> Sync for DescriptorKey<Ctx> where
    Ctx: Sync

impl<Ctx> Unpin for DescriptorKey<Ctx> where
    Ctx: Unpin

impl<Ctx> UnwindSafe for DescriptorKey<Ctx> where
    Ctx: UnwindSafe

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html index 99ff9faebf..7fc5bc32d7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorPublicKey.html @@ -1,7 +1,7 @@ -bdk::keys::DescriptorPublicKey - Rust +bdk::keys::DescriptorPublicKey - Rust -

Enum bdk::keys::DescriptorPublicKey[]

pub enum DescriptorPublicKey {
+

Enum bdk::keys::DescriptorPublicKey[]

pub enum DescriptorPublicKey {
     SinglePub(DescriptorSinglePub),
     XPub(DescriptorXKey<ExtendedPubKey>),
 }

The MiniscriptKey corresponding to Descriptors. This can @@ -26,14 +26,14 @@ to avoid hardened derivation steps, start from a DescriptorSecretKeyas_public, or call TranslatePk2::translate_pk2 with some function which has access to secret key data.

Trait Implementations

impl Clone for DescriptorPublicKey

impl Debug for DescriptorPublicKey

impl Display for DescriptorPublicKey

impl Eq for DescriptorPublicKey

impl FromStr for DescriptorPublicKey

type Err = DescriptorKeyParseError

The associated error which can be returned from parsing.

impl Hash for DescriptorPublicKey

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

impl MiniscriptKey for DescriptorPublicKey

type Hash = DescriptorPublicKey

The associated Hash type with the publicKey

impl StructuralEq for DescriptorPublicKey

impl StructuralPartialEq for DescriptorPublicKey

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html index 96d86ee107..bb70510cc3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.DescriptorSecretKey.html @@ -1,7 +1,7 @@ -bdk::keys::DescriptorSecretKey - Rust +bdk::keys::DescriptorSecretKey - Rust -

Enum bdk::keys::DescriptorSecretKey[]

pub enum DescriptorSecretKey {
+

Enum bdk::keys::DescriptorSecretKey[]

pub enum DescriptorSecretKey {
     SinglePriv(DescriptorSinglePriv),
     XPrv(DescriptorXKey<ExtendedPrivKey>),
 }

A Secret Key that can be either a single key or an Xprv

@@ -19,16 +19,16 @@ for more details.

impl Display for DescriptorSecretKey

impl FromStr for DescriptorSecretKey

type Err = DescriptorKeyParseError

The associated error which can be returned from parsing.

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html index a843680507..e25b746429 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ExtendedKey.html @@ -1,7 +1,7 @@ -bdk::keys::ExtendedKey - Rust +bdk::keys::ExtendedKey - Rust -

Enum bdk::keys::ExtendedKey[][src]

pub enum ExtendedKey<Ctx: ScriptContext = Legacy> {
+

Enum bdk::keys::ExtendedKey[][src]

pub enum ExtendedKey<Ctx: ScriptContext = Legacy> {
     Private((ExtendedPrivKey, PhantomData<Ctx>)),
     Public((ExtendedPubKey, PhantomData<Ctx>)),
 }

Enum for extended keys that can be either xprv or xpub

@@ -12,26 +12,26 @@ or an ExtendedPubKey by using t Variants
Private((ExtendedPrivKey, PhantomData<Ctx>))

A private extended key, aka an xprv

Public((ExtendedPubKey, PhantomData<Ctx>))

A public extended key, aka an xpub

-

Implementations

impl<Ctx: ScriptContext> ExtendedKey<Ctx>[src]

pub fn has_secret(&self) -> bool[src]

Return whether or not the key contains the private data

-

pub fn into_xprv(self, network: Network) -> Option<ExtendedPrivKey>[src]

Transform the ExtendedKey into an ExtendedPrivKey for the +

Implementations

impl<Ctx: ScriptContext> ExtendedKey<Ctx>[src]

pub fn has_secret(&self) -> bool[src]

Return whether or not the key contains the private data

+

pub fn into_xprv(self, network: Network) -> Option<ExtendedPrivKey>[src]

Transform the ExtendedKey into an ExtendedPrivKey for the given [Network], if the key contains the private data

-

pub fn into_xpub<C: Signing>(
    self,
    network: Network,
    secp: &Secp256k1<C>
) -> ExtendedPubKey
[src]

Transform the ExtendedKey into an ExtendedPubKey for the +

pub fn into_xpub<C: Signing>(
    self,
    network: Network,
    secp: &Secp256k1<C>
) -> ExtendedPubKey
[src]

Transform the ExtendedKey into an ExtendedPubKey for the given [Network]

-

Trait Implementations

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

Identity conversion

-

Trait Implementations

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

Identity conversion

+

impl<Ctx: ScriptContext> From<ExtendedPrivKey> for ExtendedKey<Ctx>[src]

impl<Ctx: ScriptContext> From<ExtendedPubKey> for ExtendedKey<Ctx>[src]

impl<Ctx: ScriptContext> From<ExtendedPrivKey> for ExtendedKey<Ctx>[src]

impl<Ctx: ScriptContext> From<ExtendedPubKey> for ExtendedKey<Ctx>[src]

Auto Trait Implementations

impl<Ctx> RefUnwindSafe for ExtendedKey<Ctx> where
    Ctx: RefUnwindSafe

impl<Ctx> Send for ExtendedKey<Ctx> where
    Ctx: Send

impl<Ctx> Sync for ExtendedKey<Ctx> where
    Ctx: Sync

impl<Ctx> Unpin for ExtendedKey<Ctx> where
    Ctx: Unpin

impl<Ctx> UnwindSafe for ExtendedKey<Ctx> where
    Ctx: UnwindSafe

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html index 95fbc54830..f9ea374ac3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.KeyError.html @@ -1,7 +1,7 @@ -bdk::keys::KeyError - Rust +bdk::keys::KeyError - Rust -

Enum bdk::keys::KeyError[][src]

pub enum KeyError {
+

Enum bdk::keys::KeyError[][src]

pub enum KeyError {
     InvalidScriptContext,
     InvalidNetwork,
     InvalidChecksum,
@@ -17,25 +17,25 @@
 
Message(String)

Custom error message

BIP32(Error)

BIP32 error

Miniscript(Error)

Miniscript error

-

Trait Implementations

impl Debug for KeyError[src]

impl Display for KeyError[src]

impl Error for KeyError[src]

Trait Implementations

impl Debug for KeyError[src]

impl Display for KeyError[src]

impl Error for KeyError[src]

impl From<Error> for KeyError[src]

impl From<Error> for KeyError[src]

impl From<KeyError> for Error[src]

impl From<KeyError> for Error[src]

impl From<Error> for KeyError[src]

impl From<Error> for KeyError[src]

impl From<KeyError> for Error[src]

impl From<KeyError> for Error[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html index f7e8faeb1e..22fe7b2069 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/enum.ScriptContextEnum.html @@ -1,7 +1,7 @@ -bdk::keys::ScriptContextEnum - Rust +bdk::keys::ScriptContextEnum - Rust -

Enum bdk::keys::ScriptContextEnum[][src]

pub enum ScriptContextEnum {
+

Enum bdk::keys::ScriptContextEnum[][src]

pub enum ScriptContextEnum {
     Legacy,
     Segwitv0,
 }

Enum representation of the known valid ScriptContexts

@@ -9,24 +9,24 @@ Variants
Legacy

Legacy scripts

Segwitv0

Segwitv0 scripts

-

Implementations

impl ScriptContextEnum[src]

pub fn is_legacy(&self) -> bool[src]

Returns whether the script context is ScriptContextEnum::Legacy

-

pub fn is_segwit_v0(&self) -> bool[src]

Returns whether the script context is ScriptContextEnum::Segwitv0

-

Trait Implementations

impl Clone for ScriptContextEnum[src]

impl Copy for ScriptContextEnum[src]

impl Debug for ScriptContextEnum[src]

impl Eq for ScriptContextEnum[src]

impl PartialEq<ScriptContextEnum> for ScriptContextEnum[src]

Implementations

impl ScriptContextEnum[src]

pub fn is_legacy(&self) -> bool[src]

Returns whether the script context is ScriptContextEnum::Legacy

+

pub fn is_segwit_v0(&self) -> bool[src]

Returns whether the script context is ScriptContextEnum::Segwitv0

+

Trait Implementations

impl Clone for ScriptContextEnum[src]

impl Copy for ScriptContextEnum[src]

impl Debug for ScriptContextEnum[src]

impl Eq for ScriptContextEnum[src]

impl PartialEq<ScriptContextEnum> for ScriptContextEnum[src]

impl StructuralEq for ScriptContextEnum[src]

impl StructuralPartialEq for ScriptContextEnum[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 StructuralEq for ScriptContextEnum[src]

impl StructuralPartialEq for ScriptContextEnum[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html index df1fa4506a..b05668a317 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.any_network.html @@ -1,6 +1,6 @@ -bdk::keys::any_network - Rust +bdk::keys::any_network - Rust -

Function bdk::keys::any_network[][src]

pub fn any_network() -> ValidNetworks

Create a set containing mainnet, testnet and regtest

-
- \ No newline at end of file +

Function bdk::keys::any_network[][src]

pub fn any_network() -> ValidNetworks

Create a set containing mainnet, testnet and regtest

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html index 2346c709fe..097d4cb597 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.mainnet_network.html @@ -1,6 +1,6 @@ -bdk::keys::mainnet_network - Rust +bdk::keys::mainnet_network - Rust -

Function bdk::keys::mainnet_network[][src]

pub fn mainnet_network() -> ValidNetworks

Create a set only containing mainnet

-
- \ No newline at end of file +

Function bdk::keys::mainnet_network[][src]

pub fn mainnet_network() -> ValidNetworks

Create a set only containing mainnet

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html index f9271e08a3..95db113469 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.merge_networks.html @@ -1,6 +1,6 @@ -bdk::keys::merge_networks - Rust +bdk::keys::merge_networks - Rust -

Function bdk::keys::merge_networks[][src]

pub fn merge_networks(a: &ValidNetworks, b: &ValidNetworks) -> ValidNetworks

Compute the intersection of two sets

-
- \ No newline at end of file +

Function bdk::keys::merge_networks[][src]

pub fn merge_networks(a: &ValidNetworks, b: &ValidNetworks) -> ValidNetworks

Compute the intersection of two sets

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html index c803435703..73079c2696 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/fn.test_networks.html @@ -1,6 +1,6 @@ -bdk::keys::test_networks - Rust +bdk::keys::test_networks - Rust -

Function bdk::keys::test_networks[][src]

pub fn test_networks() -> ValidNetworks

Create a set containing testnet and regtest

-
- \ No newline at end of file +

Function bdk::keys::test_networks[][src]

pub fn test_networks() -> ValidNetworks

Create a set containing testnet and regtest

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html index 152f7a1403..de733b1103 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/index.html @@ -1,7 +1,7 @@ -bdk::keys - Rust +bdk::keys - Rust -

Module bdk::keys[][src]

Key formats

+

Module bdk::keys[][src]

Key formats

Modules

bip39keys-bip39

BIP-0039

Structs

@@ -36,5 +36,5 @@ For example, disallowing uncompressed keys in Segwit context

Type Definitions

KeyMap

Alias type for a map of public key to secret key

ValidNetworks

Set of valid networks for a key

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html index 61ae883574..30b2865cc5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePriv.html @@ -1,7 +1,7 @@ -bdk::keys::DescriptorSinglePriv - Rust +bdk::keys::DescriptorSinglePriv - Rust -

Struct bdk::keys::DescriptorSinglePriv[]

pub struct DescriptorSinglePriv {
+

Struct bdk::keys::DescriptorSinglePriv[]

pub struct DescriptorSinglePriv {
     pub origin: Option<(Fingerprint, DerivationPath)>,
     pub key: PrivateKey,
 }

A Single Descriptor Secret Key with optional origin information

@@ -10,14 +10,14 @@
key: PrivateKey

The key

Trait Implementations

impl Debug for DescriptorSinglePriv

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html index 6d0f8e3c4a..1b397113ed 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.DescriptorSinglePub.html @@ -1,7 +1,7 @@ -bdk::keys::DescriptorSinglePub - Rust +bdk::keys::DescriptorSinglePub - Rust -

Struct bdk::keys::DescriptorSinglePub[]

pub struct DescriptorSinglePub {
+

Struct bdk::keys::DescriptorSinglePub[]

pub struct DescriptorSinglePub {
     pub origin: Option<(Fingerprint, DerivationPath)>,
     pub key: PublicKey,
 }

A Single Descriptor Key with optional origin information

@@ -9,7 +9,7 @@ Fieldsorigin: Option<(Fingerprint, DerivationPath)>

Origin information

key: PublicKey

The key

Trait Implementations

impl Clone for DescriptorSinglePub

impl Debug for DescriptorSinglePub

impl Eq for DescriptorSinglePub

impl Hash for DescriptorSinglePub

impl StructuralEq for DescriptorSinglePub

impl StructuralPartialEq for DescriptorSinglePub

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html index 5c21c325d9..e5295aee25 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.GeneratedKey.html @@ -1,23 +1,23 @@ -bdk::keys::GeneratedKey - Rust +bdk::keys::GeneratedKey - Rust -

Struct bdk::keys::GeneratedKey[][src]

pub struct GeneratedKey<K, Ctx: ScriptContext> { /* fields omitted */ }

Output of a GeneratableKey key generation

-

Implementations

impl<K, Ctx: ScriptContext> GeneratedKey<K, Ctx>[src]

pub fn into_key(self) -> K[src]

Consumes self and returns the key

-

Trait Implementations

impl<K, Ctx: ScriptContext> Deref for GeneratedKey<K, Ctx>[src]

type Target = K

The resulting type after dereferencing.

-

impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: DerivableKey<Ctx>, 
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html index 4d546d45a3..fa95ac8c83 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.PrivateKeyGenerateOptions.html @@ -1,25 +1,25 @@ -bdk::keys::PrivateKeyGenerateOptions - Rust +bdk::keys::PrivateKeyGenerateOptions - Rust -

Struct bdk::keys::PrivateKeyGenerateOptions[][src]

pub struct PrivateKeyGenerateOptions {
+

Struct bdk::keys::PrivateKeyGenerateOptions[][src]

pub struct PrivateKeyGenerateOptions {
     pub compressed: bool,
 }

Options for generating a [PrivateKey]

Defaults to creating compressed keys, which save on-chain bytes and fees

Fields

compressed: bool

Whether the generated key should be “compressed” or not

-

Trait Implementations

impl Clone for PrivateKeyGenerateOptions[src]

impl Copy for PrivateKeyGenerateOptions[src]

impl Debug for PrivateKeyGenerateOptions[src]

impl Default for PrivateKeyGenerateOptions[src]

Trait Implementations

impl Clone for PrivateKeyGenerateOptions[src]

impl Copy for PrivateKeyGenerateOptions[src]

impl Debug for PrivateKeyGenerateOptions[src]

impl Default for PrivateKeyGenerateOptions[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html index f2a7d5f1a6..38c40556d2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/struct.SortedMultiVec.html @@ -1,7 +1,7 @@ -bdk::keys::SortedMultiVec - Rust +bdk::keys::SortedMultiVec - Rust -

Struct bdk::keys::SortedMultiVec[]

pub struct SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 
{ +

Struct bdk::keys::SortedMultiVec[]

pub struct SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 
{ pub k: usize, pub pks: Vec<Pk, Global>, // some fields omitted @@ -41,7 +41,7 @@ will handle the segwit/non-segwit technicalities for you.

length prefix (segwit) or push opcode (pre-segwit) and sighash postfix.

Trait Implementations

impl<Pk, Ctx> Clone for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext + Clone,
    Pk: MiniscriptKey + Clone

impl<Pk, Ctx> Debug for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl<Pk, Ctx> Display for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl<Pk, Ctx> Eq for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext + Eq,
    Pk: MiniscriptKey + Eq

impl<Pk, Ctx> ForEachKey<Pk> for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl<Pk, Ctx> StructuralEq for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

impl<Pk, Ctx> StructuralPartialEq for SortedMultiVec<Pk, Ctx> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Auto Trait Implementations

impl<Pk, Ctx> RefUnwindSafe for SortedMultiVec<Pk, Ctx> where
    Ctx: RefUnwindSafe,
    Pk: RefUnwindSafe

impl<Pk, Ctx> Send for SortedMultiVec<Pk, Ctx> where
    Ctx: Send,
    Pk: Send

impl<Pk, Ctx> Sync for SortedMultiVec<Pk, Ctx> where
    Ctx: Sync,
    Pk: Sync

impl<Pk, Ctx> Unpin for SortedMultiVec<Pk, Ctx> where
    Ctx: Unpin,
    Pk: Unpin

impl<Pk, Ctx> UnwindSafe for SortedMultiVec<Pk, Ctx> where
    Ctx: UnwindSafe,
    Pk: UnwindSafe

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html index 3cbcca25de..5b823d7bcb 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.DerivableKey.html @@ -1,7 +1,7 @@ -bdk::keys::DerivableKey - Rust +bdk::keys::DerivableKey - Rust -

Trait bdk::keys::DerivableKey[][src]

pub trait DerivableKey<Ctx: ScriptContext = Legacy>: Sized {
+

Trait bdk::keys::DerivableKey[][src]

pub trait DerivableKey<Ctx: ScriptContext = Legacy>: Sized {
     fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>;
 
     fn into_descriptor_key(
        self,
        origin: Option<KeySource>,
        derivation_path: DerivationPath
    ) -> Result<DescriptorKey<Ctx>, KeyError> { ... } @@ -85,7 +85,7 @@ steps to override the set of valid networks, otherwise only the network specifie Ok(descriptor_key.override_valid_networks(any_network())) } }
-

Required methods

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

Consume self and turn it into an ExtendedKey

+

Required methods

fn into_extended_key(self) -> Result<ExtendedKey<Ctx>, KeyError>[src]

Consume self and turn it into an ExtendedKey

This can be used to get direct access to xprvs and xpubs for types that implement this trait, like Mnemonic when the keys-bip39 feature is enabled.

@@ -101,8 +101,8 @@ like Mnemonic? .into_extended_key()?; let xprv = xkey.into_xprv(Network::Bitcoin).unwrap();
-
Loading content...

Provided methods

fn into_descriptor_key(
    self,
    origin: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

Consume self and turn it into a DescriptorKey by adding the extra metadata, such as +

Loading content...

Provided methods

fn into_descriptor_key(
    self,
    origin: Option<KeySource>,
    derivation_path: DerivationPath
) -> Result<DescriptorKey<Ctx>, KeyError>
[src]

Consume self and turn it into a DescriptorKey by adding the extra metadata, such as key origin and derivation path

-
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPubKey[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPrivKey[src]

Loading content...

Implementors

impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: DerivableKey<Ctx>, 
[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

Identity conversion

-

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

This is supported on crate feature keys-bip39 only.

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

This is supported on crate feature keys-bip39 only.

impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

This is supported on crate feature keys-bip39 only.
Loading content...
- \ No newline at end of file +Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPubKey[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedPrivKey[src]

Loading content...

Implementors

impl<Ctx, K> DerivableKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: DerivableKey<Ctx>, 
[src]

impl<Ctx: ScriptContext> DerivableKey<Ctx> for ExtendedKey<Ctx>[src]

Identity conversion

+

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Mnemonic[src]

This is supported on crate feature keys-bip39 only.

impl<Ctx: ScriptContext> DerivableKey<Ctx> for Seed[src]

This is supported on crate feature keys-bip39 only.

impl<Ctx: ScriptContext> DerivableKey<Ctx> for MnemonicWithPassphrase[src]

This is supported on crate feature keys-bip39 only.
Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html index 22350e7768..fc46572dc1 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ExtScriptContext.html @@ -1,14 +1,14 @@ -bdk::keys::ExtScriptContext - Rust +bdk::keys::ExtScriptContext - Rust -

Trait bdk::keys::ExtScriptContext[][src]

pub trait ExtScriptContext: ScriptContext {
+

Trait bdk::keys::ExtScriptContext[][src]

pub trait ExtScriptContext: ScriptContext {
     fn as_enum() -> ScriptContextEnum;
 
     fn is_legacy() -> bool { ... }
 
fn is_segwit_v0() -> bool { ... } }

Trait that adds extra useful methods to ScriptContexts

-

Required methods

Loading content...

Provided methods

fn is_legacy() -> bool[src]

Returns whether the script context is Legacy

-

fn is_segwit_v0() -> bool[src]

Returns whether the script context is Segwitv0

-
Loading content...

Implementors

Loading content...
- \ No newline at end of file +

Required methods

Loading content...

Provided methods

fn is_legacy() -> bool[src]

Returns whether the script context is Legacy

+

fn is_segwit_v0() -> bool[src]

Returns whether the script context is Segwitv0

+
Loading content...

Implementors

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html index 4017135fd9..90aa6352a7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableDefaultOptions.html @@ -1,14 +1,14 @@ -bdk::keys::GeneratableDefaultOptions - Rust +bdk::keys::GeneratableDefaultOptions - Rust -

Trait bdk::keys::GeneratableDefaultOptions[][src]

pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
    Ctx: ScriptContext,
    Self::Options: Default
{ +

Trait bdk::keys::GeneratableDefaultOptions[][src]

pub trait GeneratableDefaultOptions<Ctx>: GeneratableKey<Ctx> where
    Ctx: ScriptContext,
    Self::Options: Default
{ fn generate_with_entropy_default(
        entropy: Self::Entropy
    ) -> Result<GeneratedKey<Self, Ctx>, Self::Error> { ... }
fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error> { ... } }

Trait that allows generating a key with the default options

This trait is automatically implemented if the GeneratableKey::Options implements Default.

-

Provided methods

fn generate_with_entropy_default(
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key with the default options and a given entropy

-

fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error>[src]

Generate a key with the default options and a random entropy

-
Loading content...

Implementors

impl<Ctx, K> GeneratableDefaultOptions<Ctx> for K where
    Ctx: ScriptContext,
    K: GeneratableKey<Ctx>,
    <K as GeneratableKey<Ctx>>::Options: Default
[src]

Automatic implementation of GeneratableDefaultOptions for GeneratableKeys where +

Provided methods

fn generate_with_entropy_default(
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key with the default options and a given entropy

+

fn generate_default() -> Result<GeneratedKey<Self, Ctx>, Self::Error>[src]

Generate a key with the default options and a random entropy

+
Loading content...

Implementors

impl<Ctx, K> GeneratableDefaultOptions<Ctx> for K where
    Ctx: ScriptContext,
    K: GeneratableKey<Ctx>,
    <K as GeneratableKey<Ctx>>::Options: Default
[src]

Automatic implementation of GeneratableDefaultOptions for GeneratableKeys where Options implements Default

-
Loading content...
- \ No newline at end of file +
Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html index f835233588..5f345c923c 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.GeneratableKey.html @@ -1,7 +1,7 @@ -bdk::keys::GeneratableKey - Rust +bdk::keys::GeneratableKey - Rust -

Trait bdk::keys::GeneratableKey[][src]

pub trait GeneratableKey<Ctx: ScriptContext>: Sized {
+

Trait bdk::keys::GeneratableKey[][src]

pub trait GeneratableKey<Ctx: ScriptContext>: Sized {
     type Entropy: AsMut<[u8]> + Default;
     type Options;
     type Error: Debug;
@@ -14,10 +14,10 @@
 implements it, the returned GeneratedKey will also implement it. The same is true for
 IntoDescriptorKey: the generated keys can be directly used in descriptors if Self is also
 IntoDescriptorKey.

-

Associated Types

type Entropy: AsMut<[u8]> + Default[src]

Type specifying the amount of entropy required e.g. [u8;32]

-

type Options[src]

Extra options required by the generate_with_entropy

-

type Error: Debug[src]

Returned error in case of failure

-
Loading content...

Required methods

fn generate_with_entropy(
    options: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key given the extra options and the entropy

-
Loading content...

Provided methods

fn generate(
    options: Self::Options
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key given the options with a random entropy

-
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for ExtendedPrivKey[src]

type Entropy = [u8; 32]

type Options = ()

type Error = Error

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for PrivateKey[src]

type Entropy = [u8; 32]

type Options = PrivateKeyGenerateOptions

type Error = Error

Loading content...

Implementors

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

This is supported on crate feature keys-bip39 only.

type Entropy = [u8; 32]

type Options = (MnemonicType, Language)

type Error = Option<ErrorKind>

Loading content...
- \ No newline at end of file +

Associated Types

type Entropy: AsMut<[u8]> + Default[src]

Type specifying the amount of entropy required e.g. [u8;32]

+

type Options[src]

Extra options required by the generate_with_entropy

+

type Error: Debug[src]

Returned error in case of failure

+
Loading content...

Required methods

fn generate_with_entropy(
    options: Self::Options,
    entropy: Self::Entropy
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key given the extra options and the entropy

+
Loading content...

Provided methods

fn generate(
    options: Self::Options
) -> Result<GeneratedKey<Self, Ctx>, Self::Error>
[src]

Generate a key given the options with a random entropy

+
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for ExtendedPrivKey[src]

type Entropy = [u8; 32]

type Options = ()

type Error = Error

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for PrivateKey[src]

type Entropy = [u8; 32]

type Options = PrivateKeyGenerateOptions

type Error = Error

Loading content...

Implementors

impl<Ctx: ScriptContext> GeneratableKey<Ctx> for Mnemonic[src]

This is supported on crate feature keys-bip39 only.

type Entropy = [u8; 32]

type Options = (MnemonicType, Language)

type Error = Option<ErrorKind>

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html index 0f9c55e49a..a1d262875d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.IntoDescriptorKey.html @@ -1,7 +1,7 @@ -bdk::keys::IntoDescriptorKey - Rust +bdk::keys::IntoDescriptorKey - Rust -

Trait bdk::keys::IntoDescriptorKey[][src]

pub trait IntoDescriptorKey<Ctx: ScriptContext>: Sized {
+

Trait bdk::keys::IntoDescriptorKey[][src]

pub trait IntoDescriptorKey<Ctx: ScriptContext>: Sized {
     fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>;
 }

Trait for objects that can be turned into a public or secret DescriptorKey

The generic type Ctx is used to define the context in which the key is valid: some key @@ -107,7 +107,7 @@ makes the compiler (correctly) fail.

let (descriptor, _, _) = bdk::descriptor!(pkh(key))?; // ^^^^^ changing this to `wpkh` would make it compile
-

Required methods

fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

Turn the key into a DescriptorKey within the requested ScriptContext

-
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, DerivationPath)[src]

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, KeySource, DerivationPath)[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for &str[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PrivateKey[src]

Loading content...

Implementors

impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: IntoDescriptorKey<Ctx>, 
[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

The “identity” conversion is used internally by some bdk::fragments

-

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

Loading content...
- \ No newline at end of file +

Required methods

fn into_descriptor_key(self) -> Result<DescriptorKey<Ctx>, KeyError>[src]

Turn the key into a DescriptorKey within the requested ScriptContext

+
Loading content...

Implementations on Foreign Types

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, DerivationPath)[src]

impl<Ctx: ScriptContext, T: DerivableKey<Ctx>> IntoDescriptorKey<Ctx> for (T, KeySource, DerivationPath)[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for &str[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for PrivateKey[src]

Loading content...

Implementors

impl<Ctx, K> IntoDescriptorKey<Ctx> for GeneratedKey<K, Ctx> where
    Ctx: ScriptContext,
    K: IntoDescriptorKey<Ctx>, 
[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorKey<Ctx>[src]

The “identity” conversion is used internally by some bdk::fragments

+

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorPublicKey[src]

impl<Ctx: ScriptContext> IntoDescriptorKey<Ctx> for DescriptorSecretKey[src]

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html index 790187170f..a45a6c951d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/trait.ScriptContext.html @@ -1,7 +1,7 @@ -bdk::keys::ScriptContext - Rust +bdk::keys::ScriptContext - Rust -

Trait bdk::keys::ScriptContext[]

pub trait ScriptContext: Sealed + Clone + PartialEq<Self> + Eq + Ord + PartialOrd<Self> + Debug {
+

Trait bdk::keys::ScriptContext[]

pub trait ScriptContext: Sealed + Clone + PartialEq<Self> + Eq + Ord + PartialOrd<Self> + Debug {
     pub fn check_terminal_non_malleable<Pk, Ctx>(
        _frag: &Terminal<Pk, Ctx>
    ) -> Result<(), ScriptContextError>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
;
pub fn max_satisfaction_size<Pk, Ctx>(
        ms: &Miniscript<Pk, Ctx>
    ) -> Option<usize>
    where
        Ctx: ScriptContext,
        Pk: MiniscriptKey
; @@ -75,5 +75,5 @@ ones for satisfaction

pub fn top_level_type_check<Pk, Ctx>(
    ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check whether the top-level is type B

pub fn other_top_level_checks<Pk, Ctx>(
    _ms: &Miniscript<Pk, Ctx>
) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Other top level checks that are context specific

pub fn top_level_checks<Pk, Ctx>(ms: &Miniscript<Pk, Ctx>) -> Result<(), Error> where
    Ctx: ScriptContext,
    Pk: MiniscriptKey, 

Check top level consensus rules.

-
Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

Loading content...

Implementors

impl ScriptContext for Legacy

impl ScriptContext for Segwitv0

Loading content...
- \ No newline at end of file +Loading content...

Implementations on Foreign Types

impl ScriptContext for BareCtx

Loading content...

Implementors

impl ScriptContext for Legacy

impl ScriptContext for Segwitv0

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html index bd872447a7..aa4ed0b236 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.KeyMap.html @@ -1,10 +1,10 @@ -bdk::keys::KeyMap - Rust +bdk::keys::KeyMap - Rust -

Type Definition bdk::keys::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;

Alias type for a map of public key to secret key

+

Type Definition bdk::keys::KeyMap[]

type KeyMap = HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>;

Alias type for a map of public key to secret key

This map is returned whenever a descriptor that contains secrets is parsed using Descriptor::parse_descriptor, since the descriptor will always only contain public keys. This map allows looking up the corresponding secret key given a public key from the descriptor.

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html index b7efbc2533..7858402a15 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/keys/type.ValidNetworks.html @@ -1,6 +1,6 @@ -bdk::keys::ValidNetworks - Rust +bdk::keys::ValidNetworks - Rust -

Type Definition bdk::keys::ValidNetworks[][src]

type ValidNetworks = HashSet<Network>;

Set of valid networks for a key

-
- \ No newline at end of file +

Type Definition bdk::keys::ValidNetworks[][src]

type ValidNetworks = HashSet<Network>;

Set of valid networks for a key

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html b/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html index f9232df8ed..7b996d089a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html @@ -1,7 +1,7 @@ -bdk::descriptor - Rust +bdk::descriptor - Rust -

Macro bdk::descriptor[][src]

+

Macro bdk::descriptor[][src]

 macro_rules! descriptor {
     ( bare ( $( $minisc:tt )* ) ) => { ... };
     ( sh ( wsh ( $( $minisc:tt )* ) ) ) => { ... };
@@ -82,5 +82,5 @@ syntax is more suitable for a fixed number of items known at compile time, while
     bitcoin::PrivateKey::from_wif("cVt4o7BGAig1UXywgGSmARhxMdzP5qvQsxKkSsc1XEkw3tDTQFpy")?;
 
 let (descriptor, key_map, networks) = bdk::descriptor!(wpkh(my_key))?;
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html b/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html index eddb4565c7..d62523e7d5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html @@ -1,7 +1,7 @@ -bdk::fragment - Rust +bdk::fragment - Rust -

Macro bdk::fragment[][src]

+

Macro bdk::fragment[][src]

 macro_rules! fragment {
     ( $modif:tt : $( $tail:tt )* ) => { ... };
     ( true ) => { ... };
@@ -33,5 +33,5 @@
 

This macro will be expanded to an object of type Result<(Miniscript<DescriptorPublicKey, _>, KeyMap, ValidNetworks), DescriptorError>. It allows writing fragments of larger descriptors that can be pieced together using fragment!(thresh_vec(m, ...)).

The syntax to write macro fragment is the same as documented for the descriptor macro.

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/sidebar-items.js b/static/docs-rs/bdk/nightly/latest/bdk/sidebar-items.js index 8f3be7090c..5fe50649e3 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/sidebar-items.js +++ b/static/docs-rs/bdk/nightly/latest/bdk/sidebar-items.js @@ -1 +1 @@ -initSidebarItems({"enum":[["Error","Errors that can be thrown by the `Wallet`"],["KeychainKind","Types of keychains"],["Utxo","An unspent transaction output (UTXO)."]],"fn":[["version","Get the version of BDK at runtime"]],"macro":[["descriptor","Macro to write full descriptors with code"],["fragment","Macro to write descriptor fragments with code"]],"mod":[["blockchain","Blockchain backends"],["database","Database types"],["descriptor","Descriptors"],["keys","Key formats"],["wallet","Wallet"]],"struct":[["FeeRate","Fee rate"],["LocalUtxo","An unspent output owned by a `Wallet`."],["TransactionDetails","A wallet transaction"],["WeightedUtxo","A [`Utxo`] with its `satisfaction_weight`."]]}); \ No newline at end of file +initSidebarItems({"enum":[["Error","Errors that can be thrown by the `Wallet`"],["KeychainKind","Types of keychains"],["Utxo","An unspent transaction output (UTXO)."]],"externcrate":[["bitcoin",""],["electrum_client",""],["miniscript",""],["reqwest",""],["sled",""]],"fn":[["version","Get the version of BDK at runtime"]],"macro":[["descriptor","Macro to write full descriptors with code"],["fragment","Macro to write descriptor fragments with code"]],"mod":[["blockchain","Blockchain backends"],["database","Database types"],["descriptor","Descriptors"],["keys","Key formats"],["wallet","Wallet"]],"struct":[["FeeRate","Fee rate"],["LocalUtxo","An unspent output owned by a `Wallet`."],["TransactionDetails","A wallet transaction"],["WeightedUtxo","A [`Utxo`] with its `satisfaction_weight`."]]}); \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html index 893bc7e946..88acae4105 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.FeeRate.html @@ -1,34 +1,34 @@ -bdk::FeeRate - Rust +bdk::FeeRate - Rust -

Struct bdk::FeeRate[][src]

pub struct FeeRate(_);

Fee rate

-

Implementations

impl FeeRate[src]

pub fn from_btc_per_kvb(btc_per_kvb: f32) -> Self[src]

Create a new instance of FeeRate given a float fee rate in btc/kvbytes

-

pub const fn from_sat_per_vb(sat_per_vb: f32) -> Self[src]

Create a new instance of FeeRate given a float fee rate in satoshi/vbyte

-

pub const fn default_min_relay_fee() -> Self[src]

Create a new FeeRate with the default min relay fee value

-

pub fn as_sat_vb(&self) -> f32[src]

Return the value as satoshi/vbyte

-

Trait Implementations

impl Clone for FeeRate[src]

impl Copy for FeeRate[src]

impl Debug for FeeRate[src]

impl Default for FeeRate[src]

impl PartialEq<FeeRate> for FeeRate[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html index 605ad60d89..3f04b7d43d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html @@ -1,7 +1,7 @@ -bdk::LocalUtxo - Rust +bdk::LocalUtxo - Rust -

Struct bdk::LocalUtxo[][src]

pub struct LocalUtxo {
+

Struct bdk::LocalUtxo[][src]

pub struct LocalUtxo {
     pub outpoint: OutPoint,
     pub txout: TxOut,
     pub keychain: KeychainKind,
@@ -10,24 +10,24 @@
                        Fieldsoutpoint: OutPoint

Reference to a transaction output

txout: TxOut

Transaction output

keychain: KeychainKind

Type of keychain

-

Trait Implementations

impl Clone for LocalUtxo[src]

impl Debug for LocalUtxo[src]

impl<'de> Deserialize<'de> for LocalUtxo[src]

impl Eq for LocalUtxo[src]

impl PartialEq<LocalUtxo> for LocalUtxo[src]

Trait Implementations

impl Clone for LocalUtxo[src]

impl Debug for LocalUtxo[src]

impl<'de> Deserialize<'de> for LocalUtxo[src]

impl Eq for LocalUtxo[src]

impl PartialEq<LocalUtxo> for LocalUtxo[src]

impl Serialize for LocalUtxo[src]

impl StructuralEq for LocalUtxo[src]

impl StructuralPartialEq for LocalUtxo[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl Serialize for LocalUtxo[src]

impl StructuralEq for LocalUtxo[src]

impl StructuralPartialEq for LocalUtxo[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html index 6b9e0c7fbc..f80b61472d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html @@ -1,7 +1,7 @@ -bdk::TransactionDetails - Rust +bdk::TransactionDetails - Rust -

Struct bdk::TransactionDetails[][src]

pub struct TransactionDetails {
+

Struct bdk::TransactionDetails[][src]

pub struct TransactionDetails {
     pub transaction: Option<Transaction>,
     pub txid: Txid,
     pub timestamp: u64,
@@ -18,25 +18,25 @@
 
sent: u64

Sent value (sats)

fees: u64

Fee value (sats)

height: Option<u32>

Confirmed in block height, None means unconfirmed

-

Trait Implementations

impl Clone for TransactionDetails[src]

impl Debug for TransactionDetails[src]

impl Default for TransactionDetails[src]

impl<'de> Deserialize<'de> for TransactionDetails[src]

impl Eq for TransactionDetails[src]

impl PartialEq<TransactionDetails> for TransactionDetails[src]

Trait Implementations

impl Clone for TransactionDetails[src]

impl Debug for TransactionDetails[src]

impl Default for TransactionDetails[src]

impl<'de> Deserialize<'de> for TransactionDetails[src]

impl Eq for TransactionDetails[src]

impl PartialEq<TransactionDetails> for TransactionDetails[src]

impl Serialize for TransactionDetails[src]

impl StructuralEq for TransactionDetails[src]

impl StructuralPartialEq for TransactionDetails[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl Serialize for TransactionDetails[src]

impl StructuralEq for TransactionDetails[src]

impl StructuralPartialEq for TransactionDetails[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html b/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html index e7188a21f4..7e098a221b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/struct.WeightedUtxo.html @@ -1,7 +1,7 @@ -bdk::WeightedUtxo - Rust +bdk::WeightedUtxo - Rust -

Struct bdk::WeightedUtxo[][src]

pub struct WeightedUtxo {
+

Struct bdk::WeightedUtxo[][src]

pub struct WeightedUtxo {
     pub satisfaction_weight: usize,
     pub utxo: Utxo,
 }

A Utxo with its satisfaction_weight.

@@ -9,21 +9,21 @@ Fieldssatisfaction_weight: usize

The weight of the witness data and scriptSig expressed in weight units. This is used to properly maintain the feerate when adding this input to a transaction during coin selection.

utxo: Utxo

The UTXO

-

Trait Implementations

impl Clone for WeightedUtxo[src]

impl Debug for WeightedUtxo[src]

impl PartialEq<WeightedUtxo> for WeightedUtxo[src]

Trait Implementations

impl Clone for WeightedUtxo[src]

impl Debug for WeightedUtxo[src]

impl PartialEq<WeightedUtxo> for WeightedUtxo[src]

impl StructuralPartialEq for WeightedUtxo[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 StructuralPartialEq for WeightedUtxo[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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html index 54752d908c..223f47e9fc 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/enum.AddressValidatorError.html @@ -1,7 +1,7 @@ -bdk::wallet::address_validator::AddressValidatorError - Rust +bdk::wallet::address_validator::AddressValidatorError - Rust -

Enum bdk::wallet::address_validator::AddressValidatorError[][src]

pub enum AddressValidatorError {
+

Enum bdk::wallet::address_validator::AddressValidatorError[][src]

pub enum AddressValidatorError {
     UserRejected,
     ConnectionError,
     TimeoutError,
@@ -15,28 +15,28 @@
 
TimeoutError

Network request timeout error

InvalidScript

Invalid script

Message(String)

A custom error message

-

Trait Implementations

impl Clone for AddressValidatorError[src]

impl Debug for AddressValidatorError[src]

impl Display for AddressValidatorError[src]

impl Eq for AddressValidatorError[src]

impl Error for AddressValidatorError[src]

Trait Implementations

impl Clone for AddressValidatorError[src]

impl Debug for AddressValidatorError[src]

impl Display for AddressValidatorError[src]

impl Eq for AddressValidatorError[src]

impl Error for AddressValidatorError[src]

impl From<AddressValidatorError> for Error[src]

impl PartialEq<AddressValidatorError> for AddressValidatorError[src]

impl From<AddressValidatorError> for Error[src]

impl PartialEq<AddressValidatorError> for AddressValidatorError[src]

impl StructuralEq for AddressValidatorError[src]

impl StructuralPartialEq for AddressValidatorError[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 StructuralEq for AddressValidatorError[src]

impl StructuralPartialEq for AddressValidatorError[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html index ad5b6e9b5b..a7e403c570 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/index.html @@ -1,7 +1,7 @@ -bdk::wallet::address_validator - Rust +bdk::wallet::address_validator - Rust -

Module bdk::wallet::address_validator[][src]

Address validation callbacks

+

Module bdk::wallet::address_validator[][src]

Address validation callbacks

The typical usage of those callbacks is for displaying the newly-generated address on a hardware wallet, so that the user can cross-check its correctness.

More generally speaking though, these callbacks can also be used to “do something” every time @@ -45,5 +45,5 @@ successfully to continue.

AddressValidatorError

Errors that can be returned to fail the validation of an address

Traits

AddressValidator

Trait to build address validators

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html index 8166b3a007..884be46579 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/address_validator/trait.AddressValidator.html @@ -1,13 +1,13 @@ -bdk::wallet::address_validator::AddressValidator - Rust +bdk::wallet::address_validator::AddressValidator - Rust -

Trait bdk::wallet::address_validator::AddressValidator[][src]

pub trait AddressValidator: Send + Sync + Debug {
+

Trait bdk::wallet::address_validator::AddressValidator[][src]

pub trait AddressValidator: Send + Sync + Debug {
     fn validate(
        &self,
        keychain: KeychainKind,
        hd_keypaths: &HDKeyPaths,
        script: &Script
    ) -> Result<(), AddressValidatorError>; }

Trait to build address validators

All the address validators attached to a wallet with Wallet::add_address_validator will be polled every time an address (external or internal) is generated by the wallet. Errors returned in the validator will be propagated up to the original caller that triggered the address generation.

For a usage example see this module’s documentation.

-

Required methods

fn validate(
    &self,
    keychain: KeychainKind,
    hd_keypaths: &HDKeyPaths,
    script: &Script
) -> Result<(), AddressValidatorError>
[src]

Validate or inspect an address

-
Loading content...

Implementors

Loading content...
- \ No newline at end of file +

Required methods

fn validate(
    &self,
    keychain: KeychainKind,
    hd_keypaths: &HDKeyPaths,
    script: &Script
) -> Result<(), AddressValidatorError>
[src]

Validate or inspect an address

+
Loading content...

Implementors

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html index caf5601625..79d58c5812 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/index.html @@ -1,7 +1,7 @@ -bdk::wallet::coin_selection - Rust +bdk::wallet::coin_selection - Rust -

Module bdk::wallet::coin_selection[][src]

Coin selection

+

Module bdk::wallet::coin_selection[][src]

Coin selection

This module provides the trait CoinSelectionAlgorithm that can be implemented to define custom coin selection algorithms.

You can specify a custom coin selection algorithm through the coin_selection method on @@ -66,5 +66,5 @@ be used if it is not explicitly set.

Type Definitions

DefaultCoinSelectionAlgorithm

Default coin selection algorithm used by TxBuilder if not overridden

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html index da9e24a166..a00fd28bf5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.BranchAndBoundCoinSelection.html @@ -1,21 +1,21 @@ -bdk::wallet::coin_selection::BranchAndBoundCoinSelection - Rust +bdk::wallet::coin_selection::BranchAndBoundCoinSelection - Rust -

Struct bdk::wallet::coin_selection::BranchAndBoundCoinSelection[][src]

pub struct BranchAndBoundCoinSelection { /* fields omitted */ }

Branch and bound coin selection

+

Struct bdk::wallet::coin_selection::BranchAndBoundCoinSelection[][src]

pub struct BranchAndBoundCoinSelection { /* fields omitted */ }

Branch and bound coin selection

Code adapted from Bitcoin Core’s implementation and from Mark Erhardt Master’s Thesis: http://murch.one/wp-content/uploads/2016/11/erhardt2016coinselection.pdf

-

Implementations

impl BranchAndBoundCoinSelection[src]

pub fn new(size_of_change: u64) -> Self[src]

Create new instance with target size for change output

-

Trait Implementations

impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

impl Debug for BranchAndBoundCoinSelection[src]

impl Default for BranchAndBoundCoinSelection[src]

Implementations

impl BranchAndBoundCoinSelection[src]

pub fn new(size_of_change: u64) -> Self[src]

Create new instance with target size for change output

+

Trait Implementations

impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

impl Debug for BranchAndBoundCoinSelection[src]

impl Default for BranchAndBoundCoinSelection[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html index 6678779847..d9c435bf59 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.CoinSelectionResult.html @@ -1,25 +1,25 @@ -bdk::wallet::coin_selection::CoinSelectionResult - Rust +bdk::wallet::coin_selection::CoinSelectionResult - Rust -

Struct bdk::wallet::coin_selection::CoinSelectionResult[][src]

pub struct CoinSelectionResult {
+

Struct bdk::wallet::coin_selection::CoinSelectionResult[][src]

pub struct CoinSelectionResult {
     pub selected: Vec<Utxo>,
     pub fee_amount: f32,
 }

Result of a successful coin selection

Fields

selected: Vec<Utxo>

List of outputs selected for use as inputs

fee_amount: f32

Total fee amount in satoshi

-

Implementations

impl CoinSelectionResult[src]

pub fn selected_amount(&self) -> u64[src]

The total value of the inputs selected.

-

pub fn local_selected_amount(&self) -> u64[src]

The total value of the inputs selected from the local wallet.

-

Trait Implementations

impl Debug for CoinSelectionResult[src]

Implementations

impl CoinSelectionResult[src]

pub fn selected_amount(&self) -> u64[src]

The total value of the inputs selected.

+

pub fn local_selected_amount(&self) -> u64[src]

The total value of the inputs selected from the local wallet.

+

Trait Implementations

impl Debug for CoinSelectionResult[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html index b4bd5e3159..d5a4f60403 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/struct.LargestFirstCoinSelection.html @@ -1,23 +1,23 @@ -bdk::wallet::coin_selection::LargestFirstCoinSelection - Rust +bdk::wallet::coin_selection::LargestFirstCoinSelection - Rust -

Struct bdk::wallet::coin_selection::LargestFirstCoinSelection[][src]

pub struct LargestFirstCoinSelection;

Simple and dumb coin selection

+

Struct bdk::wallet::coin_selection::LargestFirstCoinSelection[][src]

pub struct LargestFirstCoinSelection;

Simple and dumb coin selection

This coin selection algorithm sorts the available UTXOs by value and then picks them starting from the largest ones until the required amount is reached.

-

Trait Implementations

impl Clone for LargestFirstCoinSelection[src]

impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

impl Copy for LargestFirstCoinSelection[src]

impl Debug for LargestFirstCoinSelection[src]

impl Default for LargestFirstCoinSelection[src]

Trait Implementations

impl Clone for LargestFirstCoinSelection[src]

impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

impl Copy for LargestFirstCoinSelection[src]

impl Debug for LargestFirstCoinSelection[src]

impl Default for LargestFirstCoinSelection[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html index ab9c709b86..e201d19541 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/trait.CoinSelectionAlgorithm.html @@ -1,13 +1,13 @@ -bdk::wallet::coin_selection::CoinSelectionAlgorithm - Rust +bdk::wallet::coin_selection::CoinSelectionAlgorithm - Rust -

Trait bdk::wallet::coin_selection::CoinSelectionAlgorithm[][src]

pub trait CoinSelectionAlgorithm<D: Database>: Debug {
+

Trait bdk::wallet::coin_selection::CoinSelectionAlgorithm[][src]

pub trait CoinSelectionAlgorithm<D: Database>: Debug {
     fn coin_select(
        &self,
        database: &D,
        required_utxos: Vec<WeightedUtxo>,
        optional_utxos: Vec<WeightedUtxo>,
        fee_rate: FeeRate,
        amount_needed: u64,
        fee_amount: f32
    ) -> Result<CoinSelectionResult, Error>; }

Trait for generalized coin selection algorithms

This trait can be implemented to make the Wallet use a customized coin selection algorithm when it creates transactions.

For an example see this module’s documentation.

-

Required methods

fn coin_select(
    &self,
    database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Perform the coin selection

+

Required methods

fn coin_select(
    &self,
    database: &D,
    required_utxos: Vec<WeightedUtxo>,
    optional_utxos: Vec<WeightedUtxo>,
    fee_rate: FeeRate,
    amount_needed: u64,
    fee_amount: f32
) -> Result<CoinSelectionResult, Error>
[src]

Perform the coin selection

  • database: a reference to the wallet’s database that can be used to lookup additional details for a specific UTXO
  • @@ -20,5 +20,5 @@ weight cost
  • fee_amount: the amount of fees in satoshi already accumulated from adding outputs and the transaction’s header
-
Loading content...

Implementors

impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

Loading content...
- \ No newline at end of file +
Loading content...

Implementors

impl<D: Database> CoinSelectionAlgorithm<D> for BranchAndBoundCoinSelection[src]

impl<D: Database> CoinSelectionAlgorithm<D> for LargestFirstCoinSelection[src]

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html index bcf80f8b40..df327f1e09 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/coin_selection/type.DefaultCoinSelectionAlgorithm.html @@ -1,7 +1,7 @@ -bdk::wallet::coin_selection::DefaultCoinSelectionAlgorithm - Rust +bdk::wallet::coin_selection::DefaultCoinSelectionAlgorithm - Rust -

Type Definition bdk::wallet::coin_selection::DefaultCoinSelectionAlgorithm[][src]

type DefaultCoinSelectionAlgorithm = BranchAndBoundCoinSelection;

Default coin selection algorithm used by TxBuilder if not +

Type Definition bdk::wallet::coin_selection::DefaultCoinSelectionAlgorithm[][src]

type DefaultCoinSelectionAlgorithm = BranchAndBoundCoinSelection;

Default coin selection algorithm used by TxBuilder if not overridden

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html index d62be5f2e1..ffa538aaac 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/index.html @@ -1,7 +1,7 @@ -bdk::wallet::export - Rust +bdk::wallet::export - Rust -

Module bdk::wallet::export[][src]

Wallet export

+

Module bdk::wallet::export[][src]

Wallet export

This modules implements the wallet export format used by FullyNoded.

Examples

Import from JSON

@@ -33,5 +33,5 @@
 println!("Exported: {}", export.to_string());

Structs

WalletExport

Structure that contains the export of a wallet

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html index 30b5b4f4a9..bed41e0373 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.WalletExport.html @@ -1,7 +1,7 @@ -bdk::wallet::export::WalletExport - Rust +bdk::wallet::export::WalletExport - Rust -

Struct bdk::wallet::export::WalletExport[][src]

pub struct WalletExport {
+

Struct bdk::wallet::export::WalletExport[][src]

pub struct WalletExport {
     pub blockheight: u32,
     pub label: String,
     // some fields omitted
@@ -10,7 +10,7 @@
 

Fields

blockheight: u32

Earliest block to rescan when looking for the wallet’s transactions

label: String

Arbitrary label for the wallet

-

Implementations

impl WalletExport[src]

pub fn export_wallet<B, D: BatchDatabase>(
    wallet: &Wallet<B, D>,
    label: &str,
    include_blockheight: bool
) -> Result<Self, &'static str>
[src]

Export a wallet

+

Implementations

impl WalletExport[src]

pub fn export_wallet<B, D: BatchDatabase>(
    wallet: &Wallet<B, D>,
    label: &str,
    include_blockheight: bool
) -> Result<Self, &'static str>
[src]

Export a wallet

This function returns an error if it determines that the wallet’s descriptor(s) are not supported by Bitcoin Core or don’t follow the standard derivation paths defined by BIP44 and others.

@@ -18,23 +18,23 @@ and others.

for the oldest transaction it knows and use that as the earliest block to rescan.

If the database is empty or include_blockheight is false, the blockheight field returned will be 0.

-

pub fn descriptor(&self) -> String[src]

Return the external descriptor

-

pub fn change_descriptor(&self) -> Option<String>[src]

Return the internal descriptor, if present

-

Trait Implementations

impl Debug for WalletExport[src]

impl<'de> Deserialize<'de> for WalletExport[src]

impl FromStr for WalletExport[src]

type Err = Error

The associated error which can be returned from parsing.

-

impl Serialize for WalletExport[src]

impl ToString for WalletExport[src]

pub fn descriptor(&self) -> String[src]

Return the external descriptor

+

pub fn change_descriptor(&self) -> Option<String>[src]

Return the internal descriptor, if present

+

Trait Implementations

impl Debug for WalletExport[src]

impl<'de> Deserialize<'de> for WalletExport[src]

impl FromStr for WalletExport[src]

type Err = Error

The associated error which can be returned from parsing.

+

impl Serialize for WalletExport[src]

impl ToString for WalletExport[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

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

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html index 7a2eb13cdc..d00d57cd5f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html @@ -1,7 +1,7 @@ -bdk::wallet - Rust +bdk::wallet - Rust -

Module bdk::wallet[][src]

Wallet

+

Module bdk::wallet[][src]

Wallet

This module defines the Wallet structure.

Modules

address_validator

Address validation callbacks

@@ -14,5 +14,5 @@
Wallet

A Bitcoin wallet

Traits

IsDust

Trait to check if a value is below the dust limit

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html index 539a81e5da..29dc8ef7df 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerError.html @@ -1,7 +1,7 @@ -bdk::wallet::signer::SignerError - Rust +bdk::wallet::signer::SignerError - Rust -

Enum bdk::wallet::signer::SignerError[][src]

pub enum SignerError {
+

Enum bdk::wallet::signer::SignerError[][src]

pub enum SignerError {
     MissingKey,
     InvalidKey,
     UserCanceled,
@@ -23,28 +23,28 @@
 
MissingWitnessUtxo

The witness_utxo field of the transaction is required to sign this input

MissingWitnessScript

The witness_script field of the transaction is requied to sign this input

MissingHDKeypath

The fingerprint and derivation path are missing from the psbt input

-

Trait Implementations

impl Clone for SignerError[src]

impl Debug for SignerError[src]

impl Display for SignerError[src]

impl Eq for SignerError[src]

impl Error for SignerError[src]

Trait Implementations

impl Clone for SignerError[src]

impl Debug for SignerError[src]

impl Display for SignerError[src]

impl Eq for SignerError[src]

impl Error for SignerError[src]

impl From<SignerError> for Error[src]

impl PartialEq<SignerError> for SignerError[src]

impl From<SignerError> for Error[src]

impl PartialEq<SignerError> for SignerError[src]

impl StructuralEq for SignerError[src]

impl StructuralPartialEq for SignerError[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 StructuralEq for SignerError[src]

impl StructuralPartialEq for SignerError[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html index f18f25b3c7..2b43f1706d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/enum.SignerId.html @@ -1,7 +1,7 @@ -bdk::wallet::signer::SignerId - Rust +bdk::wallet::signer::SignerId - Rust -

Enum bdk::wallet::signer::SignerId[][src]

pub enum SignerId {
+

Enum bdk::wallet::signer::SignerId[][src]

pub enum SignerId {
     PkHash(Hash),
     Fingerprint(Fingerprint),
     Dummy(u64),
@@ -12,37 +12,37 @@ multiple of them

PkHash(Hash)

Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA public key

Fingerprint(Fingerprint)

The fingerprint of a BIP32 extended key

Dummy(u64)

Dummy identifier

-

Trait Implementations

impl Clone for SignerId[src]

impl Debug for SignerId[src]

impl Eq for SignerId[src]

impl From<Fingerprint> for SignerId[src]

impl From<Hash> for SignerId[src]

impl Hash for SignerId[src]

Trait Implementations

impl Clone for SignerId[src]

impl Debug for SignerId[src]

impl Eq for SignerId[src]

impl From<Fingerprint> for SignerId[src]

impl From<Hash> for SignerId[src]

impl Hash for SignerId[src]

impl Ord for SignerId[src]

impl Ord for SignerId[src]

impl PartialEq<SignerId> for SignerId[src]

impl PartialEq<SignerId> for SignerId[src]

impl PartialOrd<SignerId> for SignerId[src]

impl PartialOrd<SignerId> for SignerId[src]

impl StructuralEq for SignerId[src]

impl StructuralPartialEq for SignerId[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 StructuralEq for SignerId[src]

impl StructuralPartialEq for SignerId[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html index bca913a44b..ea081dc76b 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html @@ -1,7 +1,7 @@ -bdk::wallet::signer - Rust +bdk::wallet::signer - Rust -

Module bdk::wallet::signer[][src]

Generalized signers

+

Module bdk::wallet::signer[][src]

Generalized signers

This module provides the ability to add customized signers to a Wallet through the Wallet::add_signer function.

@@ -58,5 +58,5 @@ through the < multiple of them

Traits

Signer

Trait for signers

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html index 5401128e1e..4eea2d57ef 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignerOrdering.html @@ -1,38 +1,38 @@ -bdk::wallet::signer::SignerOrdering - Rust +bdk::wallet::signer::SignerOrdering - Rust -

Struct bdk::wallet::signer::SignerOrdering[][src]

pub struct SignerOrdering(pub usize);

Defines the order in which signers are called

+

Struct bdk::wallet::signer::SignerOrdering[][src]

pub struct SignerOrdering(pub usize);

Defines the order in which signers are called

The default value is 100. Signers with an ordering above that will be called later, and they will thus see the partial signatures added to the transaction once they get to sign themselves.

-

Trait Implementations

impl Clone for SignerOrdering[src]

impl Debug for SignerOrdering[src]

impl Default for SignerOrdering[src]

impl Eq for SignerOrdering[src]

impl Ord for SignerOrdering[src]

Trait Implementations

impl Clone for SignerOrdering[src]

impl Debug for SignerOrdering[src]

impl Default for SignerOrdering[src]

impl Eq for SignerOrdering[src]

impl Ord for SignerOrdering[src]

impl PartialEq<SignerOrdering> for SignerOrdering[src]

impl PartialEq<SignerOrdering> for SignerOrdering[src]

impl PartialOrd<SignerOrdering> for SignerOrdering[src]

impl PartialOrd<SignerOrdering> for SignerOrdering[src]

impl StructuralEq for SignerOrdering[src]

impl StructuralPartialEq for SignerOrdering[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 StructuralEq for SignerOrdering[src]

impl StructuralPartialEq for SignerOrdering[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html index 9bcc92c5f3..b5ff5c3dd2 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/struct.SignersContainer.html @@ -1,29 +1,29 @@ -bdk::wallet::signer::SignersContainer - Rust +bdk::wallet::signer::SignersContainer - Rust -

Struct bdk::wallet::signer::SignersContainer[][src]

pub struct SignersContainer(_);

Container for multiple signers

-

Implementations

impl SignersContainer[src]

pub fn as_key_map(&self, secp: &Secp256k1<All>) -> KeyMap[src]

Create a map of public keys to secret keys

-

impl SignersContainer[src]

pub fn new() -> Self[src]

Default constructor

-

pub fn add_external(
    &mut self,
    id: SignerId,
    ordering: SignerOrdering,
    signer: Arc<dyn Signer>
) -> Option<Arc<dyn Signer>>
[src]

Adds an external signer to the container for the specified id. Optionally returns the +

Struct bdk::wallet::signer::SignersContainer[][src]

pub struct SignersContainer(_);

Container for multiple signers

+

Implementations

impl SignersContainer[src]

pub fn as_key_map(&self, secp: &Secp256k1<All>) -> KeyMap[src]

Create a map of public keys to secret keys

+

impl SignersContainer[src]

pub fn new() -> Self[src]

Default constructor

+

pub fn add_external(
    &mut self,
    id: SignerId,
    ordering: SignerOrdering,
    signer: Arc<dyn Signer>
) -> Option<Arc<dyn Signer>>
[src]

Adds an external signer to the container for the specified id. Optionally returns the signer that was previously in the container, if any

-

pub fn remove(
    &mut self,
    id: SignerId,
    ordering: SignerOrdering
) -> Option<Arc<dyn Signer>>
[src]

Removes a signer from the container and returns it

-

pub fn ids(&self) -> Vec<&SignerId>[src]

Returns the list of identifiers of all the signers in the container

-

pub fn signers(&self) -> Vec<&Arc<dyn Signer>>[src]

Returns the list of signers in the container, sorted by lowest to highest ordering

-

pub fn find(&self, id: SignerId) -> Option<&Arc<dyn Signer>>[src]

Finds the signer with lowest ordering for a given id in the container.

-

Trait Implementations

impl Clone for SignersContainer[src]

impl Debug for SignersContainer[src]

impl Default for SignersContainer[src]

impl From<HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>> for SignersContainer[src]

pub fn remove(
    &mut self,
    id: SignerId,
    ordering: SignerOrdering
) -> Option<Arc<dyn Signer>>
[src]

Removes a signer from the container and returns it

+

pub fn ids(&self) -> Vec<&SignerId>[src]

Returns the list of identifiers of all the signers in the container

+

pub fn signers(&self) -> Vec<&Arc<dyn Signer>>[src]

Returns the list of signers in the container, sorted by lowest to highest ordering

+

pub fn find(&self, id: SignerId) -> Option<&Arc<dyn Signer>>[src]

Finds the signer with lowest ordering for a given id in the container.

+

Trait Implementations

impl Clone for SignersContainer[src]

impl Debug for SignersContainer[src]

impl Default for SignersContainer[src]

impl From<HashMap<DescriptorPublicKey, DescriptorSecretKey, RandomState>> for SignersContainer[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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html index 2718c2593c..ebdf90429d 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/trait.Signer.html @@ -1,7 +1,7 @@ -bdk::wallet::signer::Signer - Rust +bdk::wallet::signer::Signer - Rust -

Trait bdk::wallet::signer::Signer[][src]

pub trait Signer: Debug + Send + Sync {
+

Trait bdk::wallet::signer::Signer[][src]

pub trait Signer: Debug + Send + Sync {
     fn sign(
        &self,
        psbt: &mut PartiallySignedTransaction,
        input_index: Option<usize>,
        secp: &Secp256k1<All>
    ) -> Result<(), SignerError>;
fn sign_whole_tx(&self) -> bool;
fn id(&self, secp: &Secp256k1<All>) -> SignerId; @@ -10,18 +10,18 @@ }

Trait for signers

This trait can be implemented to provide customized signers to the wallet. For an example see this module’s documentation.

-

Required methods

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

Sign a PSBT

+

Required methods

fn sign(
    &self,
    psbt: &mut PartiallySignedTransaction,
    input_index: Option<usize>,
    secp: &Secp256k1<All>
) -> Result<(), SignerError>
[src]

Sign a PSBT

The input_index argument is only provided if the wallet doesn’t declare to sign the whole transaction in one go (see Signer::sign_whole_tx). Otherwise its value is None and can be ignored.

-

fn sign_whole_tx(&self) -> bool[src]

Return whether or not the signer signs the whole transaction in one go instead of every +

fn sign_whole_tx(&self) -> bool[src]

Return whether or not the signer signs the whole transaction in one go instead of every input individually

-

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

Return the SignerId for this signer

+

fn id(&self, secp: &Secp256k1<All>) -> SignerId[src]

Return the SignerId for this signer

The SignerId can be used to lookup a signer in the Wallet’s signers map or to compare two signers.

-
Loading content...

Provided methods

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

Return the secret key for the signer

+
Loading content...

Provided methods

fn descriptor_secret_key(&self) -> Option<DescriptorSecretKey>[src]

Return the secret key for the signer

This is used internally to reconstruct the original descriptor that may contain secrets. External signers that are meant to keep key isolated should just return None here (which is the default for this method, if not overridden).

-
Loading content...

Implementations on Foreign Types

impl Signer for DescriptorXKey<ExtendedPrivKey>[src]

impl Signer for PrivateKey[src]

Loading content...

Implementors

Loading content...
- \ No newline at end of file +
Loading content...

Implementations on Foreign Types

impl Signer for DescriptorXKey<ExtendedPrivKey>[src]

impl Signer for PrivateKey[src]

Loading content...

Implementors

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html index 9cc0428cd0..92095bf08a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html @@ -1,7 +1,7 @@ -bdk::wallet::Wallet - Rust +bdk::wallet::Wallet - Rust -

Struct bdk::wallet::Wallet[][src]

pub struct Wallet<B, D> { /* fields omitted */ }

A Bitcoin wallet

+

Struct bdk::wallet::Wallet[][src]

pub struct Wallet<B, D> { /* fields omitted */ }

A Bitcoin wallet

A wallet takes descriptors, a database and a blockchain and implements the basic functions that a Bitcoin wallets needs to operate, like generating addresses, returning the balance, @@ -9,27 +9,27 @@ needs to operate, like blockchain type provided implements Blockchain, or “offline” if it is the unit type (). Offline wallets only expose methods that don’t need any interaction with the blockchain to work.

-

Implementations

impl<D> Wallet<(), D> where
    D: BatchDatabase
[src]

pub fn new_offline<E: IntoWalletDescriptor>(
    descriptor: E,
    change_descriptor: Option<E>,
    network: Network,
    database: D
) -> Result<Self, Error>
[src]

Create a new “offline” wallet

-

impl<B, D> Wallet<B, D> where
    D: BatchDatabase
[src]

pub fn get_new_address(&self) -> Result<Address, Error>[src]

Return a newly generated address using the external descriptor

-

pub fn is_mine(&self, script: &Script) -> Result<bool, Error>[src]

Return whether or not a script is part of this wallet (either internal or external)

-

pub fn list_unspent(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of unspent outputs of this wallet

+

Implementations

impl<D> Wallet<(), D> where
    D: BatchDatabase
[src]

pub fn new_offline<E: IntoWalletDescriptor>(
    descriptor: E,
    change_descriptor: Option<E>,
    network: Network,
    database: D
) -> Result<Self, Error>
[src]

Create a new “offline” wallet

+

impl<B, D> Wallet<B, D> where
    D: BatchDatabase
[src]

pub fn get_new_address(&self) -> Result<Address, Error>[src]

Return a newly generated address using the external descriptor

+

pub fn is_mine(&self, script: &Script) -> Result<bool, Error>[src]

Return whether or not a script is part of this wallet (either internal or external)

+

pub fn list_unspent(&self) -> Result<Vec<LocalUtxo>, Error>[src]

Return the list of unspent outputs of this wallet

Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

-

pub fn get_utxo(&self, outpoint: OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Returns the UTXO owned by this wallet corresponding to outpoint if it exists in the +

pub fn get_utxo(&self, outpoint: OutPoint) -> Result<Option<LocalUtxo>, Error>[src]

Returns the UTXO owned by this wallet corresponding to outpoint if it exists in the wallet’s database.

-

pub fn list_transactions(
    &self,
    include_raw: bool
) -> Result<Vec<TransactionDetails>, Error>
[src]

Return the list of transactions made and received by the wallet

+

pub fn list_transactions(
    &self,
    include_raw: bool
) -> Result<Vec<TransactionDetails>, Error>
[src]

Return the list of transactions made and received by the wallet

Optionally fill the TransactionDetails::transaction field with the raw transaction if include_raw is true.

Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

-

pub fn get_balance(&self) -> Result<u64, Error>[src]

Return the balance, meaning the sum of this wallet’s unspent outputs’ values

+

pub fn get_balance(&self) -> Result<u64, Error>[src]

Return the balance, meaning the sum of this wallet’s unspent outputs’ values

Note that this methods only operate on the internal database, which first needs to be Wallet::sync manually.

-

pub fn add_signer(
    &mut self,
    keychain: KeychainKind,
    ordering: SignerOrdering,
    signer: Arc<dyn Signer>
)
[src]

Add an external signer

+

pub fn add_signer(
    &mut self,
    keychain: KeychainKind,
    ordering: SignerOrdering,
    signer: Arc<dyn Signer>
)
[src]

Add an external signer

See the signer module for an example.

-

pub fn add_address_validator(&mut self, validator: Arc<dyn AddressValidator>)[src]

Add an address validator

+

pub fn add_address_validator(&mut self, validator: Arc<dyn AddressValidator>)[src]

Add an address validator

See the address_validator module for an example.

-

pub fn build_tx(
    &self
) -> TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, CreateTx>
[src]

Start building a transaction.

+

pub fn build_tx(
    &self
) -> TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, CreateTx>
[src]

Start building a transaction.

This returns a blank TxBuilder from which you can specify the parameters for the transaction.

Example

@@ -41,7 +41,7 @@ wallet’s database.

}; // sign and broadcast ...
-

pub fn build_fee_bump(
    &self,
    txid: Txid
) -> Result<TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, BumpFee>, Error>
[src]

Bump the fee of a transaction previously created with this wallet.

+

pub fn build_fee_bump(
    &self,
    txid: Txid
) -> Result<TxBuilder<'_, B, D, DefaultCoinSelectionAlgorithm, BumpFee>, Error>
[src]

Bump the fee of a transaction previously created with this wallet.

Returns an error if the transaction is already confirmed or doesn’t explicitly signal repalce by fee (RBF). If the transaction can be fee bumped then it returns a TxBuilder pre-populated with the inputs and outputs of the original transaction.

@@ -70,7 +70,7 @@ only output’s value in order to increase the fees.

let (psbt, _) = wallet.sign(psbt, None)?; let fee_bumped_tx = psbt.extract_tx(); // broadcast fee_bumped_tx to replace original
-

pub fn sign(
    &self,
    psbt: PSBT,
    assume_height: Option<u32>
) -> Result<(PSBT, bool), Error>
[src]

Sign a transaction with all the wallet’s signers, in the order specified by every signer’s +

pub fn sign(
    &self,
    psbt: PSBT,
    assume_height: Option<u32>
) -> Result<(PSBT, bool), Error>
[src]

Sign a transaction with all the wallet’s signers, in the order specified by every signer’s SignerOrdering

Example

@@ -81,28 +81,28 @@ only output’s value in order to increase the fees.

}; let (signed_psbt, finalized) = wallet.sign(psbt, None)?; assert!(finalized, "we should have signed all the inputs");
-

pub fn policies(&self, keychain: KeychainKind) -> Result<Option<Policy>, Error>[src]

Return the spending policies for the wallet’s descriptor

-

pub fn public_descriptor(
    &self,
    keychain: KeychainKind
) -> Result<Option<ExtendedDescriptor>, Error>
[src]

Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has +

pub fn policies(&self, keychain: KeychainKind) -> Result<Option<Policy>, Error>[src]

Return the spending policies for the wallet’s descriptor

+

pub fn public_descriptor(
    &self,
    keychain: KeychainKind
) -> Result<Option<ExtendedDescriptor>, Error>
[src]

Return the “public” version of the wallet’s descriptor, meaning a new descriptor that has the same structure but with every secret key removed

This can be used to build a watch-only version of a wallet

-

pub fn finalize_psbt(
    &self,
    psbt: PSBT,
    assume_height: Option<u32>
) -> Result<(PSBT, bool), Error>
[src]

Try to finalize a PSBT

-

pub fn secp_ctx(&self) -> &Secp256k1<All>[src]

Return the secp256k1 context used for all signing operations

-

pub fn get_descriptor_for_keychain(
    &self,
    keychain: KeychainKind
) -> &ExtendedDescriptor
[src]

Returns the descriptor used to create adddresses for a particular keychain.

-

impl<B, D> Wallet<B, D> where
    B: Blockchain,
    D: BatchDatabase
[src]

pub fn new<E: IntoWalletDescriptor>(
    descriptor: E,
    change_descriptor: Option<E>,
    network: Network,
    database: D,
    client: B
) -> Result<Self, Error>
[src]

Create a new “online” wallet

-

pub fn sync<P: 'static + Progress>(
    &self,
    progress_update: P,
    max_address_param: Option<u32>
) -> Result<(), Error>
[src]

Sync the internal database with the blockchain

-

pub fn client(&self) -> &B[src]

Return a reference to the internal blockchain client

-

pub fn network(&self) -> Network[src]

Get the Bitcoin network the wallet is using.

-

pub fn broadcast(&self, tx: Transaction) -> Result<Txid, Error>[src]

Broadcast a transaction to the network

-

Trait Implementations

impl<B: Debug, D: Debug> Debug for Wallet<B, D>[src]

pub fn finalize_psbt(
    &self,
    psbt: PSBT,
    assume_height: Option<u32>
) -> Result<(PSBT, bool), Error>
[src]

Try to finalize a PSBT

+

pub fn secp_ctx(&self) -> &Secp256k1<All>[src]

Return the secp256k1 context used for all signing operations

+

pub fn get_descriptor_for_keychain(
    &self,
    keychain: KeychainKind
) -> &ExtendedDescriptor
[src]

Returns the descriptor used to create adddresses for a particular keychain.

+

impl<B, D> Wallet<B, D> where
    B: Blockchain,
    D: BatchDatabase
[src]

pub fn new<E: IntoWalletDescriptor>(
    descriptor: E,
    change_descriptor: Option<E>,
    network: Network,
    database: D,
    client: B
) -> Result<Self, Error>
[src]

Create a new “online” wallet

+

pub fn sync<P: 'static + Progress>(
    &self,
    progress_update: P,
    max_address_param: Option<u32>
) -> Result<(), Error>
[src]

Sync the internal database with the blockchain

+

pub fn client(&self) -> &B[src]

Return a reference to the internal blockchain client

+

pub fn network(&self) -> Network[src]

Get the Bitcoin network the wallet is using.

+

pub fn broadcast(&self, tx: Transaction) -> Result<Txid, Error>[src]

Broadcast a transaction to the network

+

Trait Implementations

impl<B: Debug, D: Debug> Debug for Wallet<B, D>[src]

Auto Trait Implementations

impl<B, D> !RefUnwindSafe for Wallet<B, D>

impl<B, D> Send for Wallet<B, D> where
    B: Send,
    D: Send

impl<B, D> !Sync for Wallet<B, D>

impl<B, D> Unpin for Wallet<B, D> where
    B: Unpin,
    D: Unpin

impl<B, D> !UnwindSafe for Wallet<B, D>

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

-

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html index 11860200da..a6c6161252 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/fn.get_timestamp.html @@ -1,6 +1,6 @@ -bdk::wallet::time::get_timestamp - Rust +bdk::wallet::time::get_timestamp - Rust -

Function bdk::wallet::time::get_timestamp[][src]

pub fn get_timestamp() -> u64

Return the current timestamp in seconds

-
- \ No newline at end of file +

Function bdk::wallet::time::get_timestamp[][src]

pub fn get_timestamp() -> u64

Return the current timestamp in seconds

+
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html index 9ee8fb4955..62b9b3348a 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/time/index.html @@ -1,12 +1,12 @@ -bdk::wallet::time - Rust +bdk::wallet::time - Rust -

Module bdk::wallet::time[][src]

Cross-platform time

+

Module bdk::wallet::time[][src]

Cross-platform time

This module provides a function to get the current timestamp that works on all the platforms supported by the library.

It can be useful to compare it with the timestamps found in TransactionDetails.

Functions

get_timestamp

Return the current timestamp in seconds

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html index d77ddfbd47..dbb6c9b654 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/trait.IsDust.html @@ -1,9 +1,9 @@ -bdk::wallet::IsDust - Rust +bdk::wallet::IsDust - Rust -

Trait bdk::wallet::IsDust[][src]

pub trait IsDust {
+

Trait bdk::wallet::IsDust[][src]

pub trait IsDust {
     fn is_dust(&self) -> bool;
 }

Trait to check if a value is below the dust limit

-

Required methods

fn is_dust(&self) -> bool[src]

Check whether or not a value is below dust limit

-
Loading content...

Implementations on Foreign Types

impl IsDust for u64[src]

Loading content...

Implementors

Loading content...
- \ No newline at end of file +

Required methods

fn is_dust(&self) -> bool[src]

Check whether or not a value is below dust limit

+
Loading content...

Implementations on Foreign Types

impl IsDust for u64[src]

Loading content...

Implementors

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html index fdc73e93ea..c20a28f214 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.ChangeSpendPolicy.html @@ -1,7 +1,7 @@ -bdk::wallet::tx_builder::ChangeSpendPolicy - Rust +bdk::wallet::tx_builder::ChangeSpendPolicy - Rust -

Enum bdk::wallet::tx_builder::ChangeSpendPolicy[][src]

pub enum ChangeSpendPolicy {
+

Enum bdk::wallet::tx_builder::ChangeSpendPolicy[][src]

pub enum ChangeSpendPolicy {
     ChangeAllowed,
     OnlyChange,
     ChangeForbidden,
@@ -11,36 +11,36 @@
 
ChangeAllowed

Use both change and non-change outputs (default)

OnlyChange

Only use change outputs (see TxBuilder::only_spend_change)

ChangeForbidden

Only use non-change outputs (see TxBuilder::do_not_spend_change)

-

Trait Implementations

impl Clone for ChangeSpendPolicy[src]

impl Copy for ChangeSpendPolicy[src]

impl Debug for ChangeSpendPolicy[src]

impl Default for ChangeSpendPolicy[src]

impl Eq for ChangeSpendPolicy[src]

impl Hash for ChangeSpendPolicy[src]

Trait Implementations

impl Clone for ChangeSpendPolicy[src]

impl Copy for ChangeSpendPolicy[src]

impl Debug for ChangeSpendPolicy[src]

impl Default for ChangeSpendPolicy[src]

impl Eq for ChangeSpendPolicy[src]

impl Hash for ChangeSpendPolicy[src]

impl Ord for ChangeSpendPolicy[src]

impl Ord for ChangeSpendPolicy[src]

impl PartialEq<ChangeSpendPolicy> for ChangeSpendPolicy[src]

impl PartialEq<ChangeSpendPolicy> for ChangeSpendPolicy[src]

impl PartialOrd<ChangeSpendPolicy> for ChangeSpendPolicy[src]

impl PartialOrd<ChangeSpendPolicy> for ChangeSpendPolicy[src]

impl StructuralEq for ChangeSpendPolicy[src]

impl StructuralPartialEq for ChangeSpendPolicy[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 StructuralEq for ChangeSpendPolicy[src]

impl StructuralPartialEq for ChangeSpendPolicy[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html index be1b32284b..5f6f1ee7e7 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/enum.TxOrdering.html @@ -1,7 +1,7 @@ -bdk::wallet::tx_builder::TxOrdering - Rust +bdk::wallet::tx_builder::TxOrdering - Rust -

Enum bdk::wallet::tx_builder::TxOrdering[][src]

pub enum TxOrdering {
+

Enum bdk::wallet::tx_builder::TxOrdering[][src]

pub enum TxOrdering {
     Shuffle,
     Untouched,
     BIP69Lexicographic,
@@ -11,37 +11,37 @@
 
Shuffle

Randomized (default)

Untouched

Unchanged

BIP69Lexicographic

BIP69 / Lexicographic

-

Implementations

impl TxOrdering[src]

pub fn sort_tx(&self, tx: &mut Transaction)[src]

Sort transaction inputs and outputs by TxOrdering variant

-

Trait Implementations

impl Clone for TxOrdering[src]

impl Copy for TxOrdering[src]

impl Debug for TxOrdering[src]

impl Default for TxOrdering[src]

impl Eq for TxOrdering[src]

impl Hash for TxOrdering[src]

Implementations

impl TxOrdering[src]

pub fn sort_tx(&self, tx: &mut Transaction)[src]

Sort transaction inputs and outputs by TxOrdering variant

+

Trait Implementations

impl Clone for TxOrdering[src]

impl Copy for TxOrdering[src]

impl Debug for TxOrdering[src]

impl Default for TxOrdering[src]

impl Eq for TxOrdering[src]

impl Hash for TxOrdering[src]

impl Ord for TxOrdering[src]

impl Ord for TxOrdering[src]

impl PartialEq<TxOrdering> for TxOrdering[src]

impl PartialEq<TxOrdering> for TxOrdering[src]

impl PartialOrd<TxOrdering> for TxOrdering[src]

impl PartialOrd<TxOrdering> for TxOrdering[src]

impl StructuralEq for TxOrdering[src]

impl StructuralPartialEq for TxOrdering[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 StructuralEq for TxOrdering[src]

impl StructuralPartialEq for TxOrdering[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<Q, K> Equivalent<K> for Q where
    Q: Eq + ?Sized,
    K: Borrow<Q> + ?Sized
[src]

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

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

impl<T> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html index 0610d401ed..bcba8bfca6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/index.html @@ -1,7 +1,7 @@ -bdk::wallet::tx_builder - Rust +bdk::wallet::tx_builder - Rust -

Module bdk::wallet::tx_builder[][src]

Transaction builder

+

Module bdk::wallet::tx_builder[][src]

Transaction builder

Example

 // create a TxBuilder from a wallet
@@ -27,5 +27,5 @@ to bumping the fee of an existing one).

TxOrdering

Ordering of the transaction’s inputs and outputs

Traits

TxBuilderContext

Context in which the TxBuilder is valid

-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html index 61ebff428e..41816a260f 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.BumpFee.html @@ -1,20 +1,20 @@ -bdk::wallet::tx_builder::BumpFee - Rust +bdk::wallet::tx_builder::BumpFee - Rust -

Struct bdk::wallet::tx_builder::BumpFee[][src]

pub struct BumpFee;

Marker type to indicate the TxBuilder is being used to bump the fee of an existing transaction.

-

Trait Implementations

impl Clone for BumpFee[src]

impl Debug for BumpFee[src]

impl Default for BumpFee[src]

impl TxBuilderContext for BumpFee[src]

Auto Trait Implementations

impl RefUnwindSafe for BumpFee

impl Send for BumpFee

impl Sync for BumpFee

impl Unpin for BumpFee

impl UnwindSafe for BumpFee

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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html index 53c83d1379..b5f335c6d5 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.CreateTx.html @@ -1,21 +1,21 @@ -bdk::wallet::tx_builder::CreateTx - Rust +bdk::wallet::tx_builder::CreateTx - Rust -

Struct bdk::wallet::tx_builder::CreateTx[][src]

pub struct CreateTx;

Marker type to indicate the TxBuilder is being used to create a new transaction (as opposed +

Struct bdk::wallet::tx_builder::CreateTx[][src]

pub struct CreateTx;

Marker type to indicate the TxBuilder is being used to create a new transaction (as opposed to bumping the fee of an existing one).

-

Trait Implementations

impl Clone for CreateTx[src]

impl Debug for CreateTx[src]

impl Default for CreateTx[src]

impl TxBuilderContext for CreateTx[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]

Trait Implementations

impl Clone for CreateTx[src]

impl Debug for CreateTx[src]

impl Default for CreateTx[src]

impl TxBuilderContext for CreateTx[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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html index bca8553488..5840c0b090 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html @@ -1,7 +1,7 @@ -bdk::wallet::tx_builder::TxBuilder - Rust +bdk::wallet::tx_builder::TxBuilder - Rust -

Struct bdk::wallet::tx_builder::TxBuilder[][src]

pub struct TxBuilder<'a, B, D, Cs, Ctx> { /* fields omitted */ }

A transaction builder

+

Struct bdk::wallet::tx_builder::TxBuilder[][src]

pub struct TxBuilder<'a, B, D, Cs, Ctx> { /* fields omitted */ }

A transaction builder

A TxBuilder is created by calling build_tx or build_fee_bump on a wallet. After assigning it, you set options on it until finally calling finish to consume the builder and generate the transaction.

@@ -33,9 +33,9 @@ as in the following example:

At the moment coin_selection is an exception to the rule as it consumes self. This means it is usually best to call coin_selection on the return value of build_tx before assigning it.

For further examples see this module’s documentation;

-

Implementations

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>, Ctx: TxBuilderContext> TxBuilder<'a, B, D, Cs, Ctx>[src]

pub fn fee_rate(&mut self, fee_rate: FeeRate) -> &mut Self[src]

Set a custom fee rate

-

pub fn fee_absolute(&mut self, fee_amount: u64) -> &mut Self[src]

Set an absolute fee

-

pub fn policy_path(
    &mut self,
    policy_path: BTreeMap<String, Vec<usize>>,
    keychain: KeychainKind
) -> &mut Self
[src]

Set the policy path to use while creating the transaction for a given keychain.

+

Implementations

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>, Ctx: TxBuilderContext> TxBuilder<'a, B, D, Cs, Ctx>[src]

pub fn fee_rate(&mut self, fee_rate: FeeRate) -> &mut Self[src]

Set a custom fee rate

+

pub fn fee_absolute(&mut self, fee_amount: u64) -> &mut Self[src]

Set an absolute fee

+

pub fn policy_path(
    &mut self,
    policy_path: BTreeMap<String, Vec<usize>>,
    keychain: KeychainKind
) -> &mut Self
[src]

Set the policy path to use while creating the transaction for a given keychain.

This method accepts a map where the key is the policy node id (see Policy::id) and the value is the list of the indexes of the items that are intended to be satisfied from the policy node (see @@ -79,14 +79,14 @@ multiple entries can be added to the map, one for each node that requires an exp .add_recipient(to_address.script_pubkey(), 50_000) .policy_path(path, KeychainKind::External);

-

pub fn add_utxos(&mut self, outpoints: &[OutPoint]) -> Result<&mut Self, Error>[src]

Add the list of outpoints to the internal list of UTXOs that must be spent.

+

pub fn add_utxos(&mut self, outpoints: &[OutPoint]) -> Result<&mut Self, Error>[src]

Add the list of outpoints to the internal list of UTXOs that must be spent.

If an error occurs while adding any of the UTXOs then none of them are added and the error is returned.

These have priority over the “unspendable” utxos, meaning that if a utxo is present both in the “utxos” and the “unspendable” list, it will be spent.

-

pub fn add_utxo(&mut self, outpoint: OutPoint) -> Result<&mut Self, Error>[src]

Add a utxo to the internal list of utxos that must be spent

+

pub fn add_utxo(&mut self, outpoint: OutPoint) -> Result<&mut Self, Error>[src]

Add a utxo to the internal list of utxos that must be spent

These have priority over the “unspendable” utxos, meaning that if a utxo is present both in the “utxos” and the “unspendable” list, it will be spent.

-

pub fn add_foreign_utxo(
    &mut self,
    outpoint: OutPoint,
    psbt_input: Input,
    satisfaction_weight: usize
) -> Result<&mut Self, Error>
[src]

Add a foreign UTXO i.e. a UTXO not owned by this wallet.

+

pub fn add_foreign_utxo(
    &mut self,
    outpoint: OutPoint,
    psbt_input: Input,
    satisfaction_weight: usize
) -> Result<&mut Self, Error>
[src]

Add a foreign UTXO i.e. a UTXO not owned by this wallet.

At a minimum to add a foreign UTXO we need:

  1. outpoint: To add it to the raw transaction.
  2. @@ -117,50 +117,50 @@ of course check the real input weight matches the expected weight prior to broad

Note if you set force_non_witness_utxo any psbt_input you pass to this method must have non_witness_utxo set otherwise you will get an error when finish is called.

-

pub fn manually_selected_only(&mut self) -> &mut Self[src]

Only spend utxos added by add_utxo.

+

pub fn manually_selected_only(&mut self) -> &mut Self[src]

Only spend utxos added by add_utxo.

The wallet will not add additional utxos to the transaction even if they are needed to make the transaction valid.

-

pub fn unspendable(&mut self, unspendable: Vec<OutPoint>) -> &mut Self[src]

Replace the internal list of unspendable utxos with a new list

+

pub fn unspendable(&mut self, unspendable: Vec<OutPoint>) -> &mut Self[src]

Replace the internal list of unspendable utxos with a new list

It’s important to note that the “must-be-spent” utxos added with TxBuilder::add_utxo have priority over these. See the docs of the two linked methods for more details.

-

pub fn add_unspendable(&mut self, unspendable: OutPoint) -> &mut Self[src]

Add a utxo to the internal list of unspendable utxos

+

pub fn add_unspendable(&mut self, unspendable: OutPoint) -> &mut Self[src]

Add a utxo to the internal list of unspendable utxos

It’s important to note that the “must-be-spent” utxos added with TxBuilder::add_utxo have priority over this. See the docs of the two linked methods for more details.

-

pub fn sighash(&mut self, sighash: SigHashType) -> &mut Self[src]

Sign with a specific sig hash

+

pub fn sighash(&mut self, sighash: SigHashType) -> &mut Self[src]

Sign with a specific sig hash

Use this option very carefully

-

pub fn ordering(&mut self, ordering: TxOrdering) -> &mut Self[src]

Choose the ordering for inputs and outputs of the transaction

-

pub fn nlocktime(&mut self, locktime: u32) -> &mut Self[src]

Use a specific nLockTime while creating the transaction

+

pub fn ordering(&mut self, ordering: TxOrdering) -> &mut Self[src]

Choose the ordering for inputs and outputs of the transaction

+

pub fn nlocktime(&mut self, locktime: u32) -> &mut Self[src]

Use a specific nLockTime while creating the transaction

This can cause conflicts if the wallet’s descriptors contain an “after” (OP_CLTV) operator.

-

pub fn version(&mut self, version: i32) -> &mut Self[src]

Build a transaction with a specific version

+

pub fn version(&mut self, version: i32) -> &mut Self[src]

Build a transaction with a specific version

The version should always be greater than 0 and greater than 1 if the wallet’s descriptors contain an “older” (OP_CSV) operator.

-

pub fn do_not_spend_change(&mut self) -> &mut Self[src]

Do not spend change outputs

+

pub fn do_not_spend_change(&mut self) -> &mut Self[src]

Do not spend change outputs

This effectively adds all the change outputs to the “unspendable” list. See TxBuilder::unspendable.

-

pub fn only_spend_change(&mut self) -> &mut Self[src]

Only spend change outputs

+

pub fn only_spend_change(&mut self) -> &mut Self[src]

Only spend change outputs

This effectively adds all the non-change outputs to the “unspendable” list. See TxBuilder::unspendable.

-

pub fn change_policy(&mut self, change_policy: ChangeSpendPolicy) -> &mut Self[src]

pub fn change_policy(&mut self, change_policy: ChangeSpendPolicy) -> &mut Self[src]

pub fn force_non_witness_utxo(&mut self) -> &mut Self[src]

Fill-in the psbt::Input::non_witness_utxo field even if the wallet only has SegWit +

pub fn force_non_witness_utxo(&mut self) -> &mut Self[src]

Fill-in the psbt::Input::non_witness_utxo field even if the wallet only has SegWit descriptors.

This is useful for signers which always require it, like Trezor hardware wallets.

-

pub fn include_output_redeem_witness_script(&mut self) -> &mut Self[src]

Fill-in the psbt::Output::redeem_script and +

pub fn include_output_redeem_witness_script(&mut self) -> &mut Self[src]

Fill-in the psbt::Output::redeem_script and psbt::Output::witness_script fields.

This is useful for signers which always require it, like ColdCard hardware wallets.

-

pub fn add_global_xpubs(&mut self) -> &mut Self[src]

Fill-in the PSBT_GLOBAL_XPUB field with the extended keys contained in both the external +

pub fn add_global_xpubs(&mut self) -> &mut Self[src]

Fill-in the PSBT_GLOBAL_XPUB field with the extended keys contained in both the external and internal descriptors

This is useful for offline signers that take part to a multisig. Some hardware wallets like BitBox and ColdCard are known to require this.

-

pub fn drain_wallet(&mut self) -> &mut Self[src]

Spend all the available inputs. This respects filters like TxBuilder::unspendable and the change policy.

-

pub fn coin_selection<P: CoinSelectionAlgorithm<D>>(
    self,
    coin_selection: P
) -> TxBuilder<'a, B, D, P, Ctx>
[src]

Choose the coin selection algorithm

+

pub fn drain_wallet(&mut self) -> &mut Self[src]

Spend all the available inputs. This respects filters like TxBuilder::unspendable and the change policy.

+

pub fn coin_selection<P: CoinSelectionAlgorithm<D>>(
    self,
    coin_selection: P
) -> TxBuilder<'a, B, D, P, Ctx>
[src]

Choose the coin selection algorithm

Overrides the DefaultCoinSelectionAlgorithm.

Note that this function consumes the builder and returns it so it is usually best to put this as the first call on the builder.

-

pub fn finish(self) -> Result<(PSBT, TransactionDetails), Error>[src]

Finish the building the transaction.

+

pub fn finish(self) -> Result<(PSBT, TransactionDetails), Error>[src]

Finish the building the transaction.

Returns the BIP174 “PSBT” and summary details about the transaction.

-

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>> TxBuilder<'a, B, D, Cs, CreateTx>[src]

pub fn set_recipients(&mut self, recipients: Vec<(Script, u64)>) -> &mut Self[src]

Replace the recipients already added with a new list

-

pub fn add_recipient(&mut self, script_pubkey: Script, amount: u64) -> &mut Self[src]

Add a recipient to the internal list

-

pub fn set_single_recipient(&mut self, recipient: Script) -> &mut Self[src]

Set a single recipient that will get all the selected funds minus the fee. No change will +

impl<'a, B, D: BatchDatabase, Cs: CoinSelectionAlgorithm<D>> TxBuilder<'a, B, D, Cs, CreateTx>[src]

pub fn set_recipients(&mut self, recipients: Vec<(Script, u64)>) -> &mut Self[src]

Replace the recipients already added with a new list

+

pub fn add_recipient(&mut self, script_pubkey: Script, amount: u64) -> &mut Self[src]

Add a recipient to the internal list

+

pub fn set_single_recipient(&mut self, recipient: Script) -> &mut Self[src]

Set a single recipient that will get all the selected funds minus the fee. No change will be created

This method overrides any recipient set with set_recipients or add_recipient.

@@ -171,32 +171,32 @@ and selecting them with or maintain_single_recipient to correctly update the single output instead of adding one more for the change.

-

pub fn enable_rbf(&mut self) -> &mut Self[src]

Enable signaling RBF

+

pub fn enable_rbf(&mut self) -> &mut Self[src]

Enable signaling RBF

This will use the default nSequence value of 0xFFFFFFFD.

-

pub fn enable_rbf_with_sequence(&mut self, nsequence: u32) -> &mut Self[src]

Enable signaling RBF with a specific nSequence value

+

pub fn enable_rbf_with_sequence(&mut self, nsequence: u32) -> &mut Self[src]

Enable signaling RBF with a specific nSequence value

This can cause conflicts if the wallet’s descriptors contain an “older” (OP_CSV) operator and the given nsequence is lower than the CSV value.

If the nsequence is higher than 0xFFFFFFFD an error will be thrown, since it would not be a valid nSequence to signal RBF.

-

impl<'a, B, D: BatchDatabase> TxBuilder<'a, B, D, DefaultCoinSelectionAlgorithm, BumpFee>[src]

pub fn maintain_single_recipient(&mut self) -> Result<&mut Self, Error>[src]

Bump the fees of a transaction made with set_single_recipient

+

impl<'a, B, D: BatchDatabase> TxBuilder<'a, B, D, DefaultCoinSelectionAlgorithm, BumpFee>[src]

pub fn maintain_single_recipient(&mut self) -> Result<&mut Self, Error>[src]

Bump the fees of a transaction made with set_single_recipient

Unless extra inputs are specified with add_utxo, this flag will make bump_fee reduce the value of the existing output, or fail if it would be consumed entirely given the higher new fee rate.

If extra inputs are added and they are not entirely consumed in fees, a change output will not be added; the existing output will simply grow in value.

Fails if the transaction has more than one outputs.

-

Trait Implementations

impl<'a, Cs: Clone, Ctx, B, D> Clone for TxBuilder<'a, B, D, Cs, Ctx>[src]

impl<'a, B: Debug, D: Debug, Cs: Debug, Ctx: Debug> Debug for TxBuilder<'a, B, D, Cs, Ctx>[src]

Trait Implementations

impl<'a, Cs: Clone, Ctx, B, D> Clone for TxBuilder<'a, B, D, Cs, Ctx>[src]

impl<'a, B: Debug, D: Debug, Cs: Debug, Ctx: Debug> Debug for TxBuilder<'a, B, D, Cs, Ctx>[src]

Auto Trait Implementations

impl<'a, B, D, Cs, Ctx> !RefUnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

impl<'a, B, D, Cs, Ctx> !Send for TxBuilder<'a, B, D, Cs, Ctx>

impl<'a, B, D, Cs, Ctx> !Sync for TxBuilder<'a, B, D, Cs, Ctx>

impl<'a, B, D, Cs, Ctx> Unpin for TxBuilder<'a, B, D, Cs, Ctx> where
    Cs: Unpin,
    Ctx: Unpin

impl<'a, B, D, Cs, Ctx> !UnwindSafe for TxBuilder<'a, B, D, Cs, Ctx>

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> 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> Instrument for T[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

- \ No newline at end of file +

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html index c714ba9504..3eba4318b6 100644 --- a/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html +++ b/static/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/trait.TxBuilderContext.html @@ -1,6 +1,6 @@ -bdk::wallet::tx_builder::TxBuilderContext - Rust +bdk::wallet::tx_builder::TxBuilderContext - Rust -

Trait bdk::wallet::tx_builder::TxBuilderContext[][src]

pub trait TxBuilderContext: Debug + Default + Clone { }

Context in which the TxBuilder is valid

-

Implementors

Loading content...
- \ No newline at end of file +

Trait bdk::wallet::tx_builder::TxBuilderContext[][src]

pub trait TxBuilderContext: Debug + Default + Clone { }

Context in which the TxBuilder is valid

+

Implementors

Loading content...
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/crates.js b/static/docs-rs/bdk/nightly/latest/crates.js new file mode 100644 index 0000000000..0abc2ef87a --- /dev/null +++ b/static/docs-rs/bdk/nightly/latest/crates.js @@ -0,0 +1 @@ +window.ALL_CRATES = ["bdk"]; \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js b/static/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js index 7487f02ea9..ec1faf062f 100644 --- a/static/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js +++ b/static/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["bdk"] = [{"text":"impl<'de> Deserialize<'de> for AnyBlockchainConfig","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for ElectrumBlockchainConfig","synthetic":false,"types":["bdk::blockchain::electrum::ElectrumBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for EsploraBlockchainConfig","synthetic":false,"types":["bdk::blockchain::esplora::EsploraBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for BitcoinPeerConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::BitcoinPeerConfig"]},{"text":"impl<'de> Deserialize<'de> for CompactFiltersBlockchainConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for SledDbConfiguration","synthetic":false,"types":["bdk::database::any::SledDbConfiguration"]},{"text":"impl<'de> Deserialize<'de> for AnyDatabaseConfig","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl<'de> Deserialize<'de> for KeychainKind","synthetic":false,"types":["bdk::types::KeychainKind"]},{"text":"impl<'de> Deserialize<'de> for LocalUtxo","synthetic":false,"types":["bdk::types::LocalUtxo"]},{"text":"impl<'de> Deserialize<'de> for TransactionDetails","synthetic":false,"types":["bdk::types::TransactionDetails"]},{"text":"impl<'de> Deserialize<'de> for WalletExport","synthetic":false,"types":["bdk::wallet::export::WalletExport"]}]; +implementors["bdk"] = [{"text":"impl<'de> Deserialize<'de> for AnyBlockchainConfig","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for ElectrumBlockchainConfig","synthetic":false,"types":["bdk::blockchain::electrum::ElectrumBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for EsploraBlockchainConfig","synthetic":false,"types":["bdk::blockchain::esplora::EsploraBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for BitcoinPeerConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::BitcoinPeerConfig"]},{"text":"impl<'de> Deserialize<'de> for CompactFiltersBlockchainConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig"]},{"text":"impl<'de> Deserialize<'de> for SledDbConfiguration","synthetic":false,"types":["bdk::database::any::SledDbConfiguration"]},{"text":"impl<'de> Deserialize<'de> for AnyDatabaseConfig","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl<'de> Deserialize<'de> for KeychainKind","synthetic":false,"types":["bdk::types::KeychainKind"]},{"text":"impl<'de> Deserialize<'de> for LocalUtxo","synthetic":false,"types":["bdk::types::LocalUtxo"]},{"text":"impl<'de> Deserialize<'de> for TransactionDetails","synthetic":false,"types":["bdk::types::TransactionDetails"]},{"text":"impl<'de> Deserialize<'de> for WalletExport","synthetic":false,"types":["bdk::wallet::export::WalletExport"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js b/static/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js index c72b29c240..bb70f075b1 100644 --- a/static/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js +++ b/static/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js @@ -1,3 +1,3 @@ (function() {var implementors = {}; -implementors["bdk"] = [{"text":"impl Serialize for AnyBlockchainConfig","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl Serialize for ElectrumBlockchainConfig","synthetic":false,"types":["bdk::blockchain::electrum::ElectrumBlockchainConfig"]},{"text":"impl Serialize for EsploraBlockchainConfig","synthetic":false,"types":["bdk::blockchain::esplora::EsploraBlockchainConfig"]},{"text":"impl Serialize for BitcoinPeerConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::BitcoinPeerConfig"]},{"text":"impl Serialize for CompactFiltersBlockchainConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig"]},{"text":"impl Serialize for SledDbConfiguration","synthetic":false,"types":["bdk::database::any::SledDbConfiguration"]},{"text":"impl Serialize for AnyDatabaseConfig","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl Serialize for PKOrF","synthetic":false,"types":["bdk::descriptor::policy::PKOrF"]},{"text":"impl Serialize for SatisfiableItem","synthetic":false,"types":["bdk::descriptor::policy::SatisfiableItem"]},{"text":"impl Serialize for Satisfaction","synthetic":false,"types":["bdk::descriptor::policy::Satisfaction"]},{"text":"impl Serialize for Policy","synthetic":false,"types":["bdk::descriptor::policy::Policy"]},{"text":"impl Serialize for Condition","synthetic":false,"types":["bdk::descriptor::policy::Condition"]},{"text":"impl Serialize for KeychainKind","synthetic":false,"types":["bdk::types::KeychainKind"]},{"text":"impl Serialize for LocalUtxo","synthetic":false,"types":["bdk::types::LocalUtxo"]},{"text":"impl Serialize for TransactionDetails","synthetic":false,"types":["bdk::types::TransactionDetails"]},{"text":"impl Serialize for WalletExport","synthetic":false,"types":["bdk::wallet::export::WalletExport"]}]; +implementors["bdk"] = [{"text":"impl Serialize for AnyBlockchainConfig","synthetic":false,"types":["bdk::blockchain::any::AnyBlockchainConfig"]},{"text":"impl Serialize for ElectrumBlockchainConfig","synthetic":false,"types":["bdk::blockchain::electrum::ElectrumBlockchainConfig"]},{"text":"impl Serialize for EsploraBlockchainConfig","synthetic":false,"types":["bdk::blockchain::esplora::EsploraBlockchainConfig"]},{"text":"impl Serialize for BitcoinPeerConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::BitcoinPeerConfig"]},{"text":"impl Serialize for CompactFiltersBlockchainConfig","synthetic":false,"types":["bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig"]},{"text":"impl Serialize for SledDbConfiguration","synthetic":false,"types":["bdk::database::any::SledDbConfiguration"]},{"text":"impl Serialize for AnyDatabaseConfig","synthetic":false,"types":["bdk::database::any::AnyDatabaseConfig"]},{"text":"impl Serialize for PKOrF","synthetic":false,"types":["bdk::descriptor::policy::PKOrF"]},{"text":"impl Serialize for SatisfiableItem","synthetic":false,"types":["bdk::descriptor::policy::SatisfiableItem"]},{"text":"impl Serialize for Satisfaction","synthetic":false,"types":["bdk::descriptor::policy::Satisfaction"]},{"text":"impl Serialize for Policy","synthetic":false,"types":["bdk::descriptor::policy::Policy"]},{"text":"impl Serialize for Condition","synthetic":false,"types":["bdk::descriptor::policy::Condition"]},{"text":"impl Serialize for KeychainKind","synthetic":false,"types":["bdk::types::KeychainKind"]},{"text":"impl Serialize for LocalUtxo","synthetic":false,"types":["bdk::types::LocalUtxo"]},{"text":"impl Serialize for TransactionDetails","synthetic":false,"types":["bdk::types::TransactionDetails"]},{"text":"impl Serialize for WalletExport","synthetic":false,"types":["bdk::wallet::export::WalletExport"]}]; if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/main.js b/static/docs-rs/bdk/nightly/latest/main.js index 0a2b81c183..f085e721d3 100644 --- a/static/docs-rs/bdk/nightly/latest/main.js +++ b/static/docs-rs/bdk/nightly/latest/main.js @@ -1,8 +1,8 @@ -if(!String.prototype.startsWith){String.prototype.startsWith=function(searchString,position){position=position||0;return this.indexOf(searchString,position)===position}}if(!String.prototype.endsWith){String.prototype.endsWith=function(suffix,length){var l=length||this.length;return this.indexOf(suffix,l-suffix.length)!==-1}}if(!DOMTokenList.prototype.add){DOMTokenList.prototype.add=function(className){if(className&&!hasClass(this,className)){if(this.className&&this.className.length>0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}(function(){var rustdocVars=document.getElementById("rustdoc-vars");if(rustdocVars){window.rootPath=rustdocVars.attributes["data-root-path"].value;window.currentCrate=rustdocVars.attributes["data-current-crate"].value}var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}function getSearchInput(){return document.getElementsByClassName("search-input")[0]}function getSearchElement(){return document.getElementById("search")}function getThemesElement(){return document.getElementById("theme-choices")}function getThemePickerElement(){return document.getElementById("theme-picker")}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function focusSearchBar(){getSearchInput().focus()}function defocusSearchBar(){getSearchInput().blur()}(function(){"use strict";var itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias"];var disableShortcuts=getSettingValue("disable-shortcuts")==="true";var search_input=getSearchInput();var searchTimeout=null;var toggleAllDocsId="toggle-all-docs";var currentTab=0;var mouseMovedAfterSearch=true;var titleBeforeSearch=document.title;var searchTitle=null;function clearInputTimeout(){if(searchTimeout!==null){clearTimeout(searchTimeout);searchTimeout=null}}function getPageId(){if(window.location.hash){var tmp=window.location.hash.replace(/^#/,"");if(tmp.length>0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}function showSearchResults(search){if(search===null||typeof search==='undefined'){search=getSearchElement()}addClass(main,"hidden");removeClass(search,"hidden");mouseMovedAfterSearch=false;document.title=searchTitle}function hideSearchResults(search){if(search===null||typeof search==='undefined'){search=getSearchElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}}var TY_PRIMITIVE=itemTypes.indexOf("primitive");var TY_KEYWORD=itemTypes.indexOf("keyword");function getQueryStringParams(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function isHidden(elem){return elem.offsetHeight===0}var main=document.getElementById("main");var savedHash="";function handleHashes(ev){var elem;var search=getSearchElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){hideSearchResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}elem=document.getElementById(savedHash.slice(1));if(!elem||!isHidden(elem)){return}var parent=elem.parentNode;if(parent&&hasClass(parent,"impl-items")){onEachLazy(parent.getElementsByClassName("collapsed"),function(e){if(e.parentNode===parent){e.click();return true}});if(isHidden(elem)){if(hasClass(parent.lastElementChild,"collapse-toggle")){parent.lastElementChild.click()}}}}}function highlightSourceLines(match,ev){if(typeof match==="undefined"){hideSidebar();match=window.location.hash.match(/^#?(\d+)(?:-(\d+))?$/)}if(!match){return}var from=parseInt(match[1],10);var to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to0){collapseDocs(collapses[0],"show")}}}}function getHelpElement(){buildHelperPopup();return document.getElementById("help")}function displayHelp(display,ev,help){help=help?help:getHelpElement();if(display===true){if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else if(hasClass(help,"hidden")===false){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}function handleEscape(ev){var help=getHelpElement();var search=getSearchElement();if(hasClass(help,"hidden")===false){displayHelp(false,ev,help)}else if(hasClass(search,"hidden")===false){clearInputTimeout();ev.preventDefault();hideSearchResults(search)}defocusSearchBar();hideThemeButtonState()}function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts===true){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();focusSearchBar();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;case"t":case"T":displayHelp(false,ev);ev.preventDefault();var themePicker=getThemePickerElement();themePicker.click();themePicker.focus();break;default:var themePicker=getThemePickerElement();if(themePicker.parentNode.contains(ev.target)){handleThemeKeyDown(ev)}}}}function handleThemeKeyDown(ev){var active=document.activeElement;var themes=getThemesElement();switch(getVirtualKey(ev)){case"ArrowUp":ev.preventDefault();if(active.previousElementSibling&&ev.target.id!=="theme-picker"){active.previousElementSibling.focus()}else{showThemeButtonState();themes.lastElementChild.focus()}break;case"ArrowDown":ev.preventDefault();if(active.nextElementSibling&&ev.target.id!=="theme-picker"){active.nextElementSibling.focus()}else{showThemeButtonState();themes.firstElementChild.focus()}break;case"Enter":case"Return":case"Space":if(ev.target.id==="theme-picker"&&themes.style.display==="none"){ev.preventDefault();showThemeButtonState();themes.firstElementChild.focus()}break;case"Home":ev.preventDefault();themes.firstElementChild.focus();break;case"End":ev.preventDefault();themes.lastElementChild.focus();break}}function findParentElement(elem,tagName){do{if(elem&&elem.tagName===tagName){return elem}elem=elem.parentNode}while(elem);return null}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);document.addEventListener("mousemove",function(){mouseMovedAfterSearch=true});var handleSourceHighlight=(function(){var prev_line_id=0;var set_fragment=function(name){var x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return function(ev){var cur_line_id=parseInt(ev.target.id,10);ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){var tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());document.addEventListener("click",function(ev){if(hasClass(ev.target,"help-button")){displayHelp(true,ev)}else if(hasClass(ev.target,"collapse-toggle")){collapseDocs(ev.target,"toggle")}else if(hasClass(ev.target.parentNode,"collapse-toggle")){collapseDocs(ev.target.parentNode,"toggle")}else if(ev.target.tagName==="SPAN"&&hasClass(ev.target.parentNode,"line-numbers")){handleSourceHighlight(ev)}else if(hasClass(getHelpElement(),"hidden")===false){var help=getHelpElement();var is_inside_help_popup=ev.target!==help&&help.contains(ev.target);if(is_inside_help_popup===false){addClass(help,"hidden");removeClass(document.body,"blur")}}else{var a=findParentElement(ev.target,"A");if(a&&a.hash){expandSection(a.hash.replace(/^#/,""))}}});(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;i-1){var obj=searchIndex[results[i].id];obj.lev=results[i].lev;if(isType!==true||obj.type){var res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}}return out}function sortResults(results,isType){var ar=[];for(var entry in results){if(hasOwnProperty(results,entry)){ar.push(results[entry])}}results=ar;var i,len,result;for(i=0,len=results.length;ib?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});for(i=0,len=results.length;i"));return{name:val.substring(0,val.indexOf("<")),generics:values.split(/\s*,\s*/),}}return{name:val,generics:[],}}function getObjectFromId(id){if(typeof id==="number"){return searchIndex[id]}return{'name':id}}function checkGenerics(obj,val){var lev_distance=MAX_LEV_DISTANCE+1;if(val.generics.length>0){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=obj[GENERICS_DATA].slice(0);var total=0;var done=0;var vlength=val.generics.length;for(var y=0;yGENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=obj[GENERICS_DATA].slice(0);var allFound=true;len=val.generics.length;for(y=0;allFound===true&&yGENERICS_DATA&&obj[GENERICS_DATA].length!==0){var tmp_lev=checkGenerics(obj,val);if(tmp_lev<=MAX_LEV_DISTANCE){return tmp_lev}}else{return 0}}if(literalSearch===true){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){return obj[GENERICS_DATA].some(function(name){return name===val.name})}return false}lev_distance=Math.min(levenshtein(obj[NAME],val.name),lev_distance);if(lev_distance<=MAX_LEV_DISTANCE){lev_distance=Math.ceil((checkGenerics(obj,val)+lev_distance)/2)}else if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){var olength=obj[GENERICS_DATA].length;for(x=0;x0){var length=obj.type[INPUTS_DATA].length;for(var i=0;iOUTPUT_DATA){var ret=obj.type[OUTPUT_DATA];if(typeof ret[0]==="string"){ret=[ret]}for(var x=0,len=ret.length;xlength){return MAX_LEV_DISTANCE+1}for(var i=0;ilength){break}var lev_total=0;var aborted=false;for(var x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(aborted===false){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER)return true;if(filter===type)return true;var name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function generateId(ty){if(ty.parent&&ty.parent.name){return itemTypes[ty.ty]+ty.path+ty.parent.name+ty.name}return itemTypes[ty.ty]+ty.path+ty.name}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates){var aliases=[];var crateAliases=[];if(filterCrates!==undefined){if(ALIASES[filterCrates]&&ALIASES[filterCrates][query.search]){var query_aliases=ALIASES[filterCrates][query.search];var len=query_aliases.length;for(var i=0;iMAX_RESULTS){ret.others.pop()}};onEach(aliases,pushFunc);onEach(crateAliases,pushFunc)}var nSearchWords=searchWords.length;var i,it;var ty;var fullId;var returned;var in_args;var len;if((val.charAt(0)==="\""||val.charAt(0)==="'")&&val.charAt(val.length-1)===val.charAt(0)){val=extractGenerics(val.substr(1,val.length-2));for(i=0;i")>-1){var trimmer=function(s){return s.trim()};var parts=val.split("->").map(trimmer);var input=parts[0];var inputs=input.split(",").map(trimmer).sort();for(i=0,len=inputs.length;i1?paths.length-1:1);var lev;for(j=0;j1){lev=checkPath(contains,paths[paths.length-1],ty);if(lev>MAX_LEV_DISTANCE){continue}else if(lev>0){lev_add=lev/10}}returned=MAX_LEV_DISTANCE+1;in_args=MAX_LEV_DISTANCE+1;var index=-1;lev=MAX_LEV_DISTANCE+1;fullId=generateId(ty);if(searchWords[j].indexOf(split[i])>-1||searchWords[j].indexOf(val)>-1||searchWords[j].replace(/_/g,"").indexOf(val)>-1){if(typePassesFilter(typeFilter,ty.ty)&&results[fullId]===undefined){index=searchWords[j].replace(/_/g,"").indexOf(val)}}if((lev=levenshtein(searchWords[j],val))<=MAX_LEV_DISTANCE){if(typePassesFilter(typeFilter,ty.ty)===false){lev=MAX_LEV_DISTANCE+1}else{lev+=1}}in_args=findArg(ty,valGenerics,false,typeFilter);returned=checkReturned(ty,valGenerics,false,typeFilter);lev+=lev_add;if(lev>0&&val.length>3&&searchWords[j].indexOf(val)>-1){if(val.length<6){lev-=1}else{lev=0}}if(in_args<=MAX_LEV_DISTANCE){if(results_in_args[fullId]===undefined){results_in_args[fullId]={id:j,index:index,lev:in_args,}}results_in_args[fullId].lev=Math.min(results_in_args[fullId].lev,in_args)}if(returned<=MAX_LEV_DISTANCE){if(results_returned[fullId]===undefined){results_returned[fullId]={id:j,index:index,lev:returned,}}results_returned[fullId].lev=Math.min(results_returned[fullId].lev,returned)}if(index!==-1||lev<=MAX_LEV_DISTANCE){if(index!==-1&&paths.length<2){lev=0}if(results[fullId]===undefined){results[fullId]={id:j,index:index,lev:lev,}}results[fullId].lev=Math.min(results[fullId].lev,lev)}}}var ret={"in_args":sortResults(results_in_args,true),"returned":sortResults(results_returned,true),"others":sortResults(results),};handleAliases(ret,query,filterCrates);return ret}function validateResult(name,path,keys,parent){for(var i=0,len=keys.length;i-1||path.indexOf(keys[i])>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(keys[i])>-1)||levenshtein(name,keys[i])<=MAX_LEV_DISTANCE)){return false}}return true}function getQuery(raw){var matches,type,query;query=raw;matches=query.match(/^(fn|mod|struct|enum|trait|type|const|macro)\s*:\s*/i);if(matches){type=matches[1].replace(/^const$/,"constant");query=query.substring(matches[0].length)}return{raw:raw,query:query,type:type,id:query+type}}function initSearchNav(){var hoverTimeout;var click_func=function(e){var el=e.target;while(el.tagName!=="TR"){el=el.parentNode}var dst=e.target.getElementsByTagName("a");if(dst.length<1){return}dst=dst[0];if(window.location.pathname===dst.pathname){hideSearchResults();document.location.href=dst.href}};var mouseover_func=function(e){if(mouseMovedAfterSearch){var el=e.target;while(el.tagName!=="TR"){el=el.parentNode}clearTimeout(hoverTimeout);hoverTimeout=setTimeout(function(){onEachLazy(document.getElementsByClassName("search-results"),function(e){onEachLazy(e.getElementsByClassName("result"),function(i_e){removeClass(i_e,"highlighted")})});addClass(el,"highlighted")},20)}};onEachLazy(document.getElementsByClassName("search-results"),function(e){onEachLazy(e.getElementsByClassName("result"),function(i_e){i_e.onclick=click_func;i_e.onmouseover=mouseover_func})});search_input.onkeydown=function(e){var actives=[[],[],[]];var current=0;onEachLazy(document.getElementById("results").childNodes,function(e){onEachLazy(e.getElementsByClassName("highlighted"),function(h_e){actives[current].push(h_e)});current+=1});if(e.which===38){if(e.ctrlKey){printTab(currentTab>0?currentTab-1:2)}else{if(!actives[currentTab].length||!actives[currentTab][0].previousElementSibling){return}addClass(actives[currentTab][0].previousElementSibling,"highlighted");removeClass(actives[currentTab][0],"highlighted")}e.preventDefault()}else if(e.which===40){if(e.ctrlKey){printTab(currentTab>1?0:currentTab+1)}else if(!actives[currentTab].length){var results=document.getElementById("results").childNodes;if(results.length>0){var res=results[currentTab].getElementsByClassName("result");if(res.length>0){addClass(res[0],"highlighted")}}}else if(actives[currentTab][0].nextElementSibling){addClass(actives[currentTab][0].nextElementSibling,"highlighted");removeClass(actives[currentTab][0],"highlighted")}e.preventDefault()}else if(e.which===13){if(actives[currentTab].length){document.location.href=actives[currentTab][0].getElementsByTagName("a")[0].href}}else if(e.which===16){}else if(actives[currentTab].length>0){removeClass(actives[currentTab][0],"highlighted")}}}function buildHrefAndPath(item){var displayPath;var href;var type=itemTypes[item.ty];var name=item.name;var path=item.path;if(type==="mod"){displayPath=path+"::";href=window.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="primitive"||type==="keyword"){displayPath="";href=window.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=window.rootPath+name+"/index.html"}else if(item.parent!==undefined){var myparent=item.parent;var anchor="#"+type+"."+name;var parentType=itemTypes[myparent.ty];var pageType=parentType;var pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){var splitPath=item.path.split("::");var enumName=splitPath.pop();path=splitPath.join("::");displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=window.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=window.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){var h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){var tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){var extraStyle="";if(display===false){extraStyle=" style=\"display: none;\""}var output="";var duplicates={};var length=0;if(array.length>0){output="";array.forEach(function(item){var name,type;name=item.name;type=itemTypes[item.ty];if(item.is_alias!==true){if(duplicates[item.fullPath]){return}duplicates[item.fullPath]=true}length+=1;output+=""});output+="
"+""+(item.is_alias===true?(""+item.alias+"  - see "):"")+item.displayPath+""+name+""+""+""+item.desc+" 
"}else{output="
No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:
"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(currentTab===tabNb){return""}return""}function showResults(results){var search=getSearchElement();if(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==getSearchLoadingText())){var elem=document.createElement("a");elem.href=results.others[0].href;elem.style.display="none";document.body.appendChild(elem);elem.click();return}var query=getQuery(search_input.value);currentResults=query.id;var ret_others=addTab(results.others,query);var ret_in_args=addTab(results.in_args,query,false);var ret_returned=addTab(results.returned,query,false);if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}var output="

Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"

"+"
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"+ret_others[0]+ret_in_args[0]+ret_returned[0]+"
";search.innerHTML=output;showSearchResults(search);initSearchNav();var elems=document.getElementById("titles").childNodes;elems[0].onclick=function(){printTab(0)};elems[1].onclick=function(){printTab(1)};elems[2].onclick=function(){printTab(2)};printTab(currentTab)}function execSearch(query,searchWords,filterCrates){function getSmallest(arrays,positions,notDuplicates){var start=null;for(var it=0,len=positions.length;itpositions[it]&&(start===null||start>arrays[it][positions[it]].lev)&&!notDuplicates[arrays[it][positions[it]].fullPath]){start=arrays[it][positions[it]].lev}}return start}function mergeArrays(arrays){var ret=[];var positions=[];var notDuplicates={};for(var x=0,arrays_len=arrays.length;xpositions[x]&&arrays[x][positions[x]].lev===smallest&&!notDuplicates[arrays[x][positions[x]].fullPath]){ret.push(arrays[x][positions[x]]);notDuplicates[arrays[x][positions[x]].fullPath]=true;positions[x]+=1}}}return ret}var queries=query.raw.split(",");var results={"in_args":[],"returned":[],"others":[],};for(var i=0,len=queries.length;i1){return{"in_args":mergeArrays(results.in_args),"returned":mergeArrays(results.returned),"others":mergeArrays(results.others),}}return{"in_args":results.in_args[0],"returned":results.returned[0],"others":results.others[0],}}function getFilterCrates(){var elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnProperty(rawSearchIndex,elem.value)){return elem.value}return undefined}function search(e,forced){var params=getQueryStringParams();var query=getQuery(search_input.value.trim());if(e){e.preventDefault()}if(query.query.length===0){return}if(forced!==true&&query.id===currentResults){if(query.query.length>0){putBackSearch(search_input)}return}searchTitle="Results for "+query.query+" - Rust";if(browserSupportsHistoryApi()){var newURL=getNakedUrl()+"?search="+encodeURIComponent(query.raw)+window.location.hash;if(!history.state&&!params.search){history.pushState(query,"",newURL)}else{history.replaceState(query,"",newURL)}}var filterCrates=getFilterCrates();showResults(execSearch(query,index,filterCrates))}function buildIndex(rawSearchIndex){searchIndex=[];var searchWords=[];var i;var currentIndex=0;for(var crate in rawSearchIndex){if(!hasOwnProperty(rawSearchIndex,crate)){continue}var crateSize=0;searchWords.push(crate);searchIndex.push({crate:crate,ty:1,name:crate,path:"",desc:rawSearchIndex[crate].doc,type:null,});currentIndex+=1;var items=rawSearchIndex[crate].i;var paths=rawSearchIndex[crate].p;var aliases=rawSearchIndex[crate].a;var len=paths.length;for(i=0;i0){search_input.value=params.search;search(e)}else{search_input.value="";hideSearchResults()}})}search();window.onpageshow=function(){var qSearch=getQueryStringParams().search;if(search_input.value===""&&qSearch){search_input.value=qSearch}search()}}index=buildIndex(rawSearchIndex);startSearch();if(window.rootPath==="../"||window.rootPath==="./"){var sidebar=document.getElementsByClassName("sidebar-elems")[0];if(sidebar){var div=document.createElement("div");div.className="block crate";div.innerHTML="

Crates

";var ul=document.createElement("ul");div.appendChild(ul);var crates=[];for(var crate in rawSearchIndex){if(!hasOwnProperty(rawSearchIndex,crate)){continue}crates.push(crate)}crates.sort();for(var i=0;i','`').replace('
','`');return x.innerText}window.initSidebarItems=function(items){var sidebar=document.getElementsByClassName("sidebar-elems")[0];var current=window.sidebarCurrent;function block(shortty,longty){var filtered=items[shortty];if(!filtered){return}var div=document.createElement("div");div.className="block "+shortty;var h3=document.createElement("h3");h3.textContent=longty;div.appendChild(h3);var ul=document.createElement("ul");for(var i=0,len=filtered.length;i"+""+"
"+code.outerHTML+"
";list.appendChild(display)}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function onEveryMatchingChild(elem,className,func){if(elem&&className&&func){var length=elem.childNodes.length;var nodes=elem.childNodes;for(var i=0;i"+labelForToggleButton(sectionIsCollapsed)+"]";return toggle}function createToggle(toggle,otherMessage,fontSize,extraClass,show){var span=document.createElement("span");span.className="toggle-label";if(show){span.style.display="none"}if(!otherMessage){span.innerHTML=" Expand description"}else{span.innerHTML=otherMessage}if(fontSize){span.style.fontSize=fontSize}var mainToggle=toggle.cloneNode(true);mainToggle.appendChild(span);var wrapper=document.createElement("div");wrapper.className="toggle-wrapper";if(!show){addClass(wrapper,"collapsed");var inner=mainToggle.getElementsByClassName("inner");if(inner&&inner.length>0){inner[0].innerHTML="+"}}if(extraClass){addClass(wrapper,extraClass)}wrapper.appendChild(mainToggle);return wrapper}(function(){var toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}var toggle=createSimpleToggle(false);var hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";var hideImplementors=getSettingValue("auto-collapse-implementors")!=="false";var func=function(e){var next=e.nextElementSibling;if(next&&hasClass(next,"item-info")){next=next.nextElementSibling}if(!next){return}if(hasClass(next,"docblock")){var newToggle=toggle.cloneNode(true);insertAfter(newToggle,e.childNodes[e.childNodes.length-1]);if(hideMethodDocs===true&&hasClass(e,"method")===true){collapseDocs(newToggle,"hide")}}};var funcImpl=function(e){var next=e.nextElementSibling;if(next&&hasClass(next,"item-info")){next=next.nextElementSibling}if(next&&hasClass(next,"docblock")){next=next.nextElementSibling}if(!next){return}if(hasClass(e,"impl")&&(next.getElementsByClassName("method").length>0||next.getElementsByClassName("associatedconstant").length>0)){var newToggle=toggle.cloneNode(true);insertAfter(newToggle,e.childNodes[e.childNodes.length-1]);if(hideImplementors===true&&e.parentNode.id==="implementors-list"){collapseDocs(newToggle,"hide")}}};onEachLazy(document.getElementsByClassName("method"),func);onEachLazy(document.getElementsByClassName("associatedconstant"),func);onEachLazy(document.getElementsByClassName("impl"),funcImpl);var impl_call=function(){};if(hideMethodDocs===true){impl_call=function(e,newToggle){if(e.id.match(/^impl(?:-\d+)?$/)===null){if(hasClass(e,"impl")===true){collapseDocs(newToggle,"hide")}}}}var newToggle=document.createElement("a");newToggle.href="javascript:void(0)";newToggle.className="collapse-toggle hidden-default collapsed";newToggle.innerHTML="["+labelForToggleButton(true)+"] Show hidden undocumented items";function toggleClicked(){if(hasClass(this,"collapsed")){removeClass(this,"collapsed");onEachLazy(this.parentNode.getElementsByClassName("hidden"),function(x){if(hasClass(x,"content")===false){removeClass(x,"hidden");addClass(x,"x")}},true);this.innerHTML="["+labelForToggleButton(false)+"] Hide undocumented items"}else{addClass(this,"collapsed");onEachLazy(this.parentNode.getElementsByClassName("x"),function(x){if(hasClass(x,"content")===false){addClass(x,"hidden");removeClass(x,"x")}},true);this.innerHTML="["+labelForToggleButton(true)+"] Show hidden undocumented items"}}onEachLazy(document.getElementsByClassName("impl-items"),function(e){onEachLazy(e.getElementsByClassName("associatedconstant"),func);var hiddenElems=Array.prototype.slice.call(e.getElementsByClassName("hidden"));var needToggle=hiddenElems.some(function(hiddenElem){return hasClass(hiddenElem,"content")===false&&hasClass(hiddenElem,"docblock")===false});if(needToggle===true){var inner_toggle=newToggle.cloneNode(true);inner_toggle.onclick=toggleClicked;e.insertBefore(inner_toggle,e.firstChild);impl_call(e.previousSibling,inner_toggle)}});var currentType=document.getElementsByClassName("type-decl")[0];var className=null;if(currentType){currentType=currentType.getElementsByClassName("rust")[0];if(currentType){currentType.classList.forEach(function(item){if(item!=="main"){className=item;return true}})}}var showItemDeclarations=getSettingValue("auto-hide-"+className);if(showItemDeclarations===null){if(className==="enum"||className==="macro"){showItemDeclarations="false"}else if(className==="struct"||className==="union"||className==="trait"){showItemDeclarations="true"}else{showItemDeclarations=getSettingValue("auto-hide-declarations")}}showItemDeclarations=showItemDeclarations==="false";function buildToggleWrapper(e){if(hasClass(e,"autohide")){var wrap=e.previousElementSibling;if(wrap&&hasClass(wrap,"toggle-wrapper")){var inner_toggle=wrap.childNodes[0];var extra=e.childNodes[0].tagName==="H3";e.style.display="none";addClass(wrap,"collapsed");onEachLazy(inner_toggle.getElementsByClassName("inner"),function(e){e.innerHTML=labelForToggleButton(true)});onEachLazy(inner_toggle.getElementsByClassName("toggle-label"),function(e){e.style.display="inline-block";if(extra===true){e.innerHTML=" Show "+e.childNodes[0].innerHTML}})}}if(e.parentNode.id==="main"){var otherMessage="";var fontSize;var extraClass;if(hasClass(e,"type-decl")){fontSize="20px";otherMessage=" Show declaration";if(showItemDeclarations===false){extraClass="collapsed"}}else if(hasClass(e,"sub-variant")){otherMessage=" Show fields"}else if(hasClass(e,"non-exhaustive")){otherMessage=" This ";if(hasClass(e,"non-exhaustive-struct")){otherMessage+="struct"}else if(hasClass(e,"non-exhaustive-enum")){otherMessage+="enum"}else if(hasClass(e,"non-exhaustive-variant")){otherMessage+="enum variant"}else if(hasClass(e,"non-exhaustive-type")){otherMessage+="type"}otherMessage+=" is marked as non-exhaustive"}else if(hasClass(e.childNodes[0],"impl-items")){extraClass="marg-left"}e.parentNode.insertBefore(createToggle(toggle,otherMessage,fontSize,extraClass,hasClass(e,"type-decl")===false||showItemDeclarations===true),e);if(hasClass(e,"type-decl")===true&&showItemDeclarations===true){collapseDocs(e.previousSibling.childNodes[0],"toggle")}if(hasClass(e,"non-exhaustive")===true){collapseDocs(e.previousSibling.childNodes[0],"toggle")}}}onEachLazy(document.getElementsByClassName("docblock"),buildToggleWrapper);onEachLazy(document.getElementsByClassName("sub-variant"),buildToggleWrapper);autoCollapse(getSettingValue("collapse")==="true");var pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());function createToggleWrapper(tog){var span=document.createElement("span");span.className="toggle-label";span.style.display="none";span.innerHTML=" Expand attributes";tog.appendChild(span);var wrapper=document.createElement("div");wrapper.className="toggle-wrapper toggle-attributes";wrapper.appendChild(tog);return wrapper}(function(){var itemAttributesFunc=function(){};if(getSettingValue("auto-hide-attributes")!=="false"){itemAttributesFunc=function(x){collapseDocs(x.previousSibling.childNodes[0],"toggle")}}var attributesToggle=createToggleWrapper(createSimpleToggle(false));onEachLazy(main.getElementsByClassName("attributes"),function(i_e){var attr_tog=attributesToggle.cloneNode(true);if(hasClass(i_e,"top-attr")===true){addClass(attr_tog,"top-attr")}i_e.parentNode.insertBefore(attr_tog,i_e);itemAttributesFunc(i_e)})}());(function(){var lineNumbersFunc=function(){};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=function(x){var count=x.textContent.split("\n").length;var elems=[];for(var i=0;i"+getSearchLoadingText()+"";showSearchResults(search)}var sidebar_menu=document.getElementsByClassName("sidebar-menu")[0];if(sidebar_menu){sidebar_menu.onclick=function(){var sidebar=document.getElementsByClassName("sidebar")[0];if(hasClass(sidebar,"mobile")===true){hideSidebar()}else{showSidebar()}}}if(main){onEachLazy(main.getElementsByClassName("loading-content"),function(e){e.remove()});onEachLazy(main.childNodes,function(e){if(e.tagName==="H2"||e.tagName==="H3"){var nextTagName=e.nextElementSibling.tagName;if(nextTagName=="H2"||nextTagName=="H3"){e.nextElementSibling.style.display="flex"}else{e.nextElementSibling.style.display="block"}}})}function enableSearchInput(){if(search_input){search_input.removeAttribute('disabled')}}window.addSearchOptions=function(crates){var elem=document.getElementById("crate-search");if(!elem){enableSearchInput();return}var crates_text=[];if(Object.keys(crates).length>1){for(var crate in crates){if(hasOwnProperty(crates,crate)){crates_text.push(crate)}}}crates_text.sort(function(a,b){var lower_a=a.toLowerCase();var lower_b=b.toLowerCase();if(lower_alower_b){return 1}return 0});var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates_text.length;i0){this.className+=" "+className}else{this.className=className}}}}if(!DOMTokenList.prototype.remove){DOMTokenList.prototype.remove=function(className){if(className&&this.className){this.className=(" "+this.className+" ").replace(" "+className+" "," ").trim()}}}(function(){var rustdocVars=document.getElementById("rustdoc-vars");if(rustdocVars){window.rootPath=rustdocVars.attributes["data-root-path"].value;window.currentCrate=rustdocVars.attributes["data-current-crate"].value;window.searchJS=rustdocVars.attributes["data-search-js"].value}var sidebarVars=document.getElementById("sidebar-vars");if(sidebarVars){window.sidebarCurrent={name:sidebarVars.attributes["data-name"].value,ty:sidebarVars.attributes["data-ty"].value,relpath:sidebarVars.attributes["data-relpath"].value,}}}());function getVirtualKey(ev){if("key"in ev&&typeof ev.key!="undefined"){return ev.key}var c=ev.charCode||ev.keyCode;if(c==27){return"Escape"}return String.fromCharCode(c)}function getSearchInput(){return document.getElementsByClassName("search-input")[0]}function getSearchElement(){return document.getElementById("search")}function getThemesElement(){return document.getElementById("theme-choices")}function getThemePickerElement(){return document.getElementById("theme-picker")}function getNakedUrl(){return window.location.href.split("?")[0].split("#")[0]}function focusSearchBar(){getSearchInput().focus()}function defocusSearchBar(){getSearchInput().blur()}(function(){"use strict";var itemTypes=["mod","externcrate","import","struct","enum","fn","type","static","trait","impl","tymethod","method","structfield","variant","macro","primitive","associatedtype","constant","associatedconstant","union","foreigntype","keyword","existential","attr","derive","traitalias"];var disableShortcuts=getSettingValue("disable-shortcuts")==="true";var search_input=getSearchInput();var searchTimeout=null;var toggleAllDocsId="toggle-all-docs";var currentTab=0;var mouseMovedAfterSearch=true;var titleBeforeSearch=document.title;var searchTitle=null;function clearInputTimeout(){if(searchTimeout!==null){clearTimeout(searchTimeout);searchTimeout=null}}function getPageId(){if(window.location.hash){var tmp=window.location.hash.replace(/^#/,"");if(tmp.length>0){return tmp}}return null}function showSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){addClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];if(sidebar){addClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(!filler){var div=document.createElement("div");div.id="sidebar-filler";sidebar.appendChild(div)}}}function hideSidebar(){var elems=document.getElementsByClassName("sidebar-elems")[0];if(elems){removeClass(elems,"show-it")}var sidebar=document.getElementsByClassName("sidebar")[0];removeClass(sidebar,"mobile");var filler=document.getElementById("sidebar-filler");if(filler){filler.remove()}document.getElementsByTagName("body")[0].style.marginTop=""}function showSearchResults(search){if(search===null||typeof search==='undefined'){search=getSearchElement()}addClass(main,"hidden");removeClass(search,"hidden");mouseMovedAfterSearch=false;document.title=searchTitle}function hideSearchResults(search){if(search===null||typeof search==='undefined'){search=getSearchElement()}addClass(search,"hidden");removeClass(main,"hidden");document.title=titleBeforeSearch;if(browserSupportsHistoryApi()){history.replaceState("",window.currentCrate+" - Rust",getNakedUrl()+window.location.hash)}}var TY_PRIMITIVE=itemTypes.indexOf("primitive");var TY_KEYWORD=itemTypes.indexOf("keyword");function getQueryStringParams(){var params={};window.location.search.substring(1).split("&").map(function(s){var pair=s.split("=");params[decodeURIComponent(pair[0])]=typeof pair[1]==="undefined"?null:decodeURIComponent(pair[1])});return params}function browserSupportsHistoryApi(){return window.history&&typeof window.history.pushState==="function"}function isHidden(elem){return elem.offsetHeight===0}var main=document.getElementById("main");var savedHash="";function handleHashes(ev){var elem;var search=getSearchElement();if(ev!==null&&search&&!hasClass(search,"hidden")&&ev.newURL){hideSearchResults(search);var hash=ev.newURL.slice(ev.newURL.indexOf("#")+1);if(browserSupportsHistoryApi()){history.replaceState(hash,"",getNakedUrl()+window.location.search+"#"+hash)}elem=document.getElementById(hash);if(elem){elem.scrollIntoView()}}if(savedHash!==window.location.hash){savedHash=window.location.hash;if(savedHash.length===0){return}elem=document.getElementById(savedHash.slice(1));if(!elem||!isHidden(elem)){return}var parent=elem.parentNode;if(parent&&hasClass(parent,"impl-items")){onEachLazy(parent.getElementsByClassName("collapsed"),function(e){if(e.parentNode===parent){e.click();return true}});if(isHidden(elem)){if(hasClass(parent.lastElementChild,"collapse-toggle")){parent.lastElementChild.click()}}}}}function highlightSourceLines(match,ev){if(typeof match==="undefined"){hideSidebar();match=window.location.hash.match(/^#?(\d+)(?:-(\d+))?$/)}if(!match){return}var from=parseInt(match[1],10);var to=from;if(typeof match[2]!=="undefined"){to=parseInt(match[2],10)}if(to0){collapseDocs(collapses[0],"show")}}}}function getHelpElement(){buildHelperPopup();return document.getElementById("help")}function displayHelp(display,ev,help){help=help?help:getHelpElement();if(display===true){if(hasClass(help,"hidden")){ev.preventDefault();removeClass(help,"hidden");addClass(document.body,"blur")}}else if(hasClass(help,"hidden")===false){ev.preventDefault();addClass(help,"hidden");removeClass(document.body,"blur")}}function handleEscape(ev){var help=getHelpElement();var search=getSearchElement();if(hasClass(help,"hidden")===false){displayHelp(false,ev,help)}else if(hasClass(search,"hidden")===false){clearInputTimeout();ev.preventDefault();hideSearchResults(search)}defocusSearchBar();hideThemeButtonState()}function handleShortcut(ev){if(ev.ctrlKey||ev.altKey||ev.metaKey||disableShortcuts===true){return}if(document.activeElement.tagName==="INPUT"){switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break}}else{switch(getVirtualKey(ev)){case"Escape":handleEscape(ev);break;case"s":case"S":displayHelp(false,ev);ev.preventDefault();focusSearchBar();break;case"+":case"-":ev.preventDefault();toggleAllDocs();break;case"?":displayHelp(true,ev);break;case"t":case"T":displayHelp(false,ev);ev.preventDefault();var themePicker=getThemePickerElement();themePicker.click();themePicker.focus();break;default:var themePicker=getThemePickerElement();if(themePicker.parentNode.contains(ev.target)){handleThemeKeyDown(ev)}}}}function handleThemeKeyDown(ev){var active=document.activeElement;var themes=getThemesElement();switch(getVirtualKey(ev)){case"ArrowUp":ev.preventDefault();if(active.previousElementSibling&&ev.target.id!=="theme-picker"){active.previousElementSibling.focus()}else{showThemeButtonState();themes.lastElementChild.focus()}break;case"ArrowDown":ev.preventDefault();if(active.nextElementSibling&&ev.target.id!=="theme-picker"){active.nextElementSibling.focus()}else{showThemeButtonState();themes.firstElementChild.focus()}break;case"Enter":case"Return":case"Space":if(ev.target.id==="theme-picker"&&themes.style.display==="none"){ev.preventDefault();showThemeButtonState();themes.firstElementChild.focus()}break;case"Home":ev.preventDefault();themes.firstElementChild.focus();break;case"End":ev.preventDefault();themes.lastElementChild.focus();break}}function findParentElement(elem,tagName){do{if(elem&&elem.tagName===tagName){return elem}elem=elem.parentNode}while(elem);return null}document.addEventListener("keypress",handleShortcut);document.addEventListener("keydown",handleShortcut);document.addEventListener("mousemove",function(){mouseMovedAfterSearch=true});var handleSourceHighlight=(function(){var prev_line_id=0;var set_fragment=function(name){var x=window.scrollX,y=window.scrollY;if(browserSupportsHistoryApi()){history.replaceState(null,null,"#"+name);highlightSourceLines()}else{location.replace("#"+name)}window.scrollTo(x,y)};return function(ev){var cur_line_id=parseInt(ev.target.id,10);ev.preventDefault();if(ev.shiftKey&&prev_line_id){if(prev_line_id>cur_line_id){var tmp=prev_line_id;prev_line_id=cur_line_id;cur_line_id=tmp}set_fragment(prev_line_id+"-"+cur_line_id)}else{prev_line_id=cur_line_id;set_fragment(cur_line_id)}}}());document.addEventListener("click",function(ev){if(hasClass(ev.target,"help-button")){displayHelp(true,ev)}else if(hasClass(ev.target,"collapse-toggle")){collapseDocs(ev.target,"toggle")}else if(hasClass(ev.target.parentNode,"collapse-toggle")){collapseDocs(ev.target.parentNode,"toggle")}else if(ev.target.tagName==="SPAN"&&hasClass(ev.target.parentNode,"line-numbers")){handleSourceHighlight(ev)}else if(hasClass(getHelpElement(),"hidden")===false){var help=getHelpElement();var is_inside_help_popup=ev.target!==help&&help.contains(ev.target);if(is_inside_help_popup===false){addClass(help,"hidden");removeClass(document.body,"blur")}}else{var a=findParentElement(ev.target,"A");if(a&&a.hash){expandSection(a.hash.replace(/^#/,""))}}});(function(){var x=document.getElementsByClassName("version-selector");if(x.length>0){x[0].onchange=function(){var i,match,url=document.location.href,stripped="",len=window.rootPath.match(/\.\.\//g).length+1;for(i=0;i-1){var obj=searchIndex[results[i].id];obj.lev=results[i].lev;if(isType!==true||obj.type){var res=buildHrefAndPath(obj);obj.displayPath=pathSplitter(res[0]);obj.fullPath=obj.displayPath+obj.name;obj.fullPath+="|"+obj.ty;obj.href=res[1];out.push(obj);if(out.length>=MAX_RESULTS){break}}}}return out}function sortResults(results,isType){var ar=[];for(var entry in results){if(hasOwnProperty(results,entry)){ar.push(results[entry])}}results=ar;var i,len,result;for(i=0,len=results.length;ib?+1:-1)}a=(aaa.index<0);b=(bbb.index<0);if(a!==b){return a-b}a=aaa.index;b=bbb.index;if(a!==b){return a-b}if((aaa.item.ty===TY_PRIMITIVE&&bbb.item.ty!==TY_KEYWORD)||(aaa.item.ty===TY_KEYWORD&&bbb.item.ty!==TY_PRIMITIVE)){return-1}if((bbb.item.ty===TY_PRIMITIVE&&aaa.item.ty!==TY_PRIMITIVE)||(bbb.item.ty===TY_KEYWORD&&aaa.item.ty!==TY_KEYWORD)){return 1}a=(aaa.item.desc==="");b=(bbb.item.desc==="");if(a!==b){return a-b}a=aaa.item.ty;b=bbb.item.ty;if(a!==b){return a-b}a=aaa.item.path;b=bbb.item.path;if(a!==b){return(a>b?+1:-1)}return 0});for(i=0,len=results.length;i"));return{name:val.substring(0,val.indexOf("<")),generics:values.split(/\s*,\s*/),}}return{name:val,generics:[],}}function getObjectFromId(id){if(typeof id==="number"){return searchIndex[id]}return{'name':id}}function checkGenerics(obj,val){if(val.generics.length>0){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=obj[GENERICS_DATA].slice(0);var total=0;var done=0;var vlength=val.generics.length;for(var y=0;yGENERICS_DATA&&obj[GENERICS_DATA].length>=val.generics.length){var elems=obj[GENERICS_DATA].slice(0);var allFound=true;len=val.generics.length;for(y=0;allFound===true&&yGENERICS_DATA&&obj[GENERICS_DATA].length!==0){var tmp_lev=checkGenerics(obj,val);if(tmp_lev<=MAX_LEV_DISTANCE){return tmp_lev}}else{return 0}}if(literalSearch===true){if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){return obj[GENERICS_DATA].some(function(name){return name===val.name})}return false}lev_distance=Math.min(levenshtein(obj[NAME],val.name),lev_distance);if(lev_distance<=MAX_LEV_DISTANCE){lev_distance=Math.ceil((checkGenerics(obj,val)+lev_distance)/2)}else if(obj.length>GENERICS_DATA&&obj[GENERICS_DATA].length>0){var olength=obj[GENERICS_DATA].length;for(x=0;x0){var length=obj.type[INPUTS_DATA].length;for(var i=0;iOUTPUT_DATA){var ret=obj.type[OUTPUT_DATA];if(typeof ret[0]==="string"){ret=[ret]}for(var x=0,len=ret.length;xlength){return MAX_LEV_DISTANCE+1}for(var i=0;ilength){break}var lev_total=0;var aborted=false;for(var x=0;xMAX_LEV_DISTANCE){aborted=true;break}lev_total+=lev}if(aborted===false){ret_lev=Math.min(ret_lev,Math.round(lev_total/clength))}}return ret_lev}function typePassesFilter(filter,type){if(filter<=NO_TYPE_FILTER)return true;if(filter===type)return true;var name=itemTypes[type];switch(itemTypes[filter]){case"constant":return name==="associatedconstant";case"fn":return name==="method"||name==="tymethod";case"type":return name==="primitive"||name==="associatedtype";case"trait":return name==="traitalias"}return false}function generateId(ty){if(ty.parent&&ty.parent.name){return itemTypes[ty.ty]+ty.path+ty.parent.name+ty.name}return itemTypes[ty.ty]+ty.path+ty.name}function createAliasFromItem(item){return{crate:item.crate,name:item.name,path:item.path,desc:item.desc,ty:item.ty,parent:item.parent,type:item.type,is_alias:true,}}function handleAliases(ret,query,filterCrates){var aliases=[];var crateAliases=[];if(filterCrates!==undefined){if(ALIASES[filterCrates]&&ALIASES[filterCrates][query.search]){var query_aliases=ALIASES[filterCrates][query.search];var len=query_aliases.length;for(var i=0;iMAX_RESULTS){ret.others.pop()}};onEach(aliases,pushFunc);onEach(crateAliases,pushFunc)}var nSearchWords=searchWords.length;var i,it;var ty;var fullId;var returned;var in_args;var len;if((val.charAt(0)==="\""||val.charAt(0)==="'")&&val.charAt(val.length-1)===val.charAt(0)){val=extractGenerics(val.substr(1,val.length-2));for(i=0;i")>-1){var trimmer=function(s){return s.trim()};var parts=val.split("->").map(trimmer);var input=parts[0];var inputs=input.split(",").map(trimmer).sort();for(i=0,len=inputs.length;i1?paths.length-1:1);var lev;for(j=0;j1){lev=checkPath(contains,paths[paths.length-1],ty);if(lev>MAX_LEV_DISTANCE){continue}else if(lev>0){lev_add=lev/10}}returned=MAX_LEV_DISTANCE+1;in_args=MAX_LEV_DISTANCE+1;var index=-1;lev=MAX_LEV_DISTANCE+1;fullId=generateId(ty);if(searchWords[j].indexOf(split[i])>-1||searchWords[j].indexOf(val)>-1||searchWords[j].replace(/_/g,"").indexOf(val)>-1){if(typePassesFilter(typeFilter,ty.ty)&&results[fullId]===undefined){index=searchWords[j].replace(/_/g,"").indexOf(val)}}if((lev=levenshtein(searchWords[j],val))<=MAX_LEV_DISTANCE){if(typePassesFilter(typeFilter,ty.ty)===false){lev=MAX_LEV_DISTANCE+1}else{lev+=1}}in_args=findArg(ty,valGenerics,false,typeFilter);returned=checkReturned(ty,valGenerics,false,typeFilter);lev+=lev_add;if(lev>0&&val.length>3&&searchWords[j].indexOf(val)>-1){if(val.length<6){lev-=1}else{lev=0}}if(in_args<=MAX_LEV_DISTANCE){if(results_in_args[fullId]===undefined){results_in_args[fullId]={id:j,index:index,lev:in_args,}}results_in_args[fullId].lev=Math.min(results_in_args[fullId].lev,in_args)}if(returned<=MAX_LEV_DISTANCE){if(results_returned[fullId]===undefined){results_returned[fullId]={id:j,index:index,lev:returned,}}results_returned[fullId].lev=Math.min(results_returned[fullId].lev,returned)}if(index!==-1||lev<=MAX_LEV_DISTANCE){if(index!==-1&&paths.length<2){lev=0}if(results[fullId]===undefined){results[fullId]={id:j,index:index,lev:lev,}}results[fullId].lev=Math.min(results[fullId].lev,lev)}}}var ret={"in_args":sortResults(results_in_args,true),"returned":sortResults(results_returned,true),"others":sortResults(results),};handleAliases(ret,query,filterCrates);return ret}function validateResult(name,path,keys,parent){for(var i=0,len=keys.length;i-1||path.indexOf(keys[i])>-1||(parent!==undefined&&parent.name!==undefined&&parent.name.toLowerCase().indexOf(keys[i])>-1)||levenshtein(name,keys[i])<=MAX_LEV_DISTANCE)){return false}}return true}function getQuery(raw){var matches,type,query;query=raw;matches=query.match(/^(fn|mod|struct|enum|trait|type|const|macro)\s*:\s*/i);if(matches){type=matches[1].replace(/^const$/,"constant");query=query.substring(matches[0].length)}return{raw:raw,query:query,type:type,id:query+type}}function initSearchNav(){var hoverTimeout;var click_func=function(e){var el=e.target;while(el.tagName!=="TR"){el=el.parentNode}var dst=e.target.getElementsByTagName("a");if(dst.length<1){return}dst=dst[0];if(window.location.pathname===dst.pathname){hideSearchResults();document.location.href=dst.href}};var mouseover_func=function(e){if(mouseMovedAfterSearch){var el=e.target;while(el.tagName!=="TR"){el=el.parentNode}clearTimeout(hoverTimeout);hoverTimeout=setTimeout(function(){onEachLazy(document.getElementsByClassName("search-results"),function(e){onEachLazy(e.getElementsByClassName("result"),function(i_e){removeClass(i_e,"highlighted")})});addClass(el,"highlighted")},20)}};onEachLazy(document.getElementsByClassName("search-results"),function(e){onEachLazy(e.getElementsByClassName("result"),function(i_e){i_e.onclick=click_func;i_e.onmouseover=mouseover_func})});search_input.onkeydown=function(e){var actives=[[],[],[]];var current=0;onEachLazy(document.getElementById("results").childNodes,function(e){onEachLazy(e.getElementsByClassName("highlighted"),function(h_e){actives[current].push(h_e)});current+=1});if(e.which===38){if(e.ctrlKey){printTab(currentTab>0?currentTab-1:2)}else{if(!actives[currentTab].length||!actives[currentTab][0].previousElementSibling){return}addClass(actives[currentTab][0].previousElementSibling,"highlighted");removeClass(actives[currentTab][0],"highlighted")}e.preventDefault()}else if(e.which===40){if(e.ctrlKey){printTab(currentTab>1?0:currentTab+1)}else if(!actives[currentTab].length){var results=document.getElementById("results").childNodes;if(results.length>0){var res=results[currentTab].getElementsByClassName("result");if(res.length>0){addClass(res[0],"highlighted")}}}else if(actives[currentTab][0].nextElementSibling){addClass(actives[currentTab][0].nextElementSibling,"highlighted");removeClass(actives[currentTab][0],"highlighted")}e.preventDefault()}else if(e.which===13){if(actives[currentTab].length){document.location.href=actives[currentTab][0].getElementsByTagName("a")[0].href}}else if(e.which===16){}else if(actives[currentTab].length>0){removeClass(actives[currentTab][0],"highlighted")}}}function buildHrefAndPath(item){var displayPath;var href;var type=itemTypes[item.ty];var name=item.name;var path=item.path;if(type==="mod"){displayPath=path+"::";href=window.rootPath+path.replace(/::/g,"/")+"/"+name+"/index.html"}else if(type==="primitive"||type==="keyword"){displayPath="";href=window.rootPath+path.replace(/::/g,"/")+"/"+type+"."+name+".html"}else if(type==="externcrate"){displayPath="";href=window.rootPath+name+"/index.html"}else if(item.parent!==undefined){var myparent=item.parent;var anchor="#"+type+"."+name;var parentType=itemTypes[myparent.ty];var pageType=parentType;var pageName=myparent.name;if(parentType==="primitive"){displayPath=myparent.name+"::"}else if(type==="structfield"&&parentType==="variant"){var enumNameIdx=item.path.lastIndexOf("::");var enumName=item.path.substr(enumNameIdx+2);path=item.path.substr(0,enumNameIdx);displayPath=path+"::"+enumName+"::"+myparent.name+"::";anchor="#variant."+myparent.name+".field."+name;pageType="enum";pageName=enumName}else{displayPath=path+"::"+myparent.name+"::"}href=window.rootPath+path.replace(/::/g,"/")+"/"+pageType+"."+pageName+".html"+anchor}else{displayPath=item.path+"::";href=window.rootPath+item.path.replace(/::/g,"/")+"/"+type+"."+name+".html"}return[displayPath,href]}function escape(content){var h1=document.createElement("h1");h1.textContent=content;return h1.innerHTML}function pathSplitter(path){var tmp=""+path.replace(/::/g,"::");if(tmp.endsWith("")){return tmp.slice(0,tmp.length-6)}return tmp}function addTab(array,query,display){var extraStyle="";if(display===false){extraStyle=" style=\"display: none;\""}var output="";var duplicates={};var length=0;if(array.length>0){output="";array.forEach(function(item){var name,type;name=item.name;type=itemTypes[item.ty];if(item.is_alias!==true){if(duplicates[item.fullPath]){return}duplicates[item.fullPath]=true}length+=1;output+=""});output+="
"+""+(item.is_alias===true?(""+item.alias+"  - see "):"")+item.displayPath+""+name+""+""+""+item.desc+" 
"}else{output="
No results :(
"+"Try on DuckDuckGo?

"+"Or try looking in one of these:
"}return[output,length]}function makeTabHeader(tabNb,text,nbElems){if(currentTab===tabNb){return""}return""}function showResults(results){var search=getSearchElement();if(results.others.length===1&&getSettingValue("go-to-only-result")==="true"&&(!search.firstChild||search.firstChild.innerText!==getSearchLoadingText())){var elem=document.createElement("a");elem.href=results.others[0].href;elem.style.display="none";document.body.appendChild(elem);elem.click();return}var query=getQuery(search_input.value);currentResults=query.id;var ret_others=addTab(results.others,query);var ret_in_args=addTab(results.in_args,query,false);var ret_returned=addTab(results.returned,query,false);if((currentTab===0&&ret_others[1]===0)||(currentTab===1&&ret_in_args[1]===0)||(currentTab===2&&ret_returned[1]===0)){if(ret_others[1]!==0){currentTab=0}else if(ret_in_args[1]!==0){currentTab=1}else if(ret_returned[1]!==0){currentTab=2}}var output="

Results for "+escape(query.query)+(query.type?" (type: "+escape(query.type)+")":"")+"

"+"
"+makeTabHeader(0,"In Names",ret_others[1])+makeTabHeader(1,"In Parameters",ret_in_args[1])+makeTabHeader(2,"In Return Types",ret_returned[1])+"
"+ret_others[0]+ret_in_args[0]+ret_returned[0]+"
";search.innerHTML=output;showSearchResults(search);initSearchNav();var elems=document.getElementById("titles").childNodes;elems[0].onclick=function(){printTab(0)};elems[1].onclick=function(){printTab(1)};elems[2].onclick=function(){printTab(2)};printTab(currentTab)}function execSearch(query,searchWords,filterCrates){function getSmallest(arrays,positions,notDuplicates){var start=null;for(var it=0,len=positions.length;itpositions[it]&&(start===null||start>arrays[it][positions[it]].lev)&&!notDuplicates[arrays[it][positions[it]].fullPath]){start=arrays[it][positions[it]].lev}}return start}function mergeArrays(arrays){var ret=[];var positions=[];var notDuplicates={};for(var x=0,arrays_len=arrays.length;xpositions[x]&&arrays[x][positions[x]].lev===smallest&&!notDuplicates[arrays[x][positions[x]].fullPath]){ret.push(arrays[x][positions[x]]);notDuplicates[arrays[x][positions[x]].fullPath]=true;positions[x]+=1}}}return ret}var queries=query.raw.split(",");var results={"in_args":[],"returned":[],"others":[],};for(var i=0,len=queries.length;i1){return{"in_args":mergeArrays(results.in_args),"returned":mergeArrays(results.returned),"others":mergeArrays(results.others),}}return{"in_args":results.in_args[0],"returned":results.returned[0],"others":results.others[0],}}function getFilterCrates(){var elem=document.getElementById("crate-search");if(elem&&elem.value!=="All crates"&&hasOwnProperty(rawSearchIndex,elem.value)){return elem.value}return undefined}function search(e,forced){var params=getQueryStringParams();var query=getQuery(search_input.value.trim());if(e){e.preventDefault()}if(query.query.length===0){return}if(forced!==true&&query.id===currentResults){if(query.query.length>0){putBackSearch(search_input)}return}searchTitle="Results for "+query.query+" - Rust";if(browserSupportsHistoryApi()){var newURL=getNakedUrl()+"?search="+encodeURIComponent(query.raw)+window.location.hash;if(!history.state&&!params.search){history.pushState(query,"",newURL)}else{history.replaceState(query,"",newURL)}}var filterCrates=getFilterCrates();showResults(execSearch(query,index,filterCrates))}function buildIndex(rawSearchIndex){searchIndex=[];var searchWords=[];var i;var currentIndex=0;for(var crate in rawSearchIndex){if(!hasOwnProperty(rawSearchIndex,crate)){continue}var crateSize=0;searchWords.push(crate);searchIndex.push({crate:crate,ty:1,name:crate,path:"",desc:rawSearchIndex[crate].doc,type:null,});currentIndex+=1;var items=rawSearchIndex[crate].i;var paths=rawSearchIndex[crate].p;var aliases=rawSearchIndex[crate].a;var len=paths.length;for(i=0;i0){search_input.value=params.search;search(e)}else{search_input.value="";hideSearchResults()}})}window.onpageshow=function(){var qSearch=getQueryStringParams().search;if(search_input.value===""&&qSearch){search_input.value=qSearch}search()}}index=buildIndex(rawSearchIndex);registerSearchEvents();if(getQueryStringParams().search){search()}};function addSidebarCrates(crates){if(window.rootPath==="../"||window.rootPath==="./"){var sidebar=document.getElementsByClassName("sidebar-elems")[0];if(sidebar){var div=document.createElement("div");div.className="block crate";div.innerHTML="

Crates

";var ul=document.createElement("ul");div.appendChild(ul);for(var i=0;i"+""+"
"+code.outerHTML+"
";list.appendChild(display)}}};if(window.pending_implementors){window.register_implementors(window.pending_implementors)}function labelForToggleButton(sectionIsCollapsed){if(sectionIsCollapsed){return"+"}return"\u2212"}function onEveryMatchingChild(elem,className,func){if(elem&&className&&func){var length=elem.childNodes.length;var nodes=elem.childNodes;for(var i=0;i"+labelForToggleButton(sectionIsCollapsed)+"
]";return toggle}function createToggle(toggle,otherMessage,fontSize,extraClass,show){var span=document.createElement("span");span.className="toggle-label";if(show){span.style.display="none"}if(!otherMessage){span.innerHTML=" Expand description"}else{span.innerHTML=otherMessage}if(fontSize){span.style.fontSize=fontSize}var mainToggle=toggle.cloneNode(true);mainToggle.appendChild(span);var wrapper=document.createElement("div");wrapper.className="toggle-wrapper";if(!show){addClass(wrapper,"collapsed");var inner=mainToggle.getElementsByClassName("inner");if(inner&&inner.length>0){inner[0].innerHTML="+"}}if(extraClass){addClass(wrapper,extraClass)}wrapper.appendChild(mainToggle);return wrapper}(function(){var toggles=document.getElementById(toggleAllDocsId);if(toggles){toggles.onclick=toggleAllDocs}var toggle=createSimpleToggle(false);var hideMethodDocs=getSettingValue("auto-hide-method-docs")==="true";var hideImplementors=getSettingValue("auto-collapse-implementors")!=="false";var func=function(e){var next=e.nextElementSibling;if(next&&hasClass(next,"item-info")){next=next.nextElementSibling}if(!next){return}if(hasClass(next,"docblock")){var newToggle=toggle.cloneNode(true);insertAfter(newToggle,e.childNodes[e.childNodes.length-1]);if(hideMethodDocs===true&&hasClass(e,"method")===true){collapseDocs(newToggle,"hide")}}};var funcImpl=function(e){var next=e.nextElementSibling;if(next&&hasClass(next,"item-info")){next=next.nextElementSibling}if(next&&hasClass(next,"docblock")){next=next.nextElementSibling}if(!next){return}if(hasClass(e,"impl")&&(next.getElementsByClassName("method").length>0||next.getElementsByClassName("associatedconstant").length>0)){var newToggle=toggle.cloneNode(true);insertAfter(newToggle,e.childNodes[e.childNodes.length-1]);if(hideImplementors===true&&e.parentNode.id==="implementors-list"){collapseDocs(newToggle,"hide")}}};onEachLazy(document.getElementsByClassName("method"),func);onEachLazy(document.getElementsByClassName("associatedconstant"),func);onEachLazy(document.getElementsByClassName("impl"),funcImpl);var impl_call=function(){};if(hideMethodDocs===true){impl_call=function(e,newToggle){if(e.id.match(/^impl(?:-\d+)?$/)===null){if(hasClass(e,"impl")===true){collapseDocs(newToggle,"hide")}}}}var newToggle=document.createElement("a");newToggle.href="javascript:void(0)";newToggle.className="collapse-toggle hidden-default collapsed";newToggle.innerHTML="["+labelForToggleButton(true)+"] Show hidden undocumented items";function toggleClicked(){if(hasClass(this,"collapsed")){removeClass(this,"collapsed");onEachLazy(this.parentNode.getElementsByClassName("hidden"),function(x){if(hasClass(x,"content")===false){removeClass(x,"hidden");addClass(x,"x")}},true);this.innerHTML="["+labelForToggleButton(false)+"] Hide undocumented items"}else{addClass(this,"collapsed");onEachLazy(this.parentNode.getElementsByClassName("x"),function(x){if(hasClass(x,"content")===false){addClass(x,"hidden");removeClass(x,"x")}},true);this.innerHTML="["+labelForToggleButton(true)+"] Show hidden undocumented items"}}onEachLazy(document.getElementsByClassName("impl-items"),function(e){onEachLazy(e.getElementsByClassName("associatedconstant"),func);var hiddenElems=Array.prototype.slice.call(e.getElementsByClassName("hidden"));var needToggle=hiddenElems.some(function(hiddenElem){return hasClass(hiddenElem,"content")===false&&hasClass(hiddenElem,"docblock")===false});if(needToggle===true){var inner_toggle=newToggle.cloneNode(true);inner_toggle.onclick=toggleClicked;e.insertBefore(inner_toggle,e.firstChild);impl_call(e.previousSibling,inner_toggle)}});var currentType=document.getElementsByClassName("type-decl")[0];var className=null;if(currentType){currentType=currentType.getElementsByClassName("rust")[0];if(currentType){currentType.classList.forEach(function(item){if(item!=="main"){className=item;return true}})}}var showItemDeclarations=getSettingValue("auto-hide-"+className);if(showItemDeclarations===null){if(className==="enum"||className==="macro"){showItemDeclarations="false"}else if(className==="struct"||className==="union"||className==="trait"){showItemDeclarations="true"}else{showItemDeclarations=getSettingValue("auto-hide-declarations")}}showItemDeclarations=showItemDeclarations==="false";function buildToggleWrapper(e){if(hasClass(e,"autohide")){var wrap=e.previousElementSibling;if(wrap&&hasClass(wrap,"toggle-wrapper")){var inner_toggle=wrap.childNodes[0];var extra=e.childNodes[0].tagName==="H3";e.style.display="none";addClass(wrap,"collapsed");onEachLazy(inner_toggle.getElementsByClassName("inner"),function(e){e.innerHTML=labelForToggleButton(true)});onEachLazy(inner_toggle.getElementsByClassName("toggle-label"),function(e){e.style.display="inline-block";if(extra===true){e.innerHTML=" Show "+e.childNodes[0].innerHTML}})}}if(e.parentNode.id==="main"){var otherMessage="";var fontSize;var extraClass;if(hasClass(e,"type-decl")){fontSize="20px";otherMessage=" Show declaration";if(showItemDeclarations===false){extraClass="collapsed"}}else if(hasClass(e,"sub-variant")){otherMessage=" Show fields"}else if(hasClass(e,"non-exhaustive")){otherMessage=" This ";if(hasClass(e,"non-exhaustive-struct")){otherMessage+="struct"}else if(hasClass(e,"non-exhaustive-enum")){otherMessage+="enum"}else if(hasClass(e,"non-exhaustive-variant")){otherMessage+="enum variant"}else if(hasClass(e,"non-exhaustive-type")){otherMessage+="type"}otherMessage+=" is marked as non-exhaustive"}else if(hasClass(e.childNodes[0],"impl-items")){extraClass="marg-left"}e.parentNode.insertBefore(createToggle(toggle,otherMessage,fontSize,extraClass,hasClass(e,"type-decl")===false||showItemDeclarations===true),e);if(hasClass(e,"type-decl")===true&&showItemDeclarations===true){collapseDocs(e.previousSibling.childNodes[0],"toggle")}if(hasClass(e,"non-exhaustive")===true){collapseDocs(e.previousSibling.childNodes[0],"toggle")}}}onEachLazy(document.getElementsByClassName("docblock"),buildToggleWrapper);onEachLazy(document.getElementsByClassName("sub-variant"),buildToggleWrapper);autoCollapse(getSettingValue("collapse")==="true");var pageId=getPageId();if(pageId!==null){expandSection(pageId)}}());function createToggleWrapper(tog){var span=document.createElement("span");span.className="toggle-label";span.style.display="none";span.innerHTML=" Expand attributes";tog.appendChild(span);var wrapper=document.createElement("div");wrapper.className="toggle-wrapper toggle-attributes";wrapper.appendChild(tog);return wrapper}(function(){var itemAttributesFunc=function(){};if(getSettingValue("auto-hide-attributes")!=="false"){itemAttributesFunc=function(x){collapseDocs(x.previousSibling.childNodes[0],"toggle")}}var attributesToggle=createToggleWrapper(createSimpleToggle(false));onEachLazy(main.getElementsByClassName("attributes"),function(i_e){var attr_tog=attributesToggle.cloneNode(true);if(hasClass(i_e,"top-attr")===true){addClass(attr_tog,"top-attr")}i_e.parentNode.insertBefore(attr_tog,i_e);itemAttributesFunc(i_e)})}());(function(){var lineNumbersFunc=function(){};if(getSettingValue("line-numbers")==="true"){lineNumbersFunc=function(x){var count=x.textContent.split("\n").length;var elems=[];for(var i=0;i"+getSearchLoadingText()+"";showSearchResults(search)}var sidebar_menu=document.getElementsByClassName("sidebar-menu")[0];if(sidebar_menu){sidebar_menu.onclick=function(){var sidebar=document.getElementsByClassName("sidebar")[0];if(hasClass(sidebar,"mobile")===true){hideSidebar()}else{showSidebar()}}}if(main){onEachLazy(main.getElementsByClassName("loading-content"),function(e){e.remove()});onEachLazy(main.childNodes,function(e){if(e.tagName==="H2"||e.tagName==="H3"){var nextTagName=e.nextElementSibling.tagName;if(nextTagName=="H2"||nextTagName=="H3"){e.nextElementSibling.style.display="flex"}else{e.nextElementSibling.style.display="block"}}})}function enableSearchInput(){if(search_input){search_input.removeAttribute('disabled')}}function addSearchOptions(crates){var elem=document.getElementById("crate-search");if(!elem){enableSearchInput();return}var savedCrate=getSettingValue("saved-filter-crate");for(var i=0,len=crates.length;ithe rustdoc book.";var container=document.createElement("div");var shortcuts=[["?","Show this help dialog"],["S","Focus the search field"],["T","Focus the theme picker menu"],["↑","Move up in search results"],["↓","Move down in search results"],["ctrl + ↑ / ↓","Switch result tab"],["⏎","Go to active search result"],["+","Expand all sections"],["-","Collapse all sections"],].map(function(x){return"
"+x[0].split(" ").map(function(y,index){return(index&1)===0?""+y+"":" "+y+" "}).join("")+"
"+x[1]+"
"}).join("");var div_shortcuts=document.createElement("div");addClass(div_shortcuts,"shortcuts");div_shortcuts.innerHTML="

Keyboard Shortcuts

"+shortcuts+"
";var infos=["Prefix searches with a type followed by a colon (e.g., fn:) to \ restrict the search to a given item kind.","Accepted kinds are: fn, mod, struct, \ enum, trait, type, macro, \ and const.","Search functions by type signature (e.g., vec -> usize or \ * -> vec)","Search multiple things at once by splitting your query with comma (e.g., \ str,u8 or String,struct:Vec,test)","You can look for items with an exact name by putting double quotes around \ - your request: \"string\"","Look for items inside another one by searching for a path: vec::Vec",].map(function(x){return"

"+x+"

"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);popup.appendChild(container);insertAfter(popup,getSearchElement());buildHelperPopup=function(){}}onHashChange(null);window.onhashchange=onHashChange}()) \ No newline at end of file + your request: \"string\"","Look for items inside another one by searching for a path: vec::Vec",].map(function(x){return"

"+x+"

"}).join("");var div_infos=document.createElement("div");addClass(div_infos,"infos");div_infos.innerHTML="

Search Tricks

"+infos;container.appendChild(book_info);container.appendChild(div_shortcuts);container.appendChild(div_infos);popup.appendChild(container);insertAfter(popup,getSearchElement());buildHelperPopup=function(){}}function loadScript(url){var script=document.createElement('script');script.src=url;document.head.append(script)}function setupSearchLoader(){var searchLoaded=false;function loadSearch(){if(!searchLoaded){searchLoaded=true;loadScript(window.searchJS)}}addSearchOptions(window.ALL_CRATES);addSidebarCrates(window.ALL_CRATES);search_input.addEventListener("focus",function(){search_input.origPlaceholder=search_input.placeholder;search_input.placeholder="Type your search here.";loadSearch()});search_input.addEventListener("blur",function(){search_input.placeholder=search_input.origPlaceholder});enableSearchInput();var crateSearchDropDown=document.getElementById("crate-search");crateSearchDropDown.addEventListener("focus",loadSearch);var params=getQueryStringParams();if(params.search!==undefined){loadSearch()}}onHashChange(null);window.onhashchange=onHashChange;setupSearchLoader()}()) \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/rustdoc.css b/static/docs-rs/bdk/nightly/latest/rustdoc.css index 3917fd37ba..6b99a41042 100644 --- a/static/docs-rs/bdk/nightly/latest/rustdoc.css +++ b/static/docs-rs/bdk/nightly/latest/rustdoc.css @@ -1 +1 @@ - @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');}@font-face {font-family:'Source Serif Pro';font-style:normal;font-weight:400;src:local('Source Serif Pro'),url("SourceSerifPro-Regular.ttf.woff") format('woff');}@font-face {font-family:'Source Serif Pro';font-style:italic;font-weight:400;src:local('Source Serif Pro Italic'),url("SourceSerifPro-It.ttf.woff") format('woff');}@font-face {font-family:'Source Serif Pro';font-style:normal;font-weight:700;src:local('Source Serif Pro Bold'),url("SourceSerifPro-Bold.ttf.woff") format('woff');}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.woff") format('woff');}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.woff") format('woff');}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif Pro",serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod):not(.notable),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){font-weight:500;margin:20px 0 15px 0;padding-bottom:6px;}h1.fqn{border-bottom:1px dashed;margin-top:0;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){border-bottom:1px solid;}h3.impl,h3.method,h4.method,h3.type,h4.type,h4.associatedconstant{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}h3.impl,h3.method,h3.type{padding-left:15px;}h1,h2,h3,h4,.sidebar,a.source,.search-input,.content table td:first-child>a,.collapse-toggle,div.item-list .out-of-band,#source-sidebar,#sidebar-toggle,#main>ul.docblock>li>a{font-family:"Fira Sans",sans-serif;}.content ul.crate a.crate{font:16px/1.6 "Fira Sans";}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}code,pre,a.test-arrow{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code,.docblock code.spotlight{padding:0;padding-right:1ex;}.docblock code.spotlight :last-child{padding-bottom:0.6em;}pre{padding:14px;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;min-width:70em;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-child{font-weight:500;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{margin-top:0;margin-bottom:8px;text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc:not(.source) .example-wrap{display:inline-flex;margin-bottom:10px;position:relative;}.example-wrap{width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;border-top-left-radius:5px;border-bottom-left-radius:5px;padding:13px 8px;text-align:right;}.rustdoc:not(.source) .example-wrap>pre.rust{width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results{position:absolute;right:0;left:0;overflow:auto;}#results>table{width:100%;table-layout:fixed;margin-bottom:40px;}.content pre.line-numbers{float:left;border:none;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock-short code{white-space:pre-wrap;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom:1px solid;}#main>.docblock h1{font-size:1.3em;}#main>.docblock h2{font-size:1.15em;}#main>.docblock h3,#main>.docblock h4,#main>.docblock h5{font-size:1em;}#main>h2+div,#main>h2+h3,#main>h3+div{display:none;flex-wrap:wrap;}.docblock h1{font-size:1em;}.docblock h2{font-size:0.95em;}.docblock h3,.docblock h4,.docblock h5{font-size:0.9em;}.docblock{margin-left:24px;position:relative;}.content .out-of-band{float:right;font-size:23px;margin:0px;padding:0px;font-weight:normal;}h3.impl>.out-of-band{font-size:21px;}h4.method>.out-of-band{font-size:19px;}h4>code,h3>code,.invisible>code{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{margin:0px;padding:0px;}.in-band>code{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",sans-serif;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);border:1px dashed;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content .method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items>h4{border-bottom:0;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.toggle-wrapper.marg-left>.collapse-toggle{left:-24px;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;margin-top:-13px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant{margin-left:20px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-7px;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-28px;padding-right:10px;}.anchor:before{content:'\2002\00a7\2002';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,h4>code+.srclink,h3>code+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results .desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results a{display:block;}.content .search-results td:first-child{padding-right:0;width:50%;}.content .search-results td:first-child a{padding-right:10px;}.content .search-results td:first-child a:after{clear:both;content:"";display:block;}.content .search-results td:first-child a span{float:left;}tr.result span.primitive::after{content:' (primitive type)';font-style:italic;}tr.result span.keyword::after{content:' (keyword)';font-style:italic;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help>div>span{text-align:center;display:block;margin:10px 0;font-size:18px;border-bottom:1px solid #ccc;padding-bottom:4px;margin-bottom:6px;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.stab{display:table;border-width:1px;border-style:solid;padding:3px;margin-bottom:5px;font-size:90%;}.stab p{display:inline;}.stab summary{display:list-item;}.stab .emoji{font-size:1.5em;}.module-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-right:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;position:absolute;right:0;top:0;}.impl-items .since,.impl .since,.methods .since{flex-grow:0;padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{flex-grow:0;font-size:17px;font-weight:normal;}.impl-items code,.impl code,.methods code{flex-grow:1;}.impl-items h4,h4.impl,h3.impl,.methods h3{display:flex;flex-basis:100%;font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.section-header a{color:inherit;}.collapse-toggle{font-weight:300;position:absolute;left:-23px;top:0;}h3>.collapse-toggle,h4>.collapse-toggle{font-size:0.8em;top:5px;}.toggle-wrapper>.collapse-toggle{left:-24px;margin-top:0px;}.toggle-wrapper{position:relative;margin-top:0;}.toggle-wrapper.collapsed{height:25px;transition:height .2s;margin-bottom:.6em;}.collapse-toggle>.inner{display:inline-block;width:1.2ch;text-align:center;}.collapse-toggle.hidden-default{position:relative;margin-left:20px;}.since+.srclink{display:table-cell;padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}.toggle-wrapper>.collapse-toggle{left:0;}.variant+.toggle-wrapper+.docblock>p{margin-top:5px;}.sub-variant,.sub-variant>h3{margin-top:1px !important;}#main>.sub-variant>h3{font-size:15px;margin-left:25px;margin-bottom:5px;}.sub-variant>div{margin-left:20px;margin-bottom:10px;}.sub-variant>div>span{display:block;position:relative;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.enum>.toggle-wrapper+.docblock,.struct>.toggle-wrapper+.docblock{margin-left:30px;margin-bottom:20px;margin-top:5px;}.docblock>.section-header:first-child{margin-left:15px;margin-top:0;}.docblock>.section-header:first-child:hover>a:before{left:-10px;}.enum>.collapsed,.struct>.collapsed{margin-bottom:25px;}#main>.variant,#main>.structfield{display:block;}.attributes{display:block;margin-top:0px !important;margin-right:0px;margin-bottom:0px !important;margin-left:30px;}.toggle-attributes.collapsed{margin-bottom:0;}.impl-items>.toggle-attributes{margin-left:20px;}.impl-items .attributes{font-weight:500;}:target>code{opacity:1;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}h4>.notable-traits{position:absolute;left:-44px;top:2px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,.help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}.help-button{right:30px;font-family:"Fira Sans",sans-serif;text-align:center;font-size:17px;}#theme-picker,#settings-menu,.help-button{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}@media (min-width:701px){.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;left:0;top:45px;bottom:0;overflow-y:auto;border-right:1px solid;display:none;}.sidebar>.block.version{border-bottom:none;margin-top:12px;margin-bottom:0;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}.content .in-band{width:100%;}.content h4>.out-of-band{position:inherit;}.toggle-wrapper>.collapse-toggle{left:0px;}.toggle-wrapper{height:1.5em;}#search{margin-left:0;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant{display:flex;}.anchor{display:none !important;}h1.fqn{overflow:initial;}.theme-picker{left:10px;top:54px;z-index:1;}h4>.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it{display:block;width:246px;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}.collapse-toggle{left:-20px;}.impl>.collapse-toggle{left:-10px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}.help-button{display:none;}.search-container>div{width:calc(100% - 32px);}}@media print{nav.sub,.content .out-of-band,.collapse-toggle{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}}h3.notable{margin:0;margin-bottom:13px;font-size:19px;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}.type-decl>pre>.toggle-wrapper.toggle-attributes.top-attr{margin-left:0 !important;}.type-decl>pre>.docblock.attributes.top-attr{margin-left:1.8em !important;}.type-decl>pre>.toggle-attributes{margin-left:2.2em;}.type-decl>pre>.docblock.attributes{margin-left:4em;} \ No newline at end of file + @font-face {font-family:'Fira Sans';font-style:normal;font-weight:400;src:local('Fira Sans'),url("FiraSans-Regular.woff2") format("woff2"),url("FiraSans-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Fira Sans';font-style:normal;font-weight:500;src:local('Fira Sans Medium'),url("FiraSans-Medium.woff2") format("woff2"),url("FiraSans-Medium.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif Pro';font-style:normal;font-weight:400;src:local('Source Serif Pro'),url("SourceSerifPro-Regular.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif Pro';font-style:italic;font-weight:400;src:local('Source Serif Pro Italic'),url("SourceSerifPro-It.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Serif Pro';font-style:normal;font-weight:700;src:local('Source Serif Pro Bold'),url("SourceSerifPro-Bold.ttf.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:400;src:url("SourceCodePro-Regular.woff") format('woff');font-display:swap;}@font-face {font-family:'Source Code Pro';font-style:normal;font-weight:600;src:url("SourceCodePro-Semibold.woff") format('woff');font-display:swap;}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}html{content:"";}@media (prefers-color-scheme:light){html{content:"light";}}@media (prefers-color-scheme:dark){html{content:"dark";}}body{font:16px/1.4 "Source Serif Pro",serif;margin:0;position:relative;padding:10px 15px 20px 15px;-webkit-font-feature-settings:"kern","liga";-moz-font-feature-settings:"kern","liga";font-feature-settings:"kern","liga";}h1{font-size:1.5em;}h2{font-size:1.4em;}h3{font-size:1.3em;}h1,h2,h3:not(.impl):not(.method):not(.type):not(.tymethod):not(.notable),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){font-weight:500;margin:20px 0 15px 0;padding-bottom:6px;}h1.fqn{border-bottom:1px dashed;margin-top:0;}h1.fqn>.in-band>a:hover{text-decoration:underline;}h2,h3:not(.impl):not(.method):not(.type):not(.tymethod),h4:not(.method):not(.type):not(.tymethod):not(.associatedconstant){border-bottom:1px solid;}h3.impl,h3.method,h4.method,h3.type,h4.type,h4.associatedconstant{flex-basis:100%;font-weight:600;margin-top:16px;margin-bottom:10px;position:relative;}h3.impl,h3.method,h3.type{padding-left:15px;}h1,h2,h3,h4,.sidebar,a.source,.search-input,.content table td:first-child>a,.collapse-toggle,div.item-list .out-of-band,#source-sidebar,#sidebar-toggle,#main>ul.docblock>li>a{font-family:"Fira Sans",Arial;}.content ul.crate a.crate{font:16px/1.6 "Fira Sans";}ol,ul{padding-left:25px;}ul ul,ol ul,ul ol,ol ol{margin-bottom:.6em;}p{margin:0 0 .6em 0;}summary{outline:none;}code,pre,a.test-arrow{font-family:"Source Code Pro",monospace;}.docblock code,.docblock-short code{border-radius:3px;padding:0 0.1em;}.docblock pre code,.docblock-short pre code,.docblock code.spotlight{padding:0;padding-right:1ex;}.docblock code.spotlight :last-child{padding-bottom:0.6em;}pre{padding:14px;}.source .content pre{padding:20px;}img{max-width:100%;}li{position:relative;}.source .content{margin-top:50px;max-width:none;overflow:visible;margin-left:0px;min-width:70em;}nav.sub{font-size:16px;text-transform:uppercase;}.sidebar{width:200px;position:fixed;left:0;top:0;bottom:0;overflow:auto;}*{scrollbar-width:initial;}.sidebar{scrollbar-width:thin;}::-webkit-scrollbar{width:12px;}.sidebar::-webkit-scrollbar{width:8px;}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0;}.sidebar .block>ul>li{margin-right:-10px;}.content,nav{max-width:960px;}.hidden{display:none !important;}.logo-container{height:100px;width:100px;position:relative;margin:20px auto;display:block;margin-top:10px;}.logo-container>img{max-width:100px;max-height:100px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:block;}.sidebar .location{border:1px solid;font-size:17px;margin:30px 10px 20px 10px;text-align:center;word-wrap:break-word;}.sidebar .version{font-size:15px;text-align:center;border-bottom:1px solid;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;}.location:empty{border:none;}.location a:first-child{font-weight:500;}.block{padding:0;margin-bottom:14px;}.block h2,.block h3{margin-top:0;margin-bottom:8px;text-align:center;}.block ul,.block li{margin:0 10px;padding:0;list-style:none;}.block a{display:block;text-overflow:ellipsis;overflow:hidden;line-height:15px;padding:7px 5px;font-size:14px;font-weight:300;transition:border 500ms ease-out;}.sidebar-title{border-top:1px solid;border-bottom:1px solid;text-align:center;font-size:17px;margin-bottom:5px;}.sidebar-links{margin-bottom:15px;}.sidebar-links>a{padding-left:10px;width:100%;}.sidebar-menu{display:none;}.content{padding:15px 0;}.source .content pre.rust{white-space:pre;overflow:auto;padding-left:0;}.rustdoc:not(.source) .example-wrap{display:inline-flex;margin-bottom:10px;position:relative;}.example-wrap{width:100%;}.example-wrap>pre.line-number{overflow:initial;border:1px solid;border-top-left-radius:5px;border-bottom-left-radius:5px;padding:13px 8px;text-align:right;}.rustdoc:not(.source) .example-wrap>pre.rust{width:100%;overflow-x:auto;}.rustdoc:not(.source) .example-wrap>pre{margin:0;}#search{margin-left:230px;position:relative;}#results{position:absolute;right:0;left:0;overflow:auto;}#results>table{width:100%;table-layout:fixed;margin-bottom:40px;}.content pre.line-numbers{float:left;border:none;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}.line-numbers span{cursor:pointer;}.docblock-short{overflow-wrap:anywhere;}.docblock-short p{display:inline;}.docblock-short p{overflow:hidden;text-overflow:ellipsis;margin:0;}.docblock-short code{white-space:pre-wrap;}.docblock h1,.docblock h2,.docblock h3,.docblock h4,.docblock h5{border-bottom:1px solid;}#main>.docblock h1{font-size:1.3em;}#main>.docblock h2{font-size:1.15em;}#main>.docblock h3,#main>.docblock h4,#main>.docblock h5{font-size:1em;}#main>h2+div,#main>h2+h3,#main>h3+div{display:none;flex-wrap:wrap;}.docblock h1{font-size:1em;}.docblock h2{font-size:0.95em;}.docblock h3,.docblock h4,.docblock h5{font-size:0.9em;}.docblock{margin-left:24px;position:relative;}.content .out-of-band{float:right;font-size:23px;margin:0px;padding:0px;font-weight:normal;}h3.impl>.out-of-band{font-size:21px;}h4.method>.out-of-band{font-size:19px;}h4>code,h3>code,.invisible>code{max-width:calc(100% - 41px);display:block;}.invisible{width:100%;display:inline-block;}.content .in-band{margin:0px;padding:0px;}.in-band>code{display:inline-block;}#main{position:relative;}#main>.since{top:inherit;font-family:"Fira Sans",Arial;}.content table:not(.table-display){border-spacing:0 5px;}.content td{vertical-align:top;}.content td:first-child{padding-right:20px;}.content td p:first-child{margin-top:0;}.content td h1,.content td h2{margin-left:0;font-size:1.1em;}.content tr:first-child td{border-top:0;}.docblock table{margin:.5em 0;width:calc(100% - 2px);border:1px dashed;}.docblock table td{padding:.5em;border:1px dashed;}.docblock table th{padding:.5em;text-align:left;border:1px solid;}.fields+table{margin-bottom:1em;}.content .item-list{list-style-type:none;padding:0;}.content .multi-column{-moz-column-count:5;-moz-column-gap:2.5em;-webkit-column-count:5;-webkit-column-gap:2.5em;column-count:5;column-gap:2.5em;}.content .multi-column li{width:100%;display:inline-block;}.content .method{font-size:1em;position:relative;}.content .method .where,.content .fn .where,.content .where.fmt-newline{display:block;font-size:0.8em;}.content .methods>div:not(.notable-traits){margin-left:40px;margin-bottom:15px;}.content .docblock>.impl-items{margin-left:20px;margin-top:-34px;}.content .docblock>.impl-items>h4{border-bottom:0;}.content .docblock>.impl-items .table-display{margin:0;}.content .docblock>.impl-items table td{padding:0;}.toggle-wrapper.marg-left>.collapse-toggle{left:-24px;}.content .docblock>.impl-items .table-display,.impl-items table td{border:none;}.content .item-info code{font-size:90%;}.content .item-info{position:relative;margin-left:33px;margin-top:-13px;}.sub-variant>div>.item-info{margin-top:initial;}.content .item-info::before{content:'⬑';font-size:25px;position:absolute;top:-6px;left:-19px;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant{margin-left:20px;}.content .impl-items .docblock,.content .impl-items .item-info{margin-bottom:.6em;}.content .impl-items>.item-info{margin-left:40px;}.methods>.item-info,.content .impl-items>.item-info{margin-top:-8px;}.impl-items{flex-basis:100%;}#main>.item-info{margin-top:0;}nav:not(.sidebar){border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px;}nav.main{padding:20px 0;text-align:center;}nav.main .current{border-top:1px solid;border-bottom:1px solid;}nav.main .separator{border:1px solid;display:inline-block;height:23px;margin:0 20px;}nav.sum{text-align:right;}nav.sub form{display:inline;}nav.sub,.content{margin-left:230px;}a{text-decoration:none;background:transparent;}.small-section-header:hover>.anchor{display:initial;}.in-band:hover>.anchor,.impl:hover>.anchor{display:inline-block;position:absolute;}.anchor{display:none;position:absolute;left:-7px;}.anchor.field{left:-5px;}.small-section-header>.anchor{left:-28px;padding-right:10px;}.anchor:before{content:'\2002\00a7\2002';}.docblock a:not(.srclink):not(.test-arrow):hover,.docblock-short a:not(.srclink):not(.test-arrow):hover,.item-info a{text-decoration:underline;}.invisible>.srclink,h4>code+.srclink,h3>code+.srclink{position:absolute;top:0;right:0;font-size:17px;font-weight:normal;}.block a.current.crate{font-weight:500;}.search-container{position:relative;}.search-container>div{display:inline-flex;width:calc(100% - 63px);}#crate-search{min-width:115px;margin-top:5px;padding:6px;padding-right:19px;flex:none;border:0;border-right:0;border-radius:4px 0 0 4px;outline:none;cursor:pointer;border-right:1px solid;-moz-appearance:none;-webkit-appearance:none;text-indent:0.01px;text-overflow:"";background-repeat:no-repeat;background-color:transparent;background-size:20px;background-position:calc(100% - 1px) 56%;}.search-container>.top-button{position:absolute;right:0;top:10px;}.search-input{-moz-box-sizing:border-box !important;box-sizing:border-box !important;outline:none;border:none;border-radius:1px;margin-top:5px;padding:10px 16px;font-size:17px;transition:border-color 300ms ease;transition:border-radius 300ms ease-in-out;transition:box-shadow 300ms ease-in-out;width:100%;}#crate-search+.search-input{border-radius:0 1px 1px 0;width:calc(100% - 32px);}.search-input:focus{border-radius:2px;border:0;outline:0;}.search-results .desc{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;}.search-results a{display:block;}.content .search-results td:first-child{padding-right:0;width:50%;}.content .search-results td:first-child a{padding-right:10px;}.content .search-results td:first-child a:after{clear:both;content:"";display:block;}.content .search-results td:first-child a span{float:left;}tr.result span.primitive::after{content:' (primitive type)';font-style:italic;}tr.result span.keyword::after{content:' (keyword)';font-style:italic;}body.blur>:not(#help){filter:blur(8px);-webkit-filter:blur(8px);opacity:.7;}#help{width:100%;height:100vh;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;}#help>div{flex:0 0 auto;box-shadow:0 0 6px rgba(0,0,0,.2);width:550px;height:auto;border:1px solid;}#help dt{float:left;clear:left;display:block;margin-right:0.5rem;}#help>div>span{text-align:center;display:block;margin:10px 0;font-size:18px;border-bottom:1px solid #ccc;padding-bottom:4px;margin-bottom:6px;}#help dd{margin:5px 35px;}#help .infos{padding-left:0;}#help h1,#help h2{margin-top:0;}#help>div div{width:50%;float:left;padding:0 20px 20px 17px;;}.stab{display:table;border-width:1px;border-style:solid;padding:3px;margin-bottom:5px;font-size:90%;}.stab p{display:inline;}.stab summary{display:list-item;}.stab .emoji{font-size:1.5em;}.module-item .stab{border-radius:3px;display:inline-block;font-size:80%;line-height:1.2;margin-bottom:0;margin-right:.3em;padding:2px;vertical-align:text-bottom;}.module-item.unstable{opacity:0.65;}.since{font-weight:normal;font-size:initial;position:absolute;right:0;top:0;}.impl-items .since,.impl .since,.methods .since{flex-grow:0;padding-left:12px;padding-right:2px;position:initial;}.impl-items .srclink,.impl .srclink,.methods .srclink{flex-grow:0;font-size:17px;font-weight:normal;}.impl-items code,.impl code,.methods code{flex-grow:1;}.impl-items h4,h4.impl,h3.impl,.methods h3{display:flex;flex-basis:100%;font-size:16px;margin-bottom:12px;justify-content:space-between;}.variants_table{width:100%;}.variants_table tbody tr td:first-child{width:1%;}td.summary-column{width:100%;}.summary{padding-right:0px;}pre.rust .question-mark{font-weight:bold;}a.test-arrow{display:inline-block;position:absolute;padding:5px 10px 5px 10px;border-radius:5px;font-size:130%;top:5px;right:5px;z-index:1;}a.test-arrow:hover{text-decoration:none;}.section-header:hover a:before{position:absolute;left:-25px;padding-right:10px;content:'\2002\00a7\2002';}.section-header:hover a{text-decoration:none;}.section-header a{color:inherit;}.collapse-toggle{font-weight:300;position:absolute;left:-23px;top:0;}h3>.collapse-toggle,h4>.collapse-toggle{font-size:0.8em;top:5px;}.toggle-wrapper>.collapse-toggle{left:-24px;margin-top:0px;}.toggle-wrapper{position:relative;margin-top:0;}.toggle-wrapper.collapsed{height:25px;transition:height .2s;margin-bottom:.6em;}.collapse-toggle>.inner{display:inline-block;width:1.2ch;text-align:center;}.collapse-toggle.hidden-default{position:relative;margin-left:20px;}.since+.srclink{display:table-cell;padding-left:10px;}.item-spacer{width:100%;height:12px;}.out-of-band>span.since{position:initial;font-size:20px;margin-right:5px;}.toggle-wrapper>.collapse-toggle{left:0;}.variant+.toggle-wrapper+.docblock>p{margin-top:5px;}.sub-variant,.sub-variant>h3{margin-top:1px !important;}#main>.sub-variant>h3{font-size:15px;margin-left:25px;margin-bottom:5px;}.sub-variant>div{margin-left:20px;margin-bottom:10px;}.sub-variant>div>span{display:block;position:relative;}.toggle-label{display:inline-block;margin-left:4px;margin-top:3px;}.enum>.toggle-wrapper+.docblock,.struct>.toggle-wrapper+.docblock{margin-left:30px;margin-bottom:20px;margin-top:5px;}.docblock>.section-header:first-child{margin-left:15px;margin-top:0;}.docblock>.section-header:first-child:hover>a:before{left:-10px;}.enum>.collapsed,.struct>.collapsed{margin-bottom:25px;}#main>.variant,#main>.structfield{display:block;}.attributes{display:block;margin-top:0px !important;margin-right:0px;margin-bottom:0px !important;margin-left:30px;}.toggle-attributes.collapsed{margin-bottom:0;}.impl-items>.toggle-attributes{margin-left:20px;}.impl-items .attributes{font-weight:500;}:target>code{opacity:1;}.information{position:absolute;left:-25px;margin-top:7px;z-index:1;}.tooltip{position:relative;display:inline-block;cursor:pointer;}.tooltip::after{display:none;text-align:center;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;font-size:16px;}.tooltip.ignore::after{content:"This example is not tested";}.tooltip.compile_fail::after{content:"This example deliberately fails to compile";}.tooltip.should_panic::after{content:"This example panics";}.tooltip.edition::after{content:"This code runs with edition " attr(data-edition);}.tooltip::before{content:" ";position:absolute;top:50%;left:16px;margin-top:-5px;border-width:5px;border-style:solid;display:none;}.tooltip:hover::before,.tooltip:hover::after{display:inline;}.tooltip.compile_fail,.tooltip.should_panic,.tooltip.ignore{font-weight:bold;font-size:20px;}.notable-traits-tooltip{display:inline-block;cursor:pointer;}.notable-traits:hover .notable-traits-tooltiptext,.notable-traits .notable-traits-tooltiptext.force-tooltip{display:inline-block;}.notable-traits .notable-traits-tooltiptext{display:none;padding:5px 3px 3px 3px;border-radius:6px;margin-left:5px;z-index:10;font-size:16px;cursor:default;position:absolute;border:1px solid;}.notable-traits-tooltip::after{content:"\00a0\00a0\00a0";}.notable-traits .notable,.notable-traits .docblock{margin:0;}.notable-traits .docblock code.content{margin:0;padding:0;font-size:20px;}pre.rust.rust-example-rendered{position:relative;}pre.rust{tab-size:4;-moz-tab-size:4;}.search-failed{text-align:center;margin-top:20px;}.search-failed>ul{text-align:left;max-width:570px;margin-left:auto;margin-right:auto;}#titles{height:35px;}#titles>button{float:left;width:33.3%;text-align:center;font-size:18px;cursor:pointer;border:0;border-top:2px solid;}#titles>button:not(:last-child){margin-right:1px;width:calc(33.3% - 1px);}#titles>button>div.count{display:inline-block;font-size:16px;}.notable-traits{cursor:pointer;z-index:2;margin-left:5px;}h4>.notable-traits{position:absolute;left:-44px;top:2px;}#all-types{text-align:center;border:1px solid;margin:0 10px;margin-bottom:10px;display:block;border-radius:7px;}#all-types>p{margin:5px 0;}#sidebar-toggle{position:fixed;top:30px;left:300px;z-index:10;padding:3px;border-top-right-radius:3px;border-bottom-right-radius:3px;cursor:pointer;font-weight:bold;transition:left .5s;font-size:1.2em;border:1px solid;border-left:0;}#source-sidebar{position:fixed;top:0;bottom:0;left:0;width:300px;z-index:1;overflow:auto;transition:left .5s;border-right:1px solid;}#source-sidebar>.title{font-size:1.5em;text-align:center;border-bottom:1px solid;margin-bottom:6px;}.theme-picker{position:absolute;left:211px;top:19px;}.theme-picker button{outline:none;}#settings-menu,.help-button{position:absolute;top:10px;}#settings-menu{right:0;outline:none;}.help-button{right:30px;font-family:"Fira Sans",Arial;text-align:center;font-size:17px;}#theme-picker,#settings-menu,.help-button{padding:4px;width:27px;height:29px;border:1px solid;border-radius:3px;cursor:pointer;}#theme-choices{display:none;position:absolute;left:0;top:28px;border:1px solid;border-radius:3px;z-index:1;cursor:pointer;}#theme-choices>button{border:none;width:100%;padding:4px 8px;text-align:center;background:rgba(0,0,0,0);}#theme-choices>button:not(:first-child){border-top:1px solid;}@media (min-width:701px){.information:first-child>.tooltip{margin-top:16px;}}@media (max-width:700px){body{padding-top:0px;}.rustdoc>.sidebar{height:45px;min-height:40px;margin:0;margin-left:-15px;padding:0 15px;position:static;z-index:11;}.sidebar>.location{float:right;margin:0px;margin-top:2px;padding:3px 10px 1px 10px;min-height:39px;background:inherit;text-align:left;font-size:24px;}.sidebar .location:empty{padding:0;}.sidebar .logo-container{width:35px;height:35px;margin-top:5px;margin-bottom:5px;float:left;margin-left:50px;}.sidebar .logo-container>img{max-width:35px;max-height:35px;}.sidebar-menu{position:fixed;z-index:10;font-size:2rem;cursor:pointer;width:45px;left:0;text-align:center;display:block;border-bottom:1px solid;border-right:1px solid;height:45px;}.rustdoc.source>.sidebar>.sidebar-menu{display:none;}.sidebar-elems{position:fixed;z-index:1;left:0;top:45px;bottom:0;overflow-y:auto;border-right:1px solid;display:none;}.sidebar>.block.version{border-bottom:none;margin-top:12px;margin-bottom:0;}nav.sub{width:calc(100% - 32px);float:right;}.content{margin-left:0px;}#main,#search{margin-top:45px;padding:0;}.content .in-band{width:100%;}.content h4>.out-of-band{position:inherit;}.toggle-wrapper>.collapse-toggle{left:0px;}.toggle-wrapper{height:1.5em;}#search{margin-left:0;}.content .impl-items .method,.content .impl-items>.type,.impl-items>.associatedconstant{display:flex;}.anchor{display:none !important;}h1.fqn{overflow:initial;}.theme-picker{left:10px;top:54px;z-index:1;}h4>.notable-traits{position:absolute;left:-22px;top:24px;}#titles>button>div.count{float:left;width:100%;}#titles{height:50px;}.sidebar.mobile{position:fixed;width:100%;margin-left:0;background-color:rgba(0,0,0,0);height:100%;}.sidebar.mobile>div.version{overflow:hidden;max-height:33px;}.sidebar{width:calc(100% + 30px);}.show-it{display:block;width:246px;}.show-it>.block.items{margin:8px 0;}.show-it>.block.items>ul{margin:0;}.show-it>.block.items>ul>li{text-align:center;margin:2px 0;}.show-it>.block.items>ul>li>a{font-size:21px;}#sidebar-filler{position:fixed;left:45px;width:calc(100% - 45px);top:0;height:45px;z-index:-1;border-bottom:1px solid;}.collapse-toggle{left:-20px;}.impl>.collapse-toggle{left:-10px;}#all-types{margin:10px;}#sidebar-toggle{top:100px;width:30px;font-size:1.5rem;text-align:center;padding:0;}#source-sidebar{z-index:11;}#main>.line-numbers{margin-top:0;}.notable-traits .notable-traits-tooltiptext{left:0;top:100%;}.help-button{display:none;}.search-container>div{width:calc(100% - 32px);}}@media print{nav.sub,.content .out-of-band,.collapse-toggle{display:none;}}@media (max-width:464px){#titles,#titles>button{height:73px;}#main,#search{margin-top:100px;}#main>table:not(.table-display) td{word-break:break-word;width:50%;}.search-container>div{display:block;width:calc(100% - 37px);}#crate-search{width:100%;border-radius:4px;border:0;}#crate-search+.search-input{width:calc(100% + 71px);margin-left:-36px;}#theme-picker,#settings-menu{padding:5px;width:31px;height:31px;}#theme-picker{margin-top:-2px;}#settings-menu{top:7px;}.docblock{margin-left:12px;}}h3.notable{margin:0;margin-bottom:13px;font-size:19px;}kbd{display:inline-block;padding:3px 5px;font:15px monospace;line-height:10px;vertical-align:middle;border:solid 1px;border-radius:3px;box-shadow:inset 0 -1px 0;cursor:default;}.hidden-by-impl-hider,.hidden-by-usual-hider{display:none !important;}#implementations-list>h3>span.in-band{width:100%;}.table-display{width:100%;border:0;border-collapse:collapse;border-spacing:0;font-size:16px;}.table-display tr td:first-child{padding-right:0;}.table-display tr td:last-child{float:right;}.table-display .out-of-band{position:relative;font-size:19px;display:block;}#implementors-list>.impl-items .table-display .out-of-band{font-size:17px;}.table-display td:hover .anchor{display:block;top:2px;left:-5px;}#main>ul{padding-left:10px;}#main>ul>li{list-style:none;}.non-exhaustive{margin-bottom:1em;}div.children{padding-left:27px;display:none;}div.name{cursor:pointer;position:relative;margin-left:16px;}div.files>a{display:block;padding:0 3px;}div.files>a:hover,div.name:hover{background-color:#a14b4b;}div.name.expand+.children{display:block;}div.name::before{content:"\25B6";padding-left:4px;font-size:0.7em;position:absolute;left:-16px;top:4px;}div.name.expand::before{transform:rotate(90deg);left:-15px;top:2px;}.type-decl>pre>.toggle-wrapper.toggle-attributes.top-attr{margin-left:0 !important;}.type-decl>pre>.docblock.attributes.top-attr{margin-left:1.8em !important;}.type-decl>pre>.toggle-attributes{margin-left:2.2em;}.type-decl>pre>.docblock.attributes{margin-left:4em;} \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/search-index.js b/static/docs-rs/bdk/nightly/latest/search-index.js index 448f5b4930..621884b7a2 100644 --- a/static/docs-rs/bdk/nightly/latest/search-index.js +++ b/static/docs-rs/bdk/nightly/latest/search-index.js @@ -1,4 +1,4 @@ var searchIndex = JSON.parse('{\ -"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","i":[[0,"blockchain","bdk","Blockchain backends",null,null],[0,"any","bdk::blockchain","Runtime-checked blockchain types",null,null],[4,"AnyBlockchain","bdk::blockchain::any","Type that can contain any of the [Blockchain] types …",null,null],[13,"Electrum","","Electrum client",0,null],[13,"Esplora","","Esplora client",0,null],[13,"CompactFilters","","Compact filters client",0,null],[4,"AnyBlockchainConfig","","Type that can contain any of the blockchain …",null,null],[13,"Electrum","","Electrum client",1,null],[13,"Esplora","","Esplora client",1,null],[13,"CompactFilters","","Compact filters client",1,null],[0,"electrum","bdk::blockchain","Electrum",null,null],[3,"ElectrumBlockchain","bdk::blockchain::electrum","Wrapper over an Electrum Client that implements the …",null,null],[3,"ElectrumBlockchainConfig","","Configuration for an [ElectrumBlockchain]",null,null],[12,"url","","URL of the Electrum server (such as ElectrumX, Esplora, …",2,null],[12,"socks5","","URL of the socks5 proxy server or a Tor service",2,null],[12,"retry","","Request retry count",2,null],[12,"timeout","","Request timeout (seconds)",2,null],[0,"esplora","bdk::blockchain","Esplora",null,null],[3,"EsploraBlockchain","bdk::blockchain::esplora","Structure that implements the logic to sync with Esplora",null,null],[11,"new","","Create a new instance of the client from a base URL",3,[[["u8",15],["option",4],["str",15]]]],[3,"EsploraBlockchainConfig","","Configuration for an [EsploraBlockchain]",null,null],[12,"base_url","","Base URL of the esplora service",4,null],[12,"concurrency","","Number of parallel requests sent to the esplora service …",4,null],[4,"EsploraError","","Errors that can happen during a sync with […",null,null],[13,"Reqwest","","Error with the HTTP call",5,null],[13,"Parsing","","Invalid number returned",5,null],[13,"BitcoinEncoding","","Invalid Bitcoin data returned",5,null],[13,"Hex","","Invalid Hex data returned",5,null],[13,"TransactionNotFound","","Transaction not found",5,null],[13,"HeaderHeightNotFound","","Header height not found",5,null],[13,"HeaderHashNotFound","","Header hash not found",5,null],[0,"compact_filters","bdk::blockchain","Compact Filters",null,null],[3,"Mempool","bdk::blockchain::compact_filters","Container for unconfirmed, but valid Bitcoin transactions",null,null],[3,"Peer","","A Bitcoin peer",null,null],[3,"CompactFiltersBlockchain","","Structure implementing the required blockchain traits",null,null],[11,"new","","Construct a new instance given a list of peers, a path to …",6,[[["peer",3],["asref",8],["usize",15],["path",3],["option",4],["vec",3]],[["compactfilterserror",4],["result",4]]]],[3,"BitcoinPeerConfig","","Data to connect to a Bitcoin P2P peer",null,null],[12,"address","","Peer address such as 127.0.0.1:18333",7,null],[12,"socks5","","Optional socks5 proxy",7,null],[12,"socks5_credentials","","Optional socks5 proxy credentials",7,null],[3,"CompactFiltersBlockchainConfig","","Configuration for a [CompactFiltersBlockchain]",null,null],[12,"peers","","List of peers to try to connect to for asking headers and …",8,null],[12,"network","","Network used",8,null],[12,"storage_dir","","Storage dir to save partially downloaded headers and full …",8,null],[12,"skip_blocks","","Optionally skip initial skip_blocks blocks (default: 0)",8,null],[4,"CompactFiltersError","","An error that can occur during sync with a […",null,null],[13,"InvalidResponse","","A peer sent an invalid or unexpected response",9,null],[13,"InvalidHeaders","","The headers returned are invalid",9,null],[13,"InvalidFilterHeader","","The compact filter headers returned are invalid",9,null],[13,"InvalidFilter","","The compact filter returned is invalid",9,null],[13,"MissingBlock","","The peer is missing a block in the valid chain",9,null],[13,"DataCorruption","","The data stored in the block filters storage are corrupted",9,null],[13,"NotConnected","","A peer is not connected",9,null],[13,"Timeout","","A peer took too long to reply to one of our messages",9,null],[13,"PeerBloomDisabled","","The peer doesn’t advertise the BLOOM service flag",9,null],[13,"NoPeers","","No peers have been specified",9,null],[13,"DB","","Internal database error",9,null],[13,"IO","","Internal I/O error",9,null],[13,"BIP158","","Invalid BIP158 filter",9,null],[13,"Time","","Internal system time error",9,null],[13,"Global","","Wrapper for [crate::error::Error]",9,null],[4,"Capability","bdk::blockchain","Capabilities that can be supported by a [Blockchain] …",null,null],[13,"FullHistory","","Can recover the full history of a wallet and not only the …",10,null],[13,"GetAnyTx","","Can fetch any historical transaction given its txid",10,null],[13,"AccurateFees","","Can compute accurate fees for the transactions found …",10,null],[8,"Blockchain","","Trait that defines the actions that must be supported by …",null,null],[10,"get_capabilities","","Return the set of [Capability] supported by this backend",11,[[],[["hashset",3],["capability",4]]]],[10,"setup","","Setup the backend and populate the internal database for …",11,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"sync","","Populate the internal database with transactions and UTXOs",11,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[10,"get_tx","","Fetch a transaction from the blockchain given its txid",11,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[10,"broadcast","","Broadcast a transaction",11,[[["transaction",3]],[["result",4],["error",4]]]],[10,"get_height","","Return the current height",11,[[],[["u32",15],["error",4],["result",4]]]],[10,"estimate_fee","","Estimate the fee rate required to confirm a transaction …",11,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[8,"ConfigurableBlockchain","","Trait for [Blockchain] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",12,null],[10,"from_config","","Create a new instance given a configuration",12,[[],[["result",4],["error",4]]]],[6,"ProgressData","","Data sent with a progress update over a [channel]",null,null],[8,"Progress","","Trait for types that can receive and process progress …",null,null],[10,"update","","Send a new progress update",13,[[["string",3],["f32",15],["option",4]],[["result",4],["error",4]]]],[5,"progress","","Shortcut to create a [channel] (pair of [Sender] and […",null,[[]]],[3,"NoopProgress","","Type that implements [Progress] and drops every update …",null,null],[5,"noop_progress","","Create a new instance of [NoopProgress]",null,[[],["noopprogress",3]]],[3,"LogProgress","","Type that implements [Progress] and logs at level INFO …",null,null],[5,"log_progress","","Create a nwe instance of [LogProgress]",null,[[],["logprogress",3]]],[0,"database","bdk","Database types",null,null],[0,"any","bdk::database","Runtime-checked database types",null,null],[4,"AnyDatabase","bdk::database::any","Type that can contain any of the [Database] types defined …",null,null],[13,"Memory","","In-memory ephemeral database",14,null],[13,"Sled","","Simple key-value embedded database based on [sled]",14,null],[4,"AnyBatch","","Type that contains any of the [BatchDatabase::Batch] …",null,null],[13,"Memory","","In-memory ephemeral database",15,null],[13,"Sled","","Simple key-value embedded database based on [sled]",15,null],[3,"SledDbConfiguration","","Configuration type for a [sled::Tree] database",null,null],[12,"path","","Main directory of the db",16,null],[12,"tree_name","","Name of the database tree, a separated namespace for the …",16,null],[4,"AnyDatabaseConfig","","Type that can contain any of the database configurations …",null,null],[13,"Memory","","Memory database has no config",17,null],[13,"Sled","","Simple key-value embedded database based on [sled]",17,null],[0,"memory","bdk::database","In-memory ephemeral database",null,null],[3,"MemoryDatabase","bdk::database::memory","In-memory ephemeral database",null,null],[11,"new","","Create a new empty database",18,[[]]],[8,"BatchOperations","bdk::database","Trait for operations that can be batched",null,null],[10,"set_script_pubkey","","Store a script_pubkey along with its keychain and child …",19,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[10,"set_utxo","","Store a [LocalUtxo]",19,[[["localutxo",3]],[["result",4],["error",4]]]],[10,"set_raw_tx","","Store a raw transaction",19,[[["transaction",3]],[["result",4],["error",4]]]],[10,"set_tx","","Store the metadata of a transaction",19,[[["transactiondetails",3]],[["result",4],["error",4]]]],[10,"set_last_index","","Store the last derivation index for a given keychain.",19,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[10,"del_script_pubkey_from_path","","Delete a script_pubkey given the keychain and its child …",19,[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[10,"del_path_from_script_pubkey","","Delete the data related to a specific script_pubkey, …",19,[[["script",3]],[["option",4],["error",4],["result",4]]]],[10,"del_utxo","","Delete a [LocalUtxo] given its [OutPoint]",19,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[10,"del_raw_tx","","Delete a raw transaction given its [Txid]",19,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[10,"del_tx","","Delete the metadata of a transaction and optionally the …",19,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[10,"del_last_index","","Delete the last derivation index for a keychain.",19,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[8,"Database","","Trait for reading data from a database",null,null],[10,"check_descriptor_checksum","","Read and checks the descriptor checksum for a given …",20,[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]]],[10,"iter_script_pubkeys","","Return the list of script_pubkeys",20,[[["keychainkind",4],["option",4]],[["result",4],["vec",3],["error",4]]]],[10,"iter_utxos","","Return the list of [LocalUtxo]s",20,[[],[["result",4],["vec",3],["error",4]]]],[10,"iter_raw_txs","","Return the list of raw transactions",20,[[],[["result",4],["error",4],["vec",3]]]],[10,"iter_txs","","Return the list of transactions metadata",20,[[["bool",15]],[["result",4],["error",4],["vec",3]]]],[10,"get_script_pubkey_from_path","","Fetch a script_pubkey given the child number of a …",20,[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[10,"get_path_from_script_pubkey","","Fetch the keychain and child number of a given …",20,[[["script",3]],[["option",4],["error",4],["result",4]]]],[10,"get_utxo","","Fetch a [LocalUtxo] given its [OutPoint]",20,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[10,"get_raw_tx","","Fetch a raw transaction given its [Txid]",20,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[10,"get_tx","","Fetch the transaction metadata and optionally also the …",20,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[10,"get_last_index","","Return the last defivation index for a keychain.",20,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[10,"increment_last_index","","Increment the last derivation index for a keychain and …",20,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[8,"BatchDatabase","","Trait for a database that supports batch operations",null,null],[16,"Batch","","Container for the operations",21,null],[10,"begin_batch","","Create a new batch container",21,[[]]],[10,"commit_batch","","Consume and apply a batch of operations",21,[[],[["result",4],["error",4]]]],[8,"ConfigurableDatabase","","Trait for [Database] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",22,null],[10,"from_config","","Create a new instance given a configuration",22,[[],[["result",4],["error",4]]]],[0,"descriptor","bdk","Descriptors",null,null],[0,"checksum","bdk::descriptor","Descriptor checksum",null,null],[5,"get_checksum","bdk::descriptor::checksum","Compute the checksum of a descriptor",null,[[["str",15]],[["string",3],["result",4],["descriptorerror",4]]]],[0,"error","bdk::descriptor","Descriptor errors",null,null],[4,"Error","bdk::descriptor::error","Errors related to the parsing and usage of descriptors",null,null],[13,"InvalidHDKeyPath","","Invalid HD Key path, such as having a wildcard but a …",23,null],[13,"InvalidDescriptorChecksum","","The provided descriptor doesn’t match its checksum",23,null],[13,"HardenedDerivationXpub","","The descriptor contains hardened derivation steps on …",23,null],[13,"DuplicatedKeys","","The descriptor contains multiple keys with the same BIP32 …",23,null],[13,"Key","","Error thrown while working with keys",23,null],[13,"Policy","","Error while extracting and manipulating policies",23,null],[13,"InvalidDescriptorCharacter","","Invalid character found in the descriptor checksum",23,null],[13,"BIP32","","BIP32 error",23,null],[13,"Base58","","Error during base58 decoding",23,null],[13,"PK","","Key-related error",23,null],[13,"Miniscript","","Miniscript error",23,null],[13,"Hex","","Hex decoding error",23,null],[0,"policy","bdk::descriptor","Descriptor policy",null,null],[3,"PKOrF","bdk::descriptor::policy","Raw public key or extended key fingerprint",null,null],[4,"SatisfiableItem","","An item that needs to be satisfied",null,null],[13,"Signature","","Signature for a raw public key",24,null],[13,"SignatureKey","","Signature for an extended key fingerprint",24,null],[13,"SHA256Preimage","","SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",25,null],[13,"HASH256Preimage","bdk::descriptor::policy","Double SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",26,null],[13,"RIPEMD160Preimage","bdk::descriptor::policy","RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",27,null],[13,"HASH160Preimage","bdk::descriptor::policy","SHA256 then RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",28,null],[13,"AbsoluteTimelock","bdk::descriptor::policy","Absolute timeclock timestamp",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The timestamp value",29,null],[13,"RelativeTimelock","bdk::descriptor::policy","Relative timelock locktime",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The locktime value",30,null],[13,"Multisig","bdk::descriptor::policy","Multi-signature public keys with threshold count",24,null],[12,"keys","bdk::descriptor::policy::SatisfiableItem","The raw public key or extended key fingerprint",31,null],[12,"threshold","","The required threshold count",31,null],[13,"Thresh","bdk::descriptor::policy","Threshold items with threshold count",24,null],[12,"items","bdk::descriptor::policy::SatisfiableItem","The policy items",32,null],[12,"threshold","","The required threshold count",32,null],[11,"is_leaf","bdk::descriptor::policy","Returns whether the [SatisfiableItem] is a leaf item",24,[[],["bool",15]]],[11,"id","","Returns a unique id for the [SatisfiableItem]",24,[[],["string",3]]],[6,"ConditionMap","","Type for a map of sets of [Condition] items keyed by each …",null,null],[6,"FoldedConditionMap","","Type for a map of folded sets of [Condition] items keyed …",null,null],[4,"Satisfaction","","Represent if and how much a policy item is satisfied by …",null,null],[13,"Partial","","Only a partial satisfaction of some kind of threshold …",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",34,null],[12,"m","","Threshold",34,null],[12,"items","","The items that can be satisfied by the descriptor",34,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",34,null],[12,"conditions","","Extra conditions that also need to be satisfied",34,null],[13,"PartialComplete","bdk::descriptor::policy","Can reach the threshold of some kind of threshold policy",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",35,null],[12,"m","","Threshold",35,null],[12,"items","","The items that can be satisfied by the descriptor",35,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",35,null],[12,"conditions","","Extra conditions that also need to be satisfied",35,null],[13,"Complete","bdk::descriptor::policy","Can satisfy the policy item",33,null],[12,"condition","bdk::descriptor::policy::Satisfaction","Extra conditions that also need to be satisfied",36,null],[13,"None","bdk::descriptor::policy","Cannot satisfy or contribute to the policy item",33,null],[11,"is_leaf","","Returns whether the [Satisfaction] is a leaf item",33,[[],["bool",15]]],[3,"Policy","","Descriptor spending policy",null,null],[12,"id","","Identifier for this policy node",37,null],[12,"item","","Type of this policy node",37,null],[12,"satisfaction","","How a much given PSBT already satisfies this polcy node …",37,null],[12,"contribution","","How the wallet’s descriptor can satisfy this policy node",37,null],[3,"Condition","","An extra condition that must be satisfied but that is out …",null,null],[12,"csv","","Optional CheckSequenceVerify condition",38,null],[12,"timelock","","Optional timelock condition",38,null],[11,"is_null","","Returns true if there are no extra conditions to verify",38,[[],["bool",15]]],[4,"PolicyError","","Errors that can happen while extracting and manipulating …",null,null],[13,"NotEnoughItemsSelected","","Not enough items are selected to satisfy a […",39,null],[13,"IndexOutOfRange","","Index out of range for an item to satisfy a […",39,null],[13,"AddOnLeaf","","Can not add to an item that is [Satisfaction::None] or […",39,null],[13,"AddOnPartialComplete","","Can not add to an item that is […",39,null],[13,"MixedTimelockUnits","","Can not merge CSV or timelock values unless both are less …",39,null],[13,"IncompatibleConditions","","Incompatible conditions (not currently used)",39,null],[11,"requires_path","","Return whether or not a specific path in the policy tree …",37,[[],["bool",15]]],[11,"get_condition","","Return the conditions that are set by the spending policy …",37,[[["btreemap",3]],[["result",4],["policyerror",4],["condition",3]]]],[0,"template","bdk::descriptor","Descriptor templates",null,null],[6,"DescriptorTemplateOut","bdk::descriptor::template","Type alias for the return type of [DescriptorTemplate], …",null,null],[8,"DescriptorTemplate","","Trait for descriptor templates that can be built into a …",null,null],[10,"build","","Build the complete descriptor",40,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[3,"P2PKH","","P2PKH template. Expands to a descriptor pkh(key)",null,null],[12,"0","","",41,null],[3,"P2WPKH_P2SH","","P2WPKH-P2SH template. Expands to a descriptor …",null,null],[12,"0","","",42,null],[3,"P2WPKH","","P2WPKH template. Expands to a descriptor wpkh(key)",null,null],[12,"0","","",43,null],[3,"BIP44","","BIP44 template. Expands to pkh(key/44\'/0\'/0\'/{0,1}/*)",null,null],[12,"0","","",44,null],[12,"1","","",44,null],[3,"BIP44Public","","BIP44 public template. Expands to pkh(key/{0,1}/*)",null,null],[12,"0","","",45,null],[12,"1","","",45,null],[12,"2","","",45,null],[3,"BIP49","","BIP49 template. Expands to sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))",null,null],[12,"0","","",46,null],[12,"1","","",46,null],[3,"BIP49Public","","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))",null,null],[12,"0","","",47,null],[12,"1","","",47,null],[12,"2","","",47,null],[3,"BIP84","","BIP84 template. Expands to wpkh(key/84\'/0\'/0\'/{0,1}/*)",null,null],[12,"0","","",48,null],[12,"1","","",48,null],[3,"BIP84Public","","BIP84 public template. Expands to wpkh(key/{0,1}/*)",null,null],[12,"0","","",49,null],[12,"1","","",49,null],[12,"2","","",49,null],[6,"KeyMap","bdk::descriptor","Alias type for a map of public key to secret key",null,null],[4,"Descriptor","","Script descriptor",null,null],[13,"Bare","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …",50,null],[13,"Pkh","","Pay-to-PubKey-Hash",50,null],[13,"Wpkh","","Pay-to-Witness-PubKey-Hash",50,null],[13,"Sh","","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)",50,null],[13,"Wsh","","Pay-to-Witness-ScriptHash with Segwitv0 context",50,null],[4,"Legacy","","Legacy ScriptContext To be used as P2SH scripts For …",null,null],[3,"Miniscript","","Top-level script AST type",null,null],[12,"node","","A node in the Abstract Syntax Tree(",51,null],[12,"ty","","The correctness and malleability type information for the …",51,null],[12,"ext","","Additional information helpful for extra analysis.",51,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[4,"Segwitv0","","Segwitv0 ScriptContext",null,null],[3,"DerivedDescriptorKey","","Extended [DescriptorPublicKey] that has been derived",null,null],[6,"ExtendedDescriptor","","Alias for a [Descriptor] that can contain extended keys …",null,null],[6,"DerivedDescriptor","","Alias for a [Descriptor] that contains extended derived …",null,null],[6,"HDKeyPaths","","Alias for the type of maps that represent derivation …",null,null],[8,"IntoWalletDescriptor","","Trait for types which can be converted into an […",null,null],[10,"into_wallet_descriptor","","Convert to wallet descriptor",53,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[8,"ExtractPolicy","","Trait implemented on [Descriptor]s to add a method to …",null,null],[10,"extract_policy","","Extract the spending [policy]",54,[[["secp256k1",3],["signerscontainer",3]],[["descriptorerror",4],["result",4],["option",4]]]],[0,"keys","bdk","Key formats",null,null],[0,"bip39","bdk::keys","BIP-0039",null,null],[4,"Language","bdk::keys::bip39","The language determines which words will be used in a …",null,null],[13,"English","","",55,null],[13,"ChineseSimplified","","",55,null],[13,"ChineseTraditional","","",55,null],[13,"French","","",55,null],[13,"Italian","","",55,null],[13,"Japanese","","",55,null],[13,"Korean","","",55,null],[13,"Spanish","","",55,null],[3,"Mnemonic","","The primary type in this crate, most tasks require …",null,null],[4,"MnemonicType","","Determines the number of words that will be present in a …",null,null],[13,"Words12","","",56,null],[13,"Words15","","",56,null],[13,"Words18","","",56,null],[13,"Words21","","",56,null],[13,"Words24","","",56,null],[3,"Seed","","The secret value used to derive HD wallet addresses from …",null,null],[6,"MnemonicWithPassphrase","","Type for a BIP39 mnemonic with an optional passphrase",null,null],[4,"DescriptorPublicKey","bdk::keys","The MiniscriptKey corresponding to Descriptors. This can …",null,null],[13,"SinglePub","","Single Public Key",57,null],[13,"XPub","","Xpub",57,null],[4,"DescriptorSecretKey","","A Secret Key that can be either a single key or an Xprv",null,null],[13,"SinglePriv","","Single Secret Key",58,null],[13,"XPrv","","Xprv",58,null],[3,"DescriptorSinglePriv","","A Single Descriptor Secret Key with optional origin …",null,null],[12,"origin","","Origin information",59,null],[12,"key","","The key",59,null],[3,"DescriptorSinglePub","","A Single Descriptor Key with optional origin information",null,null],[12,"origin","","Origin information",60,null],[12,"key","","The key",60,null],[6,"KeyMap","","Alias type for a map of public key to secret key",null,null],[3,"SortedMultiVec","","Contents of a “sortedmulti” descriptor",null,null],[12,"k","","signatures required",61,null],[12,"pks","","public keys inside sorted Multi",61,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[6,"ValidNetworks","","Set of valid networks for a key",null,null],[5,"any_network","","Create a set containing mainnet, testnet and regtest",null,[[],["validnetworks",6]]],[5,"mainnet_network","","Create a set only containing mainnet",null,[[],["validnetworks",6]]],[5,"test_networks","","Create a set containing testnet and regtest",null,[[],["validnetworks",6]]],[5,"merge_networks","","Compute the intersection of two sets",null,[[["validnetworks",6]],["validnetworks",6]]],[4,"DescriptorKey","","Container for public or secret keys",null,null],[11,"from_public","","Create an instance given a public key and a set of valid …",62,[[["validnetworks",6],["descriptorpublickey",4]]]],[11,"from_secret","","Create an instance given a secret key and a set of valid …",62,[[["descriptorsecretkey",4],["validnetworks",6]]]],[11,"override_valid_networks","","Override the computed set of valid networks",62,[[["validnetworks",6]]]],[4,"ScriptContextEnum","","Enum representation of the known valid [ScriptContext]s",null,null],[13,"Legacy","","Legacy scripts",63,null],[13,"Segwitv0","","Segwitv0 scripts",63,null],[11,"is_legacy","","Returns whether the script context is […",63,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is […",63,[[],["bool",15]]],[8,"ExtScriptContext","","Trait that adds extra useful methods to [ScriptContext]s",null,null],[10,"as_enum","","Returns the [ScriptContext] as a [ScriptContextEnum]",64,[[],["scriptcontextenum",4]]],[11,"is_legacy","","Returns whether the script context is Legacy",64,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is Segwitv0",64,[[],["bool",15]]],[8,"IntoDescriptorKey","","Trait for objects that can be turned into a public or …",null,null],[10,"into_descriptor_key","","Turn the key into a [DescriptorKey] within the requested […",65,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[4,"ExtendedKey","","Enum for extended keys that can be either xprv or xpub",null,null],[13,"Private","","A private extended key, aka an xprv",66,null],[13,"Public","","A public extended key, aka an xpub",66,null],[11,"has_secret","","Return whether or not the key contains the private data",66,[[],["bool",15]]],[11,"into_xprv","","Transform the [ExtendedKey] into an ExtendedPrivKey for …",66,[[["network",4]],[["extendedprivkey",3],["option",4]]]],[11,"into_xpub","","Transform the [ExtendedKey] into an ExtendedPubKey for the…",66,[[["network",4],["secp256k1",3]],["extendedpubkey",3]]],[8,"DerivableKey","","Trait for keys that can be derived.",null,null],[10,"into_extended_key","","Consume self and turn it into an [ExtendedKey]",67,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","Consume self and turn it into a [DescriptorKey] by adding …",67,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[3,"GeneratedKey","","Output of a [GeneratableKey] key generation",null,null],[11,"into_key","","Consumes self and returns the key",68,[[]]],[8,"GeneratableKey","","Trait for keys that can be generated",null,null],[16,"Entropy","","Type specifying the amount of entropy required e.g. …",69,null],[16,"Options","","Extra options required by the generate_with_entropy",69,null],[16,"Error","","Returned error in case of failure",69,null],[10,"generate_with_entropy","","Generate a key given the extra options and the entropy",69,[[],[["result",4],["generatedkey",3]]]],[11,"generate","","Generate a key given the options with a random entropy",69,[[],[["result",4],["generatedkey",3]]]],[8,"GeneratableDefaultOptions","","Trait that allows generating a key with the default …",null,null],[11,"generate_with_entropy_default","","Generate a key with the default options and a given …",70,[[],[["result",4],["generatedkey",3]]]],[11,"generate_default","","Generate a key with the default options and a random …",70,[[],[["result",4],["generatedkey",3]]]],[3,"PrivateKeyGenerateOptions","","Options for generating a [PrivateKey]",null,null],[12,"compressed","","Whether the generated key should be “compressed” or …",71,null],[4,"KeyError","","Errors thrown while working with keys",null,null],[13,"InvalidScriptContext","","The key cannot exist in the given script context",72,null],[13,"InvalidNetwork","","The key is not valid for the given network",72,null],[13,"InvalidChecksum","","The key has an invalid checksum",72,null],[13,"Message","","Custom error message",72,null],[13,"BIP32","","BIP32 error",72,null],[13,"Miniscript","","Miniscript error",72,null],[0,"wallet","bdk","Wallet",null,null],[0,"address_validator","bdk::wallet","Address validation callbacks",null,null],[4,"AddressValidatorError","bdk::wallet::address_validator","Errors that can be returned to fail the validation of an …",null,null],[13,"UserRejected","","User rejected the address",73,null],[13,"ConnectionError","","Network connection error",73,null],[13,"TimeoutError","","Network request timeout error",73,null],[13,"InvalidScript","","Invalid script",73,null],[13,"Message","","A custom error message",73,null],[8,"AddressValidator","","Trait to build address validators",null,null],[10,"validate","","Validate or inspect an address",74,[[["script",3],["keychainkind",4],["hdkeypaths",6]],[["result",4],["addressvalidatorerror",4]]]],[0,"coin_selection","bdk::wallet","Coin selection",null,null],[6,"DefaultCoinSelectionAlgorithm","bdk::wallet::coin_selection","Default coin selection algorithm used by TxBuilder if not …",null,null],[3,"CoinSelectionResult","","Result of a successful coin selection",null,null],[12,"selected","","List of outputs selected for use as inputs",75,null],[12,"fee_amount","","Total fee amount in satoshi",75,null],[11,"selected_amount","","The total value of the inputs selected.",75,[[],["u64",15]]],[11,"local_selected_amount","","The total value of the inputs selected from the local …",75,[[],["u64",15]]],[8,"CoinSelectionAlgorithm","","Trait for generalized coin selection algorithms",null,null],[10,"coin_select","","Perform the coin selection",76,[[["feerate",3],["f32",15],["u64",15],["weightedutxo",3],["vec",3]],[["error",4],["result",4],["coinselectionresult",3]]]],[3,"LargestFirstCoinSelection","","Simple and dumb coin selection",null,null],[3,"BranchAndBoundCoinSelection","","Branch and bound coin selection",null,null],[11,"new","","Create new instance with target size for change output",77,[[["u64",15]]]],[0,"export","bdk::wallet","Wallet export",null,null],[3,"WalletExport","bdk::wallet::export","Structure that contains the export of a wallet",null,null],[12,"blockheight","","Earliest block to rescan when looking for the wallet’s …",78,null],[12,"label","","Arbitrary label for the wallet",78,null],[11,"export_wallet","","Export a wallet",78,[[["bool",15],["wallet",3],["str",15]],[["str",15],["result",4]]]],[11,"descriptor","","Return the external descriptor",78,[[],["string",3]]],[11,"change_descriptor","","Return the internal descriptor, if present",78,[[],[["string",3],["option",4]]]],[0,"signer","bdk::wallet","Generalized signers",null,null],[4,"SignerId","bdk::wallet::signer","Identifier of a signer in the SignersContainers. Used as …",null,null],[13,"PkHash","","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …",79,null],[13,"Fingerprint","","The fingerprint of a BIP32 extended key",79,null],[13,"Dummy","","Dummy identifier",79,null],[4,"SignerError","","Signing error",null,null],[13,"MissingKey","","The private key is missing for the required public key",80,null],[13,"InvalidKey","","The private key in use has the right fingerprint but …",80,null],[13,"UserCanceled","","The user canceled the operation",80,null],[13,"InputIndexOutOfRange","","Input index is out of range",80,null],[13,"MissingNonWitnessUtxo","","The non_witness_utxo field of the transaction is required …",80,null],[13,"InvalidNonWitnessUtxo","","The non_witness_utxo specified is invalid",80,null],[13,"MissingWitnessUtxo","","The witness_utxo field of the transaction is required to …",80,null],[13,"MissingWitnessScript","","The witness_script field of the transaction is requied to …",80,null],[13,"MissingHDKeypath","","The fingerprint and derivation path are missing from the …",80,null],[8,"Signer","","Trait for signers",null,null],[10,"sign","","Sign a PSBT",81,[[["usize",15],["secp256k1",3],["option",4],["partiallysignedtransaction",3]],[["signererror",4],["result",4]]]],[10,"sign_whole_tx","","Return whether or not the signer signs the whole …",81,[[],["bool",15]]],[10,"id","","Return the [SignerId] for this signer",81,[[["secp256k1",3]],["signerid",4]]],[11,"descriptor_secret_key","","Return the secret key for the signer",81,[[],[["descriptorsecretkey",4],["option",4]]]],[3,"SignerOrdering","","Defines the order in which signers are called",null,null],[12,"0","","",82,null],[3,"SignersContainer","","Container for multiple signers",null,null],[11,"as_key_map","","Create a map of public keys to secret keys",83,[[["secp256k1",3]],["keymap",6]]],[11,"new","","Default constructor",83,[[]]],[11,"add_external","","Adds an external signer to the container for the …",83,[[["signer",8],["signerid",4],["signerordering",3],["arc",3]],[["option",4],["arc",3]]]],[11,"remove","","Removes a signer from the container and returns it",83,[[["signerid",4],["signerordering",3]],[["option",4],["arc",3]]]],[11,"ids","","Returns the list of identifiers of all the signers in the …",83,[[],[["signerid",4],["vec",3]]]],[11,"signers","","Returns the list of signers in the container, sorted by …",83,[[],[["vec",3],["arc",3]]]],[11,"find","","Finds the signer with lowest ordering for a given id in …",83,[[["signerid",4]],[["option",4],["arc",3]]]],[0,"time","bdk::wallet","Cross-platform time",null,null],[5,"get_timestamp","bdk::wallet::time","Return the current timestamp in seconds",null,[[],["u64",15]]],[0,"tx_builder","bdk::wallet","Transaction builder",null,null],[8,"TxBuilderContext","bdk::wallet::tx_builder","Context in which the [TxBuilder] is valid",null,null],[3,"CreateTx","","Marker type to indicate the [TxBuilder] is being used to …",null,null],[3,"BumpFee","","Marker type to indicate the [TxBuilder] is being used to …",null,null],[3,"TxBuilder","","A transaction builder",null,null],[11,"fee_rate","","Set a custom fee rate",84,[[["feerate",3]]]],[11,"fee_absolute","","Set an absolute fee",84,[[["u64",15]]]],[11,"policy_path","","Set the policy path to use while creating the transaction …",84,[[["keychainkind",4],["string",3],["vec",3],["btreemap",3]]]],[11,"add_utxos","","Add the list of outpoints to the internal list of UTXOs …",84,[[],[["result",4],["error",4]]]],[11,"add_utxo","","Add a utxo to the internal list of utxos that must be …",84,[[["outpoint",3]],[["result",4],["error",4]]]],[11,"add_foreign_utxo","","Add a foreign UTXO i.e. a UTXO not owned by this wallet.",84,[[["usize",15],["outpoint",3],["input",3]],[["result",4],["error",4]]]],[11,"manually_selected_only","","Only spend utxos added by add_utxo.",84,[[]]],[11,"unspendable","","Replace the internal list of unspendable utxos with a new …",84,[[["outpoint",3],["vec",3]]]],[11,"add_unspendable","","Add a utxo to the internal list of unspendable utxos",84,[[["outpoint",3]]]],[11,"sighash","","Sign with a specific sig hash",84,[[["sighashtype",4]]]],[11,"ordering","","Choose the ordering for inputs and outputs of the …",84,[[["txordering",4]]]],[11,"nlocktime","","Use a specific nLockTime while creating the transaction",84,[[["u32",15]]]],[11,"version","","Build a transaction with a specific version",84,[[["i32",15]]]],[11,"do_not_spend_change","","Do not spend change outputs",84,[[]]],[11,"only_spend_change","","Only spend change outputs",84,[[]]],[11,"change_policy","","Set a specific [ChangeSpendPolicy]. See […",84,[[["changespendpolicy",4]]]],[11,"force_non_witness_utxo","","Fill-in the psbt::Input::non_witness_utxo field even if …",84,[[]]],[11,"include_output_redeem_witness_script","","Fill-in the psbt::Output::redeem_script and …",84,[[]]],[11,"add_global_xpubs","","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …",84,[[]]],[11,"drain_wallet","","Spend all the available inputs. This respects filters …",84,[[]]],[11,"coin_selection","","Choose the coin selection algorithm",84,[[["coinselectionalgorithm",8]],[["txbuilder",3],["coinselectionalgorithm",8]]]],[11,"finish","","Finish the building the transaction.",84,[[],[["result",4],["error",4]]]],[11,"set_recipients","","Replace the recipients already added with a new list",84,[[["vec",3]]]],[11,"add_recipient","","Add a recipient to the internal list",84,[[["u64",15],["script",3]]]],[11,"set_single_recipient","","Set a single recipient that will get all the selected …",84,[[["script",3]]]],[11,"enable_rbf","","Enable signaling RBF",84,[[]]],[11,"enable_rbf_with_sequence","","Enable signaling RBF with a specific nSequence value",84,[[["u32",15]]]],[11,"maintain_single_recipient","","Bump the fees of a transaction made with …",84,[[],[["result",4],["error",4]]]],[4,"TxOrdering","","Ordering of the transaction’s inputs and outputs",null,null],[13,"Shuffle","","Randomized (default)",85,null],[13,"Untouched","","Unchanged",85,null],[13,"BIP69Lexicographic","","BIP69 / Lexicographic",85,null],[11,"sort_tx","","Sort transaction inputs and outputs by [TxOrdering] …",85,[[["transaction",3]]]],[4,"ChangeSpendPolicy","","Policy regarding the use of change outputs when creating …",null,null],[13,"ChangeAllowed","","Use both change and non-change outputs (default)",86,null],[13,"OnlyChange","","Only use change outputs (see [TxBuilder::only_spend_change…",86,null],[13,"ChangeForbidden","","Only use non-change outputs (see […",86,null],[8,"IsDust","bdk::wallet","Trait to check if a value is below the dust limit",null,null],[10,"is_dust","","Check whether or not a value is below dust limit",87,[[],["bool",15]]],[3,"Wallet","","A Bitcoin wallet",null,null],[11,"new_offline","","Create a new “offline” wallet",88,[[["option",4],["intowalletdescriptor",8],["network",4]],[["result",4],["error",4]]]],[11,"get_new_address","","Return a newly generated address using the external …",88,[[],[["address",3],["result",4],["error",4]]]],[11,"is_mine","","Return whether or not a script is part of this wallet …",88,[[["script",3]],[["bool",15],["error",4],["result",4]]]],[11,"list_unspent","","Return the list of unspent outputs of this wallet",88,[[],[["result",4],["vec",3],["error",4]]]],[11,"get_utxo","","Returns the UTXO owned by this wallet corresponding to …",88,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"list_transactions","","Return the list of transactions made and received by the …",88,[[["bool",15]],[["result",4],["error",4],["vec",3]]]],[11,"get_balance","","Return the balance, meaning the sum of this wallet’s …",88,[[],[["result",4],["error",4],["u64",15]]]],[11,"add_signer","","Add an external signer",88,[[["signer",8],["keychainkind",4],["arc",3],["signerordering",3]]]],[11,"add_address_validator","","Add an address validator",88,[[["addressvalidator",8],["arc",3]]]],[11,"build_tx","","Start building a transaction.",88,[[],[["txbuilder",3],["defaultcoinselectionalgorithm",6],["createtx",3]]]],[11,"build_fee_bump","","Bump the fee of a transaction previously created with …",88,[[["txid",3]],[["txbuilder",3],["error",4],["result",4]]]],[11,"sign","","Sign a transaction with all the wallet’s signers, in …",88,[[["u32",15],["psbt",3],["option",4]],[["error",4],["result",4]]]],[11,"policies","","Return the spending policies for the wallet’s descriptor",88,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"public_descriptor","","Return the “public” version of the wallet’s …",88,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[11,"finalize_psbt","","Try to finalize a PSBT",88,[[["u32",15],["psbt",3],["option",4]],[["error",4],["result",4]]]],[11,"secp_ctx","","Return the secp256k1 context used for all signing …",88,[[],["secp256k1",3]]],[11,"get_descriptor_for_keychain","","Returns the descriptor used to create adddresses for a …",88,[[["keychainkind",4]],["extendeddescriptor",6]]],[11,"new","","Create a new “online” wallet",88,[[["option",4],["intowalletdescriptor",8],["network",4]],[["result",4],["error",4]]]],[11,"sync","","Sync the internal database with the blockchain",88,[[["u32",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[11,"client","","Return a reference to the internal blockchain client",88,[[]]],[11,"network","","Get the Bitcoin network the wallet is using.",88,[[],["network",4]]],[11,"broadcast","","Broadcast a transaction to the network",88,[[["transaction",3]],[["result",4],["txid",3],["error",4]]]],[4,"Error","bdk","Errors that can be thrown by the Wallet",null,null],[13,"InvalidU32Bytes","","Wrong number of bytes found when trying to convert to u32",89,null],[13,"Generic","","Generic error",89,null],[13,"ScriptDoesntHaveAddressForm","","This error is thrown when trying to convert Bare and …",89,null],[13,"SingleRecipientMultipleOutputs","","Found multiple outputs when single_recipient option has …",89,null],[13,"SingleRecipientNoInputs","","single_recipient option is selected but neither …",89,null],[13,"NoRecipients","","Cannot build a tx without recipients",89,null],[13,"NoUtxosSelected","","manually_selected_only option is selected but no utxo has …",89,null],[13,"OutputBelowDustLimit","","Output created is under the dust limit, 546 satoshis",89,null],[13,"InsufficientFunds","","Wallet’s UTXO set is not enough to cover recipient’s …",89,null],[12,"needed","bdk::Error","Sats needed for some transaction",90,null],[12,"available","","Sats available for spending",90,null],[13,"BnBTotalTriesExceeded","bdk","Branch and bound coin selection possible attempts with …",89,null],[13,"BnBNoExactMatch","","Branch and bound coin selection tries to avoid needing a …",89,null],[13,"UnknownUTXO","","Happens when trying to spend an UTXO that is not in the …",89,null],[13,"TransactionNotFound","","Thrown when a tx is not found in the internal database",89,null],[13,"TransactionConfirmed","","Happens when trying to bump a transaction that is already …",89,null],[13,"IrreplaceableTransaction","","Trying to replace a tx that has a sequence >= 0xFFFFFFFE",89,null],[13,"FeeRateTooLow","","When bumping a tx the fee rate requested is lower than …",89,null],[12,"required","bdk::Error","Required fee rate (satoshi/vbyte)",91,null],[13,"FeeTooLow","bdk","When bumping a tx the absolute fee requested is lower …",89,null],[12,"required","bdk::Error","Required fee absolute value (satoshi)",92,null],[13,"MissingKeyOrigin","bdk","In order to use the TxBuilder::add_global_xpubs option …",89,null],[13,"Key","","Error while working with keys",89,null],[13,"ChecksumMismatch","","Descriptor checksum mismatch",89,null],[13,"SpendingPolicyRequired","","Spending policy is not compatible with this KeychainKind",89,null],[13,"InvalidPolicyPathError","","Error while extracting and manipulating policies",89,null],[13,"Signer","","Signing error",89,null],[13,"InvalidProgressValue","","Progress value must be between 0.0 (included) and 100.0 …",89,null],[13,"ProgressUpdateError","","Progress update error (maybe the channel has been closed)",89,null],[13,"InvalidOutpoint","","Requested outpoint doesn’t exist in the tx (vout …",89,null],[13,"Descriptor","","Error related to the parsing and usage of descriptors",89,null],[13,"AddressValidator","","Error that can be returned to fail the validation of an …",89,null],[13,"Encode","","Encoding error",89,null],[13,"Miniscript","","Miniscript error",89,null],[13,"BIP32","","BIP32 error",89,null],[13,"Secp256k1","","An ECDSA error",89,null],[13,"JSON","","Error serializing or deserializing JSON data",89,null],[13,"Hex","","Hex decoding error",89,null],[13,"PSBT","","Partially signed bitcoin transaction error",89,null],[13,"Electrum","","Electrum client error",89,null],[13,"Esplora","","Esplora client error",89,null],[13,"CompactFilters","","Compact filters client error)",89,null],[13,"Sled","","Sled database error",89,null],[4,"KeychainKind","","Types of keychains",null,null],[13,"External","","External",93,null],[13,"Internal","","Internal, usually used for change outputs",93,null],[3,"FeeRate","","Fee rate",null,null],[3,"LocalUtxo","","An unspent output owned by a Wallet.",null,null],[12,"outpoint","","Reference to a transaction output",94,null],[12,"txout","","Transaction output",94,null],[12,"keychain","","Type of keychain",94,null],[3,"WeightedUtxo","","A [Utxo] with its satisfaction_weight.",null,null],[12,"satisfaction_weight","","The weight of the witness data and scriptSig expressed in …",95,null],[12,"utxo","","The UTXO",95,null],[4,"Utxo","","An unspent transaction output (UTXO).",null,null],[13,"Local","","A UTXO owned by the local wallet.",96,null],[13,"Foreign","","A UTXO owned by another wallet.",96,null],[12,"outpoint","bdk::Utxo","The location of the output.",97,null],[12,"psbt_input","","The information about the input we require to add it to a …",97,null],[3,"TransactionDetails","bdk","A wallet transaction",null,null],[12,"transaction","","Optional transaction",98,null],[12,"txid","","Transaction id",98,null],[12,"timestamp","","Timestamp",98,null],[12,"received","","Received value (sats)",98,null],[12,"sent","","Sent value (sats)",98,null],[12,"fees","","Fee value (sats)",98,null],[12,"height","","Confirmed in block height, None means unconfirmed",98,null],[5,"version","","Get the version of BDK at runtime",null,[[],["str",15]]],[14,"descriptor","","Macro to write full descriptors with code",null,null],[14,"fragment","","Macro to write descriptor fragments with code",null,null],[11,"from","","",89,[[]]],[11,"into","","",89,[[]]],[11,"to_string","","",89,[[],["string",3]]],[11,"borrow","","",89,[[]]],[11,"borrow_mut","","",89,[[]]],[11,"try_from","","",89,[[],["result",4]]],[11,"try_into","","",89,[[],["result",4]]],[11,"type_id","","",89,[[],["typeid",3]]],[11,"vzip","","",89,[[]]],[11,"init","","",89,[[],["usize",15]]],[11,"deref","","",89,[[["usize",15]]]],[11,"deref_mut","","",89,[[["usize",15]]]],[11,"drop","","",89,[[["usize",15]]]],[11,"from","bdk::blockchain::any","",0,[[]]],[11,"into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"init","","",0,[[],["usize",15]]],[11,"deref","","",0,[[["usize",15]]]],[11,"deref_mut","","",0,[[["usize",15]]]],[11,"drop","","",0,[[["usize",15]]]],[11,"from","","",1,[[]]],[11,"into","","",1,[[]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"vzip","","",1,[[]]],[11,"init","","",1,[[],["usize",15]]],[11,"deref","","",1,[[["usize",15]]]],[11,"deref_mut","","",1,[[["usize",15]]]],[11,"drop","","",1,[[["usize",15]]]],[11,"from","bdk::blockchain::electrum","",99,[[]]],[11,"into","","",99,[[]]],[11,"borrow","","",99,[[]]],[11,"borrow_mut","","",99,[[]]],[11,"try_from","","",99,[[],["result",4]]],[11,"try_into","","",99,[[],["result",4]]],[11,"type_id","","",99,[[],["typeid",3]]],[11,"vzip","","",99,[[]]],[11,"init","","",99,[[],["usize",15]]],[11,"deref","","",99,[[["usize",15]]]],[11,"deref_mut","","",99,[[["usize",15]]]],[11,"drop","","",99,[[["usize",15]]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"vzip","","",2,[[]]],[11,"init","","",2,[[],["usize",15]]],[11,"deref","","",2,[[["usize",15]]]],[11,"deref_mut","","",2,[[["usize",15]]]],[11,"drop","","",2,[[["usize",15]]]],[11,"from","bdk::blockchain::esplora","",3,[[]]],[11,"into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"vzip","","",3,[[]]],[11,"init","","",3,[[],["usize",15]]],[11,"deref","","",3,[[["usize",15]]]],[11,"deref_mut","","",3,[[["usize",15]]]],[11,"drop","","",3,[[["usize",15]]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"vzip","","",4,[[]]],[11,"init","","",4,[[],["usize",15]]],[11,"deref","","",4,[[["usize",15]]]],[11,"deref_mut","","",4,[[["usize",15]]]],[11,"drop","","",4,[[["usize",15]]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"to_string","","",5,[[],["string",3]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"vzip","","",5,[[]]],[11,"init","","",5,[[],["usize",15]]],[11,"deref","","",5,[[["usize",15]]]],[11,"deref_mut","","",5,[[["usize",15]]]],[11,"drop","","",5,[[["usize",15]]]],[11,"from","bdk::blockchain::compact_filters","",100,[[]]],[11,"into","","",100,[[]]],[11,"borrow","","",100,[[]]],[11,"borrow_mut","","",100,[[]]],[11,"try_from","","",100,[[],["result",4]]],[11,"try_into","","",100,[[],["result",4]]],[11,"type_id","","",100,[[],["typeid",3]]],[11,"vzip","","",100,[[]]],[11,"init","","",100,[[],["usize",15]]],[11,"deref","","",100,[[["usize",15]]]],[11,"deref_mut","","",100,[[["usize",15]]]],[11,"drop","","",100,[[["usize",15]]]],[11,"from","","",101,[[]]],[11,"into","","",101,[[]]],[11,"borrow","","",101,[[]]],[11,"borrow_mut","","",101,[[]]],[11,"try_from","","",101,[[],["result",4]]],[11,"try_into","","",101,[[],["result",4]]],[11,"type_id","","",101,[[],["typeid",3]]],[11,"vzip","","",101,[[]]],[11,"init","","",101,[[],["usize",15]]],[11,"deref","","",101,[[["usize",15]]]],[11,"deref_mut","","",101,[[["usize",15]]]],[11,"drop","","",101,[[["usize",15]]]],[11,"from","","",6,[[]]],[11,"into","","",6,[[]]],[11,"borrow","","",6,[[]]],[11,"borrow_mut","","",6,[[]]],[11,"try_from","","",6,[[],["result",4]]],[11,"try_into","","",6,[[],["result",4]]],[11,"type_id","","",6,[[],["typeid",3]]],[11,"vzip","","",6,[[]]],[11,"init","","",6,[[],["usize",15]]],[11,"deref","","",6,[[["usize",15]]]],[11,"deref_mut","","",6,[[["usize",15]]]],[11,"drop","","",6,[[["usize",15]]]],[11,"from","","",7,[[]]],[11,"into","","",7,[[]]],[11,"borrow","","",7,[[]]],[11,"borrow_mut","","",7,[[]]],[11,"try_from","","",7,[[],["result",4]]],[11,"try_into","","",7,[[],["result",4]]],[11,"type_id","","",7,[[],["typeid",3]]],[11,"vzip","","",7,[[]]],[11,"init","","",7,[[],["usize",15]]],[11,"deref","","",7,[[["usize",15]]]],[11,"deref_mut","","",7,[[["usize",15]]]],[11,"drop","","",7,[[["usize",15]]]],[11,"from","","",8,[[]]],[11,"into","","",8,[[]]],[11,"borrow","","",8,[[]]],[11,"borrow_mut","","",8,[[]]],[11,"try_from","","",8,[[],["result",4]]],[11,"try_into","","",8,[[],["result",4]]],[11,"type_id","","",8,[[],["typeid",3]]],[11,"vzip","","",8,[[]]],[11,"init","","",8,[[],["usize",15]]],[11,"deref","","",8,[[["usize",15]]]],[11,"deref_mut","","",8,[[["usize",15]]]],[11,"drop","","",8,[[["usize",15]]]],[11,"from","","",9,[[]]],[11,"into","","",9,[[]]],[11,"to_string","","",9,[[],["string",3]]],[11,"borrow","","",9,[[]]],[11,"borrow_mut","","",9,[[]]],[11,"try_from","","",9,[[],["result",4]]],[11,"try_into","","",9,[[],["result",4]]],[11,"type_id","","",9,[[],["typeid",3]]],[11,"vzip","","",9,[[]]],[11,"init","","",9,[[],["usize",15]]],[11,"deref","","",9,[[["usize",15]]]],[11,"deref_mut","","",9,[[["usize",15]]]],[11,"drop","","",9,[[["usize",15]]]],[11,"from","bdk::blockchain","",10,[[]]],[11,"into","","",10,[[]]],[11,"to_owned","","",10,[[]]],[11,"clone_into","","",10,[[]]],[11,"borrow","","",10,[[]]],[11,"borrow_mut","","",10,[[]]],[11,"try_from","","",10,[[],["result",4]]],[11,"try_into","","",10,[[],["result",4]]],[11,"type_id","","",10,[[],["typeid",3]]],[11,"vzip","","",10,[[]]],[11,"equivalent","","",10,[[],["bool",15]]],[11,"init","","",10,[[],["usize",15]]],[11,"deref","","",10,[[["usize",15]]]],[11,"deref_mut","","",10,[[["usize",15]]]],[11,"drop","","",10,[[["usize",15]]]],[11,"from","","",102,[[]]],[11,"into","","",102,[[]]],[11,"to_owned","","",102,[[]]],[11,"clone_into","","",102,[[]]],[11,"borrow","","",102,[[]]],[11,"borrow_mut","","",102,[[]]],[11,"try_from","","",102,[[],["result",4]]],[11,"try_into","","",102,[[],["result",4]]],[11,"type_id","","",102,[[],["typeid",3]]],[11,"vzip","","",102,[[]]],[11,"init","","",102,[[],["usize",15]]],[11,"deref","","",102,[[["usize",15]]]],[11,"deref_mut","","",102,[[["usize",15]]]],[11,"drop","","",102,[[["usize",15]]]],[11,"from","","",103,[[]]],[11,"into","","",103,[[]]],[11,"to_owned","","",103,[[]]],[11,"clone_into","","",103,[[]]],[11,"borrow","","",103,[[]]],[11,"borrow_mut","","",103,[[]]],[11,"try_from","","",103,[[],["result",4]]],[11,"try_into","","",103,[[],["result",4]]],[11,"type_id","","",103,[[],["typeid",3]]],[11,"vzip","","",103,[[]]],[11,"init","","",103,[[],["usize",15]]],[11,"deref","","",103,[[["usize",15]]]],[11,"deref_mut","","",103,[[["usize",15]]]],[11,"drop","","",103,[[["usize",15]]]],[11,"from","bdk::database::any","",14,[[]]],[11,"into","","",14,[[]]],[11,"borrow","","",14,[[]]],[11,"borrow_mut","","",14,[[]]],[11,"try_from","","",14,[[],["result",4]]],[11,"try_into","","",14,[[],["result",4]]],[11,"type_id","","",14,[[],["typeid",3]]],[11,"vzip","","",14,[[]]],[11,"init","","",14,[[],["usize",15]]],[11,"deref","","",14,[[["usize",15]]]],[11,"deref_mut","","",14,[[["usize",15]]]],[11,"drop","","",14,[[["usize",15]]]],[11,"from","","",15,[[]]],[11,"into","","",15,[[]]],[11,"borrow","","",15,[[]]],[11,"borrow_mut","","",15,[[]]],[11,"try_from","","",15,[[],["result",4]]],[11,"try_into","","",15,[[],["result",4]]],[11,"type_id","","",15,[[],["typeid",3]]],[11,"vzip","","",15,[[]]],[11,"init","","",15,[[],["usize",15]]],[11,"deref","","",15,[[["usize",15]]]],[11,"deref_mut","","",15,[[["usize",15]]]],[11,"drop","","",15,[[["usize",15]]]],[11,"from","","",16,[[]]],[11,"into","","",16,[[]]],[11,"borrow","","",16,[[]]],[11,"borrow_mut","","",16,[[]]],[11,"try_from","","",16,[[],["result",4]]],[11,"try_into","","",16,[[],["result",4]]],[11,"type_id","","",16,[[],["typeid",3]]],[11,"vzip","","",16,[[]]],[11,"init","","",16,[[],["usize",15]]],[11,"deref","","",16,[[["usize",15]]]],[11,"deref_mut","","",16,[[["usize",15]]]],[11,"drop","","",16,[[["usize",15]]]],[11,"from","","",17,[[]]],[11,"into","","",17,[[]]],[11,"borrow","","",17,[[]]],[11,"borrow_mut","","",17,[[]]],[11,"try_from","","",17,[[],["result",4]]],[11,"try_into","","",17,[[],["result",4]]],[11,"type_id","","",17,[[],["typeid",3]]],[11,"vzip","","",17,[[]]],[11,"init","","",17,[[],["usize",15]]],[11,"deref","","",17,[[["usize",15]]]],[11,"deref_mut","","",17,[[["usize",15]]]],[11,"drop","","",17,[[["usize",15]]]],[11,"from","bdk::database::memory","",18,[[]]],[11,"into","","",18,[[]]],[11,"borrow","","",18,[[]]],[11,"borrow_mut","","",18,[[]]],[11,"try_from","","",18,[[],["result",4]]],[11,"try_into","","",18,[[],["result",4]]],[11,"type_id","","",18,[[],["typeid",3]]],[11,"vzip","","",18,[[]]],[11,"init","","",18,[[],["usize",15]]],[11,"deref","","",18,[[["usize",15]]]],[11,"deref_mut","","",18,[[["usize",15]]]],[11,"drop","","",18,[[["usize",15]]]],[11,"from","bdk::descriptor","",50,[[]]],[11,"into","","",50,[[]]],[11,"to_owned","","",50,[[]]],[11,"clone_into","","",50,[[]]],[11,"to_string","","",50,[[],["string",3]]],[11,"borrow","","",50,[[]]],[11,"borrow_mut","","",50,[[]]],[11,"try_from","","",50,[[],["result",4]]],[11,"try_into","","",50,[[],["result",4]]],[11,"type_id","","",50,[[],["typeid",3]]],[11,"vzip","","",50,[[]]],[11,"equivalent","","",50,[[],["bool",15]]],[11,"init","","",50,[[],["usize",15]]],[11,"deref","","",50,[[["usize",15]]]],[11,"deref_mut","","",50,[[["usize",15]]]],[11,"drop","","",50,[[["usize",15]]]],[11,"from","bdk::keys","",57,[[]]],[11,"into","","",57,[[]]],[11,"to_owned","","",57,[[]]],[11,"clone_into","","",57,[[]]],[11,"to_string","","",57,[[],["string",3]]],[11,"borrow","","",57,[[]]],[11,"borrow_mut","","",57,[[]]],[11,"try_from","","",57,[[],["result",4]]],[11,"try_into","","",57,[[],["result",4]]],[11,"type_id","","",57,[[],["typeid",3]]],[11,"vzip","","",57,[[]]],[11,"equivalent","","",57,[[],["bool",15]]],[11,"init","","",57,[[],["usize",15]]],[11,"deref","","",57,[[["usize",15]]]],[11,"deref_mut","","",57,[[["usize",15]]]],[11,"drop","","",57,[[["usize",15]]]],[11,"as_enum","bdk::descriptor","",104,[[],["scriptcontextenum",4]]],[11,"from","","",104,[[]]],[11,"into","","",104,[[]]],[11,"to_owned","","",104,[[]]],[11,"clone_into","","",104,[[]]],[11,"borrow","","",104,[[]]],[11,"borrow_mut","","",104,[[]]],[11,"try_from","","",104,[[],["result",4]]],[11,"try_into","","",104,[[],["result",4]]],[11,"type_id","","",104,[[],["typeid",3]]],[11,"vzip","","",104,[[]]],[11,"equivalent","","",104,[[],["bool",15]]],[11,"init","","",104,[[],["usize",15]]],[11,"deref","","",104,[[["usize",15]]]],[11,"deref_mut","","",104,[[["usize",15]]]],[11,"drop","","",104,[[["usize",15]]]],[11,"from","","",51,[[]]],[11,"into","","",51,[[]]],[11,"to_owned","","",51,[[]]],[11,"clone_into","","",51,[[]]],[11,"to_string","","",51,[[],["string",3]]],[11,"borrow","","",51,[[]]],[11,"borrow_mut","","",51,[[]]],[11,"try_from","","",51,[[],["result",4]]],[11,"try_into","","",51,[[],["result",4]]],[11,"type_id","","",51,[[],["typeid",3]]],[11,"vzip","","",51,[[]]],[11,"equivalent","","",51,[[],["bool",15]]],[11,"init","","",51,[[],["usize",15]]],[11,"deref","","",51,[[["usize",15]]]],[11,"deref_mut","","",51,[[["usize",15]]]],[11,"drop","","",51,[[["usize",15]]]],[11,"as_enum","","",105,[[],["scriptcontextenum",4]]],[11,"from","","",105,[[]]],[11,"into","","",105,[[]]],[11,"to_owned","","",105,[[]]],[11,"clone_into","","",105,[[]]],[11,"borrow","","",105,[[]]],[11,"borrow_mut","","",105,[[]]],[11,"try_from","","",105,[[],["result",4]]],[11,"try_into","","",105,[[],["result",4]]],[11,"type_id","","",105,[[],["typeid",3]]],[11,"vzip","","",105,[[]]],[11,"equivalent","","",105,[[],["bool",15]]],[11,"init","","",105,[[],["usize",15]]],[11,"deref","","",105,[[["usize",15]]]],[11,"deref_mut","","",105,[[["usize",15]]]],[11,"drop","","",105,[[["usize",15]]]],[11,"from","","",106,[[]]],[11,"into","","",106,[[]]],[11,"to_owned","","",106,[[]]],[11,"clone_into","","",106,[[]]],[11,"to_string","","",106,[[],["string",3]]],[11,"borrow","","",106,[[]]],[11,"borrow_mut","","",106,[[]]],[11,"try_from","","",106,[[],["result",4]]],[11,"try_into","","",106,[[],["result",4]]],[11,"type_id","","",106,[[],["typeid",3]]],[11,"vzip","","",106,[[]]],[11,"equivalent","","",106,[[],["bool",15]]],[11,"init","","",106,[[],["usize",15]]],[11,"deref","","",106,[[["usize",15]]]],[11,"deref_mut","","",106,[[["usize",15]]]],[11,"drop","","",106,[[["usize",15]]]],[11,"from","bdk::descriptor::error","",23,[[]]],[11,"into","","",23,[[]]],[11,"to_string","","",23,[[],["string",3]]],[11,"borrow","","",23,[[]]],[11,"borrow_mut","","",23,[[]]],[11,"try_from","","",23,[[],["result",4]]],[11,"try_into","","",23,[[],["result",4]]],[11,"type_id","","",23,[[],["typeid",3]]],[11,"vzip","","",23,[[]]],[11,"init","","",23,[[],["usize",15]]],[11,"deref","","",23,[[["usize",15]]]],[11,"deref_mut","","",23,[[["usize",15]]]],[11,"drop","","",23,[[["usize",15]]]],[11,"from","bdk::descriptor::policy","",107,[[]]],[11,"into","","",107,[[]]],[11,"to_owned","","",107,[[]]],[11,"clone_into","","",107,[[]]],[11,"borrow","","",107,[[]]],[11,"borrow_mut","","",107,[[]]],[11,"try_from","","",107,[[],["result",4]]],[11,"try_into","","",107,[[],["result",4]]],[11,"type_id","","",107,[[],["typeid",3]]],[11,"vzip","","",107,[[]]],[11,"init","","",107,[[],["usize",15]]],[11,"deref","","",107,[[["usize",15]]]],[11,"deref_mut","","",107,[[["usize",15]]]],[11,"drop","","",107,[[["usize",15]]]],[11,"from","","",24,[[]]],[11,"into","","",24,[[]]],[11,"to_owned","","",24,[[]]],[11,"clone_into","","",24,[[]]],[11,"borrow","","",24,[[]]],[11,"borrow_mut","","",24,[[]]],[11,"try_from","","",24,[[],["result",4]]],[11,"try_into","","",24,[[],["result",4]]],[11,"type_id","","",24,[[],["typeid",3]]],[11,"vzip","","",24,[[]]],[11,"init","","",24,[[],["usize",15]]],[11,"deref","","",24,[[["usize",15]]]],[11,"deref_mut","","",24,[[["usize",15]]]],[11,"drop","","",24,[[["usize",15]]]],[11,"from","","",33,[[]]],[11,"into","","",33,[[]]],[11,"to_owned","","",33,[[]]],[11,"clone_into","","",33,[[]]],[11,"borrow","","",33,[[]]],[11,"borrow_mut","","",33,[[]]],[11,"try_from","","",33,[[],["result",4]]],[11,"try_into","","",33,[[],["result",4]]],[11,"type_id","","",33,[[],["typeid",3]]],[11,"vzip","","",33,[[]]],[11,"init","","",33,[[],["usize",15]]],[11,"deref","","",33,[[["usize",15]]]],[11,"deref_mut","","",33,[[["usize",15]]]],[11,"drop","","",33,[[["usize",15]]]],[11,"from","","",37,[[]]],[11,"into","","",37,[[]]],[11,"to_owned","","",37,[[]]],[11,"clone_into","","",37,[[]]],[11,"borrow","","",37,[[]]],[11,"borrow_mut","","",37,[[]]],[11,"try_from","","",37,[[],["result",4]]],[11,"try_into","","",37,[[],["result",4]]],[11,"type_id","","",37,[[],["typeid",3]]],[11,"vzip","","",37,[[]]],[11,"init","","",37,[[],["usize",15]]],[11,"deref","","",37,[[["usize",15]]]],[11,"deref_mut","","",37,[[["usize",15]]]],[11,"drop","","",37,[[["usize",15]]]],[11,"from","","",38,[[]]],[11,"into","","",38,[[]]],[11,"to_owned","","",38,[[]]],[11,"clone_into","","",38,[[]]],[11,"borrow","","",38,[[]]],[11,"borrow_mut","","",38,[[]]],[11,"try_from","","",38,[[],["result",4]]],[11,"try_into","","",38,[[],["result",4]]],[11,"type_id","","",38,[[],["typeid",3]]],[11,"vzip","","",38,[[]]],[11,"equivalent","","",38,[[],["bool",15]]],[11,"init","","",38,[[],["usize",15]]],[11,"deref","","",38,[[["usize",15]]]],[11,"deref_mut","","",38,[[["usize",15]]]],[11,"drop","","",38,[[["usize",15]]]],[11,"from","","",39,[[]]],[11,"into","","",39,[[]]],[11,"to_string","","",39,[[],["string",3]]],[11,"borrow","","",39,[[]]],[11,"borrow_mut","","",39,[[]]],[11,"try_from","","",39,[[],["result",4]]],[11,"try_into","","",39,[[],["result",4]]],[11,"type_id","","",39,[[],["typeid",3]]],[11,"vzip","","",39,[[]]],[11,"equivalent","","",39,[[],["bool",15]]],[11,"init","","",39,[[],["usize",15]]],[11,"deref","","",39,[[["usize",15]]]],[11,"deref_mut","","",39,[[["usize",15]]]],[11,"drop","","",39,[[["usize",15]]]],[11,"into_wallet_descriptor","bdk::descriptor::template","",41,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",41,[[]]],[11,"into","","",41,[[]]],[11,"borrow","","",41,[[]]],[11,"borrow_mut","","",41,[[]]],[11,"try_from","","",41,[[],["result",4]]],[11,"try_into","","",41,[[],["result",4]]],[11,"type_id","","",41,[[],["typeid",3]]],[11,"vzip","","",41,[[]]],[11,"init","","",41,[[],["usize",15]]],[11,"deref","","",41,[[["usize",15]]]],[11,"deref_mut","","",41,[[["usize",15]]]],[11,"drop","","",41,[[["usize",15]]]],[11,"into_wallet_descriptor","","",42,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",42,[[]]],[11,"into","","",42,[[]]],[11,"borrow","","",42,[[]]],[11,"borrow_mut","","",42,[[]]],[11,"try_from","","",42,[[],["result",4]]],[11,"try_into","","",42,[[],["result",4]]],[11,"type_id","","",42,[[],["typeid",3]]],[11,"vzip","","",42,[[]]],[11,"init","","",42,[[],["usize",15]]],[11,"deref","","",42,[[["usize",15]]]],[11,"deref_mut","","",42,[[["usize",15]]]],[11,"drop","","",42,[[["usize",15]]]],[11,"into_wallet_descriptor","","",43,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",43,[[]]],[11,"into","","",43,[[]]],[11,"borrow","","",43,[[]]],[11,"borrow_mut","","",43,[[]]],[11,"try_from","","",43,[[],["result",4]]],[11,"try_into","","",43,[[],["result",4]]],[11,"type_id","","",43,[[],["typeid",3]]],[11,"vzip","","",43,[[]]],[11,"init","","",43,[[],["usize",15]]],[11,"deref","","",43,[[["usize",15]]]],[11,"deref_mut","","",43,[[["usize",15]]]],[11,"drop","","",43,[[["usize",15]]]],[11,"into_wallet_descriptor","","",44,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",44,[[]]],[11,"into","","",44,[[]]],[11,"borrow","","",44,[[]]],[11,"borrow_mut","","",44,[[]]],[11,"try_from","","",44,[[],["result",4]]],[11,"try_into","","",44,[[],["result",4]]],[11,"type_id","","",44,[[],["typeid",3]]],[11,"vzip","","",44,[[]]],[11,"init","","",44,[[],["usize",15]]],[11,"deref","","",44,[[["usize",15]]]],[11,"deref_mut","","",44,[[["usize",15]]]],[11,"drop","","",44,[[["usize",15]]]],[11,"into_wallet_descriptor","","",45,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",45,[[]]],[11,"into","","",45,[[]]],[11,"borrow","","",45,[[]]],[11,"borrow_mut","","",45,[[]]],[11,"try_from","","",45,[[],["result",4]]],[11,"try_into","","",45,[[],["result",4]]],[11,"type_id","","",45,[[],["typeid",3]]],[11,"vzip","","",45,[[]]],[11,"init","","",45,[[],["usize",15]]],[11,"deref","","",45,[[["usize",15]]]],[11,"deref_mut","","",45,[[["usize",15]]]],[11,"drop","","",45,[[["usize",15]]]],[11,"into_wallet_descriptor","","",46,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",46,[[]]],[11,"into","","",46,[[]]],[11,"borrow","","",46,[[]]],[11,"borrow_mut","","",46,[[]]],[11,"try_from","","",46,[[],["result",4]]],[11,"try_into","","",46,[[],["result",4]]],[11,"type_id","","",46,[[],["typeid",3]]],[11,"vzip","","",46,[[]]],[11,"init","","",46,[[],["usize",15]]],[11,"deref","","",46,[[["usize",15]]]],[11,"deref_mut","","",46,[[["usize",15]]]],[11,"drop","","",46,[[["usize",15]]]],[11,"into_wallet_descriptor","","",47,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",47,[[]]],[11,"into","","",47,[[]]],[11,"borrow","","",47,[[]]],[11,"borrow_mut","","",47,[[]]],[11,"try_from","","",47,[[],["result",4]]],[11,"try_into","","",47,[[],["result",4]]],[11,"type_id","","",47,[[],["typeid",3]]],[11,"vzip","","",47,[[]]],[11,"init","","",47,[[],["usize",15]]],[11,"deref","","",47,[[["usize",15]]]],[11,"deref_mut","","",47,[[["usize",15]]]],[11,"drop","","",47,[[["usize",15]]]],[11,"into_wallet_descriptor","","",48,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",48,[[]]],[11,"into","","",48,[[]]],[11,"borrow","","",48,[[]]],[11,"borrow_mut","","",48,[[]]],[11,"try_from","","",48,[[],["result",4]]],[11,"try_into","","",48,[[],["result",4]]],[11,"type_id","","",48,[[],["typeid",3]]],[11,"vzip","","",48,[[]]],[11,"init","","",48,[[],["usize",15]]],[11,"deref","","",48,[[["usize",15]]]],[11,"deref_mut","","",48,[[["usize",15]]]],[11,"drop","","",48,[[["usize",15]]]],[11,"into_wallet_descriptor","","",49,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",49,[[]]],[11,"into","","",49,[[]]],[11,"borrow","","",49,[[]]],[11,"borrow_mut","","",49,[[]]],[11,"try_from","","",49,[[],["result",4]]],[11,"try_into","","",49,[[],["result",4]]],[11,"type_id","","",49,[[],["typeid",3]]],[11,"vzip","","",49,[[]]],[11,"init","","",49,[[],["usize",15]]],[11,"deref","","",49,[[["usize",15]]]],[11,"deref_mut","","",49,[[["usize",15]]]],[11,"drop","","",49,[[["usize",15]]]],[11,"from","bdk::keys::bip39","",55,[[]]],[11,"into","","",55,[[]]],[11,"to_owned","","",55,[[]]],[11,"clone_into","","",55,[[]]],[11,"borrow","","",55,[[]]],[11,"borrow_mut","","",55,[[]]],[11,"try_from","","",55,[[],["result",4]]],[11,"try_into","","",55,[[],["result",4]]],[11,"type_id","","",55,[[],["typeid",3]]],[11,"vzip","","",55,[[]]],[11,"init","","",55,[[],["usize",15]]],[11,"deref","","",55,[[["usize",15]]]],[11,"deref_mut","","",55,[[["usize",15]]]],[11,"drop","","",55,[[["usize",15]]]],[11,"from","","",108,[[]]],[11,"into","","",108,[[]]],[11,"to_owned","","",108,[[]]],[11,"clone_into","","",108,[[]]],[11,"to_string","","",108,[[],["string",3]]],[11,"borrow","","",108,[[]]],[11,"borrow_mut","","",108,[[]]],[11,"try_from","","",108,[[],["result",4]]],[11,"try_into","","",108,[[],["result",4]]],[11,"type_id","","",108,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",108,[[],["string",3]]],[11,"vzip","","",108,[[]]],[11,"init","","",108,[[],["usize",15]]],[11,"deref","","",108,[[["usize",15]]]],[11,"deref_mut","","",108,[[["usize",15]]]],[11,"drop","","",108,[[["usize",15]]]],[11,"from","","",56,[[]]],[11,"into","","",56,[[]]],[11,"to_owned","","",56,[[]]],[11,"clone_into","","",56,[[]]],[11,"to_string","","",56,[[],["string",3]]],[11,"borrow","","",56,[[]]],[11,"borrow_mut","","",56,[[]]],[11,"try_from","","",56,[[],["result",4]]],[11,"try_into","","",56,[[],["result",4]]],[11,"type_id","","",56,[[],["typeid",3]]],[11,"vzip","","",56,[[]]],[11,"init","","",56,[[],["usize",15]]],[11,"deref","","",56,[[["usize",15]]]],[11,"deref_mut","","",56,[[["usize",15]]]],[11,"drop","","",56,[[["usize",15]]]],[11,"from","","",109,[[]]],[11,"into","","",109,[[]]],[11,"to_owned","","",109,[[]]],[11,"clone_into","","",109,[[]]],[11,"borrow","","",109,[[]]],[11,"borrow_mut","","",109,[[]]],[11,"try_from","","",109,[[],["result",4]]],[11,"try_into","","",109,[[],["result",4]]],[11,"type_id","","",109,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",109,[[],["string",3]]],[11,"write_base32","","",109,[[],["result",4]]],[11,"base32_len","","",109,[[],["usize",15]]],[11,"check_base32","","",109,[[],[["vec",3],["result",4]]]],[11,"vzip","","",109,[[]]],[11,"init","","",109,[[],["usize",15]]],[11,"deref","","",109,[[["usize",15]]]],[11,"deref_mut","","",109,[[["usize",15]]]],[11,"drop","","",109,[[["usize",15]]]],[11,"from","bdk::keys","",58,[[]]],[11,"into","","",58,[[]]],[11,"to_string","","",58,[[],["string",3]]],[11,"borrow","","",58,[[]]],[11,"borrow_mut","","",58,[[]]],[11,"try_from","","",58,[[],["result",4]]],[11,"try_into","","",58,[[],["result",4]]],[11,"type_id","","",58,[[],["typeid",3]]],[11,"vzip","","",58,[[]]],[11,"init","","",58,[[],["usize",15]]],[11,"deref","","",58,[[["usize",15]]]],[11,"deref_mut","","",58,[[["usize",15]]]],[11,"drop","","",58,[[["usize",15]]]],[11,"from","","",59,[[]]],[11,"into","","",59,[[]]],[11,"borrow","","",59,[[]]],[11,"borrow_mut","","",59,[[]]],[11,"try_from","","",59,[[],["result",4]]],[11,"try_into","","",59,[[],["result",4]]],[11,"type_id","","",59,[[],["typeid",3]]],[11,"vzip","","",59,[[]]],[11,"init","","",59,[[],["usize",15]]],[11,"deref","","",59,[[["usize",15]]]],[11,"deref_mut","","",59,[[["usize",15]]]],[11,"drop","","",59,[[["usize",15]]]],[11,"from","","",60,[[]]],[11,"into","","",60,[[]]],[11,"to_owned","","",60,[[]]],[11,"clone_into","","",60,[[]]],[11,"borrow","","",60,[[]]],[11,"borrow_mut","","",60,[[]]],[11,"try_from","","",60,[[],["result",4]]],[11,"try_into","","",60,[[],["result",4]]],[11,"type_id","","",60,[[],["typeid",3]]],[11,"vzip","","",60,[[]]],[11,"equivalent","","",60,[[],["bool",15]]],[11,"init","","",60,[[],["usize",15]]],[11,"deref","","",60,[[["usize",15]]]],[11,"deref_mut","","",60,[[["usize",15]]]],[11,"drop","","",60,[[["usize",15]]]],[11,"from","","",61,[[]]],[11,"into","","",61,[[]]],[11,"to_owned","","",61,[[]]],[11,"clone_into","","",61,[[]]],[11,"to_string","","",61,[[],["string",3]]],[11,"borrow","","",61,[[]]],[11,"borrow_mut","","",61,[[]]],[11,"try_from","","",61,[[],["result",4]]],[11,"try_into","","",61,[[],["result",4]]],[11,"type_id","","",61,[[],["typeid",3]]],[11,"vzip","","",61,[[]]],[11,"equivalent","","",61,[[],["bool",15]]],[11,"init","","",61,[[],["usize",15]]],[11,"deref","","",61,[[["usize",15]]]],[11,"deref_mut","","",61,[[["usize",15]]]],[11,"drop","","",61,[[["usize",15]]]],[11,"from","","",62,[[]]],[11,"into","","",62,[[]]],[11,"borrow","","",62,[[]]],[11,"borrow_mut","","",62,[[]]],[11,"try_from","","",62,[[],["result",4]]],[11,"try_into","","",62,[[],["result",4]]],[11,"type_id","","",62,[[],["typeid",3]]],[11,"vzip","","",62,[[]]],[11,"init","","",62,[[],["usize",15]]],[11,"deref","","",62,[[["usize",15]]]],[11,"deref_mut","","",62,[[["usize",15]]]],[11,"drop","","",62,[[["usize",15]]]],[11,"from","","",63,[[]]],[11,"into","","",63,[[]]],[11,"to_owned","","",63,[[]]],[11,"clone_into","","",63,[[]]],[11,"borrow","","",63,[[]]],[11,"borrow_mut","","",63,[[]]],[11,"try_from","","",63,[[],["result",4]]],[11,"try_into","","",63,[[],["result",4]]],[11,"type_id","","",63,[[],["typeid",3]]],[11,"vzip","","",63,[[]]],[11,"equivalent","","",63,[[],["bool",15]]],[11,"init","","",63,[[],["usize",15]]],[11,"deref","","",63,[[["usize",15]]]],[11,"deref_mut","","",63,[[["usize",15]]]],[11,"drop","","",63,[[["usize",15]]]],[11,"from","","",66,[[]]],[11,"into","","",66,[[]]],[11,"borrow","","",66,[[]]],[11,"borrow_mut","","",66,[[]]],[11,"try_from","","",66,[[],["result",4]]],[11,"try_into","","",66,[[],["result",4]]],[11,"type_id","","",66,[[],["typeid",3]]],[11,"vzip","","",66,[[]]],[11,"init","","",66,[[],["usize",15]]],[11,"deref","","",66,[[["usize",15]]]],[11,"deref_mut","","",66,[[["usize",15]]]],[11,"drop","","",66,[[["usize",15]]]],[11,"from","","",68,[[]]],[11,"into","","",68,[[]]],[11,"borrow","","",68,[[]]],[11,"borrow_mut","","",68,[[]]],[11,"try_from","","",68,[[],["result",4]]],[11,"try_into","","",68,[[],["result",4]]],[11,"type_id","","",68,[[],["typeid",3]]],[11,"vzip","","",68,[[]]],[11,"init","","",68,[[],["usize",15]]],[11,"deref","","",68,[[["usize",15]]]],[11,"deref_mut","","",68,[[["usize",15]]]],[11,"drop","","",68,[[["usize",15]]]],[11,"from","","",71,[[]]],[11,"into","","",71,[[]]],[11,"to_owned","","",71,[[]]],[11,"clone_into","","",71,[[]]],[11,"borrow","","",71,[[]]],[11,"borrow_mut","","",71,[[]]],[11,"try_from","","",71,[[],["result",4]]],[11,"try_into","","",71,[[],["result",4]]],[11,"type_id","","",71,[[],["typeid",3]]],[11,"vzip","","",71,[[]]],[11,"init","","",71,[[],["usize",15]]],[11,"deref","","",71,[[["usize",15]]]],[11,"deref_mut","","",71,[[["usize",15]]]],[11,"drop","","",71,[[["usize",15]]]],[11,"from","","",72,[[]]],[11,"into","","",72,[[]]],[11,"to_string","","",72,[[],["string",3]]],[11,"borrow","","",72,[[]]],[11,"borrow_mut","","",72,[[]]],[11,"try_from","","",72,[[],["result",4]]],[11,"try_into","","",72,[[],["result",4]]],[11,"type_id","","",72,[[],["typeid",3]]],[11,"vzip","","",72,[[]]],[11,"init","","",72,[[],["usize",15]]],[11,"deref","","",72,[[["usize",15]]]],[11,"deref_mut","","",72,[[["usize",15]]]],[11,"drop","","",72,[[["usize",15]]]],[11,"from","bdk","",93,[[]]],[11,"into","","",93,[[]]],[11,"to_owned","","",93,[[]]],[11,"clone_into","","",93,[[]]],[11,"borrow","","",93,[[]]],[11,"borrow_mut","","",93,[[]]],[11,"try_from","","",93,[[],["result",4]]],[11,"try_into","","",93,[[],["result",4]]],[11,"type_id","","",93,[[],["typeid",3]]],[11,"write_base32","","",93,[[],["result",4]]],[11,"base32_len","","",93,[[],["usize",15]]],[11,"check_base32","","",93,[[],[["vec",3],["result",4]]]],[11,"vzip","","",93,[[]]],[11,"equivalent","","",93,[[],["bool",15]]],[11,"init","","",93,[[],["usize",15]]],[11,"deref","","",93,[[["usize",15]]]],[11,"deref_mut","","",93,[[["usize",15]]]],[11,"drop","","",93,[[["usize",15]]]],[11,"from","","",110,[[]]],[11,"into","","",110,[[]]],[11,"to_owned","","",110,[[]]],[11,"clone_into","","",110,[[]]],[11,"borrow","","",110,[[]]],[11,"borrow_mut","","",110,[[]]],[11,"try_from","","",110,[[],["result",4]]],[11,"try_into","","",110,[[],["result",4]]],[11,"type_id","","",110,[[],["typeid",3]]],[11,"vzip","","",110,[[]]],[11,"init","","",110,[[],["usize",15]]],[11,"deref","","",110,[[["usize",15]]]],[11,"deref_mut","","",110,[[["usize",15]]]],[11,"drop","","",110,[[["usize",15]]]],[11,"from","","",94,[[]]],[11,"into","","",94,[[]]],[11,"to_owned","","",94,[[]]],[11,"clone_into","","",94,[[]]],[11,"borrow","","",94,[[]]],[11,"borrow_mut","","",94,[[]]],[11,"try_from","","",94,[[],["result",4]]],[11,"try_into","","",94,[[],["result",4]]],[11,"type_id","","",94,[[],["typeid",3]]],[11,"vzip","","",94,[[]]],[11,"equivalent","","",94,[[],["bool",15]]],[11,"init","","",94,[[],["usize",15]]],[11,"deref","","",94,[[["usize",15]]]],[11,"deref_mut","","",94,[[["usize",15]]]],[11,"drop","","",94,[[["usize",15]]]],[11,"from","","",95,[[]]],[11,"into","","",95,[[]]],[11,"to_owned","","",95,[[]]],[11,"clone_into","","",95,[[]]],[11,"borrow","","",95,[[]]],[11,"borrow_mut","","",95,[[]]],[11,"try_from","","",95,[[],["result",4]]],[11,"try_into","","",95,[[],["result",4]]],[11,"type_id","","",95,[[],["typeid",3]]],[11,"vzip","","",95,[[]]],[11,"init","","",95,[[],["usize",15]]],[11,"deref","","",95,[[["usize",15]]]],[11,"deref_mut","","",95,[[["usize",15]]]],[11,"drop","","",95,[[["usize",15]]]],[11,"from","","",96,[[]]],[11,"into","","",96,[[]]],[11,"to_owned","","",96,[[]]],[11,"clone_into","","",96,[[]]],[11,"borrow","","",96,[[]]],[11,"borrow_mut","","",96,[[]]],[11,"try_from","","",96,[[],["result",4]]],[11,"try_into","","",96,[[],["result",4]]],[11,"type_id","","",96,[[],["typeid",3]]],[11,"vzip","","",96,[[]]],[11,"init","","",96,[[],["usize",15]]],[11,"deref","","",96,[[["usize",15]]]],[11,"deref_mut","","",96,[[["usize",15]]]],[11,"drop","","",96,[[["usize",15]]]],[11,"from","","",98,[[]]],[11,"into","","",98,[[]]],[11,"to_owned","","",98,[[]]],[11,"clone_into","","",98,[[]]],[11,"borrow","","",98,[[]]],[11,"borrow_mut","","",98,[[]]],[11,"try_from","","",98,[[],["result",4]]],[11,"try_into","","",98,[[],["result",4]]],[11,"type_id","","",98,[[],["typeid",3]]],[11,"vzip","","",98,[[]]],[11,"equivalent","","",98,[[],["bool",15]]],[11,"init","","",98,[[],["usize",15]]],[11,"deref","","",98,[[["usize",15]]]],[11,"deref_mut","","",98,[[["usize",15]]]],[11,"drop","","",98,[[["usize",15]]]],[11,"from","bdk::wallet::address_validator","",73,[[]]],[11,"into","","",73,[[]]],[11,"to_owned","","",73,[[]]],[11,"clone_into","","",73,[[]]],[11,"to_string","","",73,[[],["string",3]]],[11,"borrow","","",73,[[]]],[11,"borrow_mut","","",73,[[]]],[11,"try_from","","",73,[[],["result",4]]],[11,"try_into","","",73,[[],["result",4]]],[11,"type_id","","",73,[[],["typeid",3]]],[11,"vzip","","",73,[[]]],[11,"equivalent","","",73,[[],["bool",15]]],[11,"init","","",73,[[],["usize",15]]],[11,"deref","","",73,[[["usize",15]]]],[11,"deref_mut","","",73,[[["usize",15]]]],[11,"drop","","",73,[[["usize",15]]]],[11,"from","bdk::wallet::coin_selection","",75,[[]]],[11,"into","","",75,[[]]],[11,"borrow","","",75,[[]]],[11,"borrow_mut","","",75,[[]]],[11,"try_from","","",75,[[],["result",4]]],[11,"try_into","","",75,[[],["result",4]]],[11,"type_id","","",75,[[],["typeid",3]]],[11,"vzip","","",75,[[]]],[11,"init","","",75,[[],["usize",15]]],[11,"deref","","",75,[[["usize",15]]]],[11,"deref_mut","","",75,[[["usize",15]]]],[11,"drop","","",75,[[["usize",15]]]],[11,"from","","",111,[[]]],[11,"into","","",111,[[]]],[11,"to_owned","","",111,[[]]],[11,"clone_into","","",111,[[]]],[11,"borrow","","",111,[[]]],[11,"borrow_mut","","",111,[[]]],[11,"try_from","","",111,[[],["result",4]]],[11,"try_into","","",111,[[],["result",4]]],[11,"type_id","","",111,[[],["typeid",3]]],[11,"vzip","","",111,[[]]],[11,"init","","",111,[[],["usize",15]]],[11,"deref","","",111,[[["usize",15]]]],[11,"deref_mut","","",111,[[["usize",15]]]],[11,"drop","","",111,[[["usize",15]]]],[11,"from","","",77,[[]]],[11,"into","","",77,[[]]],[11,"borrow","","",77,[[]]],[11,"borrow_mut","","",77,[[]]],[11,"try_from","","",77,[[],["result",4]]],[11,"try_into","","",77,[[],["result",4]]],[11,"type_id","","",77,[[],["typeid",3]]],[11,"vzip","","",77,[[]]],[11,"init","","",77,[[],["usize",15]]],[11,"deref","","",77,[[["usize",15]]]],[11,"deref_mut","","",77,[[["usize",15]]]],[11,"drop","","",77,[[["usize",15]]]],[11,"from","bdk::wallet::export","",78,[[]]],[11,"into","","",78,[[]]],[11,"borrow","","",78,[[]]],[11,"borrow_mut","","",78,[[]]],[11,"try_from","","",78,[[],["result",4]]],[11,"try_into","","",78,[[],["result",4]]],[11,"type_id","","",78,[[],["typeid",3]]],[11,"vzip","","",78,[[]]],[11,"init","","",78,[[],["usize",15]]],[11,"deref","","",78,[[["usize",15]]]],[11,"deref_mut","","",78,[[["usize",15]]]],[11,"drop","","",78,[[["usize",15]]]],[11,"from","bdk::wallet::signer","",79,[[]]],[11,"into","","",79,[[]]],[11,"to_owned","","",79,[[]]],[11,"clone_into","","",79,[[]]],[11,"borrow","","",79,[[]]],[11,"borrow_mut","","",79,[[]]],[11,"try_from","","",79,[[],["result",4]]],[11,"try_into","","",79,[[],["result",4]]],[11,"type_id","","",79,[[],["typeid",3]]],[11,"vzip","","",79,[[]]],[11,"equivalent","","",79,[[],["bool",15]]],[11,"init","","",79,[[],["usize",15]]],[11,"deref","","",79,[[["usize",15]]]],[11,"deref_mut","","",79,[[["usize",15]]]],[11,"drop","","",79,[[["usize",15]]]],[11,"from","","",80,[[]]],[11,"into","","",80,[[]]],[11,"to_owned","","",80,[[]]],[11,"clone_into","","",80,[[]]],[11,"to_string","","",80,[[],["string",3]]],[11,"borrow","","",80,[[]]],[11,"borrow_mut","","",80,[[]]],[11,"try_from","","",80,[[],["result",4]]],[11,"try_into","","",80,[[],["result",4]]],[11,"type_id","","",80,[[],["typeid",3]]],[11,"vzip","","",80,[[]]],[11,"equivalent","","",80,[[],["bool",15]]],[11,"init","","",80,[[],["usize",15]]],[11,"deref","","",80,[[["usize",15]]]],[11,"deref_mut","","",80,[[["usize",15]]]],[11,"drop","","",80,[[["usize",15]]]],[11,"from","","",82,[[]]],[11,"into","","",82,[[]]],[11,"to_owned","","",82,[[]]],[11,"clone_into","","",82,[[]]],[11,"borrow","","",82,[[]]],[11,"borrow_mut","","",82,[[]]],[11,"try_from","","",82,[[],["result",4]]],[11,"try_into","","",82,[[],["result",4]]],[11,"type_id","","",82,[[],["typeid",3]]],[11,"vzip","","",82,[[]]],[11,"equivalent","","",82,[[],["bool",15]]],[11,"init","","",82,[[],["usize",15]]],[11,"deref","","",82,[[["usize",15]]]],[11,"deref_mut","","",82,[[["usize",15]]]],[11,"drop","","",82,[[["usize",15]]]],[11,"from","","",83,[[]]],[11,"into","","",83,[[]]],[11,"to_owned","","",83,[[]]],[11,"clone_into","","",83,[[]]],[11,"borrow","","",83,[[]]],[11,"borrow_mut","","",83,[[]]],[11,"try_from","","",83,[[],["result",4]]],[11,"try_into","","",83,[[],["result",4]]],[11,"type_id","","",83,[[],["typeid",3]]],[11,"vzip","","",83,[[]]],[11,"init","","",83,[[],["usize",15]]],[11,"deref","","",83,[[["usize",15]]]],[11,"deref_mut","","",83,[[["usize",15]]]],[11,"drop","","",83,[[["usize",15]]]],[11,"from","bdk::wallet::tx_builder","",112,[[]]],[11,"into","","",112,[[]]],[11,"to_owned","","",112,[[]]],[11,"clone_into","","",112,[[]]],[11,"borrow","","",112,[[]]],[11,"borrow_mut","","",112,[[]]],[11,"try_from","","",112,[[],["result",4]]],[11,"try_into","","",112,[[],["result",4]]],[11,"type_id","","",112,[[],["typeid",3]]],[11,"vzip","","",112,[[]]],[11,"init","","",112,[[],["usize",15]]],[11,"deref","","",112,[[["usize",15]]]],[11,"deref_mut","","",112,[[["usize",15]]]],[11,"drop","","",112,[[["usize",15]]]],[11,"from","","",113,[[]]],[11,"into","","",113,[[]]],[11,"to_owned","","",113,[[]]],[11,"clone_into","","",113,[[]]],[11,"borrow","","",113,[[]]],[11,"borrow_mut","","",113,[[]]],[11,"try_from","","",113,[[],["result",4]]],[11,"try_into","","",113,[[],["result",4]]],[11,"type_id","","",113,[[],["typeid",3]]],[11,"vzip","","",113,[[]]],[11,"init","","",113,[[],["usize",15]]],[11,"deref","","",113,[[["usize",15]]]],[11,"deref_mut","","",113,[[["usize",15]]]],[11,"drop","","",113,[[["usize",15]]]],[11,"from","","",84,[[]]],[11,"into","","",84,[[]]],[11,"to_owned","","",84,[[]]],[11,"clone_into","","",84,[[]]],[11,"borrow","","",84,[[]]],[11,"borrow_mut","","",84,[[]]],[11,"try_from","","",84,[[],["result",4]]],[11,"try_into","","",84,[[],["result",4]]],[11,"type_id","","",84,[[],["typeid",3]]],[11,"vzip","","",84,[[]]],[11,"init","","",84,[[],["usize",15]]],[11,"deref","","",84,[[["usize",15]]]],[11,"deref_mut","","",84,[[["usize",15]]]],[11,"drop","","",84,[[["usize",15]]]],[11,"from","","",85,[[]]],[11,"into","","",85,[[]]],[11,"to_owned","","",85,[[]]],[11,"clone_into","","",85,[[]]],[11,"borrow","","",85,[[]]],[11,"borrow_mut","","",85,[[]]],[11,"try_from","","",85,[[],["result",4]]],[11,"try_into","","",85,[[],["result",4]]],[11,"type_id","","",85,[[],["typeid",3]]],[11,"vzip","","",85,[[]]],[11,"equivalent","","",85,[[],["bool",15]]],[11,"init","","",85,[[],["usize",15]]],[11,"deref","","",85,[[["usize",15]]]],[11,"deref_mut","","",85,[[["usize",15]]]],[11,"drop","","",85,[[["usize",15]]]],[11,"from","","",86,[[]]],[11,"into","","",86,[[]]],[11,"to_owned","","",86,[[]]],[11,"clone_into","","",86,[[]]],[11,"borrow","","",86,[[]]],[11,"borrow_mut","","",86,[[]]],[11,"try_from","","",86,[[],["result",4]]],[11,"try_into","","",86,[[],["result",4]]],[11,"type_id","","",86,[[],["typeid",3]]],[11,"vzip","","",86,[[]]],[11,"equivalent","","",86,[[],["bool",15]]],[11,"init","","",86,[[],["usize",15]]],[11,"deref","","",86,[[["usize",15]]]],[11,"deref_mut","","",86,[[["usize",15]]]],[11,"drop","","",86,[[["usize",15]]]],[11,"from","bdk::wallet","",88,[[]]],[11,"into","","",88,[[]]],[11,"borrow","","",88,[[]]],[11,"borrow_mut","","",88,[[]]],[11,"try_from","","",88,[[],["result",4]]],[11,"try_into","","",88,[[],["result",4]]],[11,"type_id","","",88,[[],["typeid",3]]],[11,"vzip","","",88,[[]]],[11,"init","","",88,[[],["usize",15]]],[11,"deref","","",88,[[["usize",15]]]],[11,"deref_mut","","",88,[[["usize",15]]]],[11,"drop","","",88,[[["usize",15]]]],[11,"check_terminal_non_malleable","bdk::descriptor","",104,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",104,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",104,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_terminal_non_malleable","","",105,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",105,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",105,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"from_str","bdk::keys","",58,[[["str",15]],[["descriptorsecretkey",4],["result",4]]]],[11,"from_str","","",57,[[["str",15]],[["result",4],["descriptorpublickey",4]]]],[11,"from_str","bdk::descriptor","",50,[[["str",15]],[["descriptor",4],["error",4],["result",4]]]],[11,"from_str","","",51,[[["str",15]],[["miniscript",3],["result",4],["error",4]]]],[11,"fmt","bdk::keys","",61,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",58,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",50,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",51,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",57,[[["formatter",3]],[["result",4],["error",3]]]],[11,"partial_cmp","bdk::descriptor","",51,[[["miniscript",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",104,[[["legacy",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::keys","",61,[[["sortedmultivec",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor","",105,[[["segwitv0",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::keys","",57,[[["descriptorpublickey",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",60,[[["descriptorsinglepub",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor","",50,[[["descriptor",4]],[["option",4],["ordering",4]]]],[11,"from_tree","","Parse an expression tree into a descriptor",50,[[["tree",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"from_tree","","Parse an expression tree into a Miniscript. As a general …",51,[[["tree",3]],[["miniscript",3],["result",4],["error",4]]]],[11,"clone","","",51,[[],["miniscript",3]]],[11,"clone","","",105,[[],["segwitv0",4]]],[11,"clone","bdk::keys","",61,[[],["sortedmultivec",3]]],[11,"clone","bdk::descriptor","",50,[[],["descriptor",4]]],[11,"clone","bdk::keys","",60,[[],["descriptorsinglepub",3]]],[11,"clone","bdk::descriptor","",104,[[],["legacy",4]]],[11,"clone","bdk::keys","",57,[[],["descriptorpublickey",4]]],[11,"fmt","","",57,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",50,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",104,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",59,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",60,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",58,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",105,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",51,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",61,[[["formatter",3]],[["result",4],["error",3]]]],[11,"cmp","","",61,[[["sortedmultivec",3]],["ordering",4]]],[11,"cmp","bdk::descriptor","",50,[[["descriptor",4]],["ordering",4]]],[11,"cmp","","",105,[[["segwitv0",4]],["ordering",4]]],[11,"cmp","bdk::keys","",60,[[["descriptorsinglepub",3]],["ordering",4]]],[11,"cmp","","",57,[[["descriptorpublickey",4]],["ordering",4]]],[11,"cmp","bdk::descriptor","",51,[[["miniscript",3]],["ordering",4]]],[11,"cmp","","",104,[[["legacy",4]],["ordering",4]]],[11,"is_uncompressed","bdk::keys","",57,[[],["bool",15]]],[11,"to_pubkeyhash","","",57,[[],["descriptorpublickey",4]]],[11,"hash","","",57,[[]]],[11,"hash","","",60,[[]]],[11,"hash","bdk::descriptor","",104,[[]]],[11,"hash","","",105,[[]]],[11,"hash","","",51,[[]]],[11,"for_each_key","","",50,[[],["bool",15]]],[11,"for_each_key","","",51,[[],["bool",15]]],[11,"for_each_key","bdk::keys","",61,[[],["bool",15]]],[11,"translate_pk","bdk::descriptor","Convert a descriptor using abstract keys to one using …",50,[[],[["descriptor",4],["result",4]]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",51,[[],["result",4]]],[11,"sanity_check","","Whether the descriptor is safe Checks whether all the …",50,[[],[["error",4],["result",4]]]],[11,"address","","Computes the Bitcoin address of the descriptor, if one …",50,[[["network",4]],[["error",4],["address",3],["result",4]]]],[11,"script_pubkey","","Computes the scriptpubkey of the descriptor",50,[[],["script",3]]],[11,"unsigned_script_sig","","Computes the scriptSig that will be in place for an …",50,[[],["script",3]]],[11,"explicit_script","","Computes the “witness script” of the descriptor, i.e. …",50,[[],["script",3]]],[11,"get_satisfaction","","Returns satisfying witness and scriptSig to spend an …",50,[[],[["error",4],["result",4]]]],[11,"max_satisfaction_weight","","Computes an upper bound on the weight of a satisfying …",50,[[],[["usize",15],["error",4],["result",4]]]],[11,"script_code","","Get the scriptCode of a transaction output.",50,[[],["script",3]]],[11,"lift","","",51,[[],[["error",4],["result",4],["policy",4]]]],[11,"lift","","",50,[[],[["error",4],["result",4],["policy",4]]]],[11,"lift","bdk::keys","",61,[[],[["error",4],["result",4],["policy",4]]]],[11,"eq","bdk::descriptor","",105,[[["segwitv0",4]],["bool",15]]],[11,"eq","bdk::keys","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"ne","","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"eq","","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"ne","","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"eq","bdk::descriptor","",50,[[["descriptor",4]],["bool",15]]],[11,"ne","","",50,[[["descriptor",4]],["bool",15]]],[11,"eq","","",104,[[["legacy",4]],["bool",15]]],[11,"eq","","",51,[[["miniscript",3]],["bool",15]]],[11,"eq","bdk::keys","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"ne","","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"zeroize","bdk::keys::bip39","",108,[[]]],[11,"zeroize","","",55,[[]]],[11,"zeroize","","",109,[[]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",56,[[["formatter",3]],[["result",4],["error",3]]]],[11,"as_ref","","",108,[[],["str",15]]],[11,"as_ref","","",109,[[]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"default","","",55,[[],["language",4]]],[11,"default","","",56,[[],["mnemonictype",4]]],[11,"clone","","",56,[[],["mnemonictype",4]]],[11,"clone","","",109,[[],["seed",3]]],[11,"clone","","",108,[[],["mnemonic",3]]],[11,"clone","","",55,[[],["language",4]]],[11,"fmt","","",56,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",55,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"drop","","",108,[[]]],[11,"drop","","",109,[[]]],[11,"eq","","",55,[[["language",4]],["bool",15]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"from_config","bdk::blockchain::any","",0,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::blockchain::electrum","",99,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::blockchain::esplora","",3,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::blockchain::compact_filters","",6,[[],[["result",4],["error",4]]]],[11,"update","bdk::blockchain","",102,[[["string",3],["f32",15],["option",4]],[["result",4],["error",4]]]],[11,"update","","",103,[[["string",3],["f32",15],["option",4]],[["result",4],["error",4]]]],[11,"set_script_pubkey","bdk::database::any","",14,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[11,"set_utxo","","",14,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",14,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",14,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",14,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",14,[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"del_path_from_script_pubkey","","",14,[[["script",3]],[["option",4],["error",4],["result",4]]]],[11,"del_utxo","","",14,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"del_raw_tx","","",14,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"del_tx","","",14,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"del_last_index","","",14,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[11,"set_script_pubkey","","",15,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[11,"set_utxo","","",15,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",15,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",15,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",15,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",15,[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"del_path_from_script_pubkey","","",15,[[["script",3]],[["option",4],["error",4],["result",4]]]],[11,"del_utxo","","",15,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"del_raw_tx","","",15,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"del_tx","","",15,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"del_last_index","","",15,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[11,"set_script_pubkey","bdk::database::memory","",18,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[11,"set_utxo","","",18,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",18,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",18,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",18,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",18,[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"del_path_from_script_pubkey","","",18,[[["script",3]],[["option",4],["error",4],["result",4]]]],[11,"del_utxo","","",18,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"del_raw_tx","","",18,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"del_tx","","",18,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"del_last_index","","",18,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[11,"check_descriptor_checksum","bdk::database::any","",14,[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]]],[11,"iter_script_pubkeys","","",14,[[["keychainkind",4],["option",4]],[["result",4],["vec",3],["error",4]]]],[11,"iter_utxos","","",14,[[],[["result",4],["vec",3],["error",4]]]],[11,"iter_raw_txs","","",14,[[],[["result",4],["error",4],["vec",3]]]],[11,"iter_txs","","",14,[[["bool",15]],[["result",4],["error",4],["vec",3]]]],[11,"get_script_pubkey_from_path","","",14,[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"get_path_from_script_pubkey","","",14,[[["script",3]],[["option",4],["error",4],["result",4]]]],[11,"get_utxo","","",14,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"get_raw_tx","","",14,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"get_tx","","",14,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"get_last_index","","",14,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[11,"increment_last_index","","",14,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[11,"check_descriptor_checksum","bdk::database::memory","",18,[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]]],[11,"iter_script_pubkeys","","",18,[[["keychainkind",4],["option",4]],[["result",4],["vec",3],["error",4]]]],[11,"iter_utxos","","",18,[[],[["result",4],["vec",3],["error",4]]]],[11,"iter_raw_txs","","",18,[[],[["result",4],["error",4],["vec",3]]]],[11,"iter_txs","","",18,[[["bool",15]],[["result",4],["error",4],["vec",3]]]],[11,"get_script_pubkey_from_path","","",18,[[["u32",15],["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"get_path_from_script_pubkey","","",18,[[["script",3]],[["option",4],["error",4],["result",4]]]],[11,"get_utxo","","",18,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"get_raw_tx","","",18,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"get_tx","","",18,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"get_last_index","","",18,[[["keychainkind",4]],[["error",4],["result",4],["option",4]]]],[11,"increment_last_index","","",18,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[11,"begin_batch","bdk::database::any","",14,[[]]],[11,"commit_batch","","",14,[[],[["result",4],["error",4]]]],[11,"begin_batch","bdk::database::memory","",18,[[]]],[11,"commit_batch","","",18,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::database::any","",14,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::database::memory","",18,[[],[["result",4],["error",4]]]],[11,"build","bdk::descriptor::template","",41,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",42,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",43,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",44,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",45,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",46,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",47,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",48,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",49,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"into_wallet_descriptor","bdk","",114,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[11,"into_wallet_descriptor","","",115,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[11,"extract_policy","bdk::descriptor","",51,[[["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]]],[11,"extract_policy","","",50,[[["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]]],[11,"into_descriptor_key","bdk::keys","",68,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",62,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",57,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",58,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys::bip39","",109,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",109,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk","",116,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",116,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys::bip39","",108,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",108,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys","",66,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_extended_key","","",68,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",68,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"generate_with_entropy","bdk::keys::bip39","",108,[[],[["result",4],["generatedkey",3]]]],[11,"coin_select","bdk::wallet::coin_selection","",111,[[["feerate",3],["f32",15],["u64",15],["weightedutxo",3],["vec",3]],[["error",4],["result",4],["coinselectionresult",3]]]],[11,"coin_select","","",77,[[["feerate",3],["f32",15],["u64",15],["weightedutxo",3],["vec",3]],[["error",4],["result",4],["coinselectionresult",3]]]],[11,"get_capabilities","bdk::blockchain::any","",0,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",0,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"sync","","",0,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",0,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",0,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",0,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",0,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::electrum","",99,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",99,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",99,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",99,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",99,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",99,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::esplora","",3,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",3,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",3,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",3,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",3,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",3,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::compact_filters","",6,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",6,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",6,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",6,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",6,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",6,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"as_ref","bdk","",93,[[]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["addressvalidatorerror",4]]]],[11,"from","","",89,[[["policyerror",4]]]],[11,"from","","",89,[[["signererror",4]]]],[11,"from","","",89,[[["keyerror",4]],["error",4]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",3]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["esploraerror",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["compactfilterserror",4]]]],[11,"from","bdk::blockchain::any","",0,[[["electrumblockchain",3]]]],[11,"from","","",0,[[["esplorablockchain",3]]]],[11,"from","","",0,[[["compactfiltersblockchain",3]]]],[11,"from","","",1,[[["electrumblockchainconfig",3]]]],[11,"from","","",1,[[["esplorablockchainconfig",3]]]],[11,"from","","",1,[[["compactfiltersblockchainconfig",3]]]],[11,"from","bdk::blockchain::electrum","",99,[[["client",3]]]],[11,"from","bdk::blockchain::esplora","",5,[[["error",3]]]],[11,"from","","",5,[[["parseinterror",3]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","bdk::blockchain::compact_filters","",9,[[["error",3]]]],[11,"from","","",9,[[["error",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","","",9,[[["systemtimeerror",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","bdk::database::any","",14,[[["memorydatabase",3]]]],[11,"from","","",14,[[["tree",3]]]],[11,"from","","",15,[[]]],[11,"from","","",15,[[]]],[11,"from","","",17,[[]]],[11,"from","","",17,[[["sleddbconfiguration",3]]]],[11,"from","bdk::descriptor::error","",23,[[["keyerror",4]],["error",4]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["policyerror",4]]]],[11,"from","bdk::descriptor::policy","",33,[[["bool",15]]]],[11,"from","","",37,[[["satisfiableitem",4]]]],[11,"from","bdk::keys","",66,[[["extendedpubkey",3]]]],[11,"from","","",66,[[["extendedprivkey",3]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","bdk::wallet::signer","",79,[[["hash",3]],["signerid",4]]],[11,"from","","",79,[[["fingerprint",3]],["signerid",4]]],[11,"from","","",83,[[["keymap",6]],["signerscontainer",3]]],[11,"clone","bdk::blockchain","",10,[[],["capability",4]]],[11,"clone","","",102,[[],["noopprogress",3]]],[11,"clone","","",103,[[],["logprogress",3]]],[11,"clone","bdk::descriptor","",106,[[],["deriveddescriptorkey",3]]],[11,"clone","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"clone","","",24,[[],["satisfiableitem",4]]],[11,"clone","","",33,[[],["satisfaction",4]]],[11,"clone","","",37,[[],["policy",3]]],[11,"clone","","",38,[[],["condition",3]]],[11,"clone","bdk::keys","",63,[[],["scriptcontextenum",4]]],[11,"clone","","",71,[[],["privatekeygenerateoptions",3]]],[11,"clone","bdk","",93,[[],["keychainkind",4]]],[11,"clone","","",110,[[],["feerate",3]]],[11,"clone","","",94,[[],["localutxo",3]]],[11,"clone","","",95,[[],["weightedutxo",3]]],[11,"clone","","",96,[[],["utxo",4]]],[11,"clone","","",98,[[],["transactiondetails",3]]],[11,"clone","bdk::wallet::address_validator","",73,[[],["addressvalidatorerror",4]]],[11,"clone","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"clone","bdk::wallet::signer","",79,[[],["signerid",4]]],[11,"clone","","",80,[[],["signererror",4]]],[11,"clone","","",82,[[],["signerordering",3]]],[11,"clone","","",83,[[],["signerscontainer",3]]],[11,"clone","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"clone","","",113,[[],["bumpfee",3]]],[11,"clone","","",84,[[]]],[11,"clone","","",85,[[],["txordering",4]]],[11,"clone","","",86,[[],["changespendpolicy",4]]],[11,"default","bdk::blockchain::compact_filters","",100,[[],["mempool",3]]],[11,"default","bdk::database::memory","",18,[[],["memorydatabase",3]]],[11,"default","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"default","","",38,[[],["condition",3]]],[11,"default","bdk::keys","",71,[[]]],[11,"default","bdk","",110,[[]]],[11,"default","","",98,[[],["transactiondetails",3]]],[11,"default","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"default","","",77,[[]]],[11,"default","bdk::wallet::signer","",82,[[]]],[11,"default","","",83,[[],["signerscontainer",3]]],[11,"default","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"default","","",113,[[],["bumpfee",3]]],[11,"default","","",85,[[]]],[11,"default","","",86,[[]]],[11,"cmp","bdk::descriptor","",106,[[],["ordering",4]]],[11,"cmp","bdk::descriptor::policy","",38,[[["condition",3]],["ordering",4]]],[11,"cmp","bdk::wallet::signer","",79,[[["signerid",4]],["ordering",4]]],[11,"cmp","","",82,[[["signerordering",3]],["ordering",4]]],[11,"cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],["ordering",4]]],[11,"cmp","","",86,[[["changespendpolicy",4]],["ordering",4]]],[11,"eq","bdk::blockchain","",10,[[["capability",4]],["bool",15]]],[11,"eq","bdk::descriptor","",106,[[],["bool",15]]],[11,"eq","bdk::descriptor::policy","",38,[[["condition",3]],["bool",15]]],[11,"ne","","",38,[[["condition",3]],["bool",15]]],[11,"eq","","",39,[[["policyerror",4]],["bool",15]]],[11,"ne","","",39,[[["policyerror",4]],["bool",15]]],[11,"eq","bdk::keys","",63,[[["scriptcontextenum",4]],["bool",15]]],[11,"eq","bdk","",93,[[["keychainkind",4]],["bool",15]]],[11,"eq","","",110,[[["feerate",3]],["bool",15]]],[11,"ne","","",110,[[["feerate",3]],["bool",15]]],[11,"eq","","",94,[[["localutxo",3]],["bool",15]]],[11,"ne","","",94,[[["localutxo",3]],["bool",15]]],[11,"eq","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"ne","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"eq","","",96,[[["utxo",4]],["bool",15]]],[11,"ne","","",96,[[["utxo",4]],["bool",15]]],[11,"eq","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"ne","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"eq","bdk::wallet::address_validator","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"ne","","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"eq","bdk::wallet::signer","",79,[[["signerid",4]],["bool",15]]],[11,"ne","","",79,[[["signerid",4]],["bool",15]]],[11,"eq","","",80,[[["signererror",4]],["bool",15]]],[11,"eq","","",82,[[["signerordering",3]],["bool",15]]],[11,"ne","","",82,[[["signerordering",3]],["bool",15]]],[11,"eq","bdk::wallet::tx_builder","",85,[[["txordering",4]],["bool",15]]],[11,"eq","","",86,[[["changespendpolicy",4]],["bool",15]]],[11,"partial_cmp","bdk::descriptor","",106,[[],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor::policy","",38,[[["condition",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk","",110,[[["feerate",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::wallet::signer","",79,[[["signerid",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",82,[[["signerordering",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",86,[[["changespendpolicy",4]],[["option",4],["ordering",4]]]],[11,"to_string","bdk::wallet::export","",78,[[],["string",3]]],[11,"deref","bdk::descriptor","",106,[[]]],[11,"deref","bdk::keys","",68,[[]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::any","",1,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::electrum","",2,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",4,[[["formatter",3]],["result",6]]],[11,"fmt","","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",100,[[["formatter",3]],["result",6]]],[11,"fmt","","",101,[[["formatter",3]],["result",6]]],[11,"fmt","","",6,[[["formatter",3]],["result",6]]],[11,"fmt","","",7,[[["formatter",3]],["result",6]]],[11,"fmt","","",8,[[["formatter",3]],["result",6]]],[11,"fmt","","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain","",10,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::any","",14,[[["formatter",3]],["result",6]]],[11,"fmt","","",16,[[["formatter",3]],["result",6]]],[11,"fmt","","",17,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::memory","",18,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",107,[[["formatter",3]],["result",6]]],[11,"fmt","","",24,[[["formatter",3]],["result",6]]],[11,"fmt","","",33,[[["formatter",3]],["result",6]]],[11,"fmt","","",37,[[["formatter",3]],["result",6]]],[11,"fmt","","",38,[[["formatter",3]],["result",6]]],[11,"fmt","","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",62,[[["formatter",3]],["result",6]]],[11,"fmt","","",63,[[["formatter",3]],["result",6]]],[11,"fmt","","",71,[[["formatter",3]],["result",6]]],[11,"fmt","","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",93,[[["formatter",3]],["result",6]]],[11,"fmt","","",110,[[["formatter",3]],["result",6]]],[11,"fmt","","",94,[[["formatter",3]],["result",6]]],[11,"fmt","","",95,[[["formatter",3]],["result",6]]],[11,"fmt","","",96,[[["formatter",3]],["result",6]]],[11,"fmt","","",98,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::coin_selection","",75,[[["formatter",3]],["result",6]]],[11,"fmt","","",111,[[["formatter",3]],["result",6]]],[11,"fmt","","",77,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::export","",78,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",79,[[["formatter",3]],["result",6]]],[11,"fmt","","",80,[[["formatter",3]],["result",6]]],[11,"fmt","","",82,[[["formatter",3]],["result",6]]],[11,"fmt","","",83,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::tx_builder","",112,[[["formatter",3]],["result",6]]],[11,"fmt","","",113,[[["formatter",3]],["result",6]]],[11,"fmt","","",84,[[["formatter",3]],["result",6]]],[11,"fmt","","",85,[[["formatter",3]],["result",6]]],[11,"fmt","","",86,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet","",88,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",80,[[["formatter",3]],["result",6]]],[11,"hash","bdk::blockchain","",10,[[]]],[11,"hash","bdk::descriptor","",106,[[]]],[11,"hash","bdk::descriptor::policy","",38,[[]]],[11,"hash","bdk","",93,[[]]],[11,"hash","bdk::wallet::signer","",79,[[]]],[11,"hash","bdk::wallet::tx_builder","",85,[[]]],[11,"hash","","",86,[[]]],[11,"from_str","bdk::wallet::export","",78,[[["str",15]],["result",4]]],[11,"serialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"serialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"serialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"serialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"serialize","","",8,[[],["result",4]]],[11,"serialize","bdk::database::any","",16,[[],["result",4]]],[11,"serialize","","",17,[[],["result",4]]],[11,"serialize","bdk::descriptor::policy","",107,[[],["result",4]]],[11,"serialize","","",24,[[],["result",4]]],[11,"serialize","","",33,[[],["result",4]]],[11,"serialize","","",37,[[],["result",4]]],[11,"serialize","","",38,[[],["result",4]]],[11,"serialize","bdk","",93,[[],["result",4]]],[11,"serialize","","",94,[[],["result",4]]],[11,"serialize","","",98,[[],["result",4]]],[11,"serialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"deserialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"deserialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"deserialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"deserialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"deserialize","","",8,[[],["result",4]]],[11,"deserialize","bdk::database::any","",16,[[],["result",4]]],[11,"deserialize","","",17,[[],["result",4]]],[11,"deserialize","bdk","",93,[[],["result",4]]],[11,"deserialize","","",94,[[],["result",4]]],[11,"deserialize","","",98,[[],["result",4]]],[11,"deserialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"to_pubkeyhash","bdk::descriptor","",106,[[]]],[11,"is_uncompressed","","",106,[[],["bool",15]]],[11,"serialized_len","","",106,[[],["usize",15]]],[11,"to_public_key","","",106,[[],["publickey",3]]],[11,"hash_to_hash160","","",106,[[],["hash",3]]],[11,"new","bdk::blockchain::compact_filters","Create a new empty mempool",100,[[]]],[11,"add_tx","","Add a transaction to the mempool",100,[[["transaction",3]]]],[11,"get_tx","","Look-up a transaction in the mempool given an [Inventory] …",100,[[["inventory",4]],[["transaction",3],["option",4]]]],[11,"has_tx","","Return whether or not the mempool contains a transaction …",100,[[["txid",3]],["bool",15]]],[11,"iter_txs","","Return the list of transactions contained in the mempool",100,[[],[["transaction",3],["vec",3]]]],[11,"connect","","Connect to a peer over a plaintext TCP connection",101,[[["arc",3],["mempool",3],["network",4],["tosocketaddrs",8]],[["compactfilterserror",4],["result",4]]]],[11,"connect_proxy","","Connect to a peer through a SOCKS5 proxy, optionally by …",101,[[["arc",3],["totargetaddr",8],["mempool",3],["network",4],["tosocketaddrs",8],["option",4]],[["compactfilterserror",4],["result",4]]]],[11,"get_version","","Return the [VersionMessage] sent by the peer",101,[[],["versionmessage",3]]],[11,"get_network","","Return the Bitcoin [Network] in use",101,[[],["network",4]]],[11,"get_mempool","","Return the mempool used by this peer",101,[[],[["arc",3],["mempool",3]]]],[11,"is_connected","","Return whether or not the peer is still connected",101,[[],["bool",15]]],[11,"send","","Send a raw Bitcoin message to the peer",101,[[["networkmessage",4]],[["result",4],["compactfilterserror",4]]]],[11,"recv","","Waits for a specific incoming Bitcoin message, optionally …",101,[[["duration",3],["str",15],["option",4]],[["result",4],["option",4],["compactfilterserror",4]]]],[11,"new_pk","bdk::descriptor","Create a new pk descriptor",50,[[],["descriptor",4]]],[11,"new_pkh","","Create a new PkH descriptor",50,[[],["descriptor",4]]],[11,"new_wpkh","","Create a new Wpkh descriptor Will return Err if …",50,[[],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wpkh","","Create a new sh wrapped wpkh from Pk. Errors when …",50,[[],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh","","Create a new sh for a given redeem script Errors when …",50,[[["miniscript",3],["legacy",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_wsh","","Create a new wsh descriptor from witness script Errors …",50,[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wsh","","Create a new sh wrapped wsh descriptor with witness script…",50,[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_bare","","Create a new bare descriptor from witness script Errors …",50,[[["barectx",4],["miniscript",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_sortedmulti","","Create a new sh sortedmulti descriptor with threshold k …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wsh_sortedmulti","","Create a new sh wrapped wsh sortedmulti descriptor from …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_wsh_sortedmulti","","Create a new wsh sorted multi descriptor Errors when …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"desc_type","","Get the [DescriptorType] of [Descriptor]",50,[[],["descriptortype",4]]],[11,"is_deriveable","","Whether or not the descriptor has any wildcards",50,[[],["bool",15]]],[11,"derive","","Derives all wildcard keys in the descriptor using the …",50,[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]]],[11,"parse_descriptor","","Parse a descriptor that may contain secret keys",50,[[["secp256k1",3],["str",15]],[["error",4],["result",4]]]],[11,"to_string_with_secret","","Serialize a descriptor to string with its secret keys",50,[[["hashmap",3]],["string",3]]],[11,"master_fingerprint","bdk::keys","The fingerprint of the master key associated with this key",57,[[],["fingerprint",3]]],[11,"full_derivation_path","","Full path, from the master key",57,[[],["derivationpath",3]]],[11,"is_deriveable","","Whether or not the key has a wildcards",57,[[],["bool",15]]],[11,"derive","","If this public key has a wildcard, replace it by the …",57,[[["u32",15]],["descriptorpublickey",4]]],[11,"derive_public_key","","Computes the public key corresponding to this descriptor …",57,[[["secp256k1",3]],[["publickey",3],["conversionerror",4],["result",4]]]],[11,"requires_sig","bdk::descriptor","Whether all spend paths of miniscript require a signature",51,[[],["bool",15]]],[11,"is_non_malleable","","Whether the miniscript is malleable",51,[[],["bool",15]]],[11,"within_resource_limits","","Whether the miniscript can exceed the resource …",51,[[],["bool",15]]],[11,"has_mixed_timelocks","","Whether the miniscript contains a combination of timelocks",51,[[],["bool",15]]],[11,"has_repeated_keys","","Whether the miniscript has repeated Pk or Pkh",51,[[],["bool",15]]],[11,"sanity_check","","Check whether the underlying Miniscript is safe under the …",51,[[],[["analysiserror",4],["result",4]]]],[11,"iter","","Creates a new [Iter] iterator that will iterate over all […",51,[[],["iter",3]]],[11,"iter_pk","","Creates a new [PkIter] iterator that will iterate over …",51,[[],["pkiter",3]]],[11,"iter_pkh","","Creates a new [PkhIter] iterator that will iterate over …",51,[[],["pkhiter",3]]],[11,"iter_pk_pkh","","Creates a new [PkPkhIter] iterator that will iterate over …",51,[[],["pkpkhiter",3]]],[11,"branches","","Enumerates all child nodes of the current AST node (self) …",51,[[],[["global",3],["vec",3],["miniscript",3]]]],[11,"get_nth_child","","Returns child node with given index, if any",51,[[["usize",15]],[["option",4],["miniscript",3]]]],[11,"get_leaf_pk","","Returns Vec with cloned version of all public keys from …",51,[[],[["global",3],["vec",3]]]],[11,"get_leaf_pkh","","Returns Vec with hashes of all public keys from the …",51,[[],[["vec",3],["global",3]]]],[11,"get_leaf_pk_pkh","","Returns Vec of [PkPkh] entries, representing either …",51,[[],[["pkpkh",4],["vec",3],["global",3]]]],[11,"get_nth_pk","","Returns Option::Some with cloned n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pkh","","Returns Option::Some with hash of n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pk_pkh","","Returns Option::Some with hash of n’th public key or …",51,[[["usize",15]],[["pkpkh",4],["option",4]]]],[11,"from_ast","","Add type information(Type and Extdata) to Miniscript …",51,[[["terminal",4]],[["miniscript",3],["result",4],["error",4]]]],[11,"into_inner","","Extracts the AstElem representing the root of the …",51,[[],["terminal",4]]],[11,"as_inner","","Get a reference to the inner AstElem representing the …",51,[[],["terminal",4]]],[11,"parse_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["script",3]],[["error",4],["result",4],["miniscript",3]]]],[11,"parse","","Attempt to parse a Script into Miniscript representation. …",51,[[["script",3]],[["error",4],["result",4],["miniscript",3]]]],[11,"encode","","Encode as a Bitcoin script",51,[[],["script",3]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",51,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",51,[[],[["usize",15],["error",4],["result",4]]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. For …",51,[[],[["usize",15],["error",4],["result",4]]]],[11,"from_str_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["str",15]],[["miniscript",3],["result",4],["error",4]]]],[11,"satisfy","","Attempt to produce non-malleable satisfying witness for …",51,[[],[["error",4],["result",4],["vec",3]]]],[11,"satisfy_malleable","","Attempt to produce a malleable satisfying witness for the …",51,[[],[["error",4],["result",4],["vec",3]]]],[11,"lift_check","","Lifting corresponds conversion of miniscript into Policy […",51,[[],[["lifterror",4],["result",4]]]],[11,"check_witness","bdk::keys","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"new","bdk::descriptor","Construct a new derived key",106,[[["descriptorpublickey",4],["secp256k1",3]],["deriveddescriptorkey",3]]],[11,"from_language_code","bdk::keys::bip39","Construct a word list from its language code. Returns None…",55,[[["str",15]],[["language",4],["option",4]]]],[11,"wordlist","","Get the word list for this language",55,[[],["wordlist",3]]],[11,"wordmap","","Get a [WordMap][WordMap] that allows word -> index …",55,[[],["wordmap",3]]],[11,"new","","Generates a new Mnemonic",108,[[["mnemonictype",4],["language",4]],["mnemonic",3]]],[11,"from_entropy","","Create a Mnemonic from pre-generated entropy",108,[[["language",4]],[["result",4],["mnemonic",3],["error",3]]]],[11,"from_phrase","","Create a Mnemonic from an existing mnemonic phrase",108,[[["language",4],["str",15]],[["result",4],["mnemonic",3],["error",3]]]],[11,"validate","","Validate a mnemonic phrase",108,[[["language",4],["str",15]],[["result",4],["error",3]]]],[11,"phrase","","Get the mnemonic phrase as a string reference.",108,[[],["str",15]]],[11,"into_phrase","","Consume the Mnemonic and return the phrase as a String.",108,[[],["string",3]]],[11,"entropy","","Get the original entropy value of the mnemonic phrase as …",108,[[]]],[11,"language","","Get the Language",108,[[],["language",4]]],[11,"for_word_count","","Get a MnemonicType for a mnemonic phrase with a specific …",56,[[["usize",15]],[["mnemonictype",4],["error",3],["result",4]]]],[11,"for_key_size","","Get a MnemonicType for a mnemonic phrase representing the …",56,[[["usize",15]],[["mnemonictype",4],["error",3],["result",4]]]],[11,"for_phrase","","Get a MnemonicType for an existing mnemonic phrase",56,[[["str",15]],[["mnemonictype",4],["error",3],["result",4]]]],[11,"total_bits","","Return the number of entropy+checksum bits",56,[[],["usize",15]]],[11,"entropy_bits","","Return the number of entropy bits",56,[[],["usize",15]]],[11,"checksum_bits","","Return the number of checksum bits",56,[[],["u8",15]]],[11,"word_count","","Return the number of words",56,[[],["usize",15]]],[11,"new","","Generates the seed from the Mnemonic and the password.",109,[[["mnemonic",3],["str",15]],["seed",3]]],[11,"as_bytes","","Get the seed value as a byte slice",109,[[]]],[11,"as_public","bdk::keys","Return the public version of this key, by applying either …",58,[[["secp256k1",3]],[["descriptorkeyparseerror",3],["result",4],["descriptorpublickey",4]]]],[11,"new","","Create a new instance of SortedMultiVec given a list of …",61,[[["usize",15],["global",3],["vec",3]],[["sortedmultivec",3],["error",4],["result",4]]]],[11,"from_tree","","Parse an expression tree into a SortedMultiVec",61,[[["tree",3]],[["sortedmultivec",3],["error",4],["result",4]]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",61,[[],[["result",4],["sortedmultivec",3]]]],[11,"sanity_check","","utility function to sanity a sorted multi vec",61,[[],[["error",4],["result",4]]]],[11,"sorted_node","","Create Terminal::Multi containing sorted pubkeys",61,[[],["terminal",4]]],[11,"encode","","Encode as a Bitcoin script",61,[[],["script",3]]],[11,"satisfy","","Attempt to produce a satisfying witness for the witness …",61,[[],[["error",4],["result",4],["vec",3]]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",61,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",61,[[],["usize",15]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. In …",61,[[],["usize",15]]],[11,"as_byte","bdk","Return [KeychainKind] as a byte",93,[[],["u8",15]]],[11,"from_btc_per_kvb","","Create a new instance of [FeeRate] given a float fee rate …",110,[[["f32",15]]]],[11,"from_sat_per_vb","","Create a new instance of [FeeRate] given a float fee rate …",110,[[["f32",15]]]],[11,"default_min_relay_fee","","Create a new [FeeRate] with the default min relay fee …",110,[[]]],[11,"as_sat_vb","","Return the value as satoshi/vbyte",110,[[],["f32",15]]],[11,"outpoint","","Get the location of the UTXO",96,[[],["outpoint",3]]],[11,"txout","","Get the TxOut of the UTXO",96,[[],["txout",3]]]],"p":[[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[3,"ElectrumBlockchainConfig"],[3,"EsploraBlockchain"],[3,"EsploraBlockchainConfig"],[4,"EsploraError"],[3,"CompactFiltersBlockchain"],[3,"BitcoinPeerConfig"],[3,"CompactFiltersBlockchainConfig"],[4,"CompactFiltersError"],[4,"Capability"],[8,"Blockchain"],[8,"ConfigurableBlockchain"],[8,"Progress"],[4,"AnyDatabase"],[4,"AnyBatch"],[3,"SledDbConfiguration"],[4,"AnyDatabaseConfig"],[3,"MemoryDatabase"],[8,"BatchOperations"],[8,"Database"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[4,"Error"],[4,"SatisfiableItem"],[13,"SHA256Preimage"],[13,"HASH256Preimage"],[13,"RIPEMD160Preimage"],[13,"HASH160Preimage"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[13,"Multisig"],[13,"Thresh"],[4,"Satisfaction"],[13,"Partial"],[13,"PartialComplete"],[13,"Complete"],[3,"Policy"],[3,"Condition"],[4,"PolicyError"],[8,"DescriptorTemplate"],[3,"P2PKH"],[3,"P2WPKH_P2SH"],[3,"P2WPKH"],[3,"BIP44"],[3,"BIP44Public"],[3,"BIP49"],[3,"BIP49Public"],[3,"BIP84"],[3,"BIP84Public"],[4,"Descriptor"],[3,"Miniscript"],[8,"ScriptContext"],[8,"IntoWalletDescriptor"],[8,"ExtractPolicy"],[4,"Language"],[4,"MnemonicType"],[4,"DescriptorPublicKey"],[4,"DescriptorSecretKey"],[3,"DescriptorSinglePriv"],[3,"DescriptorSinglePub"],[3,"SortedMultiVec"],[4,"DescriptorKey"],[4,"ScriptContextEnum"],[8,"ExtScriptContext"],[8,"IntoDescriptorKey"],[4,"ExtendedKey"],[8,"DerivableKey"],[3,"GeneratedKey"],[8,"GeneratableKey"],[8,"GeneratableDefaultOptions"],[3,"PrivateKeyGenerateOptions"],[4,"KeyError"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[8,"CoinSelectionAlgorithm"],[3,"BranchAndBoundCoinSelection"],[3,"WalletExport"],[4,"SignerId"],[4,"SignerError"],[8,"Signer"],[3,"SignerOrdering"],[3,"SignersContainer"],[3,"TxBuilder"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[8,"IsDust"],[3,"Wallet"],[4,"Error"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[4,"KeychainKind"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[4,"Utxo"],[13,"Foreign"],[3,"TransactionDetails"],[3,"ElectrumBlockchain"],[3,"Mempool"],[3,"Peer"],[3,"NoopProgress"],[3,"LogProgress"],[4,"Legacy"],[4,"Segwitv0"],[3,"DerivedDescriptorKey"],[3,"PKOrF"],[3,"Mnemonic"],[3,"Seed"],[3,"FeeRate"],[3,"LargestFirstCoinSelection"],[3,"CreateTx"],[3,"BumpFee"],[6,"ExtendedDescriptor"],[6,"DescriptorTemplateOut"],[6,"MnemonicWithPassphrase"]]}\ +"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","i":[[0,"blockchain","bdk","Blockchain backends",null,null],[0,"any","bdk::blockchain","Runtime-checked blockchain types",null,null],[4,"AnyBlockchain","bdk::blockchain::any","Type that can contain any of the [Blockchain] types …",null,null],[13,"Electrum","","Electrum client",0,null],[13,"Esplora","","Esplora client",0,null],[13,"CompactFilters","","Compact filters client",0,null],[4,"AnyBlockchainConfig","","Type that can contain any of the blockchain …",null,null],[13,"Electrum","","Electrum client",1,null],[13,"Esplora","","Esplora client",1,null],[13,"CompactFilters","","Compact filters client",1,null],[0,"electrum","bdk::blockchain","Electrum",null,null],[3,"ElectrumBlockchain","bdk::blockchain::electrum","Wrapper over an Electrum Client that implements the …",null,null],[3,"ElectrumBlockchainConfig","","Configuration for an [ElectrumBlockchain]",null,null],[12,"url","","URL of the Electrum server (such as ElectrumX, Esplora, …",2,null],[12,"socks5","","URL of the socks5 proxy server or a Tor service",2,null],[12,"retry","","Request retry count",2,null],[12,"timeout","","Request timeout (seconds)",2,null],[0,"esplora","bdk::blockchain","Esplora",null,null],[3,"EsploraBlockchain","bdk::blockchain::esplora","Structure that implements the logic to sync with Esplora",null,null],[11,"new","","Create a new instance of the client from a base URL",3,[[["option",4],["u8",15],["str",15]]]],[3,"EsploraBlockchainConfig","","Configuration for an [EsploraBlockchain]",null,null],[12,"base_url","","Base URL of the esplora service",4,null],[12,"concurrency","","Number of parallel requests sent to the esplora service …",4,null],[4,"EsploraError","","Errors that can happen during a sync with […",null,null],[13,"Reqwest","","Error with the HTTP call",5,null],[13,"Parsing","","Invalid number returned",5,null],[13,"BitcoinEncoding","","Invalid Bitcoin data returned",5,null],[13,"Hex","","Invalid Hex data returned",5,null],[13,"TransactionNotFound","","Transaction not found",5,null],[13,"HeaderHeightNotFound","","Header height not found",5,null],[13,"HeaderHashNotFound","","Header hash not found",5,null],[0,"compact_filters","bdk::blockchain","Compact Filters",null,null],[3,"Mempool","bdk::blockchain::compact_filters","Container for unconfirmed, but valid Bitcoin transactions",null,null],[3,"Peer","","A Bitcoin peer",null,null],[3,"CompactFiltersBlockchain","","Structure implementing the required blockchain traits",null,null],[11,"new","","Construct a new instance given a list of peers, a path to …",6,[[["vec",3],["asref",8],["peer",3],["usize",15],["option",4],["path",3]],[["result",4],["compactfilterserror",4]]]],[3,"BitcoinPeerConfig","","Data to connect to a Bitcoin P2P peer",null,null],[12,"address","","Peer address such as 127.0.0.1:18333",7,null],[12,"socks5","","Optional socks5 proxy",7,null],[12,"socks5_credentials","","Optional socks5 proxy credentials",7,null],[3,"CompactFiltersBlockchainConfig","","Configuration for a [CompactFiltersBlockchain]",null,null],[12,"peers","","List of peers to try to connect to for asking headers and …",8,null],[12,"network","","Network used",8,null],[12,"storage_dir","","Storage dir to save partially downloaded headers and full …",8,null],[12,"skip_blocks","","Optionally skip initial skip_blocks blocks (default: 0)",8,null],[4,"CompactFiltersError","","An error that can occur during sync with a […",null,null],[13,"InvalidResponse","","A peer sent an invalid or unexpected response",9,null],[13,"InvalidHeaders","","The headers returned are invalid",9,null],[13,"InvalidFilterHeader","","The compact filter headers returned are invalid",9,null],[13,"InvalidFilter","","The compact filter returned is invalid",9,null],[13,"MissingBlock","","The peer is missing a block in the valid chain",9,null],[13,"DataCorruption","","The data stored in the block filters storage are corrupted",9,null],[13,"NotConnected","","A peer is not connected",9,null],[13,"Timeout","","A peer took too long to reply to one of our messages",9,null],[13,"PeerBloomDisabled","","The peer doesn’t advertise the BLOOM service flag",9,null],[13,"NoPeers","","No peers have been specified",9,null],[13,"DB","","Internal database error",9,null],[13,"IO","","Internal I/O error",9,null],[13,"BIP158","","Invalid BIP158 filter",9,null],[13,"Time","","Internal system time error",9,null],[13,"Global","","Wrapper for [crate::error::Error]",9,null],[4,"Capability","bdk::blockchain","Capabilities that can be supported by a [Blockchain] …",null,null],[13,"FullHistory","","Can recover the full history of a wallet and not only the …",10,null],[13,"GetAnyTx","","Can fetch any historical transaction given its txid",10,null],[13,"AccurateFees","","Can compute accurate fees for the transactions found …",10,null],[8,"Blockchain","","Trait that defines the actions that must be supported by …",null,null],[10,"get_capabilities","","Return the set of [Capability] supported by this backend",11,[[],[["hashset",3],["capability",4]]]],[10,"setup","","Setup the backend and populate the internal database for …",11,[[["usize",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[11,"sync","","Populate the internal database with transactions and UTXOs",11,[[["usize",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[10,"get_tx","","Fetch a transaction from the blockchain given its txid",11,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[10,"broadcast","","Broadcast a transaction",11,[[["transaction",3]],[["result",4],["error",4]]]],[10,"get_height","","Return the current height",11,[[],[["u32",15],["error",4],["result",4]]]],[10,"estimate_fee","","Estimate the fee rate required to confirm a transaction …",11,[[["usize",15]],[["error",4],["feerate",3],["result",4]]]],[8,"ConfigurableBlockchain","","Trait for [Blockchain] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",12,null],[10,"from_config","","Create a new instance given a configuration",12,[[],[["result",4],["error",4]]]],[6,"ProgressData","","Data sent with a progress update over a [channel]",null,null],[8,"Progress","","Trait for types that can receive and process progress …",null,null],[10,"update","","Send a new progress update",13,[[["option",4],["f32",15],["string",3]],[["result",4],["error",4]]]],[5,"progress","","Shortcut to create a [channel] (pair of [Sender] and […",null,[[]]],[3,"NoopProgress","","Type that implements [Progress] and drops every update …",null,null],[5,"noop_progress","","Create a new instance of [NoopProgress]",null,[[],["noopprogress",3]]],[3,"LogProgress","","Type that implements [Progress] and logs at level INFO …",null,null],[5,"log_progress","","Create a nwe instance of [LogProgress]",null,[[],["logprogress",3]]],[0,"database","bdk","Database types",null,null],[0,"any","bdk::database","Runtime-checked database types",null,null],[4,"AnyDatabase","bdk::database::any","Type that can contain any of the [Database] types defined …",null,null],[13,"Memory","","In-memory ephemeral database",14,null],[13,"Sled","","Simple key-value embedded database based on [sled]",14,null],[4,"AnyBatch","","Type that contains any of the [BatchDatabase::Batch] …",null,null],[13,"Memory","","In-memory ephemeral database",15,null],[13,"Sled","","Simple key-value embedded database based on [sled]",15,null],[3,"SledDbConfiguration","","Configuration type for a [sled::Tree] database",null,null],[12,"path","","Main directory of the db",16,null],[12,"tree_name","","Name of the database tree, a separated namespace for the …",16,null],[4,"AnyDatabaseConfig","","Type that can contain any of the database configurations …",null,null],[13,"Memory","","Memory database has no config",17,null],[13,"Sled","","Simple key-value embedded database based on [sled]",17,null],[0,"memory","bdk::database","In-memory ephemeral database",null,null],[3,"MemoryDatabase","bdk::database::memory","In-memory ephemeral database",null,null],[11,"new","","Create a new empty database",18,[[]]],[8,"BatchOperations","bdk::database","Trait for operations that can be batched",null,null],[10,"set_script_pubkey","","Store a script_pubkey along with its keychain and child …",19,[[["keychainkind",4],["script",3],["u32",15]],[["result",4],["error",4]]]],[10,"set_utxo","","Store a [LocalUtxo]",19,[[["localutxo",3]],[["result",4],["error",4]]]],[10,"set_raw_tx","","Store a raw transaction",19,[[["transaction",3]],[["result",4],["error",4]]]],[10,"set_tx","","Store the metadata of a transaction",19,[[["transactiondetails",3]],[["result",4],["error",4]]]],[10,"set_last_index","","Store the last derivation index for a given keychain.",19,[[["keychainkind",4],["u32",15]],[["result",4],["error",4]]]],[10,"del_script_pubkey_from_path","","Delete a script_pubkey given the keychain and its child …",19,[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]]],[10,"del_path_from_script_pubkey","","Delete the data related to a specific script_pubkey, …",19,[[["script",3]],[["error",4],["option",4],["result",4]]]],[10,"del_utxo","","Delete a [LocalUtxo] given its [OutPoint]",19,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[10,"del_raw_tx","","Delete a raw transaction given its [Txid]",19,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[10,"del_tx","","Delete the metadata of a transaction and optionally the …",19,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[10,"del_last_index","","Delete the last derivation index for a keychain.",19,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[8,"Database","","Trait for reading data from a database",null,null],[10,"check_descriptor_checksum","","Read and checks the descriptor checksum for a given …",20,[[["keychainkind",4],["asref",8]],[["result",4],["error",4]]]],[10,"iter_script_pubkeys","","Return the list of script_pubkeys",20,[[["keychainkind",4],["option",4]],[["vec",3],["result",4],["error",4]]]],[10,"iter_utxos","","Return the list of [LocalUtxo]s",20,[[],[["vec",3],["error",4],["result",4]]]],[10,"iter_raw_txs","","Return the list of raw transactions",20,[[],[["result",4],["vec",3],["error",4]]]],[10,"iter_txs","","Return the list of transactions metadata",20,[[["bool",15]],[["vec",3],["result",4],["error",4]]]],[10,"get_script_pubkey_from_path","","Fetch a script_pubkey given the child number of a …",20,[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]]],[10,"get_path_from_script_pubkey","","Fetch the keychain and child number of a given …",20,[[["script",3]],[["error",4],["option",4],["result",4]]]],[10,"get_utxo","","Fetch a [LocalUtxo] given its [OutPoint]",20,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[10,"get_raw_tx","","Fetch a raw transaction given its [Txid]",20,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[10,"get_tx","","Fetch the transaction metadata and optionally also the …",20,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[10,"get_last_index","","Return the last defivation index for a keychain.",20,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[10,"increment_last_index","","Increment the last derivation index for a keychain and …",20,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[8,"BatchDatabase","","Trait for a database that supports batch operations",null,null],[16,"Batch","","Container for the operations",21,null],[10,"begin_batch","","Create a new batch container",21,[[]]],[10,"commit_batch","","Consume and apply a batch of operations",21,[[],[["result",4],["error",4]]]],[8,"ConfigurableDatabase","","Trait for [Database] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",22,null],[10,"from_config","","Create a new instance given a configuration",22,[[],[["result",4],["error",4]]]],[0,"descriptor","bdk","Descriptors",null,null],[0,"checksum","bdk::descriptor","Descriptor checksum",null,null],[5,"get_checksum","bdk::descriptor::checksum","Compute the checksum of a descriptor",null,[[["str",15]],[["result",4],["descriptorerror",4],["string",3]]]],[0,"error","bdk::descriptor","Descriptor errors",null,null],[4,"Error","bdk::descriptor::error","Errors related to the parsing and usage of descriptors",null,null],[13,"InvalidHDKeyPath","","Invalid HD Key path, such as having a wildcard but a …",23,null],[13,"InvalidDescriptorChecksum","","The provided descriptor doesn’t match its checksum",23,null],[13,"HardenedDerivationXpub","","The descriptor contains hardened derivation steps on …",23,null],[13,"DuplicatedKeys","","The descriptor contains multiple keys with the same BIP32 …",23,null],[13,"Key","","Error thrown while working with keys",23,null],[13,"Policy","","Error while extracting and manipulating policies",23,null],[13,"InvalidDescriptorCharacter","","Invalid character found in the descriptor checksum",23,null],[13,"BIP32","","BIP32 error",23,null],[13,"Base58","","Error during base58 decoding",23,null],[13,"PK","","Key-related error",23,null],[13,"Miniscript","","Miniscript error",23,null],[13,"Hex","","Hex decoding error",23,null],[0,"policy","bdk::descriptor","Descriptor policy",null,null],[3,"PKOrF","bdk::descriptor::policy","Raw public key or extended key fingerprint",null,null],[4,"SatisfiableItem","","An item that needs to be satisfied",null,null],[13,"Signature","","Signature for a raw public key",24,null],[13,"SignatureKey","","Signature for an extended key fingerprint",24,null],[13,"SHA256Preimage","","SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",25,null],[13,"HASH256Preimage","bdk::descriptor::policy","Double SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",26,null],[13,"RIPEMD160Preimage","bdk::descriptor::policy","RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",27,null],[13,"HASH160Preimage","bdk::descriptor::policy","SHA256 then RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",28,null],[13,"AbsoluteTimelock","bdk::descriptor::policy","Absolute timeclock timestamp",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The timestamp value",29,null],[13,"RelativeTimelock","bdk::descriptor::policy","Relative timelock locktime",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The locktime value",30,null],[13,"Multisig","bdk::descriptor::policy","Multi-signature public keys with threshold count",24,null],[12,"keys","bdk::descriptor::policy::SatisfiableItem","The raw public key or extended key fingerprint",31,null],[12,"threshold","","The required threshold count",31,null],[13,"Thresh","bdk::descriptor::policy","Threshold items with threshold count",24,null],[12,"items","bdk::descriptor::policy::SatisfiableItem","The policy items",32,null],[12,"threshold","","The required threshold count",32,null],[11,"is_leaf","bdk::descriptor::policy","Returns whether the [SatisfiableItem] is a leaf item",24,[[],["bool",15]]],[11,"id","","Returns a unique id for the [SatisfiableItem]",24,[[],["string",3]]],[6,"ConditionMap","","Type for a map of sets of [Condition] items keyed by each …",null,null],[6,"FoldedConditionMap","","Type for a map of folded sets of [Condition] items keyed …",null,null],[4,"Satisfaction","","Represent if and how much a policy item is satisfied by …",null,null],[13,"Partial","","Only a partial satisfaction of some kind of threshold …",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",34,null],[12,"m","","Threshold",34,null],[12,"items","","The items that can be satisfied by the descriptor",34,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",34,null],[12,"conditions","","Extra conditions that also need to be satisfied",34,null],[13,"PartialComplete","bdk::descriptor::policy","Can reach the threshold of some kind of threshold policy",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",35,null],[12,"m","","Threshold",35,null],[12,"items","","The items that can be satisfied by the descriptor",35,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",35,null],[12,"conditions","","Extra conditions that also need to be satisfied",35,null],[13,"Complete","bdk::descriptor::policy","Can satisfy the policy item",33,null],[12,"condition","bdk::descriptor::policy::Satisfaction","Extra conditions that also need to be satisfied",36,null],[13,"None","bdk::descriptor::policy","Cannot satisfy or contribute to the policy item",33,null],[11,"is_leaf","","Returns whether the [Satisfaction] is a leaf item",33,[[],["bool",15]]],[3,"Policy","","Descriptor spending policy",null,null],[12,"id","","Identifier for this policy node",37,null],[12,"item","","Type of this policy node",37,null],[12,"satisfaction","","How a much given PSBT already satisfies this polcy node …",37,null],[12,"contribution","","How the wallet’s descriptor can satisfy this policy node",37,null],[3,"Condition","","An extra condition that must be satisfied but that is out …",null,null],[12,"csv","","Optional CheckSequenceVerify condition",38,null],[12,"timelock","","Optional timelock condition",38,null],[11,"is_null","","Returns true if there are no extra conditions to verify",38,[[],["bool",15]]],[4,"PolicyError","","Errors that can happen while extracting and manipulating …",null,null],[13,"NotEnoughItemsSelected","","Not enough items are selected to satisfy a […",39,null],[13,"IndexOutOfRange","","Index out of range for an item to satisfy a […",39,null],[13,"AddOnLeaf","","Can not add to an item that is [Satisfaction::None] or […",39,null],[13,"AddOnPartialComplete","","Can not add to an item that is […",39,null],[13,"MixedTimelockUnits","","Can not merge CSV or timelock values unless both are less …",39,null],[13,"IncompatibleConditions","","Incompatible conditions (not currently used)",39,null],[11,"requires_path","","Return whether or not a specific path in the policy tree …",37,[[],["bool",15]]],[11,"get_condition","","Return the conditions that are set by the spending policy …",37,[[["btreemap",3]],[["condition",3],["result",4],["policyerror",4]]]],[0,"template","bdk::descriptor","Descriptor templates",null,null],[6,"DescriptorTemplateOut","bdk::descriptor::template","Type alias for the return type of [DescriptorTemplate], …",null,null],[8,"DescriptorTemplate","","Trait for descriptor templates that can be built into a …",null,null],[10,"build","","Build the complete descriptor",40,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[3,"P2PKH","","P2PKH template. Expands to a descriptor pkh(key)",null,null],[12,"0","","",41,null],[3,"P2WPKH_P2SH","","P2WPKH-P2SH template. Expands to a descriptor …",null,null],[12,"0","","",42,null],[3,"P2WPKH","","P2WPKH template. Expands to a descriptor wpkh(key)",null,null],[12,"0","","",43,null],[3,"BIP44","","BIP44 template. Expands to pkh(key/44\'/0\'/0\'/{0,1}/*)",null,null],[12,"0","","",44,null],[12,"1","","",44,null],[3,"BIP44Public","","BIP44 public template. Expands to pkh(key/{0,1}/*)",null,null],[12,"0","","",45,null],[12,"1","","",45,null],[12,"2","","",45,null],[3,"BIP49","","BIP49 template. Expands to sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))",null,null],[12,"0","","",46,null],[12,"1","","",46,null],[3,"BIP49Public","","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))",null,null],[12,"0","","",47,null],[12,"1","","",47,null],[12,"2","","",47,null],[3,"BIP84","","BIP84 template. Expands to wpkh(key/84\'/0\'/0\'/{0,1}/*)",null,null],[12,"0","","",48,null],[12,"1","","",48,null],[3,"BIP84Public","","BIP84 public template. Expands to wpkh(key/{0,1}/*)",null,null],[12,"0","","",49,null],[12,"1","","",49,null],[12,"2","","",49,null],[6,"KeyMap","bdk::descriptor","Alias type for a map of public key to secret key",null,null],[4,"Descriptor","","Script descriptor",null,null],[13,"Bare","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …",50,null],[13,"Pkh","","Pay-to-PubKey-Hash",50,null],[13,"Wpkh","","Pay-to-Witness-PubKey-Hash",50,null],[13,"Sh","","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)",50,null],[13,"Wsh","","Pay-to-Witness-ScriptHash with Segwitv0 context",50,null],[4,"Legacy","","Legacy ScriptContext To be used as P2SH scripts For …",null,null],[3,"Miniscript","","Top-level script AST type",null,null],[12,"node","","A node in the Abstract Syntax Tree(",51,null],[12,"ty","","The correctness and malleability type information for the …",51,null],[12,"ext","","Additional information helpful for extra analysis.",51,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[4,"Segwitv0","","Segwitv0 ScriptContext",null,null],[3,"DerivedDescriptorKey","","Extended [DescriptorPublicKey] that has been derived",null,null],[6,"ExtendedDescriptor","","Alias for a [Descriptor] that can contain extended keys …",null,null],[6,"DerivedDescriptor","","Alias for a [Descriptor] that contains extended derived …",null,null],[6,"HDKeyPaths","","Alias for the type of maps that represent derivation …",null,null],[8,"IntoWalletDescriptor","","Trait for types which can be converted into an […",null,null],[10,"into_wallet_descriptor","","Convert to wallet descriptor",53,[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]]],[8,"ExtractPolicy","","Trait implemented on [Descriptor]s to add a method to …",null,null],[10,"extract_policy","","Extract the spending [policy]",54,[[["signerscontainer",3],["secp256k1",3]],[["option",4],["descriptorerror",4],["result",4]]]],[0,"keys","bdk","Key formats",null,null],[0,"bip39","bdk::keys","BIP-0039",null,null],[4,"Language","bdk::keys::bip39","The language determines which words will be used in a …",null,null],[13,"English","","",55,null],[13,"ChineseSimplified","","",55,null],[13,"ChineseTraditional","","",55,null],[13,"French","","",55,null],[13,"Italian","","",55,null],[13,"Japanese","","",55,null],[13,"Korean","","",55,null],[13,"Spanish","","",55,null],[3,"Mnemonic","","The primary type in this crate, most tasks require …",null,null],[4,"MnemonicType","","Determines the number of words that will be present in a …",null,null],[13,"Words12","","",56,null],[13,"Words15","","",56,null],[13,"Words18","","",56,null],[13,"Words21","","",56,null],[13,"Words24","","",56,null],[3,"Seed","","The secret value used to derive HD wallet addresses from …",null,null],[6,"MnemonicWithPassphrase","","Type for a BIP39 mnemonic with an optional passphrase",null,null],[4,"DescriptorPublicKey","bdk::keys","The MiniscriptKey corresponding to Descriptors. This can …",null,null],[13,"SinglePub","","Single Public Key",57,null],[13,"XPub","","Xpub",57,null],[4,"DescriptorSecretKey","","A Secret Key that can be either a single key or an Xprv",null,null],[13,"SinglePriv","","Single Secret Key",58,null],[13,"XPrv","","Xprv",58,null],[3,"DescriptorSinglePriv","","A Single Descriptor Secret Key with optional origin …",null,null],[12,"origin","","Origin information",59,null],[12,"key","","The key",59,null],[3,"DescriptorSinglePub","","A Single Descriptor Key with optional origin information",null,null],[12,"origin","","Origin information",60,null],[12,"key","","The key",60,null],[6,"KeyMap","","Alias type for a map of public key to secret key",null,null],[3,"SortedMultiVec","","Contents of a “sortedmulti” descriptor",null,null],[12,"k","","signatures required",61,null],[12,"pks","","public keys inside sorted Multi",61,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[6,"ValidNetworks","","Set of valid networks for a key",null,null],[5,"any_network","","Create a set containing mainnet, testnet and regtest",null,[[],["validnetworks",6]]],[5,"mainnet_network","","Create a set only containing mainnet",null,[[],["validnetworks",6]]],[5,"test_networks","","Create a set containing testnet and regtest",null,[[],["validnetworks",6]]],[5,"merge_networks","","Compute the intersection of two sets",null,[[["validnetworks",6]],["validnetworks",6]]],[4,"DescriptorKey","","Container for public or secret keys",null,null],[11,"from_public","","Create an instance given a public key and a set of valid …",62,[[["validnetworks",6],["descriptorpublickey",4]]]],[11,"from_secret","","Create an instance given a secret key and a set of valid …",62,[[["descriptorsecretkey",4],["validnetworks",6]]]],[11,"override_valid_networks","","Override the computed set of valid networks",62,[[["validnetworks",6]]]],[4,"ScriptContextEnum","","Enum representation of the known valid [ScriptContext]s",null,null],[13,"Legacy","","Legacy scripts",63,null],[13,"Segwitv0","","Segwitv0 scripts",63,null],[11,"is_legacy","","Returns whether the script context is […",63,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is […",63,[[],["bool",15]]],[8,"ExtScriptContext","","Trait that adds extra useful methods to [ScriptContext]s",null,null],[10,"as_enum","","Returns the [ScriptContext] as a [ScriptContextEnum]",64,[[],["scriptcontextenum",4]]],[11,"is_legacy","","Returns whether the script context is Legacy",64,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is Segwitv0",64,[[],["bool",15]]],[8,"IntoDescriptorKey","","Trait for objects that can be turned into a public or …",null,null],[10,"into_descriptor_key","","Turn the key into a [DescriptorKey] within the requested […",65,[[],[["result",4],["keyerror",4],["descriptorkey",4]]]],[4,"ExtendedKey","","Enum for extended keys that can be either xprv or xpub",null,null],[13,"Private","","A private extended key, aka an xprv",66,null],[13,"Public","","A public extended key, aka an xpub",66,null],[11,"has_secret","","Return whether or not the key contains the private data",66,[[],["bool",15]]],[11,"into_xprv","","Transform the [ExtendedKey] into an ExtendedPrivKey for …",66,[[["network",4]],[["option",4],["extendedprivkey",3]]]],[11,"into_xpub","","Transform the [ExtendedKey] into an ExtendedPubKey for the…",66,[[["secp256k1",3],["network",4]],["extendedpubkey",3]]],[8,"DerivableKey","","Trait for keys that can be derived.",null,null],[10,"into_extended_key","","Consume self and turn it into an [ExtendedKey]",67,[[],[["extendedkey",4],["keyerror",4],["result",4]]]],[11,"into_descriptor_key","","Consume self and turn it into a [DescriptorKey] by adding …",67,[[["option",4],["derivationpath",3],["keysource",6]],[["result",4],["keyerror",4],["descriptorkey",4]]]],[3,"GeneratedKey","","Output of a [GeneratableKey] key generation",null,null],[11,"into_key","","Consumes self and returns the key",68,[[]]],[8,"GeneratableKey","","Trait for keys that can be generated",null,null],[16,"Entropy","","Type specifying the amount of entropy required e.g. …",69,null],[16,"Options","","Extra options required by the generate_with_entropy",69,null],[16,"Error","","Returned error in case of failure",69,null],[10,"generate_with_entropy","","Generate a key given the extra options and the entropy",69,[[],[["generatedkey",3],["result",4]]]],[11,"generate","","Generate a key given the options with a random entropy",69,[[],[["generatedkey",3],["result",4]]]],[8,"GeneratableDefaultOptions","","Trait that allows generating a key with the default …",null,null],[11,"generate_with_entropy_default","","Generate a key with the default options and a given …",70,[[],[["generatedkey",3],["result",4]]]],[11,"generate_default","","Generate a key with the default options and a random …",70,[[],[["generatedkey",3],["result",4]]]],[3,"PrivateKeyGenerateOptions","","Options for generating a [PrivateKey]",null,null],[12,"compressed","","Whether the generated key should be “compressed” or …",71,null],[4,"KeyError","","Errors thrown while working with keys",null,null],[13,"InvalidScriptContext","","The key cannot exist in the given script context",72,null],[13,"InvalidNetwork","","The key is not valid for the given network",72,null],[13,"InvalidChecksum","","The key has an invalid checksum",72,null],[13,"Message","","Custom error message",72,null],[13,"BIP32","","BIP32 error",72,null],[13,"Miniscript","","Miniscript error",72,null],[0,"wallet","bdk","Wallet",null,null],[0,"address_validator","bdk::wallet","Address validation callbacks",null,null],[4,"AddressValidatorError","bdk::wallet::address_validator","Errors that can be returned to fail the validation of an …",null,null],[13,"UserRejected","","User rejected the address",73,null],[13,"ConnectionError","","Network connection error",73,null],[13,"TimeoutError","","Network request timeout error",73,null],[13,"InvalidScript","","Invalid script",73,null],[13,"Message","","A custom error message",73,null],[8,"AddressValidator","","Trait to build address validators",null,null],[10,"validate","","Validate or inspect an address",74,[[["keychainkind",4],["script",3],["hdkeypaths",6]],[["addressvalidatorerror",4],["result",4]]]],[0,"coin_selection","bdk::wallet","Coin selection",null,null],[6,"DefaultCoinSelectionAlgorithm","bdk::wallet::coin_selection","Default coin selection algorithm used by TxBuilder if not …",null,null],[3,"CoinSelectionResult","","Result of a successful coin selection",null,null],[12,"selected","","List of outputs selected for use as inputs",75,null],[12,"fee_amount","","Total fee amount in satoshi",75,null],[11,"selected_amount","","The total value of the inputs selected.",75,[[],["u64",15]]],[11,"local_selected_amount","","The total value of the inputs selected from the local …",75,[[],["u64",15]]],[8,"CoinSelectionAlgorithm","","Trait for generalized coin selection algorithms",null,null],[10,"coin_select","","Perform the coin selection",76,[[["f32",15],["u64",15],["weightedutxo",3],["vec",3],["feerate",3]],[["result",4],["coinselectionresult",3],["error",4]]]],[3,"LargestFirstCoinSelection","","Simple and dumb coin selection",null,null],[3,"BranchAndBoundCoinSelection","","Branch and bound coin selection",null,null],[11,"new","","Create new instance with target size for change output",77,[[["u64",15]]]],[0,"export","bdk::wallet","Wallet export",null,null],[3,"WalletExport","bdk::wallet::export","Structure that contains the export of a wallet",null,null],[12,"blockheight","","Earliest block to rescan when looking for the wallet’s …",78,null],[12,"label","","Arbitrary label for the wallet",78,null],[11,"export_wallet","","Export a wallet",78,[[["bool",15],["wallet",3],["str",15]],[["str",15],["result",4]]]],[11,"descriptor","","Return the external descriptor",78,[[],["string",3]]],[11,"change_descriptor","","Return the internal descriptor, if present",78,[[],[["string",3],["option",4]]]],[0,"signer","bdk::wallet","Generalized signers",null,null],[4,"SignerId","bdk::wallet::signer","Identifier of a signer in the SignersContainers. Used as …",null,null],[13,"PkHash","","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …",79,null],[13,"Fingerprint","","The fingerprint of a BIP32 extended key",79,null],[13,"Dummy","","Dummy identifier",79,null],[4,"SignerError","","Signing error",null,null],[13,"MissingKey","","The private key is missing for the required public key",80,null],[13,"InvalidKey","","The private key in use has the right fingerprint but …",80,null],[13,"UserCanceled","","The user canceled the operation",80,null],[13,"InputIndexOutOfRange","","Input index is out of range",80,null],[13,"MissingNonWitnessUtxo","","The non_witness_utxo field of the transaction is required …",80,null],[13,"InvalidNonWitnessUtxo","","The non_witness_utxo specified is invalid",80,null],[13,"MissingWitnessUtxo","","The witness_utxo field of the transaction is required to …",80,null],[13,"MissingWitnessScript","","The witness_script field of the transaction is requied to …",80,null],[13,"MissingHDKeypath","","The fingerprint and derivation path are missing from the …",80,null],[8,"Signer","","Trait for signers",null,null],[10,"sign","","Sign a PSBT",81,[[["usize",15],["option",4],["secp256k1",3],["partiallysignedtransaction",3]],[["result",4],["signererror",4]]]],[10,"sign_whole_tx","","Return whether or not the signer signs the whole …",81,[[],["bool",15]]],[10,"id","","Return the [SignerId] for this signer",81,[[["secp256k1",3]],["signerid",4]]],[11,"descriptor_secret_key","","Return the secret key for the signer",81,[[],[["descriptorsecretkey",4],["option",4]]]],[3,"SignerOrdering","","Defines the order in which signers are called",null,null],[12,"0","","",82,null],[3,"SignersContainer","","Container for multiple signers",null,null],[11,"as_key_map","","Create a map of public keys to secret keys",83,[[["secp256k1",3]],["keymap",6]]],[11,"new","","Default constructor",83,[[]]],[11,"add_external","","Adds an external signer to the container for the …",83,[[["arc",3],["signer",8],["signerid",4],["signerordering",3]],[["arc",3],["option",4]]]],[11,"remove","","Removes a signer from the container and returns it",83,[[["signerid",4],["signerordering",3]],[["arc",3],["option",4]]]],[11,"ids","","Returns the list of identifiers of all the signers in the …",83,[[],[["signerid",4],["vec",3]]]],[11,"signers","","Returns the list of signers in the container, sorted by …",83,[[],[["vec",3],["arc",3]]]],[11,"find","","Finds the signer with lowest ordering for a given id in …",83,[[["signerid",4]],[["arc",3],["option",4]]]],[0,"time","bdk::wallet","Cross-platform time",null,null],[5,"get_timestamp","bdk::wallet::time","Return the current timestamp in seconds",null,[[],["u64",15]]],[0,"tx_builder","bdk::wallet","Transaction builder",null,null],[8,"TxBuilderContext","bdk::wallet::tx_builder","Context in which the [TxBuilder] is valid",null,null],[3,"CreateTx","","Marker type to indicate the [TxBuilder] is being used to …",null,null],[3,"BumpFee","","Marker type to indicate the [TxBuilder] is being used to …",null,null],[3,"TxBuilder","","A transaction builder",null,null],[11,"fee_rate","","Set a custom fee rate",84,[[["feerate",3]]]],[11,"fee_absolute","","Set an absolute fee",84,[[["u64",15]]]],[11,"policy_path","","Set the policy path to use while creating the transaction …",84,[[["keychainkind",4],["btreemap",3],["vec",3],["string",3]]]],[11,"add_utxos","","Add the list of outpoints to the internal list of UTXOs …",84,[[],[["result",4],["error",4]]]],[11,"add_utxo","","Add a utxo to the internal list of utxos that must be …",84,[[["outpoint",3]],[["result",4],["error",4]]]],[11,"add_foreign_utxo","","Add a foreign UTXO i.e. a UTXO not owned by this wallet.",84,[[["usize",15],["input",3],["outpoint",3]],[["result",4],["error",4]]]],[11,"manually_selected_only","","Only spend utxos added by add_utxo.",84,[[]]],[11,"unspendable","","Replace the internal list of unspendable utxos with a new …",84,[[["outpoint",3],["vec",3]]]],[11,"add_unspendable","","Add a utxo to the internal list of unspendable utxos",84,[[["outpoint",3]]]],[11,"sighash","","Sign with a specific sig hash",84,[[["sighashtype",4]]]],[11,"ordering","","Choose the ordering for inputs and outputs of the …",84,[[["txordering",4]]]],[11,"nlocktime","","Use a specific nLockTime while creating the transaction",84,[[["u32",15]]]],[11,"version","","Build a transaction with a specific version",84,[[["i32",15]]]],[11,"do_not_spend_change","","Do not spend change outputs",84,[[]]],[11,"only_spend_change","","Only spend change outputs",84,[[]]],[11,"change_policy","","Set a specific [ChangeSpendPolicy]. See […",84,[[["changespendpolicy",4]]]],[11,"force_non_witness_utxo","","Fill-in the psbt::Input::non_witness_utxo field even if …",84,[[]]],[11,"include_output_redeem_witness_script","","Fill-in the psbt::Output::redeem_script and …",84,[[]]],[11,"add_global_xpubs","","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …",84,[[]]],[11,"drain_wallet","","Spend all the available inputs. This respects filters …",84,[[]]],[11,"coin_selection","","Choose the coin selection algorithm",84,[[["coinselectionalgorithm",8]],[["txbuilder",3],["coinselectionalgorithm",8]]]],[11,"finish","","Finish the building the transaction.",84,[[],[["result",4],["error",4]]]],[11,"set_recipients","","Replace the recipients already added with a new list",84,[[["vec",3]]]],[11,"add_recipient","","Add a recipient to the internal list",84,[[["script",3],["u64",15]]]],[11,"set_single_recipient","","Set a single recipient that will get all the selected …",84,[[["script",3]]]],[11,"enable_rbf","","Enable signaling RBF",84,[[]]],[11,"enable_rbf_with_sequence","","Enable signaling RBF with a specific nSequence value",84,[[["u32",15]]]],[11,"maintain_single_recipient","","Bump the fees of a transaction made with …",84,[[],[["result",4],["error",4]]]],[4,"TxOrdering","","Ordering of the transaction’s inputs and outputs",null,null],[13,"Shuffle","","Randomized (default)",85,null],[13,"Untouched","","Unchanged",85,null],[13,"BIP69Lexicographic","","BIP69 / Lexicographic",85,null],[11,"sort_tx","","Sort transaction inputs and outputs by [TxOrdering] …",85,[[["transaction",3]]]],[4,"ChangeSpendPolicy","","Policy regarding the use of change outputs when creating …",null,null],[13,"ChangeAllowed","","Use both change and non-change outputs (default)",86,null],[13,"OnlyChange","","Only use change outputs (see [TxBuilder::only_spend_change…",86,null],[13,"ChangeForbidden","","Only use non-change outputs (see […",86,null],[8,"IsDust","bdk::wallet","Trait to check if a value is below the dust limit",null,null],[10,"is_dust","","Check whether or not a value is below dust limit",87,[[],["bool",15]]],[3,"Wallet","","A Bitcoin wallet",null,null],[11,"new_offline","","Create a new “offline” wallet",88,[[["option",4],["network",4],["intowalletdescriptor",8]],[["result",4],["error",4]]]],[11,"get_new_address","","Return a newly generated address using the external …",88,[[],[["address",3],["result",4],["error",4]]]],[11,"is_mine","","Return whether or not a script is part of this wallet …",88,[[["script",3]],[["bool",15],["result",4],["error",4]]]],[11,"list_unspent","","Return the list of unspent outputs of this wallet",88,[[],[["vec",3],["error",4],["result",4]]]],[11,"get_utxo","","Returns the UTXO owned by this wallet corresponding to …",88,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[11,"list_transactions","","Return the list of transactions made and received by the …",88,[[["bool",15]],[["vec",3],["result",4],["error",4]]]],[11,"get_balance","","Return the balance, meaning the sum of this wallet’s …",88,[[],[["result",4],["error",4],["u64",15]]]],[11,"add_signer","","Add an external signer",88,[[["keychainkind",4],["arc",3],["signer",8],["signerordering",3]]]],[11,"add_address_validator","","Add an address validator",88,[[["arc",3],["addressvalidator",8]]]],[11,"build_tx","","Start building a transaction.",88,[[],[["createtx",3],["txbuilder",3],["defaultcoinselectionalgorithm",6]]]],[11,"build_fee_bump","","Bump the fee of a transaction previously created with …",88,[[["txid",3]],[["txbuilder",3],["result",4],["error",4]]]],[11,"sign","","Sign a transaction with all the wallet’s signers, in …",88,[[["psbt",3],["u32",15],["option",4]],[["result",4],["error",4]]]],[11,"policies","","Return the spending policies for the wallet’s descriptor",88,[[["keychainkind",4]],[["option",4],["result",4],["error",4]]]],[11,"public_descriptor","","Return the “public” version of the wallet’s …",88,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"finalize_psbt","","Try to finalize a PSBT",88,[[["psbt",3],["u32",15],["option",4]],[["result",4],["error",4]]]],[11,"secp_ctx","","Return the secp256k1 context used for all signing …",88,[[],["secp256k1",3]]],[11,"get_descriptor_for_keychain","","Returns the descriptor used to create adddresses for a …",88,[[["keychainkind",4]],["extendeddescriptor",6]]],[11,"new","","Create a new “online” wallet",88,[[["option",4],["network",4],["intowalletdescriptor",8]],[["result",4],["error",4]]]],[11,"sync","","Sync the internal database with the blockchain",88,[[["progress",8],["u32",15],["option",4]],[["result",4],["error",4]]]],[11,"client","","Return a reference to the internal blockchain client",88,[[]]],[11,"network","","Get the Bitcoin network the wallet is using.",88,[[],["network",4]]],[11,"broadcast","","Broadcast a transaction to the network",88,[[["transaction",3]],[["result",4],["txid",3],["error",4]]]],[4,"Error","bdk","Errors that can be thrown by the Wallet",null,null],[13,"InvalidU32Bytes","","Wrong number of bytes found when trying to convert to u32",89,null],[13,"Generic","","Generic error",89,null],[13,"ScriptDoesntHaveAddressForm","","This error is thrown when trying to convert Bare and …",89,null],[13,"SingleRecipientMultipleOutputs","","Found multiple outputs when single_recipient option has …",89,null],[13,"SingleRecipientNoInputs","","single_recipient option is selected but neither …",89,null],[13,"NoRecipients","","Cannot build a tx without recipients",89,null],[13,"NoUtxosSelected","","manually_selected_only option is selected but no utxo has …",89,null],[13,"OutputBelowDustLimit","","Output created is under the dust limit, 546 satoshis",89,null],[13,"InsufficientFunds","","Wallet’s UTXO set is not enough to cover recipient’s …",89,null],[12,"needed","bdk::Error","Sats needed for some transaction",90,null],[12,"available","","Sats available for spending",90,null],[13,"BnBTotalTriesExceeded","bdk","Branch and bound coin selection possible attempts with …",89,null],[13,"BnBNoExactMatch","","Branch and bound coin selection tries to avoid needing a …",89,null],[13,"UnknownUTXO","","Happens when trying to spend an UTXO that is not in the …",89,null],[13,"TransactionNotFound","","Thrown when a tx is not found in the internal database",89,null],[13,"TransactionConfirmed","","Happens when trying to bump a transaction that is already …",89,null],[13,"IrreplaceableTransaction","","Trying to replace a tx that has a sequence >= 0xFFFFFFFE",89,null],[13,"FeeRateTooLow","","When bumping a tx the fee rate requested is lower than …",89,null],[12,"required","bdk::Error","Required fee rate (satoshi/vbyte)",91,null],[13,"FeeTooLow","bdk","When bumping a tx the absolute fee requested is lower …",89,null],[12,"required","bdk::Error","Required fee absolute value (satoshi)",92,null],[13,"MissingKeyOrigin","bdk","In order to use the TxBuilder::add_global_xpubs option …",89,null],[13,"Key","","Error while working with keys",89,null],[13,"ChecksumMismatch","","Descriptor checksum mismatch",89,null],[13,"SpendingPolicyRequired","","Spending policy is not compatible with this KeychainKind",89,null],[13,"InvalidPolicyPathError","","Error while extracting and manipulating policies",89,null],[13,"Signer","","Signing error",89,null],[13,"InvalidProgressValue","","Progress value must be between 0.0 (included) and 100.0 …",89,null],[13,"ProgressUpdateError","","Progress update error (maybe the channel has been closed)",89,null],[13,"InvalidOutpoint","","Requested outpoint doesn’t exist in the tx (vout …",89,null],[13,"Descriptor","","Error related to the parsing and usage of descriptors",89,null],[13,"AddressValidator","","Error that can be returned to fail the validation of an …",89,null],[13,"Encode","","Encoding error",89,null],[13,"Miniscript","","Miniscript error",89,null],[13,"BIP32","","BIP32 error",89,null],[13,"Secp256k1","","An ECDSA error",89,null],[13,"JSON","","Error serializing or deserializing JSON data",89,null],[13,"Hex","","Hex decoding error",89,null],[13,"PSBT","","Partially signed bitcoin transaction error",89,null],[13,"Electrum","","Electrum client error",89,null],[13,"Esplora","","Esplora client error",89,null],[13,"CompactFilters","","Compact filters client error)",89,null],[13,"Sled","","Sled database error",89,null],[4,"KeychainKind","","Types of keychains",null,null],[13,"External","","External",93,null],[13,"Internal","","Internal, usually used for change outputs",93,null],[3,"FeeRate","","Fee rate",null,null],[3,"LocalUtxo","","An unspent output owned by a Wallet.",null,null],[12,"outpoint","","Reference to a transaction output",94,null],[12,"txout","","Transaction output",94,null],[12,"keychain","","Type of keychain",94,null],[3,"WeightedUtxo","","A [Utxo] with its satisfaction_weight.",null,null],[12,"satisfaction_weight","","The weight of the witness data and scriptSig expressed in …",95,null],[12,"utxo","","The UTXO",95,null],[4,"Utxo","","An unspent transaction output (UTXO).",null,null],[13,"Local","","A UTXO owned by the local wallet.",96,null],[13,"Foreign","","A UTXO owned by another wallet.",96,null],[12,"outpoint","bdk::Utxo","The location of the output.",97,null],[12,"psbt_input","","The information about the input we require to add it to a …",97,null],[3,"TransactionDetails","bdk","A wallet transaction",null,null],[12,"transaction","","Optional transaction",98,null],[12,"txid","","Transaction id",98,null],[12,"timestamp","","Timestamp",98,null],[12,"received","","Received value (sats)",98,null],[12,"sent","","Sent value (sats)",98,null],[12,"fees","","Fee value (sats)",98,null],[12,"height","","Confirmed in block height, None means unconfirmed",98,null],[5,"version","","Get the version of BDK at runtime",null,[[],["str",15]]],[14,"descriptor","","Macro to write full descriptors with code",null,null],[14,"fragment","","Macro to write descriptor fragments with code",null,null],[11,"from","","",89,[[]]],[11,"into","","",89,[[]]],[11,"to_string","","",89,[[],["string",3]]],[11,"borrow","","",89,[[]]],[11,"borrow_mut","","",89,[[]]],[11,"try_from","","",89,[[],["result",4]]],[11,"try_into","","",89,[[],["result",4]]],[11,"type_id","","",89,[[],["typeid",3]]],[11,"vzip","","",89,[[]]],[11,"init","","",89,[[],["usize",15]]],[11,"deref","","",89,[[["usize",15]]]],[11,"deref_mut","","",89,[[["usize",15]]]],[11,"drop","","",89,[[["usize",15]]]],[11,"from","bdk::blockchain::any","",0,[[]]],[11,"into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"init","","",0,[[],["usize",15]]],[11,"deref","","",0,[[["usize",15]]]],[11,"deref_mut","","",0,[[["usize",15]]]],[11,"drop","","",0,[[["usize",15]]]],[11,"from","","",1,[[]]],[11,"into","","",1,[[]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"vzip","","",1,[[]]],[11,"init","","",1,[[],["usize",15]]],[11,"deref","","",1,[[["usize",15]]]],[11,"deref_mut","","",1,[[["usize",15]]]],[11,"drop","","",1,[[["usize",15]]]],[11,"from","bdk::blockchain::electrum","",99,[[]]],[11,"into","","",99,[[]]],[11,"borrow","","",99,[[]]],[11,"borrow_mut","","",99,[[]]],[11,"try_from","","",99,[[],["result",4]]],[11,"try_into","","",99,[[],["result",4]]],[11,"type_id","","",99,[[],["typeid",3]]],[11,"vzip","","",99,[[]]],[11,"init","","",99,[[],["usize",15]]],[11,"deref","","",99,[[["usize",15]]]],[11,"deref_mut","","",99,[[["usize",15]]]],[11,"drop","","",99,[[["usize",15]]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"vzip","","",2,[[]]],[11,"init","","",2,[[],["usize",15]]],[11,"deref","","",2,[[["usize",15]]]],[11,"deref_mut","","",2,[[["usize",15]]]],[11,"drop","","",2,[[["usize",15]]]],[11,"from","bdk::blockchain::esplora","",3,[[]]],[11,"into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"vzip","","",3,[[]]],[11,"init","","",3,[[],["usize",15]]],[11,"deref","","",3,[[["usize",15]]]],[11,"deref_mut","","",3,[[["usize",15]]]],[11,"drop","","",3,[[["usize",15]]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"vzip","","",4,[[]]],[11,"init","","",4,[[],["usize",15]]],[11,"deref","","",4,[[["usize",15]]]],[11,"deref_mut","","",4,[[["usize",15]]]],[11,"drop","","",4,[[["usize",15]]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"to_string","","",5,[[],["string",3]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"vzip","","",5,[[]]],[11,"init","","",5,[[],["usize",15]]],[11,"deref","","",5,[[["usize",15]]]],[11,"deref_mut","","",5,[[["usize",15]]]],[11,"drop","","",5,[[["usize",15]]]],[11,"from","bdk::blockchain::compact_filters","",100,[[]]],[11,"into","","",100,[[]]],[11,"borrow","","",100,[[]]],[11,"borrow_mut","","",100,[[]]],[11,"try_from","","",100,[[],["result",4]]],[11,"try_into","","",100,[[],["result",4]]],[11,"type_id","","",100,[[],["typeid",3]]],[11,"vzip","","",100,[[]]],[11,"init","","",100,[[],["usize",15]]],[11,"deref","","",100,[[["usize",15]]]],[11,"deref_mut","","",100,[[["usize",15]]]],[11,"drop","","",100,[[["usize",15]]]],[11,"from","","",101,[[]]],[11,"into","","",101,[[]]],[11,"borrow","","",101,[[]]],[11,"borrow_mut","","",101,[[]]],[11,"try_from","","",101,[[],["result",4]]],[11,"try_into","","",101,[[],["result",4]]],[11,"type_id","","",101,[[],["typeid",3]]],[11,"vzip","","",101,[[]]],[11,"init","","",101,[[],["usize",15]]],[11,"deref","","",101,[[["usize",15]]]],[11,"deref_mut","","",101,[[["usize",15]]]],[11,"drop","","",101,[[["usize",15]]]],[11,"from","","",6,[[]]],[11,"into","","",6,[[]]],[11,"borrow","","",6,[[]]],[11,"borrow_mut","","",6,[[]]],[11,"try_from","","",6,[[],["result",4]]],[11,"try_into","","",6,[[],["result",4]]],[11,"type_id","","",6,[[],["typeid",3]]],[11,"vzip","","",6,[[]]],[11,"init","","",6,[[],["usize",15]]],[11,"deref","","",6,[[["usize",15]]]],[11,"deref_mut","","",6,[[["usize",15]]]],[11,"drop","","",6,[[["usize",15]]]],[11,"from","","",7,[[]]],[11,"into","","",7,[[]]],[11,"borrow","","",7,[[]]],[11,"borrow_mut","","",7,[[]]],[11,"try_from","","",7,[[],["result",4]]],[11,"try_into","","",7,[[],["result",4]]],[11,"type_id","","",7,[[],["typeid",3]]],[11,"vzip","","",7,[[]]],[11,"init","","",7,[[],["usize",15]]],[11,"deref","","",7,[[["usize",15]]]],[11,"deref_mut","","",7,[[["usize",15]]]],[11,"drop","","",7,[[["usize",15]]]],[11,"from","","",8,[[]]],[11,"into","","",8,[[]]],[11,"borrow","","",8,[[]]],[11,"borrow_mut","","",8,[[]]],[11,"try_from","","",8,[[],["result",4]]],[11,"try_into","","",8,[[],["result",4]]],[11,"type_id","","",8,[[],["typeid",3]]],[11,"vzip","","",8,[[]]],[11,"init","","",8,[[],["usize",15]]],[11,"deref","","",8,[[["usize",15]]]],[11,"deref_mut","","",8,[[["usize",15]]]],[11,"drop","","",8,[[["usize",15]]]],[11,"from","","",9,[[]]],[11,"into","","",9,[[]]],[11,"to_string","","",9,[[],["string",3]]],[11,"borrow","","",9,[[]]],[11,"borrow_mut","","",9,[[]]],[11,"try_from","","",9,[[],["result",4]]],[11,"try_into","","",9,[[],["result",4]]],[11,"type_id","","",9,[[],["typeid",3]]],[11,"vzip","","",9,[[]]],[11,"init","","",9,[[],["usize",15]]],[11,"deref","","",9,[[["usize",15]]]],[11,"deref_mut","","",9,[[["usize",15]]]],[11,"drop","","",9,[[["usize",15]]]],[11,"from","bdk::blockchain","",10,[[]]],[11,"into","","",10,[[]]],[11,"to_owned","","",10,[[]]],[11,"clone_into","","",10,[[]]],[11,"borrow","","",10,[[]]],[11,"borrow_mut","","",10,[[]]],[11,"try_from","","",10,[[],["result",4]]],[11,"try_into","","",10,[[],["result",4]]],[11,"type_id","","",10,[[],["typeid",3]]],[11,"vzip","","",10,[[]]],[11,"equivalent","","",10,[[],["bool",15]]],[11,"init","","",10,[[],["usize",15]]],[11,"deref","","",10,[[["usize",15]]]],[11,"deref_mut","","",10,[[["usize",15]]]],[11,"drop","","",10,[[["usize",15]]]],[11,"from","","",102,[[]]],[11,"into","","",102,[[]]],[11,"to_owned","","",102,[[]]],[11,"clone_into","","",102,[[]]],[11,"borrow","","",102,[[]]],[11,"borrow_mut","","",102,[[]]],[11,"try_from","","",102,[[],["result",4]]],[11,"try_into","","",102,[[],["result",4]]],[11,"type_id","","",102,[[],["typeid",3]]],[11,"vzip","","",102,[[]]],[11,"init","","",102,[[],["usize",15]]],[11,"deref","","",102,[[["usize",15]]]],[11,"deref_mut","","",102,[[["usize",15]]]],[11,"drop","","",102,[[["usize",15]]]],[11,"from","","",103,[[]]],[11,"into","","",103,[[]]],[11,"to_owned","","",103,[[]]],[11,"clone_into","","",103,[[]]],[11,"borrow","","",103,[[]]],[11,"borrow_mut","","",103,[[]]],[11,"try_from","","",103,[[],["result",4]]],[11,"try_into","","",103,[[],["result",4]]],[11,"type_id","","",103,[[],["typeid",3]]],[11,"vzip","","",103,[[]]],[11,"init","","",103,[[],["usize",15]]],[11,"deref","","",103,[[["usize",15]]]],[11,"deref_mut","","",103,[[["usize",15]]]],[11,"drop","","",103,[[["usize",15]]]],[11,"from","bdk::database::any","",14,[[]]],[11,"into","","",14,[[]]],[11,"borrow","","",14,[[]]],[11,"borrow_mut","","",14,[[]]],[11,"try_from","","",14,[[],["result",4]]],[11,"try_into","","",14,[[],["result",4]]],[11,"type_id","","",14,[[],["typeid",3]]],[11,"vzip","","",14,[[]]],[11,"init","","",14,[[],["usize",15]]],[11,"deref","","",14,[[["usize",15]]]],[11,"deref_mut","","",14,[[["usize",15]]]],[11,"drop","","",14,[[["usize",15]]]],[11,"from","","",15,[[]]],[11,"into","","",15,[[]]],[11,"borrow","","",15,[[]]],[11,"borrow_mut","","",15,[[]]],[11,"try_from","","",15,[[],["result",4]]],[11,"try_into","","",15,[[],["result",4]]],[11,"type_id","","",15,[[],["typeid",3]]],[11,"vzip","","",15,[[]]],[11,"init","","",15,[[],["usize",15]]],[11,"deref","","",15,[[["usize",15]]]],[11,"deref_mut","","",15,[[["usize",15]]]],[11,"drop","","",15,[[["usize",15]]]],[11,"from","","",16,[[]]],[11,"into","","",16,[[]]],[11,"borrow","","",16,[[]]],[11,"borrow_mut","","",16,[[]]],[11,"try_from","","",16,[[],["result",4]]],[11,"try_into","","",16,[[],["result",4]]],[11,"type_id","","",16,[[],["typeid",3]]],[11,"vzip","","",16,[[]]],[11,"init","","",16,[[],["usize",15]]],[11,"deref","","",16,[[["usize",15]]]],[11,"deref_mut","","",16,[[["usize",15]]]],[11,"drop","","",16,[[["usize",15]]]],[11,"from","","",17,[[]]],[11,"into","","",17,[[]]],[11,"borrow","","",17,[[]]],[11,"borrow_mut","","",17,[[]]],[11,"try_from","","",17,[[],["result",4]]],[11,"try_into","","",17,[[],["result",4]]],[11,"type_id","","",17,[[],["typeid",3]]],[11,"vzip","","",17,[[]]],[11,"init","","",17,[[],["usize",15]]],[11,"deref","","",17,[[["usize",15]]]],[11,"deref_mut","","",17,[[["usize",15]]]],[11,"drop","","",17,[[["usize",15]]]],[11,"from","bdk::database::memory","",18,[[]]],[11,"into","","",18,[[]]],[11,"borrow","","",18,[[]]],[11,"borrow_mut","","",18,[[]]],[11,"try_from","","",18,[[],["result",4]]],[11,"try_into","","",18,[[],["result",4]]],[11,"type_id","","",18,[[],["typeid",3]]],[11,"vzip","","",18,[[]]],[11,"init","","",18,[[],["usize",15]]],[11,"deref","","",18,[[["usize",15]]]],[11,"deref_mut","","",18,[[["usize",15]]]],[11,"drop","","",18,[[["usize",15]]]],[11,"from","bdk::descriptor","",50,[[]]],[11,"into","","",50,[[]]],[11,"to_owned","","",50,[[]]],[11,"clone_into","","",50,[[]]],[11,"to_string","","",50,[[],["string",3]]],[11,"borrow","","",50,[[]]],[11,"borrow_mut","","",50,[[]]],[11,"try_from","","",50,[[],["result",4]]],[11,"try_into","","",50,[[],["result",4]]],[11,"type_id","","",50,[[],["typeid",3]]],[11,"vzip","","",50,[[]]],[11,"equivalent","","",50,[[],["bool",15]]],[11,"init","","",50,[[],["usize",15]]],[11,"deref","","",50,[[["usize",15]]]],[11,"deref_mut","","",50,[[["usize",15]]]],[11,"drop","","",50,[[["usize",15]]]],[11,"from","bdk::keys","",57,[[]]],[11,"into","","",57,[[]]],[11,"to_owned","","",57,[[]]],[11,"clone_into","","",57,[[]]],[11,"to_string","","",57,[[],["string",3]]],[11,"borrow","","",57,[[]]],[11,"borrow_mut","","",57,[[]]],[11,"try_from","","",57,[[],["result",4]]],[11,"try_into","","",57,[[],["result",4]]],[11,"type_id","","",57,[[],["typeid",3]]],[11,"vzip","","",57,[[]]],[11,"equivalent","","",57,[[],["bool",15]]],[11,"init","","",57,[[],["usize",15]]],[11,"deref","","",57,[[["usize",15]]]],[11,"deref_mut","","",57,[[["usize",15]]]],[11,"drop","","",57,[[["usize",15]]]],[11,"as_enum","bdk::descriptor","",104,[[],["scriptcontextenum",4]]],[11,"from","","",104,[[]]],[11,"into","","",104,[[]]],[11,"to_owned","","",104,[[]]],[11,"clone_into","","",104,[[]]],[11,"borrow","","",104,[[]]],[11,"borrow_mut","","",104,[[]]],[11,"try_from","","",104,[[],["result",4]]],[11,"try_into","","",104,[[],["result",4]]],[11,"type_id","","",104,[[],["typeid",3]]],[11,"vzip","","",104,[[]]],[11,"equivalent","","",104,[[],["bool",15]]],[11,"init","","",104,[[],["usize",15]]],[11,"deref","","",104,[[["usize",15]]]],[11,"deref_mut","","",104,[[["usize",15]]]],[11,"drop","","",104,[[["usize",15]]]],[11,"from","","",51,[[]]],[11,"into","","",51,[[]]],[11,"to_owned","","",51,[[]]],[11,"clone_into","","",51,[[]]],[11,"to_string","","",51,[[],["string",3]]],[11,"borrow","","",51,[[]]],[11,"borrow_mut","","",51,[[]]],[11,"try_from","","",51,[[],["result",4]]],[11,"try_into","","",51,[[],["result",4]]],[11,"type_id","","",51,[[],["typeid",3]]],[11,"vzip","","",51,[[]]],[11,"equivalent","","",51,[[],["bool",15]]],[11,"init","","",51,[[],["usize",15]]],[11,"deref","","",51,[[["usize",15]]]],[11,"deref_mut","","",51,[[["usize",15]]]],[11,"drop","","",51,[[["usize",15]]]],[11,"as_enum","","",105,[[],["scriptcontextenum",4]]],[11,"from","","",105,[[]]],[11,"into","","",105,[[]]],[11,"to_owned","","",105,[[]]],[11,"clone_into","","",105,[[]]],[11,"borrow","","",105,[[]]],[11,"borrow_mut","","",105,[[]]],[11,"try_from","","",105,[[],["result",4]]],[11,"try_into","","",105,[[],["result",4]]],[11,"type_id","","",105,[[],["typeid",3]]],[11,"vzip","","",105,[[]]],[11,"equivalent","","",105,[[],["bool",15]]],[11,"init","","",105,[[],["usize",15]]],[11,"deref","","",105,[[["usize",15]]]],[11,"deref_mut","","",105,[[["usize",15]]]],[11,"drop","","",105,[[["usize",15]]]],[11,"from","","",106,[[]]],[11,"into","","",106,[[]]],[11,"to_owned","","",106,[[]]],[11,"clone_into","","",106,[[]]],[11,"to_string","","",106,[[],["string",3]]],[11,"borrow","","",106,[[]]],[11,"borrow_mut","","",106,[[]]],[11,"try_from","","",106,[[],["result",4]]],[11,"try_into","","",106,[[],["result",4]]],[11,"type_id","","",106,[[],["typeid",3]]],[11,"vzip","","",106,[[]]],[11,"equivalent","","",106,[[],["bool",15]]],[11,"init","","",106,[[],["usize",15]]],[11,"deref","","",106,[[["usize",15]]]],[11,"deref_mut","","",106,[[["usize",15]]]],[11,"drop","","",106,[[["usize",15]]]],[11,"from","bdk::descriptor::error","",23,[[]]],[11,"into","","",23,[[]]],[11,"to_string","","",23,[[],["string",3]]],[11,"borrow","","",23,[[]]],[11,"borrow_mut","","",23,[[]]],[11,"try_from","","",23,[[],["result",4]]],[11,"try_into","","",23,[[],["result",4]]],[11,"type_id","","",23,[[],["typeid",3]]],[11,"vzip","","",23,[[]]],[11,"init","","",23,[[],["usize",15]]],[11,"deref","","",23,[[["usize",15]]]],[11,"deref_mut","","",23,[[["usize",15]]]],[11,"drop","","",23,[[["usize",15]]]],[11,"from","bdk::descriptor::policy","",107,[[]]],[11,"into","","",107,[[]]],[11,"to_owned","","",107,[[]]],[11,"clone_into","","",107,[[]]],[11,"borrow","","",107,[[]]],[11,"borrow_mut","","",107,[[]]],[11,"try_from","","",107,[[],["result",4]]],[11,"try_into","","",107,[[],["result",4]]],[11,"type_id","","",107,[[],["typeid",3]]],[11,"vzip","","",107,[[]]],[11,"init","","",107,[[],["usize",15]]],[11,"deref","","",107,[[["usize",15]]]],[11,"deref_mut","","",107,[[["usize",15]]]],[11,"drop","","",107,[[["usize",15]]]],[11,"from","","",24,[[]]],[11,"into","","",24,[[]]],[11,"to_owned","","",24,[[]]],[11,"clone_into","","",24,[[]]],[11,"borrow","","",24,[[]]],[11,"borrow_mut","","",24,[[]]],[11,"try_from","","",24,[[],["result",4]]],[11,"try_into","","",24,[[],["result",4]]],[11,"type_id","","",24,[[],["typeid",3]]],[11,"vzip","","",24,[[]]],[11,"init","","",24,[[],["usize",15]]],[11,"deref","","",24,[[["usize",15]]]],[11,"deref_mut","","",24,[[["usize",15]]]],[11,"drop","","",24,[[["usize",15]]]],[11,"from","","",33,[[]]],[11,"into","","",33,[[]]],[11,"to_owned","","",33,[[]]],[11,"clone_into","","",33,[[]]],[11,"borrow","","",33,[[]]],[11,"borrow_mut","","",33,[[]]],[11,"try_from","","",33,[[],["result",4]]],[11,"try_into","","",33,[[],["result",4]]],[11,"type_id","","",33,[[],["typeid",3]]],[11,"vzip","","",33,[[]]],[11,"init","","",33,[[],["usize",15]]],[11,"deref","","",33,[[["usize",15]]]],[11,"deref_mut","","",33,[[["usize",15]]]],[11,"drop","","",33,[[["usize",15]]]],[11,"from","","",37,[[]]],[11,"into","","",37,[[]]],[11,"to_owned","","",37,[[]]],[11,"clone_into","","",37,[[]]],[11,"borrow","","",37,[[]]],[11,"borrow_mut","","",37,[[]]],[11,"try_from","","",37,[[],["result",4]]],[11,"try_into","","",37,[[],["result",4]]],[11,"type_id","","",37,[[],["typeid",3]]],[11,"vzip","","",37,[[]]],[11,"init","","",37,[[],["usize",15]]],[11,"deref","","",37,[[["usize",15]]]],[11,"deref_mut","","",37,[[["usize",15]]]],[11,"drop","","",37,[[["usize",15]]]],[11,"from","","",38,[[]]],[11,"into","","",38,[[]]],[11,"to_owned","","",38,[[]]],[11,"clone_into","","",38,[[]]],[11,"borrow","","",38,[[]]],[11,"borrow_mut","","",38,[[]]],[11,"try_from","","",38,[[],["result",4]]],[11,"try_into","","",38,[[],["result",4]]],[11,"type_id","","",38,[[],["typeid",3]]],[11,"vzip","","",38,[[]]],[11,"equivalent","","",38,[[],["bool",15]]],[11,"init","","",38,[[],["usize",15]]],[11,"deref","","",38,[[["usize",15]]]],[11,"deref_mut","","",38,[[["usize",15]]]],[11,"drop","","",38,[[["usize",15]]]],[11,"from","","",39,[[]]],[11,"into","","",39,[[]]],[11,"to_string","","",39,[[],["string",3]]],[11,"borrow","","",39,[[]]],[11,"borrow_mut","","",39,[[]]],[11,"try_from","","",39,[[],["result",4]]],[11,"try_into","","",39,[[],["result",4]]],[11,"type_id","","",39,[[],["typeid",3]]],[11,"vzip","","",39,[[]]],[11,"equivalent","","",39,[[],["bool",15]]],[11,"init","","",39,[[],["usize",15]]],[11,"deref","","",39,[[["usize",15]]]],[11,"deref_mut","","",39,[[["usize",15]]]],[11,"drop","","",39,[[["usize",15]]]],[11,"into_wallet_descriptor","bdk::descriptor::template","",41,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",41,[[]]],[11,"into","","",41,[[]]],[11,"borrow","","",41,[[]]],[11,"borrow_mut","","",41,[[]]],[11,"try_from","","",41,[[],["result",4]]],[11,"try_into","","",41,[[],["result",4]]],[11,"type_id","","",41,[[],["typeid",3]]],[11,"vzip","","",41,[[]]],[11,"init","","",41,[[],["usize",15]]],[11,"deref","","",41,[[["usize",15]]]],[11,"deref_mut","","",41,[[["usize",15]]]],[11,"drop","","",41,[[["usize",15]]]],[11,"into_wallet_descriptor","","",42,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",42,[[]]],[11,"into","","",42,[[]]],[11,"borrow","","",42,[[]]],[11,"borrow_mut","","",42,[[]]],[11,"try_from","","",42,[[],["result",4]]],[11,"try_into","","",42,[[],["result",4]]],[11,"type_id","","",42,[[],["typeid",3]]],[11,"vzip","","",42,[[]]],[11,"init","","",42,[[],["usize",15]]],[11,"deref","","",42,[[["usize",15]]]],[11,"deref_mut","","",42,[[["usize",15]]]],[11,"drop","","",42,[[["usize",15]]]],[11,"into_wallet_descriptor","","",43,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",43,[[]]],[11,"into","","",43,[[]]],[11,"borrow","","",43,[[]]],[11,"borrow_mut","","",43,[[]]],[11,"try_from","","",43,[[],["result",4]]],[11,"try_into","","",43,[[],["result",4]]],[11,"type_id","","",43,[[],["typeid",3]]],[11,"vzip","","",43,[[]]],[11,"init","","",43,[[],["usize",15]]],[11,"deref","","",43,[[["usize",15]]]],[11,"deref_mut","","",43,[[["usize",15]]]],[11,"drop","","",43,[[["usize",15]]]],[11,"into_wallet_descriptor","","",44,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",44,[[]]],[11,"into","","",44,[[]]],[11,"borrow","","",44,[[]]],[11,"borrow_mut","","",44,[[]]],[11,"try_from","","",44,[[],["result",4]]],[11,"try_into","","",44,[[],["result",4]]],[11,"type_id","","",44,[[],["typeid",3]]],[11,"vzip","","",44,[[]]],[11,"init","","",44,[[],["usize",15]]],[11,"deref","","",44,[[["usize",15]]]],[11,"deref_mut","","",44,[[["usize",15]]]],[11,"drop","","",44,[[["usize",15]]]],[11,"into_wallet_descriptor","","",45,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",45,[[]]],[11,"into","","",45,[[]]],[11,"borrow","","",45,[[]]],[11,"borrow_mut","","",45,[[]]],[11,"try_from","","",45,[[],["result",4]]],[11,"try_into","","",45,[[],["result",4]]],[11,"type_id","","",45,[[],["typeid",3]]],[11,"vzip","","",45,[[]]],[11,"init","","",45,[[],["usize",15]]],[11,"deref","","",45,[[["usize",15]]]],[11,"deref_mut","","",45,[[["usize",15]]]],[11,"drop","","",45,[[["usize",15]]]],[11,"into_wallet_descriptor","","",46,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",46,[[]]],[11,"into","","",46,[[]]],[11,"borrow","","",46,[[]]],[11,"borrow_mut","","",46,[[]]],[11,"try_from","","",46,[[],["result",4]]],[11,"try_into","","",46,[[],["result",4]]],[11,"type_id","","",46,[[],["typeid",3]]],[11,"vzip","","",46,[[]]],[11,"init","","",46,[[],["usize",15]]],[11,"deref","","",46,[[["usize",15]]]],[11,"deref_mut","","",46,[[["usize",15]]]],[11,"drop","","",46,[[["usize",15]]]],[11,"into_wallet_descriptor","","",47,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",47,[[]]],[11,"into","","",47,[[]]],[11,"borrow","","",47,[[]]],[11,"borrow_mut","","",47,[[]]],[11,"try_from","","",47,[[],["result",4]]],[11,"try_into","","",47,[[],["result",4]]],[11,"type_id","","",47,[[],["typeid",3]]],[11,"vzip","","",47,[[]]],[11,"init","","",47,[[],["usize",15]]],[11,"deref","","",47,[[["usize",15]]]],[11,"deref_mut","","",47,[[["usize",15]]]],[11,"drop","","",47,[[["usize",15]]]],[11,"into_wallet_descriptor","","",48,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",48,[[]]],[11,"into","","",48,[[]]],[11,"borrow","","",48,[[]]],[11,"borrow_mut","","",48,[[]]],[11,"try_from","","",48,[[],["result",4]]],[11,"try_into","","",48,[[],["result",4]]],[11,"type_id","","",48,[[],["typeid",3]]],[11,"vzip","","",48,[[]]],[11,"init","","",48,[[],["usize",15]]],[11,"deref","","",48,[[["usize",15]]]],[11,"deref_mut","","",48,[[["usize",15]]]],[11,"drop","","",48,[[["usize",15]]]],[11,"into_wallet_descriptor","","",49,[[["network",4],["secp256k1",3]],[["error",4],["result",4]]]],[11,"from","","",49,[[]]],[11,"into","","",49,[[]]],[11,"borrow","","",49,[[]]],[11,"borrow_mut","","",49,[[]]],[11,"try_from","","",49,[[],["result",4]]],[11,"try_into","","",49,[[],["result",4]]],[11,"type_id","","",49,[[],["typeid",3]]],[11,"vzip","","",49,[[]]],[11,"init","","",49,[[],["usize",15]]],[11,"deref","","",49,[[["usize",15]]]],[11,"deref_mut","","",49,[[["usize",15]]]],[11,"drop","","",49,[[["usize",15]]]],[11,"from","bdk::keys::bip39","",55,[[]]],[11,"into","","",55,[[]]],[11,"to_owned","","",55,[[]]],[11,"clone_into","","",55,[[]]],[11,"borrow","","",55,[[]]],[11,"borrow_mut","","",55,[[]]],[11,"try_from","","",55,[[],["result",4]]],[11,"try_into","","",55,[[],["result",4]]],[11,"type_id","","",55,[[],["typeid",3]]],[11,"vzip","","",55,[[]]],[11,"init","","",55,[[],["usize",15]]],[11,"deref","","",55,[[["usize",15]]]],[11,"deref_mut","","",55,[[["usize",15]]]],[11,"drop","","",55,[[["usize",15]]]],[11,"from","","",108,[[]]],[11,"into","","",108,[[]]],[11,"to_owned","","",108,[[]]],[11,"clone_into","","",108,[[]]],[11,"to_string","","",108,[[],["string",3]]],[11,"borrow","","",108,[[]]],[11,"borrow_mut","","",108,[[]]],[11,"try_from","","",108,[[],["result",4]]],[11,"try_into","","",108,[[],["result",4]]],[11,"type_id","","",108,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",108,[[],["string",3]]],[11,"vzip","","",108,[[]]],[11,"init","","",108,[[],["usize",15]]],[11,"deref","","",108,[[["usize",15]]]],[11,"deref_mut","","",108,[[["usize",15]]]],[11,"drop","","",108,[[["usize",15]]]],[11,"from","","",56,[[]]],[11,"into","","",56,[[]]],[11,"to_owned","","",56,[[]]],[11,"clone_into","","",56,[[]]],[11,"to_string","","",56,[[],["string",3]]],[11,"borrow","","",56,[[]]],[11,"borrow_mut","","",56,[[]]],[11,"try_from","","",56,[[],["result",4]]],[11,"try_into","","",56,[[],["result",4]]],[11,"type_id","","",56,[[],["typeid",3]]],[11,"vzip","","",56,[[]]],[11,"init","","",56,[[],["usize",15]]],[11,"deref","","",56,[[["usize",15]]]],[11,"deref_mut","","",56,[[["usize",15]]]],[11,"drop","","",56,[[["usize",15]]]],[11,"from","","",109,[[]]],[11,"into","","",109,[[]]],[11,"to_owned","","",109,[[]]],[11,"clone_into","","",109,[[]]],[11,"borrow","","",109,[[]]],[11,"borrow_mut","","",109,[[]]],[11,"try_from","","",109,[[],["result",4]]],[11,"try_into","","",109,[[],["result",4]]],[11,"type_id","","",109,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",109,[[],["string",3]]],[11,"write_base32","","",109,[[],["result",4]]],[11,"base32_len","","",109,[[],["usize",15]]],[11,"check_base32","","",109,[[],[["result",4],["vec",3]]]],[11,"vzip","","",109,[[]]],[11,"init","","",109,[[],["usize",15]]],[11,"deref","","",109,[[["usize",15]]]],[11,"deref_mut","","",109,[[["usize",15]]]],[11,"drop","","",109,[[["usize",15]]]],[11,"from","bdk::keys","",58,[[]]],[11,"into","","",58,[[]]],[11,"to_string","","",58,[[],["string",3]]],[11,"borrow","","",58,[[]]],[11,"borrow_mut","","",58,[[]]],[11,"try_from","","",58,[[],["result",4]]],[11,"try_into","","",58,[[],["result",4]]],[11,"type_id","","",58,[[],["typeid",3]]],[11,"vzip","","",58,[[]]],[11,"init","","",58,[[],["usize",15]]],[11,"deref","","",58,[[["usize",15]]]],[11,"deref_mut","","",58,[[["usize",15]]]],[11,"drop","","",58,[[["usize",15]]]],[11,"from","","",59,[[]]],[11,"into","","",59,[[]]],[11,"borrow","","",59,[[]]],[11,"borrow_mut","","",59,[[]]],[11,"try_from","","",59,[[],["result",4]]],[11,"try_into","","",59,[[],["result",4]]],[11,"type_id","","",59,[[],["typeid",3]]],[11,"vzip","","",59,[[]]],[11,"init","","",59,[[],["usize",15]]],[11,"deref","","",59,[[["usize",15]]]],[11,"deref_mut","","",59,[[["usize",15]]]],[11,"drop","","",59,[[["usize",15]]]],[11,"from","","",60,[[]]],[11,"into","","",60,[[]]],[11,"to_owned","","",60,[[]]],[11,"clone_into","","",60,[[]]],[11,"borrow","","",60,[[]]],[11,"borrow_mut","","",60,[[]]],[11,"try_from","","",60,[[],["result",4]]],[11,"try_into","","",60,[[],["result",4]]],[11,"type_id","","",60,[[],["typeid",3]]],[11,"vzip","","",60,[[]]],[11,"equivalent","","",60,[[],["bool",15]]],[11,"init","","",60,[[],["usize",15]]],[11,"deref","","",60,[[["usize",15]]]],[11,"deref_mut","","",60,[[["usize",15]]]],[11,"drop","","",60,[[["usize",15]]]],[11,"from","","",61,[[]]],[11,"into","","",61,[[]]],[11,"to_owned","","",61,[[]]],[11,"clone_into","","",61,[[]]],[11,"to_string","","",61,[[],["string",3]]],[11,"borrow","","",61,[[]]],[11,"borrow_mut","","",61,[[]]],[11,"try_from","","",61,[[],["result",4]]],[11,"try_into","","",61,[[],["result",4]]],[11,"type_id","","",61,[[],["typeid",3]]],[11,"vzip","","",61,[[]]],[11,"equivalent","","",61,[[],["bool",15]]],[11,"init","","",61,[[],["usize",15]]],[11,"deref","","",61,[[["usize",15]]]],[11,"deref_mut","","",61,[[["usize",15]]]],[11,"drop","","",61,[[["usize",15]]]],[11,"from","","",62,[[]]],[11,"into","","",62,[[]]],[11,"borrow","","",62,[[]]],[11,"borrow_mut","","",62,[[]]],[11,"try_from","","",62,[[],["result",4]]],[11,"try_into","","",62,[[],["result",4]]],[11,"type_id","","",62,[[],["typeid",3]]],[11,"vzip","","",62,[[]]],[11,"init","","",62,[[],["usize",15]]],[11,"deref","","",62,[[["usize",15]]]],[11,"deref_mut","","",62,[[["usize",15]]]],[11,"drop","","",62,[[["usize",15]]]],[11,"from","","",63,[[]]],[11,"into","","",63,[[]]],[11,"to_owned","","",63,[[]]],[11,"clone_into","","",63,[[]]],[11,"borrow","","",63,[[]]],[11,"borrow_mut","","",63,[[]]],[11,"try_from","","",63,[[],["result",4]]],[11,"try_into","","",63,[[],["result",4]]],[11,"type_id","","",63,[[],["typeid",3]]],[11,"vzip","","",63,[[]]],[11,"equivalent","","",63,[[],["bool",15]]],[11,"init","","",63,[[],["usize",15]]],[11,"deref","","",63,[[["usize",15]]]],[11,"deref_mut","","",63,[[["usize",15]]]],[11,"drop","","",63,[[["usize",15]]]],[11,"from","","",66,[[]]],[11,"into","","",66,[[]]],[11,"borrow","","",66,[[]]],[11,"borrow_mut","","",66,[[]]],[11,"try_from","","",66,[[],["result",4]]],[11,"try_into","","",66,[[],["result",4]]],[11,"type_id","","",66,[[],["typeid",3]]],[11,"vzip","","",66,[[]]],[11,"init","","",66,[[],["usize",15]]],[11,"deref","","",66,[[["usize",15]]]],[11,"deref_mut","","",66,[[["usize",15]]]],[11,"drop","","",66,[[["usize",15]]]],[11,"from","","",68,[[]]],[11,"into","","",68,[[]]],[11,"borrow","","",68,[[]]],[11,"borrow_mut","","",68,[[]]],[11,"try_from","","",68,[[],["result",4]]],[11,"try_into","","",68,[[],["result",4]]],[11,"type_id","","",68,[[],["typeid",3]]],[11,"vzip","","",68,[[]]],[11,"init","","",68,[[],["usize",15]]],[11,"deref","","",68,[[["usize",15]]]],[11,"deref_mut","","",68,[[["usize",15]]]],[11,"drop","","",68,[[["usize",15]]]],[11,"from","","",71,[[]]],[11,"into","","",71,[[]]],[11,"to_owned","","",71,[[]]],[11,"clone_into","","",71,[[]]],[11,"borrow","","",71,[[]]],[11,"borrow_mut","","",71,[[]]],[11,"try_from","","",71,[[],["result",4]]],[11,"try_into","","",71,[[],["result",4]]],[11,"type_id","","",71,[[],["typeid",3]]],[11,"vzip","","",71,[[]]],[11,"init","","",71,[[],["usize",15]]],[11,"deref","","",71,[[["usize",15]]]],[11,"deref_mut","","",71,[[["usize",15]]]],[11,"drop","","",71,[[["usize",15]]]],[11,"from","","",72,[[]]],[11,"into","","",72,[[]]],[11,"to_string","","",72,[[],["string",3]]],[11,"borrow","","",72,[[]]],[11,"borrow_mut","","",72,[[]]],[11,"try_from","","",72,[[],["result",4]]],[11,"try_into","","",72,[[],["result",4]]],[11,"type_id","","",72,[[],["typeid",3]]],[11,"vzip","","",72,[[]]],[11,"init","","",72,[[],["usize",15]]],[11,"deref","","",72,[[["usize",15]]]],[11,"deref_mut","","",72,[[["usize",15]]]],[11,"drop","","",72,[[["usize",15]]]],[11,"from","bdk","",93,[[]]],[11,"into","","",93,[[]]],[11,"to_owned","","",93,[[]]],[11,"clone_into","","",93,[[]]],[11,"borrow","","",93,[[]]],[11,"borrow_mut","","",93,[[]]],[11,"try_from","","",93,[[],["result",4]]],[11,"try_into","","",93,[[],["result",4]]],[11,"type_id","","",93,[[],["typeid",3]]],[11,"write_base32","","",93,[[],["result",4]]],[11,"base32_len","","",93,[[],["usize",15]]],[11,"check_base32","","",93,[[],[["result",4],["vec",3]]]],[11,"vzip","","",93,[[]]],[11,"equivalent","","",93,[[],["bool",15]]],[11,"init","","",93,[[],["usize",15]]],[11,"deref","","",93,[[["usize",15]]]],[11,"deref_mut","","",93,[[["usize",15]]]],[11,"drop","","",93,[[["usize",15]]]],[11,"from","","",110,[[]]],[11,"into","","",110,[[]]],[11,"to_owned","","",110,[[]]],[11,"clone_into","","",110,[[]]],[11,"borrow","","",110,[[]]],[11,"borrow_mut","","",110,[[]]],[11,"try_from","","",110,[[],["result",4]]],[11,"try_into","","",110,[[],["result",4]]],[11,"type_id","","",110,[[],["typeid",3]]],[11,"vzip","","",110,[[]]],[11,"init","","",110,[[],["usize",15]]],[11,"deref","","",110,[[["usize",15]]]],[11,"deref_mut","","",110,[[["usize",15]]]],[11,"drop","","",110,[[["usize",15]]]],[11,"from","","",94,[[]]],[11,"into","","",94,[[]]],[11,"to_owned","","",94,[[]]],[11,"clone_into","","",94,[[]]],[11,"borrow","","",94,[[]]],[11,"borrow_mut","","",94,[[]]],[11,"try_from","","",94,[[],["result",4]]],[11,"try_into","","",94,[[],["result",4]]],[11,"type_id","","",94,[[],["typeid",3]]],[11,"vzip","","",94,[[]]],[11,"equivalent","","",94,[[],["bool",15]]],[11,"init","","",94,[[],["usize",15]]],[11,"deref","","",94,[[["usize",15]]]],[11,"deref_mut","","",94,[[["usize",15]]]],[11,"drop","","",94,[[["usize",15]]]],[11,"from","","",95,[[]]],[11,"into","","",95,[[]]],[11,"to_owned","","",95,[[]]],[11,"clone_into","","",95,[[]]],[11,"borrow","","",95,[[]]],[11,"borrow_mut","","",95,[[]]],[11,"try_from","","",95,[[],["result",4]]],[11,"try_into","","",95,[[],["result",4]]],[11,"type_id","","",95,[[],["typeid",3]]],[11,"vzip","","",95,[[]]],[11,"init","","",95,[[],["usize",15]]],[11,"deref","","",95,[[["usize",15]]]],[11,"deref_mut","","",95,[[["usize",15]]]],[11,"drop","","",95,[[["usize",15]]]],[11,"from","","",96,[[]]],[11,"into","","",96,[[]]],[11,"to_owned","","",96,[[]]],[11,"clone_into","","",96,[[]]],[11,"borrow","","",96,[[]]],[11,"borrow_mut","","",96,[[]]],[11,"try_from","","",96,[[],["result",4]]],[11,"try_into","","",96,[[],["result",4]]],[11,"type_id","","",96,[[],["typeid",3]]],[11,"vzip","","",96,[[]]],[11,"init","","",96,[[],["usize",15]]],[11,"deref","","",96,[[["usize",15]]]],[11,"deref_mut","","",96,[[["usize",15]]]],[11,"drop","","",96,[[["usize",15]]]],[11,"from","","",98,[[]]],[11,"into","","",98,[[]]],[11,"to_owned","","",98,[[]]],[11,"clone_into","","",98,[[]]],[11,"borrow","","",98,[[]]],[11,"borrow_mut","","",98,[[]]],[11,"try_from","","",98,[[],["result",4]]],[11,"try_into","","",98,[[],["result",4]]],[11,"type_id","","",98,[[],["typeid",3]]],[11,"vzip","","",98,[[]]],[11,"equivalent","","",98,[[],["bool",15]]],[11,"init","","",98,[[],["usize",15]]],[11,"deref","","",98,[[["usize",15]]]],[11,"deref_mut","","",98,[[["usize",15]]]],[11,"drop","","",98,[[["usize",15]]]],[11,"from","bdk::wallet::address_validator","",73,[[]]],[11,"into","","",73,[[]]],[11,"to_owned","","",73,[[]]],[11,"clone_into","","",73,[[]]],[11,"to_string","","",73,[[],["string",3]]],[11,"borrow","","",73,[[]]],[11,"borrow_mut","","",73,[[]]],[11,"try_from","","",73,[[],["result",4]]],[11,"try_into","","",73,[[],["result",4]]],[11,"type_id","","",73,[[],["typeid",3]]],[11,"vzip","","",73,[[]]],[11,"equivalent","","",73,[[],["bool",15]]],[11,"init","","",73,[[],["usize",15]]],[11,"deref","","",73,[[["usize",15]]]],[11,"deref_mut","","",73,[[["usize",15]]]],[11,"drop","","",73,[[["usize",15]]]],[11,"from","bdk::wallet::coin_selection","",75,[[]]],[11,"into","","",75,[[]]],[11,"borrow","","",75,[[]]],[11,"borrow_mut","","",75,[[]]],[11,"try_from","","",75,[[],["result",4]]],[11,"try_into","","",75,[[],["result",4]]],[11,"type_id","","",75,[[],["typeid",3]]],[11,"vzip","","",75,[[]]],[11,"init","","",75,[[],["usize",15]]],[11,"deref","","",75,[[["usize",15]]]],[11,"deref_mut","","",75,[[["usize",15]]]],[11,"drop","","",75,[[["usize",15]]]],[11,"from","","",111,[[]]],[11,"into","","",111,[[]]],[11,"to_owned","","",111,[[]]],[11,"clone_into","","",111,[[]]],[11,"borrow","","",111,[[]]],[11,"borrow_mut","","",111,[[]]],[11,"try_from","","",111,[[],["result",4]]],[11,"try_into","","",111,[[],["result",4]]],[11,"type_id","","",111,[[],["typeid",3]]],[11,"vzip","","",111,[[]]],[11,"init","","",111,[[],["usize",15]]],[11,"deref","","",111,[[["usize",15]]]],[11,"deref_mut","","",111,[[["usize",15]]]],[11,"drop","","",111,[[["usize",15]]]],[11,"from","","",77,[[]]],[11,"into","","",77,[[]]],[11,"borrow","","",77,[[]]],[11,"borrow_mut","","",77,[[]]],[11,"try_from","","",77,[[],["result",4]]],[11,"try_into","","",77,[[],["result",4]]],[11,"type_id","","",77,[[],["typeid",3]]],[11,"vzip","","",77,[[]]],[11,"init","","",77,[[],["usize",15]]],[11,"deref","","",77,[[["usize",15]]]],[11,"deref_mut","","",77,[[["usize",15]]]],[11,"drop","","",77,[[["usize",15]]]],[11,"from","bdk::wallet::export","",78,[[]]],[11,"into","","",78,[[]]],[11,"borrow","","",78,[[]]],[11,"borrow_mut","","",78,[[]]],[11,"try_from","","",78,[[],["result",4]]],[11,"try_into","","",78,[[],["result",4]]],[11,"type_id","","",78,[[],["typeid",3]]],[11,"vzip","","",78,[[]]],[11,"init","","",78,[[],["usize",15]]],[11,"deref","","",78,[[["usize",15]]]],[11,"deref_mut","","",78,[[["usize",15]]]],[11,"drop","","",78,[[["usize",15]]]],[11,"from","bdk::wallet::signer","",79,[[]]],[11,"into","","",79,[[]]],[11,"to_owned","","",79,[[]]],[11,"clone_into","","",79,[[]]],[11,"borrow","","",79,[[]]],[11,"borrow_mut","","",79,[[]]],[11,"try_from","","",79,[[],["result",4]]],[11,"try_into","","",79,[[],["result",4]]],[11,"type_id","","",79,[[],["typeid",3]]],[11,"vzip","","",79,[[]]],[11,"equivalent","","",79,[[],["bool",15]]],[11,"init","","",79,[[],["usize",15]]],[11,"deref","","",79,[[["usize",15]]]],[11,"deref_mut","","",79,[[["usize",15]]]],[11,"drop","","",79,[[["usize",15]]]],[11,"from","","",80,[[]]],[11,"into","","",80,[[]]],[11,"to_owned","","",80,[[]]],[11,"clone_into","","",80,[[]]],[11,"to_string","","",80,[[],["string",3]]],[11,"borrow","","",80,[[]]],[11,"borrow_mut","","",80,[[]]],[11,"try_from","","",80,[[],["result",4]]],[11,"try_into","","",80,[[],["result",4]]],[11,"type_id","","",80,[[],["typeid",3]]],[11,"vzip","","",80,[[]]],[11,"equivalent","","",80,[[],["bool",15]]],[11,"init","","",80,[[],["usize",15]]],[11,"deref","","",80,[[["usize",15]]]],[11,"deref_mut","","",80,[[["usize",15]]]],[11,"drop","","",80,[[["usize",15]]]],[11,"from","","",82,[[]]],[11,"into","","",82,[[]]],[11,"to_owned","","",82,[[]]],[11,"clone_into","","",82,[[]]],[11,"borrow","","",82,[[]]],[11,"borrow_mut","","",82,[[]]],[11,"try_from","","",82,[[],["result",4]]],[11,"try_into","","",82,[[],["result",4]]],[11,"type_id","","",82,[[],["typeid",3]]],[11,"vzip","","",82,[[]]],[11,"equivalent","","",82,[[],["bool",15]]],[11,"init","","",82,[[],["usize",15]]],[11,"deref","","",82,[[["usize",15]]]],[11,"deref_mut","","",82,[[["usize",15]]]],[11,"drop","","",82,[[["usize",15]]]],[11,"from","","",83,[[]]],[11,"into","","",83,[[]]],[11,"to_owned","","",83,[[]]],[11,"clone_into","","",83,[[]]],[11,"borrow","","",83,[[]]],[11,"borrow_mut","","",83,[[]]],[11,"try_from","","",83,[[],["result",4]]],[11,"try_into","","",83,[[],["result",4]]],[11,"type_id","","",83,[[],["typeid",3]]],[11,"vzip","","",83,[[]]],[11,"init","","",83,[[],["usize",15]]],[11,"deref","","",83,[[["usize",15]]]],[11,"deref_mut","","",83,[[["usize",15]]]],[11,"drop","","",83,[[["usize",15]]]],[11,"from","bdk::wallet::tx_builder","",112,[[]]],[11,"into","","",112,[[]]],[11,"to_owned","","",112,[[]]],[11,"clone_into","","",112,[[]]],[11,"borrow","","",112,[[]]],[11,"borrow_mut","","",112,[[]]],[11,"try_from","","",112,[[],["result",4]]],[11,"try_into","","",112,[[],["result",4]]],[11,"type_id","","",112,[[],["typeid",3]]],[11,"vzip","","",112,[[]]],[11,"init","","",112,[[],["usize",15]]],[11,"deref","","",112,[[["usize",15]]]],[11,"deref_mut","","",112,[[["usize",15]]]],[11,"drop","","",112,[[["usize",15]]]],[11,"from","","",113,[[]]],[11,"into","","",113,[[]]],[11,"to_owned","","",113,[[]]],[11,"clone_into","","",113,[[]]],[11,"borrow","","",113,[[]]],[11,"borrow_mut","","",113,[[]]],[11,"try_from","","",113,[[],["result",4]]],[11,"try_into","","",113,[[],["result",4]]],[11,"type_id","","",113,[[],["typeid",3]]],[11,"vzip","","",113,[[]]],[11,"init","","",113,[[],["usize",15]]],[11,"deref","","",113,[[["usize",15]]]],[11,"deref_mut","","",113,[[["usize",15]]]],[11,"drop","","",113,[[["usize",15]]]],[11,"from","","",84,[[]]],[11,"into","","",84,[[]]],[11,"to_owned","","",84,[[]]],[11,"clone_into","","",84,[[]]],[11,"borrow","","",84,[[]]],[11,"borrow_mut","","",84,[[]]],[11,"try_from","","",84,[[],["result",4]]],[11,"try_into","","",84,[[],["result",4]]],[11,"type_id","","",84,[[],["typeid",3]]],[11,"vzip","","",84,[[]]],[11,"init","","",84,[[],["usize",15]]],[11,"deref","","",84,[[["usize",15]]]],[11,"deref_mut","","",84,[[["usize",15]]]],[11,"drop","","",84,[[["usize",15]]]],[11,"from","","",85,[[]]],[11,"into","","",85,[[]]],[11,"to_owned","","",85,[[]]],[11,"clone_into","","",85,[[]]],[11,"borrow","","",85,[[]]],[11,"borrow_mut","","",85,[[]]],[11,"try_from","","",85,[[],["result",4]]],[11,"try_into","","",85,[[],["result",4]]],[11,"type_id","","",85,[[],["typeid",3]]],[11,"vzip","","",85,[[]]],[11,"equivalent","","",85,[[],["bool",15]]],[11,"init","","",85,[[],["usize",15]]],[11,"deref","","",85,[[["usize",15]]]],[11,"deref_mut","","",85,[[["usize",15]]]],[11,"drop","","",85,[[["usize",15]]]],[11,"from","","",86,[[]]],[11,"into","","",86,[[]]],[11,"to_owned","","",86,[[]]],[11,"clone_into","","",86,[[]]],[11,"borrow","","",86,[[]]],[11,"borrow_mut","","",86,[[]]],[11,"try_from","","",86,[[],["result",4]]],[11,"try_into","","",86,[[],["result",4]]],[11,"type_id","","",86,[[],["typeid",3]]],[11,"vzip","","",86,[[]]],[11,"equivalent","","",86,[[],["bool",15]]],[11,"init","","",86,[[],["usize",15]]],[11,"deref","","",86,[[["usize",15]]]],[11,"deref_mut","","",86,[[["usize",15]]]],[11,"drop","","",86,[[["usize",15]]]],[11,"from","bdk::wallet","",88,[[]]],[11,"into","","",88,[[]]],[11,"borrow","","",88,[[]]],[11,"borrow_mut","","",88,[[]]],[11,"try_from","","",88,[[],["result",4]]],[11,"try_into","","",88,[[],["result",4]]],[11,"type_id","","",88,[[],["typeid",3]]],[11,"vzip","","",88,[[]]],[11,"init","","",88,[[],["usize",15]]],[11,"deref","","",88,[[["usize",15]]]],[11,"deref_mut","","",88,[[["usize",15]]]],[11,"drop","","",88,[[["usize",15]]]],[11,"check_terminal_non_malleable","bdk::descriptor","",105,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",105,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",105,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_terminal_non_malleable","","",104,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",104,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",104,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"fmt","","",50,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",51,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","bdk::keys","",57,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",61,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",58,[[["formatter",3]],[["error",3],["result",4]]]],[11,"hash","","",60,[[]]],[11,"hash","bdk::descriptor","",105,[[]]],[11,"hash","","",104,[[]]],[11,"hash","","",51,[[]]],[11,"hash","bdk::keys","",57,[[]]],[11,"eq","bdk::descriptor","",51,[[["miniscript",3]],["bool",15]]],[11,"eq","bdk::keys","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"ne","","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"eq","bdk::descriptor","",50,[[["descriptor",4]],["bool",15]]],[11,"ne","","",50,[[["descriptor",4]],["bool",15]]],[11,"eq","","",105,[[["segwitv0",4]],["bool",15]]],[11,"eq","bdk::keys","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"ne","","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"eq","bdk::descriptor","",104,[[["legacy",4]],["bool",15]]],[11,"eq","bdk::keys","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"ne","","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"from_tree","bdk::descriptor","Parse an expression tree into a descriptor",50,[[["tree",3]],[["result",4],["descriptor",4],["error",4]]]],[11,"from_tree","","Parse an expression tree into a Miniscript. As a general …",51,[[["tree",3]],[["miniscript",3],["result",4],["error",4]]]],[11,"clone","","",105,[[],["segwitv0",4]]],[11,"clone","","",104,[[],["legacy",4]]],[11,"clone","","",50,[[],["descriptor",4]]],[11,"clone","bdk::keys","",57,[[],["descriptorpublickey",4]]],[11,"clone","","",61,[[],["sortedmultivec",3]]],[11,"clone","bdk::descriptor","",51,[[],["miniscript",3]]],[11,"clone","bdk::keys","",60,[[],["descriptorsinglepub",3]]],[11,"is_uncompressed","","",57,[[],["bool",15]]],[11,"to_pubkeyhash","","",57,[[],["descriptorpublickey",4]]],[11,"cmp","bdk::descriptor","",104,[[["legacy",4]],["ordering",4]]],[11,"cmp","","",105,[[["segwitv0",4]],["ordering",4]]],[11,"cmp","bdk::keys","",61,[[["sortedmultivec",3]],["ordering",4]]],[11,"cmp","bdk::descriptor","",50,[[["descriptor",4]],["ordering",4]]],[11,"cmp","bdk::keys","",57,[[["descriptorpublickey",4]],["ordering",4]]],[11,"cmp","bdk::descriptor","",51,[[["miniscript",3]],["ordering",4]]],[11,"cmp","bdk::keys","",60,[[["descriptorsinglepub",3]],["ordering",4]]],[11,"from_str","bdk::descriptor","",51,[[["str",15]],[["miniscript",3],["result",4],["error",4]]]],[11,"from_str","bdk::keys","",57,[[["str",15]],[["result",4],["descriptorpublickey",4]]]],[11,"from_str","bdk::descriptor","",50,[[["str",15]],[["result",4],["descriptor",4],["error",4]]]],[11,"from_str","bdk::keys","",58,[[["str",15]],[["descriptorsecretkey",4],["result",4]]]],[11,"for_each_key","bdk::descriptor","",50,[[],["bool",15]]],[11,"for_each_key","bdk::keys","",61,[[],["bool",15]]],[11,"for_each_key","bdk::descriptor","",51,[[],["bool",15]]],[11,"sanity_check","","Whether the descriptor is safe Checks whether all the …",50,[[],[["error",4],["result",4]]]],[11,"address","","Computes the Bitcoin address of the descriptor, if one …",50,[[["network",4]],[["result",4],["address",3],["error",4]]]],[11,"script_pubkey","","Computes the scriptpubkey of the descriptor",50,[[],["script",3]]],[11,"unsigned_script_sig","","Computes the scriptSig that will be in place for an …",50,[[],["script",3]]],[11,"explicit_script","","Computes the “witness script” of the descriptor, i.e. …",50,[[],["script",3]]],[11,"get_satisfaction","","Returns satisfying witness and scriptSig to spend an …",50,[[],[["result",4],["error",4]]]],[11,"max_satisfaction_weight","","Computes an upper bound on the weight of a satisfying …",50,[[],[["usize",15],["error",4],["result",4]]]],[11,"script_code","","Get the scriptCode of a transaction output.",50,[[],["script",3]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",51,[[],["result",4]]],[11,"translate_pk","","Convert a descriptor using abstract keys to one using …",50,[[],[["result",4],["descriptor",4]]]],[11,"partial_cmp","","",105,[[["segwitv0",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::keys","",61,[[["sortedmultivec",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","","",57,[[["descriptorpublickey",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::descriptor","",104,[[["legacy",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","","",50,[[["descriptor",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","","",51,[[["miniscript",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::keys","",60,[[["descriptorsinglepub",3]],[["ordering",4],["option",4]]]],[11,"fmt","bdk::descriptor","",105,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",50,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","bdk::keys","",61,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",60,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","bdk::descriptor","",104,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","bdk::keys","",57,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","bdk::descriptor","",51,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","bdk::keys","",59,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",58,[[["formatter",3]],[["error",3],["result",4]]]],[11,"lift","","",61,[[],[["policy",4],["result",4],["error",4]]]],[11,"lift","bdk::descriptor","",50,[[],[["policy",4],["result",4],["error",4]]]],[11,"lift","","",51,[[],[["policy",4],["result",4],["error",4]]]],[11,"default","bdk::keys::bip39","",56,[[],["mnemonictype",4]]],[11,"default","","",55,[[],["language",4]]],[11,"drop","","",108,[[]]],[11,"drop","","",109,[[]]],[11,"fmt","","",108,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",109,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",108,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",56,[[["formatter",3]],[["error",3],["result",4]]]],[11,"zeroize","","",55,[[]]],[11,"zeroize","","",109,[[]]],[11,"zeroize","","",108,[[]]],[11,"eq","","",55,[[["language",4]],["bool",15]]],[11,"fmt","","",108,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",109,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",56,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",109,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",108,[[["formatter",3]],[["error",3],["result",4]]]],[11,"fmt","","",55,[[["formatter",3]],[["error",3],["result",4]]]],[11,"clone","","",56,[[],["mnemonictype",4]]],[11,"clone","","",109,[[],["seed",3]]],[11,"clone","","",108,[[],["mnemonic",3]]],[11,"clone","","",55,[[],["language",4]]],[11,"as_ref","","",109,[[]]],[11,"as_ref","","",108,[[],["str",15]]],[11,"from_config","bdk::blockchain::any","",0,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::blockchain::electrum","",99,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::blockchain::esplora","",3,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::blockchain::compact_filters","",6,[[],[["result",4],["error",4]]]],[11,"update","bdk::blockchain","",102,[[["option",4],["f32",15],["string",3]],[["result",4],["error",4]]]],[11,"update","","",103,[[["option",4],["f32",15],["string",3]],[["result",4],["error",4]]]],[11,"set_script_pubkey","bdk::database::any","",14,[[["keychainkind",4],["script",3],["u32",15]],[["result",4],["error",4]]]],[11,"set_utxo","","",14,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",14,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",14,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",14,[[["keychainkind",4],["u32",15]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",14,[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]]],[11,"del_path_from_script_pubkey","","",14,[[["script",3]],[["error",4],["option",4],["result",4]]]],[11,"del_utxo","","",14,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[11,"del_raw_tx","","",14,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"del_tx","","",14,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"del_last_index","","",14,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"set_script_pubkey","","",15,[[["keychainkind",4],["script",3],["u32",15]],[["result",4],["error",4]]]],[11,"set_utxo","","",15,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",15,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",15,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",15,[[["keychainkind",4],["u32",15]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",15,[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]]],[11,"del_path_from_script_pubkey","","",15,[[["script",3]],[["error",4],["option",4],["result",4]]]],[11,"del_utxo","","",15,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[11,"del_raw_tx","","",15,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"del_tx","","",15,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"del_last_index","","",15,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"set_script_pubkey","bdk::database::memory","",18,[[["keychainkind",4],["script",3],["u32",15]],[["result",4],["error",4]]]],[11,"set_utxo","","",18,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",18,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",18,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",18,[[["keychainkind",4],["u32",15]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",18,[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]]],[11,"del_path_from_script_pubkey","","",18,[[["script",3]],[["error",4],["option",4],["result",4]]]],[11,"del_utxo","","",18,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[11,"del_raw_tx","","",18,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"del_tx","","",18,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"del_last_index","","",18,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"check_descriptor_checksum","bdk::database::any","",14,[[["keychainkind",4],["asref",8]],[["result",4],["error",4]]]],[11,"iter_script_pubkeys","","",14,[[["keychainkind",4],["option",4]],[["vec",3],["result",4],["error",4]]]],[11,"iter_utxos","","",14,[[],[["vec",3],["error",4],["result",4]]]],[11,"iter_raw_txs","","",14,[[],[["result",4],["vec",3],["error",4]]]],[11,"iter_txs","","",14,[[["bool",15]],[["vec",3],["result",4],["error",4]]]],[11,"get_script_pubkey_from_path","","",14,[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]]],[11,"get_path_from_script_pubkey","","",14,[[["script",3]],[["error",4],["option",4],["result",4]]]],[11,"get_utxo","","",14,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[11,"get_raw_tx","","",14,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"get_tx","","",14,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"get_last_index","","",14,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"increment_last_index","","",14,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[11,"check_descriptor_checksum","bdk::database::memory","",18,[[["keychainkind",4],["asref",8]],[["result",4],["error",4]]]],[11,"iter_script_pubkeys","","",18,[[["keychainkind",4],["option",4]],[["vec",3],["result",4],["error",4]]]],[11,"iter_utxos","","",18,[[],[["vec",3],["error",4],["result",4]]]],[11,"iter_raw_txs","","",18,[[],[["result",4],["vec",3],["error",4]]]],[11,"iter_txs","","",18,[[["bool",15]],[["vec",3],["result",4],["error",4]]]],[11,"get_script_pubkey_from_path","","",18,[[["keychainkind",4],["u32",15]],[["result",4],["option",4],["error",4]]]],[11,"get_path_from_script_pubkey","","",18,[[["script",3]],[["error",4],["option",4],["result",4]]]],[11,"get_utxo","","",18,[[["outpoint",3]],[["result",4],["option",4],["error",4]]]],[11,"get_raw_tx","","",18,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"get_tx","","",18,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"get_last_index","","",18,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"increment_last_index","","",18,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[11,"begin_batch","bdk::database::any","",14,[[]]],[11,"commit_batch","","",14,[[],[["result",4],["error",4]]]],[11,"begin_batch","bdk::database::memory","",18,[[]]],[11,"commit_batch","","",18,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::database::any","",14,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::database::memory","",18,[[],[["result",4],["error",4]]]],[11,"build","bdk::descriptor::template","",41,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",42,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",43,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",44,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",45,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",46,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",47,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",48,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",49,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"into_wallet_descriptor","bdk","",114,[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]]],[11,"into_wallet_descriptor","","",115,[[["network",4],["secp256k1",3]],[["descriptorerror",4],["result",4]]]],[11,"extract_policy","bdk::descriptor","",51,[[["signerscontainer",3],["secp256k1",3]],[["option",4],["result",4],["error",4]]]],[11,"extract_policy","","",50,[[["signerscontainer",3],["secp256k1",3]],[["option",4],["result",4],["error",4]]]],[11,"into_descriptor_key","bdk::keys","",68,[[],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"into_descriptor_key","","",62,[[],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"into_descriptor_key","","",57,[[],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"into_descriptor_key","","",58,[[],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"into_extended_key","bdk::keys::bip39","",109,[[],[["extendedkey",4],["keyerror",4],["result",4]]]],[11,"into_descriptor_key","","",109,[[["option",4],["derivationpath",3],["keysource",6]],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"into_extended_key","bdk","",116,[[],[["extendedkey",4],["keyerror",4],["result",4]]]],[11,"into_descriptor_key","","",116,[[["option",4],["derivationpath",3],["keysource",6]],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"into_extended_key","bdk::keys::bip39","",108,[[],[["extendedkey",4],["keyerror",4],["result",4]]]],[11,"into_descriptor_key","","",108,[[["option",4],["derivationpath",3],["keysource",6]],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"into_extended_key","bdk::keys","",66,[[],[["extendedkey",4],["keyerror",4],["result",4]]]],[11,"into_extended_key","","",68,[[],[["extendedkey",4],["keyerror",4],["result",4]]]],[11,"into_descriptor_key","","",68,[[["option",4],["derivationpath",3],["keysource",6]],[["result",4],["keyerror",4],["descriptorkey",4]]]],[11,"generate_with_entropy","bdk::keys::bip39","",108,[[],[["generatedkey",3],["result",4]]]],[11,"coin_select","bdk::wallet::coin_selection","",111,[[["f32",15],["u64",15],["weightedutxo",3],["vec",3],["feerate",3]],[["result",4],["coinselectionresult",3],["error",4]]]],[11,"coin_select","","",77,[[["f32",15],["u64",15],["weightedutxo",3],["vec",3],["feerate",3]],[["result",4],["coinselectionresult",3],["error",4]]]],[11,"get_capabilities","bdk::blockchain::any","",0,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",0,[[["usize",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[11,"sync","","",0,[[["usize",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[11,"get_tx","","",0,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"broadcast","","",0,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",0,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",0,[[["usize",15]],[["error",4],["feerate",3],["result",4]]]],[11,"get_capabilities","bdk::blockchain::electrum","",99,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",99,[[["usize",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[11,"get_tx","","",99,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"broadcast","","",99,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",99,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",99,[[["usize",15]],[["error",4],["feerate",3],["result",4]]]],[11,"get_capabilities","bdk::blockchain::esplora","",3,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",3,[[["usize",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[11,"get_tx","","",3,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"broadcast","","",3,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",3,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",3,[[["usize",15]],[["error",4],["feerate",3],["result",4]]]],[11,"get_capabilities","bdk::blockchain::compact_filters","",6,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",6,[[["usize",15],["progress",8],["option",4]],[["result",4],["error",4]]]],[11,"get_tx","","",6,[[["txid",3]],[["result",4],["option",4],["error",4]]]],[11,"broadcast","","",6,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",6,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",6,[[["usize",15]],[["error",4],["feerate",3],["result",4]]]],[11,"as_ref","bdk","",93,[[]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["addressvalidatorerror",4]]]],[11,"from","","",89,[[["policyerror",4]]]],[11,"from","","",89,[[["signererror",4]]]],[11,"from","","",89,[[["keyerror",4]],["error",4]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",3]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["esploraerror",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["compactfilterserror",4]]]],[11,"from","bdk::blockchain::any","",0,[[["electrumblockchain",3]]]],[11,"from","","",0,[[["esplorablockchain",3]]]],[11,"from","","",0,[[["compactfiltersblockchain",3]]]],[11,"from","","",1,[[["electrumblockchainconfig",3]]]],[11,"from","","",1,[[["esplorablockchainconfig",3]]]],[11,"from","","",1,[[["compactfiltersblockchainconfig",3]]]],[11,"from","bdk::blockchain::electrum","",99,[[["client",3]]]],[11,"from","bdk::blockchain::esplora","",5,[[["error",3]]]],[11,"from","","",5,[[["parseinterror",3]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","bdk::blockchain::compact_filters","",9,[[["error",3]]]],[11,"from","","",9,[[["error",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","","",9,[[["systemtimeerror",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","bdk::database::any","",14,[[["memorydatabase",3]]]],[11,"from","","",14,[[["tree",3]]]],[11,"from","","",15,[[]]],[11,"from","","",15,[[]]],[11,"from","","",17,[[]]],[11,"from","","",17,[[["sleddbconfiguration",3]]]],[11,"from","bdk::descriptor::error","",23,[[["keyerror",4]],["error",4]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["policyerror",4]]]],[11,"from","bdk::descriptor::policy","",33,[[["bool",15]]]],[11,"from","","",37,[[["satisfiableitem",4]]]],[11,"from","bdk::keys","",66,[[["extendedpubkey",3]]]],[11,"from","","",66,[[["extendedprivkey",3]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","bdk::wallet::signer","",79,[[["hash",3]],["signerid",4]]],[11,"from","","",79,[[["fingerprint",3]],["signerid",4]]],[11,"from","","",83,[[["keymap",6]],["signerscontainer",3]]],[11,"clone","bdk::blockchain","",10,[[],["capability",4]]],[11,"clone","","",102,[[],["noopprogress",3]]],[11,"clone","","",103,[[],["logprogress",3]]],[11,"clone","bdk::descriptor","",106,[[],["deriveddescriptorkey",3]]],[11,"clone","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"clone","","",24,[[],["satisfiableitem",4]]],[11,"clone","","",33,[[],["satisfaction",4]]],[11,"clone","","",37,[[],["policy",3]]],[11,"clone","","",38,[[],["condition",3]]],[11,"clone","bdk::keys","",63,[[],["scriptcontextenum",4]]],[11,"clone","","",71,[[],["privatekeygenerateoptions",3]]],[11,"clone","bdk","",93,[[],["keychainkind",4]]],[11,"clone","","",110,[[],["feerate",3]]],[11,"clone","","",94,[[],["localutxo",3]]],[11,"clone","","",95,[[],["weightedutxo",3]]],[11,"clone","","",96,[[],["utxo",4]]],[11,"clone","","",98,[[],["transactiondetails",3]]],[11,"clone","bdk::wallet::address_validator","",73,[[],["addressvalidatorerror",4]]],[11,"clone","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"clone","bdk::wallet::signer","",79,[[],["signerid",4]]],[11,"clone","","",80,[[],["signererror",4]]],[11,"clone","","",82,[[],["signerordering",3]]],[11,"clone","","",83,[[],["signerscontainer",3]]],[11,"clone","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"clone","","",113,[[],["bumpfee",3]]],[11,"clone","","",84,[[]]],[11,"clone","","",85,[[],["txordering",4]]],[11,"clone","","",86,[[],["changespendpolicy",4]]],[11,"default","bdk::blockchain::compact_filters","",100,[[],["mempool",3]]],[11,"default","bdk::database::memory","",18,[[],["memorydatabase",3]]],[11,"default","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"default","","",38,[[],["condition",3]]],[11,"default","bdk::keys","",71,[[]]],[11,"default","bdk","",110,[[]]],[11,"default","","",98,[[],["transactiondetails",3]]],[11,"default","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"default","","",77,[[]]],[11,"default","bdk::wallet::signer","",82,[[]]],[11,"default","","",83,[[],["signerscontainer",3]]],[11,"default","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"default","","",113,[[],["bumpfee",3]]],[11,"default","","",85,[[]]],[11,"default","","",86,[[]]],[11,"cmp","bdk::descriptor","",106,[[],["ordering",4]]],[11,"cmp","bdk::descriptor::policy","",38,[[["condition",3]],["ordering",4]]],[11,"cmp","bdk::wallet::signer","",79,[[["signerid",4]],["ordering",4]]],[11,"cmp","","",82,[[["signerordering",3]],["ordering",4]]],[11,"cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],["ordering",4]]],[11,"cmp","","",86,[[["changespendpolicy",4]],["ordering",4]]],[11,"eq","bdk::blockchain","",10,[[["capability",4]],["bool",15]]],[11,"eq","bdk::descriptor","",106,[[],["bool",15]]],[11,"eq","bdk::descriptor::policy","",38,[[["condition",3]],["bool",15]]],[11,"ne","","",38,[[["condition",3]],["bool",15]]],[11,"eq","","",39,[[["policyerror",4]],["bool",15]]],[11,"ne","","",39,[[["policyerror",4]],["bool",15]]],[11,"eq","bdk::keys","",63,[[["scriptcontextenum",4]],["bool",15]]],[11,"eq","bdk","",93,[[["keychainkind",4]],["bool",15]]],[11,"eq","","",110,[[["feerate",3]],["bool",15]]],[11,"ne","","",110,[[["feerate",3]],["bool",15]]],[11,"eq","","",94,[[["localutxo",3]],["bool",15]]],[11,"ne","","",94,[[["localutxo",3]],["bool",15]]],[11,"eq","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"ne","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"eq","","",96,[[["utxo",4]],["bool",15]]],[11,"ne","","",96,[[["utxo",4]],["bool",15]]],[11,"eq","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"ne","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"eq","bdk::wallet::address_validator","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"ne","","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"eq","bdk::wallet::signer","",79,[[["signerid",4]],["bool",15]]],[11,"ne","","",79,[[["signerid",4]],["bool",15]]],[11,"eq","","",80,[[["signererror",4]],["bool",15]]],[11,"eq","","",82,[[["signerordering",3]],["bool",15]]],[11,"ne","","",82,[[["signerordering",3]],["bool",15]]],[11,"eq","bdk::wallet::tx_builder","",85,[[["txordering",4]],["bool",15]]],[11,"eq","","",86,[[["changespendpolicy",4]],["bool",15]]],[11,"partial_cmp","bdk::descriptor","",106,[[],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor::policy","",38,[[["condition",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk","",110,[[["feerate",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::wallet::signer","",79,[[["signerid",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",82,[[["signerordering",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",86,[[["changespendpolicy",4]],[["option",4],["ordering",4]]]],[11,"to_string","bdk::wallet::export","",78,[[],["string",3]]],[11,"deref","bdk::descriptor","",106,[[]]],[11,"deref","bdk::keys","",68,[[]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::any","",1,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::electrum","",2,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",4,[[["formatter",3]],["result",6]]],[11,"fmt","","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",100,[[["formatter",3]],["result",6]]],[11,"fmt","","",101,[[["formatter",3]],["result",6]]],[11,"fmt","","",6,[[["formatter",3]],["result",6]]],[11,"fmt","","",7,[[["formatter",3]],["result",6]]],[11,"fmt","","",8,[[["formatter",3]],["result",6]]],[11,"fmt","","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain","",10,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::any","",14,[[["formatter",3]],["result",6]]],[11,"fmt","","",16,[[["formatter",3]],["result",6]]],[11,"fmt","","",17,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::memory","",18,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",107,[[["formatter",3]],["result",6]]],[11,"fmt","","",24,[[["formatter",3]],["result",6]]],[11,"fmt","","",33,[[["formatter",3]],["result",6]]],[11,"fmt","","",37,[[["formatter",3]],["result",6]]],[11,"fmt","","",38,[[["formatter",3]],["result",6]]],[11,"fmt","","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",62,[[["formatter",3]],["result",6]]],[11,"fmt","","",63,[[["formatter",3]],["result",6]]],[11,"fmt","","",71,[[["formatter",3]],["result",6]]],[11,"fmt","","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",93,[[["formatter",3]],["result",6]]],[11,"fmt","","",110,[[["formatter",3]],["result",6]]],[11,"fmt","","",94,[[["formatter",3]],["result",6]]],[11,"fmt","","",95,[[["formatter",3]],["result",6]]],[11,"fmt","","",96,[[["formatter",3]],["result",6]]],[11,"fmt","","",98,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::coin_selection","",75,[[["formatter",3]],["result",6]]],[11,"fmt","","",111,[[["formatter",3]],["result",6]]],[11,"fmt","","",77,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::export","",78,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",79,[[["formatter",3]],["result",6]]],[11,"fmt","","",80,[[["formatter",3]],["result",6]]],[11,"fmt","","",82,[[["formatter",3]],["result",6]]],[11,"fmt","","",83,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::tx_builder","",112,[[["formatter",3]],["result",6]]],[11,"fmt","","",113,[[["formatter",3]],["result",6]]],[11,"fmt","","",84,[[["formatter",3]],["result",6]]],[11,"fmt","","",85,[[["formatter",3]],["result",6]]],[11,"fmt","","",86,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet","",88,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",80,[[["formatter",3]],["result",6]]],[11,"hash","bdk::blockchain","",10,[[]]],[11,"hash","bdk::descriptor","",106,[[]]],[11,"hash","bdk::descriptor::policy","",38,[[]]],[11,"hash","bdk","",93,[[]]],[11,"hash","bdk::wallet::signer","",79,[[]]],[11,"hash","bdk::wallet::tx_builder","",85,[[]]],[11,"hash","","",86,[[]]],[11,"from_str","bdk::wallet::export","",78,[[["str",15]],["result",4]]],[11,"serialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"serialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"serialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"serialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"serialize","","",8,[[],["result",4]]],[11,"serialize","bdk::database::any","",16,[[],["result",4]]],[11,"serialize","","",17,[[],["result",4]]],[11,"serialize","bdk::descriptor::policy","",107,[[],["result",4]]],[11,"serialize","","",24,[[],["result",4]]],[11,"serialize","","",33,[[],["result",4]]],[11,"serialize","","",37,[[],["result",4]]],[11,"serialize","","",38,[[],["result",4]]],[11,"serialize","bdk","",93,[[],["result",4]]],[11,"serialize","","",94,[[],["result",4]]],[11,"serialize","","",98,[[],["result",4]]],[11,"serialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"deserialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"deserialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"deserialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"deserialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"deserialize","","",8,[[],["result",4]]],[11,"deserialize","bdk::database::any","",16,[[],["result",4]]],[11,"deserialize","","",17,[[],["result",4]]],[11,"deserialize","bdk","",93,[[],["result",4]]],[11,"deserialize","","",94,[[],["result",4]]],[11,"deserialize","","",98,[[],["result",4]]],[11,"deserialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"to_pubkeyhash","bdk::descriptor","",106,[[]]],[11,"is_uncompressed","","",106,[[],["bool",15]]],[11,"serialized_len","","",106,[[],["usize",15]]],[11,"to_public_key","","",106,[[],["publickey",3]]],[11,"hash_to_hash160","","",106,[[],["hash",3]]],[11,"new","bdk::blockchain::compact_filters","Create a new empty mempool",100,[[]]],[11,"add_tx","","Add a transaction to the mempool",100,[[["transaction",3]]]],[11,"get_tx","","Look-up a transaction in the mempool given an [Inventory] …",100,[[["inventory",4]],[["option",4],["transaction",3]]]],[11,"has_tx","","Return whether or not the mempool contains a transaction …",100,[[["txid",3]],["bool",15]]],[11,"iter_txs","","Return the list of transactions contained in the mempool",100,[[],[["vec",3],["transaction",3]]]],[11,"connect","","Connect to a peer over a plaintext TCP connection",101,[[["tosocketaddrs",8],["arc",3],["mempool",3],["network",4]],[["result",4],["compactfilterserror",4]]]],[11,"connect_proxy","","Connect to a peer through a SOCKS5 proxy, optionally by …",101,[[["tosocketaddrs",8],["arc",3],["mempool",3],["totargetaddr",8],["option",4],["network",4]],[["result",4],["compactfilterserror",4]]]],[11,"get_version","","Return the [VersionMessage] sent by the peer",101,[[],["versionmessage",3]]],[11,"get_network","","Return the Bitcoin [Network] in use",101,[[],["network",4]]],[11,"get_mempool","","Return the mempool used by this peer",101,[[],[["arc",3],["mempool",3]]]],[11,"is_connected","","Return whether or not the peer is still connected",101,[[],["bool",15]]],[11,"send","","Send a raw Bitcoin message to the peer",101,[[["networkmessage",4]],[["compactfilterserror",4],["result",4]]]],[11,"recv","","Waits for a specific incoming Bitcoin message, optionally …",101,[[["str",15],["option",4],["duration",3]],[["compactfilterserror",4],["result",4],["option",4]]]],[11,"new_pk","bdk::descriptor","Create a new pk descriptor",50,[[],["descriptor",4]]],[11,"new_pkh","","Create a new PkH descriptor",50,[[],["descriptor",4]]],[11,"new_wpkh","","Create a new Wpkh descriptor Will return Err if …",50,[[],[["result",4],["descriptor",4],["error",4]]]],[11,"new_sh_wpkh","","Create a new sh wrapped wpkh from Pk. Errors when …",50,[[],[["result",4],["descriptor",4],["error",4]]]],[11,"new_sh","","Create a new sh for a given redeem script Errors when …",50,[[["legacy",4],["miniscript",3]],[["result",4],["descriptor",4],["error",4]]]],[11,"new_wsh","","Create a new wsh descriptor from witness script Errors …",50,[[["miniscript",3],["segwitv0",4]],[["result",4],["descriptor",4],["error",4]]]],[11,"new_sh_wsh","","Create a new sh wrapped wsh descriptor with witness script…",50,[[["miniscript",3],["segwitv0",4]],[["result",4],["descriptor",4],["error",4]]]],[11,"new_bare","","Create a new bare descriptor from witness script Errors …",50,[[["miniscript",3],["barectx",4]],[["result",4],["descriptor",4],["error",4]]]],[11,"new_sh_sortedmulti","","Create a new sh sortedmulti descriptor with threshold k …",50,[[["usize",15],["global",3],["vec",3]],[["result",4],["descriptor",4],["error",4]]]],[11,"new_sh_wsh_sortedmulti","","Create a new sh wrapped wsh sortedmulti descriptor from …",50,[[["usize",15],["global",3],["vec",3]],[["result",4],["descriptor",4],["error",4]]]],[11,"new_wsh_sortedmulti","","Create a new wsh sorted multi descriptor Errors when …",50,[[["usize",15],["global",3],["vec",3]],[["result",4],["descriptor",4],["error",4]]]],[11,"desc_type","","Get the [DescriptorType] of [Descriptor]",50,[[],["descriptortype",4]]],[11,"is_deriveable","","Whether or not the descriptor has any wildcards",50,[[],["bool",15]]],[11,"derive","","Derives all wildcard keys in the descriptor using the …",50,[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]]],[11,"parse_descriptor","","Parse a descriptor that may contain secret keys",50,[[["secp256k1",3],["str",15]],[["error",4],["result",4]]]],[11,"to_string_with_secret","","Serialize a descriptor to string with its secret keys",50,[[["hashmap",3]],["string",3]]],[11,"master_fingerprint","bdk::keys","The fingerprint of the master key associated with this key",57,[[],["fingerprint",3]]],[11,"full_derivation_path","","Full path, from the master key",57,[[],["derivationpath",3]]],[11,"is_deriveable","","Whether or not the key has a wildcards",57,[[],["bool",15]]],[11,"derive","","If this public key has a wildcard, replace it by the …",57,[[["u32",15]],["descriptorpublickey",4]]],[11,"derive_public_key","","Computes the public key corresponding to this descriptor …",57,[[["secp256k1",3]],[["result",4],["publickey",3],["conversionerror",4]]]],[11,"requires_sig","bdk::descriptor","Whether all spend paths of miniscript require a signature",51,[[],["bool",15]]],[11,"is_non_malleable","","Whether the miniscript is malleable",51,[[],["bool",15]]],[11,"within_resource_limits","","Whether the miniscript can exceed the resource …",51,[[],["bool",15]]],[11,"has_mixed_timelocks","","Whether the miniscript contains a combination of timelocks",51,[[],["bool",15]]],[11,"has_repeated_keys","","Whether the miniscript has repeated Pk or Pkh",51,[[],["bool",15]]],[11,"sanity_check","","Check whether the underlying Miniscript is safe under the …",51,[[],[["result",4],["analysiserror",4]]]],[11,"iter","","Creates a new [Iter] iterator that will iterate over all […",51,[[],["iter",3]]],[11,"iter_pk","","Creates a new [PkIter] iterator that will iterate over …",51,[[],["pkiter",3]]],[11,"iter_pkh","","Creates a new [PkhIter] iterator that will iterate over …",51,[[],["pkhiter",3]]],[11,"iter_pk_pkh","","Creates a new [PkPkhIter] iterator that will iterate over …",51,[[],["pkpkhiter",3]]],[11,"branches","","Enumerates all child nodes of the current AST node (self) …",51,[[],[["vec",3],["miniscript",3],["global",3]]]],[11,"get_nth_child","","Returns child node with given index, if any",51,[[["usize",15]],[["option",4],["miniscript",3]]]],[11,"get_leaf_pk","","Returns Vec with cloned version of all public keys from …",51,[[],[["global",3],["vec",3]]]],[11,"get_leaf_pkh","","Returns Vec with hashes of all public keys from the …",51,[[],[["vec",3],["global",3]]]],[11,"get_leaf_pk_pkh","","Returns Vec of [PkPkh] entries, representing either …",51,[[],[["pkpkh",4],["vec",3],["global",3]]]],[11,"get_nth_pk","","Returns Option::Some with cloned n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pkh","","Returns Option::Some with hash of n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pk_pkh","","Returns Option::Some with hash of n’th public key or …",51,[[["usize",15]],[["option",4],["pkpkh",4]]]],[11,"from_ast","","Add type information(Type and Extdata) to Miniscript …",51,[[["terminal",4]],[["miniscript",3],["result",4],["error",4]]]],[11,"into_inner","","Extracts the AstElem representing the root of the …",51,[[],["terminal",4]]],[11,"as_inner","","Get a reference to the inner AstElem representing the …",51,[[],["terminal",4]]],[11,"parse_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["script",3]],[["result",4],["miniscript",3],["error",4]]]],[11,"parse","","Attempt to parse a Script into Miniscript representation. …",51,[[["script",3]],[["result",4],["miniscript",3],["error",4]]]],[11,"encode","","Encode as a Bitcoin script",51,[[],["script",3]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",51,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",51,[[],[["usize",15],["error",4],["result",4]]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. For …",51,[[],[["usize",15],["error",4],["result",4]]]],[11,"from_str_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["str",15]],[["miniscript",3],["result",4],["error",4]]]],[11,"satisfy","","Attempt to produce non-malleable satisfying witness for …",51,[[],[["result",4],["vec",3],["error",4]]]],[11,"satisfy_malleable","","Attempt to produce a malleable satisfying witness for the …",51,[[],[["result",4],["vec",3],["error",4]]]],[11,"lift_check","","Lifting corresponds conversion of miniscript into Policy […",51,[[],[["result",4],["lifterror",4]]]],[11,"check_witness","bdk::keys","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"new","bdk::descriptor","Construct a new derived key",106,[[["secp256k1",3],["descriptorpublickey",4]],["deriveddescriptorkey",3]]],[11,"from_language_code","bdk::keys::bip39","Construct a word list from its language code. Returns None…",55,[[["str",15]],[["language",4],["option",4]]]],[11,"wordlist","","Get the word list for this language",55,[[],["wordlist",3]]],[11,"wordmap","","Get a [WordMap][WordMap] that allows word -> index …",55,[[],["wordmap",3]]],[11,"new","","Generates a new Mnemonic",108,[[["mnemonictype",4],["language",4]],["mnemonic",3]]],[11,"from_entropy","","Create a Mnemonic from pre-generated entropy",108,[[["language",4]],[["mnemonic",3],["result",4],["error",3]]]],[11,"from_phrase","","Create a Mnemonic from an existing mnemonic phrase",108,[[["language",4],["str",15]],[["mnemonic",3],["result",4],["error",3]]]],[11,"validate","","Validate a mnemonic phrase",108,[[["language",4],["str",15]],[["result",4],["error",3]]]],[11,"phrase","","Get the mnemonic phrase as a string reference.",108,[[],["str",15]]],[11,"into_phrase","","Consume the Mnemonic and return the phrase as a String.",108,[[],["string",3]]],[11,"entropy","","Get the original entropy value of the mnemonic phrase as …",108,[[]]],[11,"language","","Get the Language",108,[[],["language",4]]],[11,"for_word_count","","Get a MnemonicType for a mnemonic phrase with a specific …",56,[[["usize",15]],[["mnemonictype",4],["result",4],["error",3]]]],[11,"for_key_size","","Get a MnemonicType for a mnemonic phrase representing the …",56,[[["usize",15]],[["mnemonictype",4],["result",4],["error",3]]]],[11,"for_phrase","","Get a MnemonicType for an existing mnemonic phrase",56,[[["str",15]],[["mnemonictype",4],["result",4],["error",3]]]],[11,"total_bits","","Return the number of entropy+checksum bits",56,[[],["usize",15]]],[11,"entropy_bits","","Return the number of entropy bits",56,[[],["usize",15]]],[11,"checksum_bits","","Return the number of checksum bits",56,[[],["u8",15]]],[11,"word_count","","Return the number of words",56,[[],["usize",15]]],[11,"new","","Generates the seed from the Mnemonic and the password.",109,[[["mnemonic",3],["str",15]],["seed",3]]],[11,"as_bytes","","Get the seed value as a byte slice",109,[[]]],[11,"as_public","bdk::keys","Return the public version of this key, by applying either …",58,[[["secp256k1",3]],[["descriptorpublickey",4],["descriptorkeyparseerror",3],["result",4]]]],[11,"new","","Create a new instance of SortedMultiVec given a list of …",61,[[["usize",15],["global",3],["vec",3]],[["result",4],["sortedmultivec",3],["error",4]]]],[11,"from_tree","","Parse an expression tree into a SortedMultiVec",61,[[["tree",3]],[["result",4],["sortedmultivec",3],["error",4]]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",61,[[],[["result",4],["sortedmultivec",3]]]],[11,"sanity_check","","utility function to sanity a sorted multi vec",61,[[],[["error",4],["result",4]]]],[11,"sorted_node","","Create Terminal::Multi containing sorted pubkeys",61,[[],["terminal",4]]],[11,"encode","","Encode as a Bitcoin script",61,[[],["script",3]]],[11,"satisfy","","Attempt to produce a satisfying witness for the witness …",61,[[],[["result",4],["vec",3],["error",4]]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",61,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",61,[[],["usize",15]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. In …",61,[[],["usize",15]]],[11,"as_byte","bdk","Return [KeychainKind] as a byte",93,[[],["u8",15]]],[11,"from_btc_per_kvb","","Create a new instance of [FeeRate] given a float fee rate …",110,[[["f32",15]]]],[11,"from_sat_per_vb","","Create a new instance of [FeeRate] given a float fee rate …",110,[[["f32",15]]]],[11,"default_min_relay_fee","","Create a new [FeeRate] with the default min relay fee …",110,[[]]],[11,"as_sat_vb","","Return the value as satoshi/vbyte",110,[[],["f32",15]]],[11,"outpoint","","Get the location of the UTXO",96,[[],["outpoint",3]]],[11,"txout","","Get the TxOut of the UTXO",96,[[],["txout",3]]]],"p":[[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[3,"ElectrumBlockchainConfig"],[3,"EsploraBlockchain"],[3,"EsploraBlockchainConfig"],[4,"EsploraError"],[3,"CompactFiltersBlockchain"],[3,"BitcoinPeerConfig"],[3,"CompactFiltersBlockchainConfig"],[4,"CompactFiltersError"],[4,"Capability"],[8,"Blockchain"],[8,"ConfigurableBlockchain"],[8,"Progress"],[4,"AnyDatabase"],[4,"AnyBatch"],[3,"SledDbConfiguration"],[4,"AnyDatabaseConfig"],[3,"MemoryDatabase"],[8,"BatchOperations"],[8,"Database"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[4,"Error"],[4,"SatisfiableItem"],[13,"SHA256Preimage"],[13,"HASH256Preimage"],[13,"RIPEMD160Preimage"],[13,"HASH160Preimage"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[13,"Multisig"],[13,"Thresh"],[4,"Satisfaction"],[13,"Partial"],[13,"PartialComplete"],[13,"Complete"],[3,"Policy"],[3,"Condition"],[4,"PolicyError"],[8,"DescriptorTemplate"],[3,"P2PKH"],[3,"P2WPKH_P2SH"],[3,"P2WPKH"],[3,"BIP44"],[3,"BIP44Public"],[3,"BIP49"],[3,"BIP49Public"],[3,"BIP84"],[3,"BIP84Public"],[4,"Descriptor"],[3,"Miniscript"],[8,"ScriptContext"],[8,"IntoWalletDescriptor"],[8,"ExtractPolicy"],[4,"Language"],[4,"MnemonicType"],[4,"DescriptorPublicKey"],[4,"DescriptorSecretKey"],[3,"DescriptorSinglePriv"],[3,"DescriptorSinglePub"],[3,"SortedMultiVec"],[4,"DescriptorKey"],[4,"ScriptContextEnum"],[8,"ExtScriptContext"],[8,"IntoDescriptorKey"],[4,"ExtendedKey"],[8,"DerivableKey"],[3,"GeneratedKey"],[8,"GeneratableKey"],[8,"GeneratableDefaultOptions"],[3,"PrivateKeyGenerateOptions"],[4,"KeyError"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[8,"CoinSelectionAlgorithm"],[3,"BranchAndBoundCoinSelection"],[3,"WalletExport"],[4,"SignerId"],[4,"SignerError"],[8,"Signer"],[3,"SignerOrdering"],[3,"SignersContainer"],[3,"TxBuilder"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[8,"IsDust"],[3,"Wallet"],[4,"Error"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[4,"KeychainKind"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[4,"Utxo"],[13,"Foreign"],[3,"TransactionDetails"],[3,"ElectrumBlockchain"],[3,"Mempool"],[3,"Peer"],[3,"NoopProgress"],[3,"LogProgress"],[4,"Legacy"],[4,"Segwitv0"],[3,"DerivedDescriptorKey"],[3,"PKOrF"],[3,"Mnemonic"],[3,"Seed"],[3,"FeeRate"],[3,"LargestFirstCoinSelection"],[3,"CreateTx"],[3,"BumpFee"],[6,"ExtendedDescriptor"],[6,"DescriptorTemplateOut"],[6,"MnemonicWithPassphrase"]]}\ }'); -addSearchOptions(searchIndex);initSearch(searchIndex); \ No newline at end of file +initSearch(searchIndex); \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/settings.html b/static/docs-rs/bdk/nightly/latest/settings.html index b867196463..17a3aa6343 100644 --- a/static/docs-rs/bdk/nightly/latest/settings.html +++ b/static/docs-rs/bdk/nightly/latest/settings.html @@ -1,7 +1,7 @@ -Rustdoc settings +Rustdoc settings -

Rustdoc settings

Theme preferences
Use system theme
Preferred dark theme
Preferred light theme
+

Rustdoc settings

Theme preferences
Use system theme
Preferred dark theme
Preferred light theme
Auto-hide item declarations
Auto-hide structs declaration
Auto-hide enums declaration
Auto-hide unions declaration
Auto-hide traits declaration
Auto-hide macros declaration
-
Auto-hide item attributes.
Auto-hide item methods' documentation
Auto-hide trait implementation documentation
Auto-hide implementors of a trait
Directly go to item in search if there is only one result
Show line numbers on code examples
Disable keyboard shortcuts
- \ No newline at end of file +
Auto-hide item attributes.
Auto-hide item methods' documentation
Auto-hide trait implementation documentation
Auto-hide implementors of a trait
Directly go to item in search if there is only one result
Show line numbers on code examples
Disable keyboard shortcuts
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html index 5c3ba58d29..c8b6fe9d82 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/any.rs.html @@ -1,7 +1,7 @@ -any.rs - source +any.rs - source -
  1
+
  1
   2
   3
   4
@@ -220,43 +220,17 @@
 217
 218
 219
-220
-221
-222
-223
-224
-225
-226
-227
-228
-229
-230
-231
-232
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Runtime-checked blockchain types
 //!
@@ -467,5 +441,5 @@
 impl_from!(esplora::EsploraBlockchainConfig, AnyBlockchainConfig, Esplora, #[cfg(feature = "esplora")]);
 impl_from!(compact_filters::CompactFiltersBlockchainConfig, AnyBlockchainConfig, CompactFilters, #[cfg(feature = "compact_filters")]);
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html index da5adc72ca..a093c6d56a 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html @@ -1,7 +1,7 @@ -mod.rs - source +mod.rs - source -
  1
+
  1
   2
   3
   4
@@ -570,43 +570,17 @@
 567
 568
 569
-570
-571
-572
-573
-574
-575
-576
-577
-578
-579
-580
-581
-582
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Compact Filters
 //!
@@ -1167,5 +1141,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html index 4534fd3d0c..50c5749d66 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/peer.rs.html @@ -1,7 +1,7 @@ -peer.rs - source +peer.rs - source -
  1
+
  1
   2
   3
   4
@@ -573,43 +573,17 @@
 570
 571
 572
-573
-574
-575
-576
-577
-578
-579
-580
-581
-582
-583
-584
-585
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use std::collections::HashMap;
 use std::net::{TcpStream, ToSocketAddrs};
@@ -1173,5 +1147,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html index 925998143c..b6d96f604a 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html @@ -1,7 +1,7 @@ -store.rs - source +store.rs - source -
  1
+
  1
   2
   3
   4
@@ -851,43 +851,17 @@
 848
 849
 850
-851
-852
-853
-854
-855
-856
-857
-858
-859
-860
-861
-862
-863
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use std::convert::TryInto;
 use std::fmt;
@@ -1729,5 +1703,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html index 6e4035665b..41c67e203d 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/sync.rs.html @@ -1,7 +1,7 @@ -sync.rs - source +sync.rs - source -
  1
+
  1
   2
   3
   4
@@ -297,43 +297,17 @@
 294
 295
 296
-297
-298
-299
-300
-301
-302
-303
-304
-305
-306
-307
-308
-309
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use std::collections::{BTreeMap, HashMap, VecDeque};
 use std::sync::{Arc, Mutex};
@@ -621,5 +595,5 @@
     Ok(Some(snapshot))
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html index ecaeea6608..4cdc66b539 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/electrum.rs.html @@ -1,7 +1,7 @@ -electrum.rs - source +electrum.rs - source -
  1
+
  1
   2
   3
   4
@@ -178,43 +178,17 @@
 175
 176
 177
-178
-179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Electrum
 //!
@@ -383,5 +357,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html index 18a5374d5e..bb6de21fb2 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/esplora.rs.html @@ -1,7 +1,7 @@ -esplora.rs - source +esplora.rs - source -
  1
+
  1
   2
   3
   4
@@ -417,43 +417,17 @@
 414
 415
 416
-417
-418
-419
-420
-421
-422
-423
-424
-425
-426
-427
-428
-429
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Esplora
 //!
@@ -861,5 +835,5 @@
 impl_error!(consensus::encode::Error, BitcoinEncoding, EsploraError);
 impl_error!(bitcoin::hashes::hex::Error, Hex, EsploraError);
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html index b077788f4c..4a15273113 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/mod.rs.html @@ -1,7 +1,7 @@ -mod.rs - source +mod.rs - source -
  1
+
  1
   2
   3
   4
@@ -242,43 +242,17 @@
 239
 240
 241
-242
-243
-244
-245
-246
-247
-248
-249
-250
-251
-252
-253
-254
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Blockchain backends
 //!
@@ -511,5 +485,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html index fb0f645f47..43f7268713 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/utils.rs.html @@ -1,7 +1,7 @@ -utils.rs - source +utils.rs - source -
  1
+
  1
   2
   3
   4
@@ -385,43 +385,17 @@
 382
 383
 384
-385
-386
-387
-388
-389
-390
-391
-392
-393
-394
-395
-396
-397
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use std::collections::{HashMap, HashSet};
 
@@ -797,5 +771,5 @@
     Ok(utxos_deps)
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html index 93e2662df5..704f805933 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html @@ -1,7 +1,7 @@ -any.rs - source +any.rs - source -
  1
+
  1
   2
   3
   4
@@ -367,43 +367,17 @@
 364
 365
 366
-367
-368
-369
-370
-371
-372
-373
-374
-375
-376
-377
-378
-379
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Runtime-checked database types
 //!
@@ -761,5 +735,5 @@
 impl_from!((), AnyDatabaseConfig, Memory,);
 impl_from!(SledDbConfiguration, AnyDatabaseConfig, Sled, #[cfg(feature = "key-value-db")]);
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html index 781d36abaa..e840d0347f 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/keyvalue.rs.html @@ -1,7 +1,7 @@ -keyvalue.rs - source +keyvalue.rs - source -
  1
+
  1
   2
   3
   4
@@ -469,43 +469,17 @@
 466
 467
 468
-469
-470
-471
-472
-473
-474
-475
-476
-477
-478
-479
-480
-481
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use std::convert::TryInto;
 
@@ -965,5 +939,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html index 6d6e59e7de..dc5bfc1594 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/memory.rs.html @@ -1,7 +1,7 @@ -memory.rs - source +memory.rs - source -
  1
+
  1
   2
   3
   4
@@ -585,43 +585,17 @@
 582
 583
 584
-585
-586
-587
-588
-589
-590
-591
-592
-593
-594
-595
-596
-597
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! In-memory ephemeral database
 //!
@@ -1197,5 +1171,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html index c2cba89ff9..5728bc1f17 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html @@ -1,7 +1,7 @@ -mod.rs - source +mod.rs - source -
  1
+
  1
   2
   3
   4
@@ -371,43 +371,17 @@
 368
 369
 370
-371
-372
-373
-374
-375
-376
-377
-378
-379
-380
-381
-382
-383
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Database types
 //!
@@ -769,5 +743,5 @@
     // TODO: more tests...
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html index 6e8bf041eb..899e9928d4 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/checksum.rs.html @@ -1,7 +1,7 @@ -checksum.rs - source +checksum.rs - source -
  1
+
  1
   2
   3
   4
@@ -114,43 +114,17 @@
 111
 112
 113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-125
-126
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Descriptor checksum
 //!
@@ -255,5 +229,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html index 50bd57ced3..2cbd1f291f 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/derived.rs.html @@ -1,7 +1,7 @@ -derived.rs - source +derived.rs - source -
  1
+
  1
   2
   3
   4
@@ -151,43 +151,17 @@
 148
 149
 150
-151
-152
-153
-154
-155
-156
-157
-158
-159
-160
-161
-162
-163
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Derived descriptor keys
 
@@ -329,5 +303,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html index 367e4cdde9..d3dd95fb4a 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html @@ -1,7 +1,7 @@ -dsl.rs - source +dsl.rs - source -
   1
+
   1
    2
    3
    4
@@ -1045,43 +1045,17 @@
 1042
 1043
 1044
-1045
-1046
-1047
-1048
-1049
-1050
-1051
-1052
-1053
-1054
-1055
-1056
-1057
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Descriptors DSL
 
@@ -2117,5 +2091,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html index 1ae9f42cfd..4ce9e66399 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/error.rs.html @@ -1,7 +1,7 @@ -error.rs - source +error.rs - source -
 1
+
 1
  2
  3
  4
@@ -70,43 +70,17 @@
 67
 68
 69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Descriptor errors
 
@@ -167,5 +141,5 @@
 impl_error!(bitcoin::hashes::hex::Error, Hex);
 impl_error!(crate::descriptor::policy::PolicyError, Policy);
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html index be9b8283e1..9595c10757 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/mod.rs.html @@ -1,7 +1,7 @@ -mod.rs - source +mod.rs - source -
  1
+
  1
   2
   3
   4
@@ -802,43 +802,17 @@
 799
 800
 801
-802
-803
-804
-805
-806
-807
-808
-809
-810
-811
-812
-813
-814
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Descriptors
 //!
@@ -1631,5 +1605,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html index 9ba6771309..cea7bca378 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html @@ -1,7 +1,7 @@ -policy.rs - source +policy.rs - source -
   1
+
   1
    2
    3
    4
@@ -1295,43 +1295,17 @@
 1292
 1293
 1294
-1295
-1296
-1297
-1298
-1299
-1300
-1301
-1302
-1303
-1304
-1305
-1306
-1307
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Descriptor policy
 //!
@@ -2617,5 +2591,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html index d515d09193..59e88ab66c 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html @@ -1,7 +1,7 @@ -template.rs - source +template.rs - source -
  1
+
  1
   2
   3
   4
@@ -717,43 +717,17 @@
 714
 715
 716
-717
-718
-719
-720
-721
-722
-723
-724
-725
-726
-727
-728
-729
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Descriptor templates
 //!
@@ -1461,5 +1435,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html index e8289d47e0..9ba3694bab 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/error.rs.html @@ -1,7 +1,7 @@ -error.rs - source +error.rs - source -
  1
+
  1
   2
   3
   4
@@ -192,43 +192,17 @@
 189
 190
 191
-192
-193
-194
-195
-196
-197
-198
-199
-200
-201
-202
-203
-204
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use std::fmt;
 
@@ -411,5 +385,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html index daec712c6e..f984012a58 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/bip39.rs.html @@ -1,7 +1,7 @@ -bip39.rs - source +bip39.rs - source -
  1
+
  1
   2
   3
   4
@@ -191,43 +191,17 @@
 188
 189
 190
-191
-192
-193
-194
-195
-196
-197
-198
-199
-200
-201
-202
-203
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! BIP-0039
 
@@ -409,5 +383,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html index 370fbd8ab2..fca59a2770 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html @@ -1,7 +1,7 @@ -mod.rs - source +mod.rs - source -
  1
+
  1
   2
   3
   4
@@ -921,43 +921,17 @@
 918
 919
 920
-921
-922
-923
-924
-925
-926
-927
-928
-929
-930
-931
-932
-933
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Key formats
 
@@ -1869,5 +1843,5 @@ let xprv = xkey.into_xprv(Network::Bitcoin).unwrap();
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html index 6606fd7743..6786afd390 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html @@ -1,7 +1,7 @@ -lib.rs - source +lib.rs - source -
  1
+
  1
   2
   3
   4
@@ -264,43 +264,17 @@
 261
 262
 263
-264
-265
-266
-267
-268
-269
-270
-271
-272
-273
-274
-275
-276
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 // rustdoc will warn if there are missing docs
 #![warn(missing_docs)]
@@ -555,5 +529,5 @@
     env!("CARGO_PKG_VERSION", "unknown")
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html index 383e5f0e1a..87f4479527 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/psbt/mod.rs.html @@ -1,7 +1,7 @@ -mod.rs - source +mod.rs - source -
 1
+
 1
  2
  3
  4
@@ -40,43 +40,17 @@
 37
 38
 39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use bitcoin::util::psbt::PartiallySignedTransaction as PSBT;
 use bitcoin::TxOut;
@@ -107,5 +81,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html index 5fdfad8260..bcddd2d823 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/types.rs.html @@ -1,7 +1,7 @@ -types.rs - source +types.rs - source -
  1
+
  1
   2
   3
   4
@@ -180,43 +180,17 @@
 177
 178
 179
-180
-181
-182
-183
-184
-185
-186
-187
-188
-189
-190
-191
-192
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use std::convert::AsRef;
 
@@ -387,5 +361,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html index 83c6b3cc76..67c70cd21c 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/address_validator.rs.html @@ -1,7 +1,7 @@ -address_validator.rs - source +address_validator.rs - source -
  1
+
  1
   2
   3
   4
@@ -153,43 +153,17 @@
 150
 151
 152
-153
-154
-155
-156
-157
-158
-159
-160
-161
-162
-163
-164
-165
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Address validation callbacks
 //!
@@ -333,5 +307,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html index abf41d2b57..df5d7b2305 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html @@ -1,7 +1,7 @@ -coin_selection.rs - source +coin_selection.rs - source -
   1
+
   1
    2
    3
    4
@@ -1002,43 +1002,17 @@
  999
 1000
 1001
-1002
-1003
-1004
-1005
-1006
-1007
-1008
-1009
-1010
-1011
-1012
-1013
-1014
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Coin selection
 //!
@@ -2031,5 +2005,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html index ee5525b35f..e79bbba404 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/export.rs.html @@ -1,7 +1,7 @@ -export.rs - source +export.rs - source -
  1
+
  1
   2
   3
   4
@@ -347,43 +347,17 @@
 344
 345
 346
-347
-348
-349
-350
-351
-352
-353
-354
-355
-356
-357
-358
-359
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Wallet export
 //!
@@ -721,5 +695,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html index 3c7f8e3002..013a63ea6a 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html @@ -1,7 +1,7 @@ -mod.rs - source +mod.rs - source -
   1
+
   1
    2
    3
    4
@@ -3444,43 +3444,17 @@
 3441
 3442
 3443
-3444
-3445
-3446
-3447
-3448
-3449
-3450
-3451
-3452
-3453
-3454
-3455
-3456
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Wallet
 //!
@@ -6915,5 +6889,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html index db17fd7d63..16f9090403 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html @@ -1,7 +1,7 @@ -signer.rs - source +signer.rs - source -
  1
+
  1
   2
   3
   4
@@ -678,43 +678,17 @@
 675
 676
 677
-678
-679
-680
-681
-682
-683
-684
-685
-686
-687
-688
-689
-690
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Generalized signers
 //!
@@ -1383,5 +1357,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html index ed6754b300..de103e3d6d 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/time.rs.html @@ -1,7 +1,7 @@ -time.rs - source +time.rs - source -
 1
+
 1
  2
  3
  4
@@ -74,43 +74,17 @@
 71
 72
 73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Cross-platform time
 //!
@@ -175,5 +149,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html index 92102bafdc..45701fbfe0 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html @@ -1,7 +1,7 @@ -tx_builder.rs - source +tx_builder.rs - source -
  1
+
  1
   2
   3
   4
@@ -853,43 +853,17 @@
 850
 851
 852
-853
-854
-855
-856
-857
-858
-859
-860
-861
-862
-863
-864
-865
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 //! Transaction builder
 //!
@@ -1733,5 +1707,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file diff --git a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html index 7bb2f31ca1..cb8370cebe 100644 --- a/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html +++ b/static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html @@ -1,7 +1,7 @@ -utils.rs - source +utils.rs - source -
  1
+
  1
   2
   3
   4
@@ -267,43 +267,17 @@
 264
 265
 266
-267
-268
-269
-270
-271
-272
-273
-274
-275
-276
-277
-278
-279
 
-// Magical Bitcoin Library
-// Written in 2020 by
-//     Alekos Filini <alekos.filini@gmail.com>
+// Bitcoin Dev Kit
+// Written in 2020 by Alekos Filini <alekos.filini@gmail.com>
 //
-// Copyright (c) 2020 Magical Bitcoin
+// Copyright (c) 2020-2021 Bitcoin Dev Kit Developers
 //
-// Permission is hereby granted, free of charge, to any person obtaining a copy
-// of this software and associated documentation files (the "Software"), to deal
-// in the Software without restriction, including without limitation the rights
-// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-// copies of the Software, and to permit persons to whom the Software is
-// furnished to do so, subject to the following conditions:
-//
-// The above copyright notice and this permission notice shall be included in all
-// copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-// SOFTWARE.
+// This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
+// or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
+// You may not use this file except in accordance with one or both of these
+// licenses.
 
 use bitcoin::secp256k1::{All, Secp256k1};
 
@@ -561,5 +535,5 @@
     }
 }
 
-
- \ No newline at end of file +
+ \ No newline at end of file