From: github-actions Date: Thu, 11 May 2023 13:06:27 +0000 (+0000) Subject: Publish autogenerated nightly docs X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/language/struct.Language.html?a=commitdiff_plain;h=c2abe9df36af811c18ba12b5f7f8d83d918df4b0;p=bitcoindevkit.org Publish autogenerated nightly docs --- diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html index dce03b1c18..776d2b079e 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/enum.Descriptor.html @@ -131,16 +131,16 @@ default(0x02) y-coordinate.

assert_eq!(result.to_string(), "tr(03cc8a4bc64d897bddc5fbc2f670f7a8ba0b386779106cf1223c6fc5d7cd6fc115)#6qm9h8ym");
Errors

This function will return an error if hardened derivation is attempted.

-

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the minimum value (in satoshis) at which an output is broadcastable.
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
Extract the spending policy
Run a predicate on every key in the descriptor, returning whether +

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the minimum value (in satoshis) at which an output is broadcastable.
Deserialize this value from the given Serde deserializer. Read more
Formats the value using the given formatter. Read more
Extract the spending policy
Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more
Run a predicate on every key in the descriptor, returning whether -the predicate returned true for any key Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more

Parse an expression tree into a descriptor.

+the predicate returned true for any key Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
The associated error which can be returned from parsing.
Parses a string s to return a value of this type. Read more

Parse an expression tree into a descriptor.

Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
Convert the object into an abstract policy
This method returns an Ordering between self and other. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
Serialize this value into the given Serde serializer. Read more

Converts a descriptor using abstract keys to one using specific keys.

+operator. Read more
Serialize this value into the given Serde serializer. Read more

Converts a descriptor using abstract keys to one using specific keys.

The associated output type. This must be Self<Q>.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

-
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file +
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
\ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PkOrF.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PkOrF.html index c8ad72c441..369aea4e4c 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PkOrF.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.PkOrF.html @@ -8,7 +8,7 @@
§

Fingerprint(Fingerprint)

An extended key fingerprint

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html index 39b6d863d6..4106fc084f 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.Satisfaction.html @@ -36,7 +36,7 @@

Implementations§

Returns whether the Satisfaction is a leaf item

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html index 2df9c4d866..34bf332e08 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/enum.SatisfiableItem.html @@ -52,7 +52,7 @@

Returns a unique id for the SatisfiableItem

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html index 5b7a1b976f..02f1207485 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Condition.html @@ -10,7 +10,7 @@ TODO: use bitcoin::LockTime and bitcoin::Sequence

by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+operator. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html index c50460bf94..b780bb34d7 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/policy/struct.Policy.html @@ -17,7 +17,7 @@ on that.

policy tree

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

+sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html index fc5ee4f481..451d778ab4 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/descriptor/struct.Miniscript.html @@ -129,7 +129,7 @@ This can occur if the miniscript contains a

  • Timelock combination
  • Contains a spend that exceeds resource limits
  • -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    Extract the spending policy
    Run a predicate on every key in the descriptor, returning whether +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    Extract the spending policy
    Run a predicate on every key in the descriptor, returning whether the predicate returned true for every key Read more
    Run a predicate on every key in the descriptor, returning whether the predicate returned true for any key Read more

    Parse a Miniscript from string and perform sanity checks See Miniscript::from_str_insane to parse scripts from string that @@ -149,7 +149,7 @@ The type information and extra_properties can be deterministically determined by the ast.

    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Translates a struct from one generic to another where the translation +operator. Read more

    Serialize this value into the given Serde serializer. Read more

    Translates a struct from one generic to another where the translation for Pk is provided by [Translator]

    The associated output type. This must be Self<Q>.

    Eq of Miniscript must depend only on node and not the type information. The type information and extra_properties can be deterministically determined @@ -158,4 +158,4 @@ by the ast.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html index e2f3268e5a..cb83bfef0b 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/enum.KeychainKind.html @@ -5,13 +5,13 @@

    Variants§

    §

    External

    External

    §

    Internal

    Internal, usually used for change outputs

    Implementations§

    Return KeychainKind as a byte

    -

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Calculate the base32 serialized length
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more
    Error type if conversion fails
    Check if all values are in range and return array-like struct of u5 values

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Calculate the base32 serialized length
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more
    Error type if conversion fails
    Check if all values are in range and return array-like struct of u5 values

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    Encode as base32 and write it to the supplied writer -Implementations shouldn’t allocate. Read more
    Convert Self to base32 vector
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +Implementations shouldn’t allocate. Read more
    Convert Self to base32 vector
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/index.html index 384ee1a0b9..10afaa98ac 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/index.html @@ -166,4 +166,4 @@ Right now this is Re-exports
    pub extern crate bitcoin;
    pub extern crate miniscript;
    pub use descriptor::template;
    pub use descriptor::HdKeyPaths;
    pub use wallet::signer;
    pub use wallet::signer::SignOptions;
    pub use wallet::tx_builder::TxBuilder;
    pub use wallet::Wallet;
    pub use bdk_chain as chain;

    Modules

    Descriptors
    Key formats
    Additional functions on the rust-bitcoin PartiallySignedTransaction structure.
    Wallet

    Macros

    Macro to write full descriptors with code
    Macro to write descriptor fragments with code

    Structs

    Fee rate
    An unspent output owned by a Wallet.
    A wallet transaction
    A Utxo with its satisfaction_weight.

    Enums

    Errors that can be thrown by the Wallet
    Types of keychains
    An unspent transaction output (UTXO).

    Traits

    Trait implemented by types that can be used to measure weight units.

    Functions

    Get the version of BDK at runtime
    \ No newline at end of file +

    Re-exports

    pub extern crate bitcoin;
    pub extern crate miniscript;
    pub use descriptor::template;
    pub use descriptor::HdKeyPaths;
    pub use wallet::signer;
    pub use wallet::signer::SignOptions;
    pub use wallet::tx_builder::TxBuilder;
    pub use wallet::Wallet;
    pub use bdk_chain as chain;

    Modules

    Descriptors
    Key formats
    Additional functions on the rust-bitcoin PartiallySignedTransaction structure.
    Wallet

    Macros

    Macro to write full descriptors with code
    Macro to write descriptor fragments with code

    Structs

    Fee rate
    An unspent output owned by a Wallet.
    A wallet transaction
    A Utxo with its satisfaction_weight.

    Enums

    Errors that can be thrown by the Wallet
    Types of keychains
    An unspent transaction output (UTXO).

    Traits

    Trait implemented by types that can be used to measure weight units.

    Functions

    Get the version of BDK at runtime
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html index 9004aefc01..5039d6b64e 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.LocalUtxo.html @@ -4,18 +4,18 @@ pub keychain: KeychainKind, pub is_spent: bool, pub derivation_index: u32, - pub confirmation_time: ConfirmationTime, + pub confirmation_time: ConfirmationTime, }
    Expand description

    An unspent output owned by a Wallet.

    Fields§

    §outpoint: OutPoint

    Reference to a transaction output

    §txout: TxOut

    Transaction output

    §keychain: KeychainKind

    Type of keychain

    §is_spent: bool

    Whether this UTXO is spent or not

    §derivation_index: u32

    The derivation index for the script pubkey in the wallet

    -
    §confirmation_time: ConfirmationTime

    The confirmation time for transaction containing this utxo

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method tests for self and other values to be equal, and is used +
    §confirmation_time: ConfirmationTime

    The confirmation time for transaction containing this utxo

    +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html index cdc83d7666..53ede8663b 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/struct.TransactionDetails.html @@ -4,7 +4,7 @@ pub received: u64, pub sent: u64, pub fee: Option<u64>, - pub confirmation_time: ConfirmationTime, + pub confirmation_time: ConfirmationTime, }
    Expand description

    A wallet transaction

    Fields§

    §transaction: Option<Transaction>

    Optional transaction

    §txid: Txid

    Transaction id

    @@ -13,14 +13,14 @@ Sum of owned outputs of this transaction.

    §sent: u64

    Sent value (sats) Sum of owned inputs of this transaction.

    §fee: Option<u64>

    Fee value in sats if it was available.

    -
    §confirmation_time: ConfirmationTime

    If the transaction is confirmed, contains height and Unix timestamp of the block containing the +

    §confirmation_time: ConfirmationTime

    If the transaction is confirmed, contains height and Unix timestamp of the block containing the transaction, unconfirmed transaction contains None.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.FullyNodedExport.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.FullyNodedExport.html index 207bee285d..6b55702777 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.FullyNodedExport.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/export/struct.FullyNodedExport.html @@ -16,8 +16,8 @@ for the oldest transaction it knows and use that as the earliest block to rescan returned will be 0.

    Return the external descriptor

    Return the internal descriptor, if present

    -

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The associated error which can be returned from parsing.
    Parses a string s to return a value of this type. Read more
    Serialize this value into the given Serde serializer. Read more
    Converts the given value to a String. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The associated error which can be returned from parsing.
    Parses a string s to return a value of this type. Read more
    Serialize this value into the given Serde serializer. Read more
    Converts the given value to a String. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Balance.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Balance.html index 81a3fa5f76..a079667de3 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Balance.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Balance.html @@ -1,4 +1,4 @@ -Balance in bdk::wallet - Rust

    Struct bdk::wallet::Balance

    source ·
    pub struct Balance {
    +Balance in bdk::wallet - Rust

    Struct bdk::wallet::Balance

    pub struct Balance {
         pub immature: u64,
         pub trusted_pending: u64,
         pub untrusted_pending: u64,
    @@ -8,14 +8,14 @@
     
    §trusted_pending: u64

    Unconfirmed UTXOs generated by a wallet tx

    §untrusted_pending: u64

    Unconfirmed UTXOs received from an external wallet

    §confirmed: u64

    Confirmed and immediately spendable balance

    -

    Implementations§

    Get sum of trusted_pending and confirmed coins.

    +

    Implementations§

    Get sum of trusted_pending and confirmed coins.

    This is the balance you can spend right now that shouldn’t get cancelled via another party double spending it.

    -

    Get the whole balance visible to the wallet.

    -

    Trait Implementations§

    The resulting type after applying the + operator.
    Performs the + operation. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    This method tests for self and other values to be equal, and is used +

    Get the whole balance visible to the wallet.

    +

    Trait Implementations§

    The resulting type after applying the + operator.
    Performs the + operation. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html index 601104b3e9..057138f7da 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html @@ -6,14 +6,14 @@ Its main components are:

  • signers that can contribute signatures to addresses instantiated from the descriptors.
  • Implementations§

    Creates a wallet that does not persist data.

    -

    Create a wallet from a descriptor (and an optional change_descriptor) and load related +

    Create a wallet from a descriptor (and an optional change_descriptor) and load related transaction data from db.

    Get the Bitcoin network the wallet is using.

    Iterator over all keychains in this wallet

    -

    Return a derived address using the external descriptor, see AddressIndex for +

    Return a derived address using the external descriptor, see AddressIndex for available address index selection strategies. If none of the keys in the descriptor are derivable (i.e. does not end with /*) then the same address will always be returned for any AddressIndex.

    -

    Return a derived address using the internal (change) descriptor.

    +

    Return a derived address using the internal (change) descriptor.

    If the wallet doesn’t have an internal descriptor it will use the external descriptor.

    see AddressIndex for available address index selection strategies. If none of the keys in the descriptor are derivable (i.e. does not end with /*) then the same address will always @@ -23,7 +23,7 @@ be returned for any

    Will only return Some(_) if the wallet has given out the spk.

    Return the list of unspent outputs of this wallet

    Get all the checkpoints the wallet is currently storing indexed by height.

    -

    Returns the latest checkpoint.

    +

    Returns the latest checkpoint.

    Returns a iterators of all the script pubkeys for the Internal and Externalvariants inKeychainKind`.

    This is inteded to be used when doing a full scan of your addresses (e.g. after restoring from seed words). You pass the BTreeMap of iterators to a blockchain data source (e.g. @@ -37,11 +37,11 @@ wallet’s database.

    Return a single transactions made and received by the wallet

    Optionally fill the TransactionDetails::transaction field with the raw transaction if include_raw is true.

    -

    Add a new checkpoint to the wallet’s internal view of the chain. +

    Add a new checkpoint to the wallet’s internal view of the chain. This stages but does not commit the change.

    Returns whether anything changed with the insertion (e.g. false if checkpoint was already there).

    -

    Add a transaction to the wallet’s internal view of the chain. +

    Add a transaction to the wallet’s internal view of the chain. This stages but does not commit the change.

    There are a number reasons tx could be rejected with an Err(_). The most important one is that the transaction is at a height that is greater than latest_checkpoint. Therefore @@ -50,7 +50,7 @@ transactions.

    Returns whether anything changed with the transaction insertion (e.g. false if the transaction was already inserted at the same position).

    👎Deprecated: use Wallet::transactions instead

    Deprecated. use Wallet::transactions instead.

    -

    Iterate over the transactions in the wallet in order of ascending confirmation time with +

    Iterate over the transactions in the wallet in order of ascending confirmation time with unconfirmed transactions last.

    Return the balance, separated into available, trusted-pending, untrusted-pending and immature values.

    @@ -135,14 +135,14 @@ Otherwise, it will return the index of the highest address it has derived.

    get the corresponding PSBT Input for a LocalUtxo

    Return the checksum of the public descriptor associated to keychain

    Internally calls Self::get_descriptor_for_keychain to fetch the right descriptor

    -

    Applies an update to the wallet and stages the changes (but does not commit them).

    +

    Applies an update to the wallet and stages the changes (but does not commit them).

    Usually you create an update by interacting with some blockchain data source and inserting transactions related to your wallet into it.

    -

    Commits all curently staged changed to the persistence backend returning and error when this fails.

    -

    Returns the changes that will be staged with the next call to commit.

    -

    Get a reference to the inner TxGraph.

    -

    Get a reference to the inner ChainGraph.

    -

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Commits all curently staged changed to the persistence backend returning and error when this fails.

    +

    Returns the changes that will be staged with the next call to commit.

    +

    Get a reference to the inner TxGraph.

    +

    Get a reference to the inner ChainGraph.

    +

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html index f71bbf5c8f..af93e9a925 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/tx_builder/struct.TxBuilder.html @@ -154,7 +154,7 @@ BitBox and ColdCard are known to require this.

    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.

    -

    Finish building the transaction.

    +

    Finish building the transaction.

    Returns the BIP174 “PSBT” and summary details about the transaction.

    Enable signaling RBF

    This will use the default nSequence value of 0xFFFFFFFD.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.Update.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.Update.html index f01c1a4ebf..74b83165d6 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.Update.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.Update.html @@ -1,3 +1,3 @@ -Update in bdk::wallet - Rust

    Type Definition bdk::wallet::Update

    source ·
    Expand description

    The update to a Wallet used in Wallet::apply_update. This is usually returned from blockchain data sources. +Update in bdk::wallet - Rust

    Type Definition bdk::wallet::Update

    source ·
    pub type Update = KeychainScan<KeychainKind, ConfirmationTime>;
    Expand description

    The update to a Wallet used in Wallet::apply_update. This is usually returned from blockchain data sources. The type parameter T indicates the kind of transaction contained in the update. It’s usually a [bitcoin::Transaction].

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.UpdateError.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.UpdateError.html index e3e6de742c..207646011b 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.UpdateError.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/type.UpdateError.html @@ -1,2 +1,2 @@ -UpdateError in bdk::wallet - Rust

    Type Definition bdk::wallet::UpdateError

    source ·
    pub type UpdateError = UpdateError<ConfirmationTime>;
    Expand description

    Error indicating that something was wrong with an Update<T>.

    +UpdateError in bdk::wallet - Rust

    Type Definition bdk::wallet::UpdateError

    source ·
    pub type UpdateError = UpdateError<ConfirmationTime>;
    Expand description

    Error indicating that something was wrong with an Update<T>.

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/all.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/all.html index ce731e428e..c240e0c020 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/all.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/all.html @@ -1 +1 @@ -List of all items in this crate
    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChainGraph.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChainGraph.html index 41ac85a563..7062a684d6 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChainGraph.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChainGraph.html @@ -80,7 +80,7 @@ in ascending order.

    which includes outpoint does not need to be in the graph or the chain for this to return Some(_).

    Whether the chain graph contains any data whatsoever.

    -

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The provided closure f will be called with each outpoint/txout pair.
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The provided closure f will be called with each outpoint/txout pair.
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChangeSet.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChangeSet.html index 45d9a272c2..2d47c61e23 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChangeSet.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/chain_graph/struct.ChangeSet.html @@ -7,10 +7,10 @@

    Returns true if this ChangeSet contains transaction evictions.

    Appends the changes in other into self such that applying self afterward has the same effect as sequentially applying the original self and other.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The provided closure f will be called with each outpoint/txout pair.
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The provided closure f will be called with each outpoint/txout pair.
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/constant.COINBASE_MATURITY.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/constant.COINBASE_MATURITY.html index dbae70eed6..655bca0e35 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/constant.COINBASE_MATURITY.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/constant.COINBASE_MATURITY.html @@ -1,2 +1,2 @@ -COINBASE_MATURITY in bdk_chain - Rust

    Constant bdk_chain::COINBASE_MATURITY

    source ·
    pub const COINBASE_MATURITY: u32 = 100;
    Expand description

    How many confirmations are needed f or a coinbase output to be spent.

    +COINBASE_MATURITY in bdk_chain - Rust

    Constant bdk_chain::COINBASE_MATURITY

    source ·
    pub const COINBASE_MATURITY: u32 = 100;
    Expand description

    How many confirmations are needed f or a coinbase output to be spent.

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.ConfirmationTime.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.ConfirmationTime.html index 24e218c3bb..9b36a28a19 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.ConfirmationTime.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.ConfirmationTime.html @@ -5,12 +5,12 @@ }, Unconfirmed, }
    Expand description

    Block height and timestamp at which a transaction is confirmed.

    -

    Variants§

    §

    Confirmed

    Fields

    §height: u32
    §time: u64
    §

    Unconfirmed

    Implementations§

    Trait Implementations§

    Get the transaction height of the position.
    Get the position’s upper bound of a given height.
    Get the position’s lower bound of a given height.
    Get the unconfirmed position.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Variants§

    §

    Confirmed

    Fields

    §height: u32
    §time: u64
    §

    Unconfirmed

    Implementations§

    Trait Implementations§

    Get the transaction height of the position.
    Get the position’s upper bound of a given height.
    Get the position’s lower bound of a given height.
    Get the unconfirmed position.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.TxHeight.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.TxHeight.html index 00e124b13f..3f97a717b6 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.TxHeight.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/enum.TxHeight.html @@ -2,12 +2,12 @@ Confirmed(u32), Unconfirmed, }
    Expand description

    Represents the height at which a transaction is confirmed.

    -

    Variants§

    §

    Confirmed(u32)

    §

    Unconfirmed

    Implementations§

    Trait Implementations§

    Get the transaction height of the position.
    Get the position’s upper bound of a given height.
    Get the position’s lower bound of a given height.
    Get the unconfirmed position.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    Converts to this type from the input type.
    Converts to this type from the input type.
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Variants§

    §

    Confirmed(u32)

    §

    Unconfirmed

    Implementations§

    Trait Implementations§

    Get the transaction height of the position.
    Get the position’s upper bound of a given height.
    Get the position’s lower bound of a given height.
    Get the unconfirmed position.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    Converts to this type from the input type.
    Converts to this type from the input type.
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/index.html index 4f6ec2365f..8050970234 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/index.html @@ -1,4 +1,4 @@ -bdk_chain - Rust

    Crate bdk_chain

    source ·
    Expand description

    This crate is a collection of core structures for Bitcoin Dev Kit (alpha release).

    +bdk_chain - Rust

    Crate bdk_chain

    source ·
    Expand description

    This crate is a collection of core structures for Bitcoin Dev Kit (alpha release).

    The goal of this crate is to give wallets the mechanisms needed to:

    1. Figure out what data they need to fetch.
    2. @@ -15,5 +15,6 @@ consistently.
    3. Data persistence agnostic – bdk_chain does not care where you cache on-chain data, what you cache or how you fetch it.
    -

    Re-exports

    pub extern crate serde_crate as serde;
    pub use bitcoin;
    pub use miniscript;

    Modules

    Module for structures that combine the features of sparse_chain and tx_graph.
    Module for keychain related structures.
    Module for structures that maintain sparse (purposely incomplete) snapshots of blockchain data.
    Module for structures that store and traverse transactions.

    Structs

    A reference to a block in the canonical chain.
    An Anchor implementation that also records the exact confirmation height of the transaction.
    An Anchor implementation that also records the exact confirmation time and height of the -transaction.
    A TxOut with as much data as we can retrieve about it
    An iterator for derived script pubkeys.
    An index storing TxOuts that have a script pubkey that matches those in a list.

    Enums

    Block height and timestamp at which a transaction is confirmed.
    Represents an observation of some chain data.
    Represents the height at which a transaction is confirmed.

    Constants

    Maximum BIP32 derivation index.
    How many confirmations are needed f or a coinbase output to be spent.

    Traits

    Trait that “anchors” blockchain data to a specific block of height and hash.
    Trait that makes an object appendable.
    Represents a service that tracks the blockchain.
    A trait to extend the functionality of a miniscript descriptor.
    Trait to do something with every txout contained in a structure.
    \ No newline at end of file +

    Re-exports

    pub extern crate serde_crate as serde;
    pub use bitcoin;
    pub use miniscript;

    Modules

    Module for structures that combine the features of sparse_chain and tx_graph.
    Module for keychain related structures.
    Module for structures that maintain sparse (purposely incomplete) snapshots of blockchain data.
    Module for structures that store and traverse transactions.

    Structs

    A reference to a block in the canonical chain.
    An Anchor implementation that also records the exact confirmation height of the transaction.
    An Anchor implementation that also records the exact confirmation time and height of the +transaction.
    A TxOut with as much data as we can retrieve about it
    Persist wraps a PersistBackend (B) to create a convenient staging area for changes (C) +before they are persisted.
    An iterator for derived script pubkeys.
    An index storing TxOuts that have a script pubkey that matches those in a list.

    Enums

    Block height and timestamp at which a transaction is confirmed.
    Represents an observation of some chain data.
    Represents the height at which a transaction is confirmed.

    Constants

    Maximum BIP32 derivation index.
    How many confirmations are needed f or a coinbase output to be spent.

    Traits

    Trait that “anchors” blockchain data to a specific block of height and hash.
    Trait that makes an object appendable.
    Represents a service that tracks the blockchain.
    A trait to extend the functionality of a miniscript descriptor.
    Trait to do something with every txout contained in a structure.
    A persistence backend for Persist.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/index.html index 6aad5cc64e..d03d3ae900 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/index.html @@ -1 +1 @@ -bdk_chain::indexed_tx_graph - Rust

    Structs

    A structure that represents changes to an IndexedTxGraph.
    A struct that combines TxGraph and an Indexer implementation.

    Traits

    Represents a structure that can index transaction data.
    A trait that extends Indexer to also index “owned” script pubkeys.
    \ No newline at end of file +bdk_chain::indexed_tx_graph - Rust

    Structs

    A structure that represents changes to an IndexedTxGraph.
    A struct that combines TxGraph and an Indexer implementation.

    Traits

    Represents a structure that can index transaction data.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/sidebar-items.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/sidebar-items.js index c28daaac7b..a8f0a97cb8 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/sidebar-items.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"struct":[["IndexedAdditions","A structure that represents changes to an [`IndexedTxGraph`]."],["IndexedTxGraph","A struct that combines [`TxGraph`] and an [`Indexer`] implementation."]],"trait":[["Indexer","Represents a structure that can index transaction data."],["OwnedIndexer","A trait that extends [`Indexer`] to also index “owned” script pubkeys."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"struct":[["IndexedAdditions","A structure that represents changes to an [`IndexedTxGraph`]."],["IndexedTxGraph","A struct that combines [`TxGraph`] and an [`Indexer`] implementation."]],"trait":[["Indexer","Represents a structure that can index transaction data."]]}; \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedAdditions.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedAdditions.html index 0ad7934771..24ed46c45a 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedAdditions.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedAdditions.html @@ -1,13 +1,13 @@ -IndexedAdditions in bdk_chain::indexed_tx_graph - Rust
    pub struct IndexedAdditions<A, IA> {
    +IndexedAdditions in bdk_chain::indexed_tx_graph - Rust
    pub struct IndexedAdditions<A, IA> {
         pub graph_additions: Additions<A>,
         pub index_additions: IA,
     }
    Expand description

    A structure that represents changes to an IndexedTxGraph.

    Fields§

    §graph_additions: Additions<A>

    TxGraph additions.

    §index_additions: IA

    Indexer additions.

    -

    Trait Implementations§

    Append another object of the same type onto self.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Append another object of the same type onto self.
    Returns whether the structure is considered empty.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedTxGraph.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedTxGraph.html index 270e2c9d7d..70c1d1f1c8 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedTxGraph.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/struct.IndexedTxGraph.html @@ -1,23 +1,24 @@ -IndexedTxGraph in bdk_chain::indexed_tx_graph - Rust
    pub struct IndexedTxGraph<A, I> {
    +IndexedTxGraph in bdk_chain::indexed_tx_graph - Rust
    pub struct IndexedTxGraph<A, I> {
         pub index: I,
         /* private fields */
     }
    Expand description

    A struct that combines TxGraph and an Indexer implementation.

    This structure ensures that TxGraph and Indexer are updated atomically.

    Fields§

    §index: I

    Transaction index.

    -

    Implementations§

    Get a reference of the internal transaction graph.

    -

    Applies the IndexedAdditions to the IndexedTxGraph.

    -

    Apply an update directly.

    +

    Implementations§

    Construct a new IndexedTxGraph with a given index.

    +

    Get a reference of the internal transaction graph.

    +

    Applies the IndexedAdditions to the IndexedTxGraph.

    +

    Apply an update directly.

    update is a TxGraph<A> and the resultant changes is returned as IndexedAdditions.

    -

    Insert a floating txout of given outpoint.

    -

    Insert and index a transaction into the graph.

    +

    Insert a floating txout of given outpoint.

    +

    Insert and index a transaction into the graph.

    anchors can be provided to anchor the transaction to various blocks. seen_at is a unix timestamp of when the transaction is last seen.

    -

    Insert relevant transactions from the given txs iterator.

    +

    Insert relevant transactions from the given txs iterator.

    Relevancy is determined by the Indexer::is_tx_relevant implementation of I. Irrelevant transactions in txs will be ignored. txs do not need to be in topological order.

    anchors can be provided to anchor the transactions to blocks. seen_at is a unix timestamp of when the transactions are last seen.

    -

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/trait.Indexer.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/trait.Indexer.html index 0650ffe18c..06e6b1d885 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/trait.Indexer.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/trait.Indexer.html @@ -1,4 +1,4 @@ -Indexer in bdk_chain::indexed_tx_graph - Rust
    pub trait Indexer {
    +Indexer in bdk_chain::indexed_tx_graph - Rust
    pub trait Indexer {
         type Additions;
     
         fn index_txout(
            &mut self,
            outpoint: OutPoint,
            txout: &TxOut
        ) -> Self::Additions; @@ -6,9 +6,9 @@ fn apply_additions(&mut self, additions: Self::Additions); fn is_tx_relevant(&self, tx: &Transaction) -> bool; }
    Expand description

    Represents a structure that can index transaction data.

    -

    Required Associated Types§

    The resultant “additions” when new transaction data is indexed.

    -

    Required Methods§

    Scan and index the given outpoint and txout.

    -

    Scan and index the given transaction.

    -

    Apply additions to itself.

    -

    Determines whether the transaction should be included in the index.

    +

    Required Associated Types§

    The resultant “additions” when new transaction data is indexed.

    +

    Required Methods§

    Scan and index the given outpoint and txout.

    +

    Scan and index the given transaction.

    +

    Apply additions to itself.

    +

    Determines whether the transaction should be included in the index.

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/trait.OwnedIndexer.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/trait.OwnedIndexer.html deleted file mode 100644 index 03614330c7..0000000000 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/indexed_tx_graph/trait.OwnedIndexer.html +++ /dev/null @@ -1,5 +0,0 @@ -OwnedIndexer in bdk_chain::indexed_tx_graph - Rust
    pub trait OwnedIndexer: Indexer {
    -    fn is_spk_owned(&self, spk: &Script) -> bool;
    -}
    Expand description

    A trait that extends Indexer to also index “owned” script pubkeys.

    -

    Required Methods§

    Determines whether a given script pubkey (spk) is owned.

    -

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/index.html index 58d118e9b6..f33eeaf811 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/index.html @@ -1,4 +1,4 @@ -bdk_chain::keychain - Rust

    Module bdk_chain::keychain

    source ·
    Expand description

    Module for keychain related structures.

    +bdk_chain::keychain - Rust

    Module bdk_chain::keychain

    source ·
    Expand description

    Module for keychain related structures.

    A keychain here is a set of application-defined indexes for a miniscript descriptor where we can derive script pubkeys at a particular derivation index. The application’s index is simply anything that implements Ord.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.Balance.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.Balance.html index 71b8037d0b..7ff9fc12ea 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.Balance.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.Balance.html @@ -1,4 +1,4 @@ -Balance in bdk_chain::keychain - Rust

    Struct bdk_chain::keychain::Balance

    source ·
    pub struct Balance {
    +Balance in bdk_chain::keychain - Rust

    Struct bdk_chain::keychain::Balance

    source ·
    pub struct Balance {
         pub immature: u64,
         pub trusted_pending: u64,
         pub untrusted_pending: u64,
    @@ -8,14 +8,14 @@
     
    §trusted_pending: u64

    Unconfirmed UTXOs generated by a wallet tx

    §untrusted_pending: u64

    Unconfirmed UTXOs received from an external wallet

    §confirmed: u64

    Confirmed and immediately spendable balance

    -

    Implementations§

    Get sum of trusted_pending and confirmed coins.

    +

    Implementations§

    Get sum of trusted_pending and confirmed coins.

    This is the balance you can spend right now that shouldn’t get cancelled via another party double spending it.

    -

    Get the whole balance visible to the wallet.

    -

    Trait Implementations§

    The resulting type after applying the + operator.
    Performs the + operation. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    This method tests for self and other values to be equal, and is used +

    Get the whole balance visible to the wallet.

    +

    Trait Implementations§

    The resulting type after applying the + operator.
    Performs the + operation. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.DerivationAdditions.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.DerivationAdditions.html index 6c4c0b4336..09a6786d34 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.DerivationAdditions.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.DerivationAdditions.html @@ -3,13 +3,13 @@ monotone in that they will never decrease the revealed derivation index.

    Tuple Fields§

    §0: BTreeMap<K, u32>

    Implementations§

    Returns whether the additions are empty.

    Get the inner map of the keychain to its new derivation index.

    -

    Trait Implementations§

    Append another DerivationAdditions into self.

    +

    Trait Implementations§

    Append another DerivationAdditions into self.

    If the keychain already exists, increase the index when the other’s index > self’s index. If the keychain did not exist, append the new keychain.

    -
    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used +
    Returns whether the structure is considered empty.
    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainChangeSet.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainChangeSet.html index c5eca51d7b..f38e42485d 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainChangeSet.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainChangeSet.html @@ -1,17 +1,17 @@ -KeychainChangeSet in bdk_chain::keychain - Rust
    pub struct KeychainChangeSet<K, P> {
    +KeychainChangeSet in bdk_chain::keychain - Rust
    pub struct KeychainChangeSet<K, P> {
         pub derivation_indices: DerivationAdditions<K>,
         pub chain_graph: ChangeSet<P>,
     }
    Expand description

    Represents changes to a KeychainTracker.

    This is essentially a combination of DerivationAdditions and chain_graph::ChangeSet.

    Fields§

    §derivation_indices: DerivationAdditions<K>

    The changes in local keychain derivation indices

    §chain_graph: ChangeSet<P>

    The changes that have occurred in the blockchain

    -

    Implementations§

    Returns whether the KeychainChangeSet is empty (no changes recorded).

    -

    Appends the changes in other into self such that applying self afterward has the same +

    Implementations§

    Returns whether the KeychainChangeSet is empty (no changes recorded).

    +

    Appends the changes in other into self such that applying self afterward has the same effect as sequentially applying the original self and other.

    Note the derivation indices cannot be decreased, so other will only change the derivation index for a keychain, if it’s value is higher than the one in self.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The provided closure f will be called with each outpoint/txout pair.
    Converts to this type from the input type.
    Converts to this type from the input type.
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The provided closure f will be called with each outpoint/txout pair.
    Converts to this type from the input type.
    Converts to this type from the input type.
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainScan.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainScan.html index 86c2bc731a..33b9889c1c 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainScan.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainScan.html @@ -1,12 +1,12 @@ -KeychainScan in bdk_chain::keychain - Rust
    pub struct KeychainScan<K, P> {
    +KeychainScan in bdk_chain::keychain - Rust
    pub struct KeychainScan<K, P> {
         pub update: ChainGraph<P>,
         pub last_active_indices: BTreeMap<K, u32>,
     }
    Expand description

    An update that includes the last active indexes of each keychain.

    Fields§

    §update: ChainGraph<P>

    The update data in the form of a chain that could be applied

    §last_active_indices: BTreeMap<K, u32>

    The last active indexes of each keychain

    -

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Converts to this type from the input type.
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainTxOutIndex.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainTxOutIndex.html index 19aac81596..1ba8db75c8 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainTxOutIndex.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/keychain/struct.KeychainTxOutIndex.html @@ -1,4 +1,4 @@ -KeychainTxOutIndex in bdk_chain::keychain - Rust
    pub struct KeychainTxOutIndex<K> { /* private fields */ }
    Expand description

    A convenient wrapper around SpkTxOutIndex that relates script pubkeys to miniscript public +KeychainTxOutIndex in bdk_chain::keychain - Rust

    pub struct KeychainTxOutIndex<K> { /* private fields */ }
    Expand description

    A convenient wrapper around SpkTxOutIndex that relates script pubkeys to miniscript public Descriptors.

    Descriptors are referenced by the provided keychain generic (K).

    Script pubkeys for a descriptor are revealed chronologically from index 0. I.e., If the last @@ -27,7 +27,7 @@ txout_index.add_keychain(MyKeychain::Internal, internal_descriptor); txout_index.add_keychain(MyKeychain::MyAppUser { user_id: 42 }, descriptor_for_user_42); let new_spk_for_user = txout_index.reveal_next_spk(&MyKeychain::MyAppUser{ user_id: 42 });

    -

    Implementations§

    Scans an object for relevant outpoints, which are stored and indexed internally.

    +

    Implementations§

    Scans an object for relevant outpoints, which are stored and indexed internally.

    If the matched script pubkey is part of the lookahead, the last stored index is updated for the script pubkey’s keychain and the DerivationAdditions returned will reflect the change.

    @@ -39,35 +39,36 @@ your txouts. your chain state (i.e., SparseChain, ChainGraph).

    See ForEachTxout for the types that support this.

    -

    Scan a single outpoint for a matching script pubkey.

    +

    Scan a single outpoint for a matching script pubkey.

    If it matches, this will store and index it.

    -

    Return a reference to the internal SpkTxOutIndex.

    -

    Return a reference to the internal map of the keychain to descriptors.

    -

    Add a keychain to the tracker’s txout_index with a descriptor to derive addresses.

    +

    Return a reference to the internal SpkTxOutIndex.

    +

    Get a reference to the set of indexed outpoints.

    +

    Return a reference to the internal map of the keychain to descriptors.

    +

    Add a keychain to the tracker’s txout_index with a descriptor to derive addresses.

    Adding a keychain means you will be able to derive new script pubkeys under that keychain and the txout index will discover transaction outputs with those script pubkeys.

    Panics

    This will panic if a different descriptor is introduced to the same keychain.

    -

    Return the lookahead setting for each keychain.

    +

    Return the lookahead setting for each keychain.

    Refer to set_lookahead for a deeper explanation of the lookahead.

    -

    Convenience method to call set_lookahead for all keychains.

    -

    Set the lookahead count for keychain.

    +

    Convenience method to call set_lookahead for all keychains.

    +

    Set the lookahead count for keychain.

    The lookahead is the number of scripts to cache ahead of the last stored script index. This is useful during a scan via scan or scan_txout.

    Panics

    This will panic if the keychain does not exist.

    -

    Convenience method to call lookahead_to_target for multiple keychains.

    -

    Store lookahead scripts until target_index.

    +

    Convenience method to call lookahead_to_target for multiple keychains.

    +

    Store lookahead scripts until target_index.

    This does not change the lookahead setting.

    -

    Generates script pubkey iterators for every keychain. The iterators iterate over all +

    Generates script pubkey iterators for every keychain. The iterators iterate over all derivable script pubkeys.

    -

    Generates a script pubkey iterator for the given keychain’s descriptor (if it exists). The +

    Generates a script pubkey iterator for the given keychain’s descriptor (if it exists). The iterator iterates over all derivable scripts of the keychain’s descriptor.

    Panics

    This will panic if the keychain does not exist.

    -

    Convenience method to get revealed_spks_of_keychain of all keychains.

    -

    Iterates over the script pubkeys revealed by this index under keychain.

    -

    Get the next derivation index for keychain. The next index is the index after the last revealed +

    Convenience method to get revealed_spks_of_keychain of all keychains.

    +

    Iterates over the script pubkeys revealed by this index under keychain.

    +

    Get the next derivation index for keychain. The next index is the index after the last revealed derivation index.

    The second field in the returned tuple represents whether the next derivation index is new. There are two scenarios where the next derivation index is reused (not new):

    @@ -78,11 +79,11 @@ There are two scenarios where the next derivation index is reused (not new):

    Not checking the second field of the tuple may result in address reuse.

    Panics

    Panics if the keychain does not exist.

    -

    Get the last derivation index that is revealed for each keychain.

    +

    Get the last derivation index that is revealed for each keychain.

    Keychains with no revealed indices will not be included in the returned BTreeMap.

    -

    Get the last derivation index revealed for keychain.

    -

    Convenience method to call Self::reveal_to_target on multiple keychains.

    -

    Reveals script pubkeys of the keychain’s descriptor up to and including the +

    Get the last derivation index revealed for keychain.

    +

    Convenience method to call Self::reveal_to_target on multiple keychains.

    +

    Reveals script pubkeys of the keychain’s descriptor up to and including the target_index.

    If the target_index cannot be reached (due to the descriptor having no wildcard and/or the target_index is in the hardened index range), this method will make a best-effort and @@ -92,7 +93,7 @@ reveal up to the last possible index.

    pubkeys are revealed, then both of these will be empty.

    Panics

    Panics if keychain does not exist.

    -

    Attempts to reveal the next script pubkey for keychain.

    +

    Attempts to reveal the next script pubkey for keychain.

    Returns the derivation index of the revealed script pubkey, the revealed script pubkey and a DerivationAdditions which represents changes in the last revealed index (if any).

    When a new script cannot be revealed, we return the last revealed script and an empty @@ -103,7 +104,7 @@ pubkeys are revealed, then both of these will be empty.

    Panics

    Panics if the keychain does not exist.

    -

    Gets the next unused script pubkey in the keychain. I.e., the script pubkey with the lowest +

    Gets the next unused script pubkey in the keychain. I.e., the script pubkey with the lowest index that has not been used yet.

    This will derive and reveal a new script pubkey if no more unused script pubkeys exist.

    If the descriptor has no wildcard and already has a used script pubkey or if a descriptor @@ -111,34 +112,35 @@ has used all scripts up to the derivation bounds, then the last derived script p returned.

    Panics

    Panics if keychain has never been added to the index

    -

    Marks the script pubkey at index as used even though the tracker hasn’t seen an output with it. +

    Marks the script pubkey at index as used even though the tracker hasn’t seen an output with it. This only has an effect when the index had been added to self already and was unused.

    Returns whether the index was initially present as unused.

    This is useful when you want to reserve a script pubkey for something but don’t want to add the transaction output using it to the index yet. Other callers will consider index on keychain used until you call unmark_used.

    -

    Undoes the effect of mark_used. Returns whether the index is inserted back into +

    Undoes the effect of mark_used. Returns whether the index is inserted back into unused.

    Note that if self has scanned an output with this script pubkey, then this will have no effect.

    -

    Iterates over all unused script pubkeys for a keychain stored in the index.

    -

    Iterates over all the [OutPoint] that have a TxOut with a script pubkey derived from +

    Iterates over all unused script pubkeys for a keychain stored in the index.

    +

    Iterates over all the [OutPoint] that have a TxOut with a script pubkey derived from keychain.

    -

    Returns the highest derivation index of the keychain where KeychainTxOutIndex has +

    Returns the highest derivation index of the keychain where KeychainTxOutIndex has found a [TxOut] with it’s script pubkey.

    -

    Returns the highest derivation index of each keychain that KeychainTxOutIndex has found +

    Returns the highest derivation index of each keychain that KeychainTxOutIndex has found a [TxOut] with it’s script pubkey.

    -

    Applies the derivation additions to the KeychainTxOutIndex, extending the number of +

    Applies the derivation additions to the KeychainTxOutIndex, extending the number of derived scripts per keychain, as specified in the additions.

    -

    Methods from Deref<Target = SpkTxOutIndex<(K, u32)>>§

    Iterate over all known txouts that spend to tracked script pubkeys.

    -

    Finds all txouts on a transaction that has previously been scanned and indexed.

    -

    Iterates over all the outputs with script pubkeys in an index range.

    -

    Returns the txout and script pubkey index of the TxOut at OutPoint.

    +

    Methods from Deref<Target = SpkTxOutIndex<(K, u32)>>§

    Get a reference to the set of indexed outpoints.

    +

    Iterate over all known txouts that spend to tracked script pubkeys.

    +

    Finds all txouts on a transaction that has previously been scanned and indexed.

    +

    Iterates over all the outputs with script pubkeys in an index range.

    +

    Returns the txout and script pubkey index of the TxOut at OutPoint.

    Returns None if the TxOut hasn’t been scanned or if nothing matching was found there.

    -

    Returns the script that has been inserted at the index.

    +

    Returns the script that has been inserted at the index.

    If that index hasn’t been inserted yet, it will return None.

    -

    The script pubkeys that are being tracked by the index.

    -

    Iterates over all unused script pubkeys in an index range.

    +

    The script pubkeys that are being tracked by the index.

    +

    Iterates over all unused script pubkeys in an index range.

    Here, “unused” means that after the script pubkey was stored in the index, the index has never scanned a transaction output with it.

    Example
    @@ -149,25 +151,25 @@ never scanned a transaction output with it.

    let change_index = 1; let unused_change_spks = txout_index.unused_spks((change_index, u32::MIN)..(change_index, u32::MAX));
    -

    Returns whether the script pubkey at index has been used or not.

    +

    Returns whether the script pubkey at index has been used or not.

    Here, “unused” means that after the script pubkey was stored in the index, the index has never scanned a transaction output with it.

    -

    Returns the index associated with the script pubkey.

    -

    Computes total input value going from script pubkeys in the index (sent) and the total output +

    Returns the index associated with the script pubkey.

    +

    Computes total input value going from script pubkeys in the index (sent) and the total output value going to script pubkeys in the index (received) in tx. For the sent to be computed correctly, the output being spent must have already been scanned by the index. Calculating received just uses the transaction outputs directly, so it will be correct even if it has not been scanned.

    -

    Computes the net value that this transaction gives to the script pubkeys in the index and +

    Computes the net value that this transaction gives to the script pubkeys in the index and takes from the transaction outputs in the index. Shorthand for calling sent_and_received and subtracting sent from received.

    -

    Whether any of the inputs of this transaction spend a txout tracked or whether any output +

    Whether any of the inputs of this transaction spend a txout tracked or whether any output matches one of our script pubkeys.

    It is easily possible to misuse this method and get false negatives by calling it before you have scanned the TxOuts the transaction is spending. For example, if you want to filter out all the transactions in a block that are irrelevant, you must first scan all the transactions in the block and only then use this method.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The resulting type after dereferencing.
    Dereferences the value.
    The resultant “additions” when new transaction data is indexed.
    Scan and index the given outpoint and txout.
    Scan and index the given transaction.
    Apply additions to itself.
    Determines whether the transaction should be included in the index.
    Determines whether a given script pubkey (spk) is owned.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The resulting type after dereferencing.
    Dereferences the value.
    The resultant “additions” when new transaction data is indexed.
    Scan and index the given outpoint and txout.
    Scan and index the given transaction.
    Apply additions to itself.
    Determines whether the transaction should be included in the index.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/persist/struct.Persist.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/persist/struct.Persist.html new file mode 100644 index 0000000000..ff2490d832 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/persist/struct.Persist.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../bdk_chain/struct.Persist.html...

    + + + \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/persist/trait.PersistBackend.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/persist/trait.PersistBackend.html new file mode 100644 index 0000000000..bb49497d09 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/persist/trait.PersistBackend.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../bdk_chain/trait.PersistBackend.html...

    + + + \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sidebar-items.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sidebar-items.js index 2a4f4255d0..ba863c1f45 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sidebar-items.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"constant":[["BIP32_MAX_INDEX","Maximum BIP32 derivation index."],["COINBASE_MATURITY","How many confirmations are needed f or a coinbase output to be spent."]],"enum":[["ConfirmationTime","Block height and timestamp at which a transaction is confirmed."],["ObservedAs","Represents an observation of some chain data."],["TxHeight","Represents the height at which a transaction is confirmed."]],"externcrate":[["serde",""]],"mod":[["chain_graph","Module for structures that combine the features of [`sparse_chain`] and [`tx_graph`]."],["indexed_tx_graph",""],["keychain","Module for keychain related structures."],["local_chain",""],["sparse_chain","Module for structures that maintain sparse (purposely incomplete) snapshots of blockchain data."],["tx_graph","Module for structures that store and traverse transactions."]],"struct":[["BlockId","A reference to a block in the canonical chain."],["ConfirmationHeightAnchor","An [`Anchor`] implementation that also records the exact confirmation height of the transaction."],["ConfirmationTimeAnchor","An [`Anchor`] implementation that also records the exact confirmation time and height of the transaction."],["FullTxOut","A `TxOut` with as much data as we can retrieve about it"],["SpkIterator","An iterator for derived script pubkeys."],["SpkTxOutIndex","An index storing `TxOut`s that have a script pubkey that matches those in a list."]],"trait":[["Anchor","Trait that “anchors” blockchain data to a specific block of height and hash."],["Append","Trait that makes an object appendable."],["ChainOracle","Represents a service that tracks the blockchain."],["DescriptorExt","A trait to extend the functionality of a miniscript descriptor."],["ForEachTxOut","Trait to do something with every txout contained in a structure."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"constant":[["BIP32_MAX_INDEX","Maximum BIP32 derivation index."],["COINBASE_MATURITY","How many confirmations are needed f or a coinbase output to be spent."]],"enum":[["ConfirmationTime","Block height and timestamp at which a transaction is confirmed."],["ObservedAs","Represents an observation of some chain data."],["TxHeight","Represents the height at which a transaction is confirmed."]],"externcrate":[["serde",""]],"mod":[["chain_graph","Module for structures that combine the features of [`sparse_chain`] and [`tx_graph`]."],["indexed_tx_graph",""],["keychain","Module for keychain related structures."],["local_chain",""],["sparse_chain","Module for structures that maintain sparse (purposely incomplete) snapshots of blockchain data."],["tx_graph","Module for structures that store and traverse transactions."]],"struct":[["BlockId","A reference to a block in the canonical chain."],["ConfirmationHeightAnchor","An [`Anchor`] implementation that also records the exact confirmation height of the transaction."],["ConfirmationTimeAnchor","An [`Anchor`] implementation that also records the exact confirmation time and height of the transaction."],["FullTxOut","A `TxOut` with as much data as we can retrieve about it"],["Persist","`Persist` wraps a [`PersistBackend`] (`B`) to create a convenient staging area for changes (`C`) before they are persisted."],["SpkIterator","An iterator for derived script pubkeys."],["SpkTxOutIndex","An index storing `TxOut`s that have a script pubkey that matches those in a list."]],"trait":[["Anchor","Trait that “anchors” blockchain data to a specific block of height and hash."],["Append","Trait that makes an object appendable."],["ChainOracle","Represents a service that tracks the blockchain."],["DescriptorExt","A trait to extend the functionality of a miniscript descriptor."],["ForEachTxOut","Trait to do something with every txout contained in a structure."],["PersistBackend","A persistence backend for [`Persist`]."]]}; \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sparse_chain/struct.ChangeSet.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sparse_chain/struct.ChangeSet.html index dc7fba929e..7aebeaf488 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sparse_chain/struct.ChangeSet.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/sparse_chain/struct.ChangeSet.html @@ -5,10 +5,10 @@

    Fields§

    §checkpoints: BTreeMap<u32, Option<BlockHash>>§txids: BTreeMap<Txid, Option<P>>

    Implementations§

    Appends the changes of other into self such that applying self afterward has the same effect as sequentially applying the original self and other.

    Whether this changeset contains no changes.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.BlockId.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.BlockId.html index ce80bc33b4..99eaed1326 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.BlockId.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.BlockId.html @@ -4,12 +4,12 @@ }
    Expand description

    A reference to a block in the canonical chain.

    Fields§

    §height: u32

    The height of the block.

    §hash: BlockHash

    The hash of the block.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Converts to this type from the input type.
    Converts to this type from the input type.
    Converts to this type from the input type.
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Converts to this type from the input type.
    Converts to this type from the input type.
    Converts to this type from the input type.
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationHeightAnchor.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationHeightAnchor.html index 41fc6b9643..325adc1b26 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationHeightAnchor.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationHeightAnchor.html @@ -5,12 +5,12 @@

    Fields§

    §anchor_block: BlockId

    The anchor block.

    §confirmation_height: u32

    The exact confirmation height of the transaction.

    It is assumed that this value is never larger than the height of the anchor block.

    -

    Trait Implementations§

    Returns the BlockId that the associated blockchain data is “anchored” in.
    Get the upper bound of the chain data’s confirmation height. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Returns the BlockId that the associated blockchain data is “anchored” in.
    Get the upper bound of the chain data’s confirmation height. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationTimeAnchor.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationTimeAnchor.html index 80aa60a299..1cb538dc5c 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationTimeAnchor.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.ConfirmationTimeAnchor.html @@ -5,12 +5,12 @@ }
    Expand description

    An Anchor implementation that also records the exact confirmation time and height of the transaction.

    Fields§

    §anchor_block: BlockId

    The anchor block.

    -
    §confirmation_height: u32§confirmation_time: u64

    Trait Implementations§

    Returns the BlockId that the associated blockchain data is “anchored” in.
    Get the upper bound of the chain data’s confirmation height. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +
    §confirmation_height: u32§confirmation_time: u64

    Trait Implementations§

    Returns the BlockId that the associated blockchain data is “anchored” in.
    Get the upper bound of the chain data’s confirmation height. Read more
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Feeds this value into the given Hasher. Read more
    Feeds a slice of this type into the given Hasher. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.Persist.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.Persist.html new file mode 100644 index 0000000000..2cb3074e16 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.Persist.html @@ -0,0 +1,17 @@ +Persist in bdk_chain - Rust

    Struct bdk_chain::Persist

    source ·
    pub struct Persist<B, C> { /* private fields */ }
    Expand description

    Persist wraps a PersistBackend (B) to create a convenient staging area for changes (C) +before they are persisted.

    +

    Not all changes to the in-memory representation needs to be written to disk right away, so +Persist::stage can be used to stage changes first and then Persist::commit can be used +to write changes to disk.

    +

    Implementations§

    Create a new Persist from PersistBackend.

    +

    Stage a changeset to be commited later with commit.

    +

    Get the changes that have not been commited yet.

    +

    Commit the staged changes to the underlying persistance backend.

    +

    Changes that are committed (if any) are returned.

    +
    Error
    +

    Returns a backend-defined error if this fails.

    +

    Trait Implementations§

    Formats the value using the given formatter. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.SpkTxOutIndex.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.SpkTxOutIndex.html index d9973f134b..5b5465f3ff 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.SpkTxOutIndex.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/struct.SpkTxOutIndex.html @@ -1,4 +1,4 @@ -SpkTxOutIndex in bdk_chain - Rust

    Struct bdk_chain::SpkTxOutIndex

    source ·
    pub struct SpkTxOutIndex<I> { /* private fields */ }
    Expand description

    An index storing TxOuts that have a script pubkey that matches those in a list.

    +SpkTxOutIndex in bdk_chain - Rust

    Struct bdk_chain::SpkTxOutIndex

    source ·
    pub struct SpkTxOutIndex<I> { /* private fields */ }
    Expand description

    An index storing TxOuts that have a script pubkey that matches those in a list.

    The basic idea is that you insert script pubkeys you care about into the index with insert_spk and then when you call scan, the index will look at any txouts you pass in and store and index any txouts matching one of its script pubkeys.

    @@ -9,7 +9,7 @@ combination of (keychain, derivation_index).

    in there in the first place. SpkTxOutIndex is intentionally monotone – you cannot delete or modify txouts that have been indexed. To find out which txouts from the index are actually in the chain or unspent, you must use other sources of information like a SparseChain.

    -

    Implementations§

    Scans an object containing many txouts.

    +

    Implementations§

    Scans an object containing many txouts.

    Typically, this is used in two situations:

    1. After loading transaction data from the disk, you may scan over all the txouts to restore all @@ -17,19 +17,20 @@ your txouts.
    2. When getting new data from the chain, you usually scan it before incorporating it into your chain state.

    See ForEachTxout for the types that support this.

    -

    Scan a single TxOut for a matching script pubkey and returns the index that matches the +

    Scan a single TxOut for a matching script pubkey and returns the index that matches the script pubkey (if any).

    -

    Iterate over all known txouts that spend to tracked script pubkeys.

    -

    Finds all txouts on a transaction that has previously been scanned and indexed.

    -

    Iterates over all the outputs with script pubkeys in an index range.

    -

    Returns the txout and script pubkey index of the TxOut at OutPoint.

    +

    Get a reference to the set of indexed outpoints.

    +

    Iterate over all known txouts that spend to tracked script pubkeys.

    +

    Finds all txouts on a transaction that has previously been scanned and indexed.

    +

    Iterates over all the outputs with script pubkeys in an index range.

    +

    Returns the txout and script pubkey index of the TxOut at OutPoint.

    Returns None if the TxOut hasn’t been scanned or if nothing matching was found there.

    -

    Returns the script that has been inserted at the index.

    +

    Returns the script that has been inserted at the index.

    If that index hasn’t been inserted yet, it will return None.

    -

    The script pubkeys that are being tracked by the index.

    -

    Adds a script pubkey to scan for. Returns false and does nothing if spk already exists in the map

    +

    The script pubkeys that are being tracked by the index.

    +

    Adds a script pubkey to scan for. Returns false and does nothing if spk already exists in the map

    the index will look for outputs spending to this spk whenever it scans new data.

    -

    Iterates over all unused script pubkeys in an index range.

    +

    Iterates over all unused script pubkeys in an index range.

    Here, “unused” means that after the script pubkey was stored in the index, the index has never scanned a transaction output with it.

    Example
    @@ -40,35 +41,35 @@ never scanned a transaction output with it.

    let change_index = 1; let unused_change_spks = txout_index.unused_spks((change_index, u32::MIN)..(change_index, u32::MAX));
    -

    Returns whether the script pubkey at index has been used or not.

    +

    Returns whether the script pubkey at index has been used or not.

    Here, “unused” means that after the script pubkey was stored in the index, the index has never scanned a transaction output with it.

    -

    Marks the script pubkey at index as used even though it hasn’t seen an output spending to it. +

    Marks the script pubkey at index as used even though it hasn’t seen an output spending to it. This only affects when the index had already been added to self and was unused.

    Returns whether the index was initially present as unused.

    This is useful when you want to reserve a script pubkey for something but don’t want to add the transaction output using it to the index yet. Other callers will consider the index used until you call unmark_used.

    -

    Undoes the effect of mark_used. Returns whether the index is inserted back into +

    Undoes the effect of mark_used. Returns whether the index is inserted back into unused.

    Note that if self has scanned an output with this script pubkey then this will have no effect.

    -

    Returns the index associated with the script pubkey.

    -

    Computes total input value going from script pubkeys in the index (sent) and the total output +

    Returns the index associated with the script pubkey.

    +

    Computes total input value going from script pubkeys in the index (sent) and the total output value going to script pubkeys in the index (received) in tx. For the sent to be computed correctly, the output being spent must have already been scanned by the index. Calculating received just uses the transaction outputs directly, so it will be correct even if it has not been scanned.

    -

    Computes the net value that this transaction gives to the script pubkeys in the index and +

    Computes the net value that this transaction gives to the script pubkeys in the index and takes from the transaction outputs in the index. Shorthand for calling sent_and_received and subtracting sent from received.

    -

    Whether any of the inputs of this transaction spend a txout tracked or whether any output +

    Whether any of the inputs of this transaction spend a txout tracked or whether any output matches one of our script pubkeys.

    It is easily possible to misuse this method and get false negatives by calling it before you have scanned the TxOuts the transaction is spending. For example, if you want to filter out all the transactions in a block that are irrelevant, you must first scan all the transactions in the block and only then use this method.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The resultant “additions” when new transaction data is indexed.
    Scan and index the given outpoint and txout.
    Scan and index the given transaction.
    Apply additions to itself.
    Determines whether the transaction should be included in the index.
    Determines whether a given script pubkey (spk) is owned.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The resultant “additions” when new transaction data is indexed.
    Scan and index the given outpoint and txout.
    Scan and index the given transaction.
    Apply additions to itself.
    Determines whether the transaction should be included in the index.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Anchor.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Anchor.html index 4c7532e364..45081c40ec 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Anchor.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Anchor.html @@ -1,4 +1,4 @@ -Anchor in bdk_chain - Rust

    Trait bdk_chain::Anchor

    source ·
    pub trait Anchor: Debug + Clone + Eq + PartialOrd + Ord + Hash {
    +Anchor in bdk_chain - Rust

    Trait bdk_chain::Anchor

    source ·
    pub trait Anchor: Debug + Clone + Eq + PartialOrd + Ord + Hash {
         fn anchor_block(&self) -> BlockId;
     
         fn confirmation_height_upper_bound(&self) -> u32 { ... }
    @@ -7,8 +7,8 @@
     assume that transaction A is also confirmed in the best chain. This does not necessarily mean
     that transaction A is confirmed in block B. It could also mean transaction A is confirmed in a
     parent block of B.

    -

    Required Methods§

    Returns the BlockId that the associated blockchain data is “anchored” in.

    -

    Provided Methods§

    Get the upper bound of the chain data’s confirmation height.

    +

    Required Methods§

    Returns the BlockId that the associated blockchain data is “anchored” in.

    +

    Provided Methods§

    Get the upper bound of the chain data’s confirmation height.

    The default definition gives a pessimistic answer. This can be overridden by the Anchor implementation for a more accurate value.

    -

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file +

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Append.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Append.html index 886d4bf17e..780b6be364 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Append.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.Append.html @@ -1,5 +1,7 @@ -Append in bdk_chain - Rust

    Trait bdk_chain::Append

    source ·
    pub trait Append {
    +Append in bdk_chain - Rust

    Trait bdk_chain::Append

    source ·
    pub trait Append {
         fn append(&mut self, other: Self);
    +    fn is_empty(&self) -> bool;
     }
    Expand description

    Trait that makes an object appendable.

    -

    Required Methods§

    Append another object of the same type onto self.

    -

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file +

    Required Methods§

    Append another object of the same type onto self.

    +

    Returns whether the structure is considered empty.

    +

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.ForEachTxOut.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.ForEachTxOut.html index 81670209f4..b105aedc5b 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.ForEachTxOut.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.ForEachTxOut.html @@ -1,7 +1,7 @@ -ForEachTxOut in bdk_chain - Rust

    Trait bdk_chain::ForEachTxOut

    source ·
    pub trait ForEachTxOut {
    +ForEachTxOut in bdk_chain - Rust

    Trait bdk_chain::ForEachTxOut

    source ·
    pub trait ForEachTxOut {
         fn for_each_txout(&self, f: impl FnMut((OutPoint, &TxOut)));
     }
    Expand description

    Trait to do something with every txout contained in a structure.

    We would prefer to just work with things that can give us an Iterator<Item=(OutPoint, &TxOut)> here, but rust’s type system makes it extremely hard to do this (without trait objects).

    -

    Required Methods§

    The provided closure f will be called with each outpoint/txout pair.

    -

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file +

    Required Methods§

    The provided closure f will be called with each outpoint/txout pair.

    +

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.PersistBackend.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.PersistBackend.html new file mode 100644 index 0000000000..332617c61b --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/trait.PersistBackend.html @@ -0,0 +1,18 @@ +PersistBackend in bdk_chain - Rust
    pub trait PersistBackend<C> {
    +    type WriteError: Debug;
    +    type LoadError: Debug;
    +
    +    fn write_changes(&mut self, changeset: &C) -> Result<(), Self::WriteError>;
    +    fn load_from_persistence(&mut self) -> Result<C, Self::LoadError>;
    +}
    Expand description

    A persistence backend for Persist.

    +

    C represents the changeset; a datatype that records changes made to in-memory data structures +that are to be persisted, or retrieved from persistence.

    +

    Required Associated Types§

    The error the backend returns when it fails to write.

    +

    The error the backend returns when it fails to load changesets C.

    +

    Required Methods§

    Writes a changeset to the persistence backend.

    +

    It is up to the backend what it does with this. It could store every changeset in a list or +it inserts the actual changes into a more structured database. All it needs to guarantee is +that load_from_persistence restores a keychain tracker to what it should be if all +changesets had been applied sequentially.

    +

    Return the aggregate changeset C from persistence.

    +

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/index.html index 73be6beeeb..c8d9b3e817 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/index.html @@ -1,4 +1,4 @@ -bdk_chain::tx_graph - Rust

    Module bdk_chain::tx_graph

    source ·
    Expand description

    Module for structures that store and traverse transactions.

    +bdk_chain::tx_graph - Rust

    Module bdk_chain::tx_graph

    source ·
    Expand description

    Module for structures that store and traverse transactions.

    TxGraph is a monotone structure that inserts transactions and indexes the spends. The Additions structure reports changes of TxGraph but can also be applied to a TxGraph as well. Lastly, TxDescendants is an Iterator that traverses descendants of diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.Additions.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.Additions.html index 902ac48187..3a07d4c911 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.Additions.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.Additions.html @@ -1,4 +1,4 @@ -Additions in bdk_chain::tx_graph - Rust

    Struct bdk_chain::tx_graph::Additions

    source ·
    pub struct Additions<A = ()> {
    +Additions in bdk_chain::tx_graph - Rust

    Struct bdk_chain::tx_graph::Additions

    source ·
    pub struct Additions<A = ()> {
         pub tx: BTreeSet<Transaction>,
         pub txout: BTreeMap<OutPoint, TxOut>,
         pub anchors: BTreeSet<(A, Txid)>,
    @@ -7,12 +7,12 @@
     

    It is named “additions” because TxGraph is monotone, so transactions can only be added and not removed.

    Refer to module-level documentation for more.

    -

    Fields§

    §tx: BTreeSet<Transaction>§txout: BTreeMap<OutPoint, TxOut>§anchors: BTreeSet<(A, Txid)>§last_seen: BTreeMap<Txid, u64>

    Implementations§

    Returns true if the Additions is empty (no transactions or txouts).

    -

    Iterates over all outpoints contained within Additions.

    -

    Trait Implementations§

    Append another object of the same type onto self.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The provided closure f will be called with each outpoint/txout pair.
    This method tests for self and other values to be equal, and is used +

    Fields§

    §tx: BTreeSet<Transaction>§txout: BTreeMap<OutPoint, TxOut>§anchors: BTreeSet<(A, Txid)>§last_seen: BTreeMap<Txid, u64>

    Implementations§

    Returns true if the Additions is empty (no transactions or txouts).

    +

    Iterates over all outpoints contained within Additions.

    +

    Trait Implementations§

    Append another object of the same type onto self.
    Returns whether the structure is considered empty.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    Deserialize this value from the given Serde deserializer. Read more
    The provided closure f will be called with each outpoint/txout pair.
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.CanonicalTx.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.CanonicalTx.html index 834797382c..20cc1b2325 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.CanonicalTx.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.CanonicalTx.html @@ -1,14 +1,14 @@ -CanonicalTx in bdk_chain::tx_graph - Rust
    pub struct CanonicalTx<'a, T, A> {
    +CanonicalTx in bdk_chain::tx_graph - Rust
    pub struct CanonicalTx<'a, T, A> {
         pub observed_as: ObservedAs<&'a A>,
         pub node: TxNode<'a, T, A>,
     }
    Expand description

    An outwards-facing view of a transaction that is part of the best chain’s history.

    Fields§

    §observed_as: ObservedAs<&'a A>

    How the transaction is observed as (confirmed or unconfirmed).

    §node: TxNode<'a, T, A>

    The transaction node (as part of the graph).

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxDescendants.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxDescendants.html index 870e08b133..e7494c6565 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxDescendants.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxDescendants.html @@ -1,6 +1,6 @@ -TxDescendants in bdk_chain::tx_graph - Rust
    pub struct TxDescendants<'g, A, F> { /* private fields */ }
    Expand description

    An iterator that traverses transaction descendants.

    +TxDescendants in bdk_chain::tx_graph - Rust
    pub struct TxDescendants<'g, A, F> { /* private fields */ }
    Expand description

    An iterator that traverses transaction descendants.

    This struct is created by the walk_descendants method of TxGraph.

    -

    Trait Implementations§

    The type of the elements being iterated over.
    Advances the iterator and returns the next value. Read more
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    Returns the bounds on the remaining length of the iterator. Read more
    Consumes the iterator, counting the number of iterations and returning it. Read more
    Consumes the iterator, returning the last element. Read more
    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    Returns the nth element of the iterator. Read more
    Creates an iterator starting at the same point, but stepping by +

    Trait Implementations§

    The type of the elements being iterated over.
    Advances the iterator and returns the next value. Read more
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    Returns the bounds on the remaining length of the iterator. Read more
    Consumes the iterator, counting the number of iterations and returning it. Read more
    Consumes the iterator, returning the last element. Read more
    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    Returns the nth element of the iterator. Read more
    Creates an iterator starting at the same point, but stepping by the given amount at each iteration. Read more
    Takes two iterators and creates a new iterator over both in sequence. Read more
    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator between adjacent items of the original iterator. Read more
    Takes a closure and creates an iterator which calls that closure on each element. Read more
    Calls a closure on each element of an iterator. Read more
    Creates an iterator which uses a closure to determine if an element @@ -32,8 +32,8 @@ less than those of another. Read more
    Determines if the elements of this Iterator are lexicographically greater than those of another. Read more
    Determines if the elements of this Iterator are lexicographically greater than or equal to those of another. Read more
    🔬This is a nightly-only experimental API. (is_sorted)
    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    🔬This is a nightly-only experimental API. (is_sorted)
    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more
    Calculate the sum over the iterator using checked arithmetic. If an over or underflow would -happen it returns None. Read more
    Calculate the sum over the iterator using checked arithmetic. If an over or underflow would +function. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more
    Calculate the sum over the iterator using checked arithmetic. If an over or underflow would +happen it returns None. Read more
    Calculate the sum over the iterator using checked arithmetic. If an over or underflow would happen it returns None. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxGraph.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxGraph.html index 7df71c7379..ed2099441a 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxGraph.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxGraph.html @@ -1,33 +1,33 @@ -TxGraph in bdk_chain::tx_graph - Rust

    Struct bdk_chain::tx_graph::TxGraph

    source ·
    pub struct TxGraph<A = ()> { /* private fields */ }
    Expand description

    A graph of transactions and spends.

    +TxGraph in bdk_chain::tx_graph - Rust

    Struct bdk_chain::tx_graph::TxGraph

    source ·
    pub struct TxGraph<A = ()> { /* private fields */ }
    Expand description

    A graph of transactions and spends.

    See the module-level documentation for more.

    -

    Implementations§

    Iterate over all tx outputs known by TxGraph.

    +

    Implementations§

    Iterate over all tx outputs known by TxGraph.

    This includes txouts of both full transactions as well as floating transactions.

    -

    Iterate over floating txouts known by TxGraph.

    +

    Iterate over floating txouts known by TxGraph.

    Floating txouts are txouts that do not have the residing full transaction contained in the graph.

    -

    Iterate over all full transactions in the graph.

    -

    Get a transaction by txid. This only returns Some for full transactions.

    +

    Iterate over all full transactions in the graph.

    +

    Get a transaction by txid. This only returns Some for full transactions.

    Refer to get_txout for getting a specific [TxOut].

    -

    Get a transaction node by txid. This only returns Some for full transactions.

    -

    Obtains a single tx output (if any) at the specified outpoint.

    -

    Returns known outputs of a given txid.

    +

    Get a transaction node by txid. This only returns Some for full transactions.

    +

    Obtains a single tx output (if any) at the specified outpoint.

    +

    Returns known outputs of a given txid.

    Returns a BTreeMap of vout to output of the provided txid.

    -

    Calculates the fee of a given transaction. Returns 0 if tx is a coinbase transaction. +

    Calculates the fee of a given transaction. Returns 0 if tx is a coinbase transaction. Returns Some(_) if we have all the TxOuts being spent by tx in the graph (either as the full transactions or individual txouts). If the returned value is negative, then the transaction is invalid according to the graph.

    Returns None if we’re missing an input for the tx in the graph.

    Note tx does not have to be in the graph for this to work.

    -

    The transactions spending from this output.

    +

    The transactions spending from this output.

    TxGraph allows conflicting transactions within the graph. Obviously the transactions in the returned set will never be in the same active-chain.

    -

    Iterates over the transactions spending from txid.

    +

    Iterates over the transactions spending from txid.

    The iterator item is a union of (vout, txid-set) where:

    • vout is the provided txid’s outpoint that is being spent
    • txid-set is the set of txids spending the vout.
    -

    Creates an iterator that filters and maps descendants from the starting txid.

    +

    Creates an iterator that filters and maps descendants from the starting txid.

    The supplied closure takes in two inputs (depth, descendant_txid):

    • depth is the distance between the starting txid and the descendant_txid. I.e., if the @@ -36,92 +36,114 @@ descendant is spending an output of the starting txid; the de

    The supplied closure returns an Option<T>, allowing the caller to map each node it vists and decide whether to visit descendants.

    -

    Creates an iterator that both filters and maps conflicting transactions (this includes +

    Creates an iterator that both filters and maps conflicting transactions (this includes descendants of directly-conflicting transactions, which are also considered conflicts).

    Refer to Self::walk_descendants for walk_map usage.

    -

    Given a transaction, return an iterator of txids that directly conflict with the given +

    Given a transaction, return an iterator of txids that directly conflict with the given transaction’s inputs (spends). The conflicting txids are returned with the given transaction’s vin (in which it conflicts).

    Note that this only returns directly conflicting txids and does not include descendants of those txids (which are technically also conflicting).

    -

    Get all transaction anchors known by TxGraph.

    -

    Whether the graph has any transactions or outputs in it.

    -

    Construct a new TxGraph from a list of transactions.

    -

    Returns the resultant Additions if the given txout is inserted at outpoint. Does not +

    Get all transaction anchors known by TxGraph.

    +

    Whether the graph has any transactions or outputs in it.

    +

    Construct a new TxGraph from a list of transactions.

    +

    Returns the resultant Additions if the given txout is inserted at outpoint. Does not mutate self.

    Inserting floating txouts are useful for determining fee/feerate of transactions we care about.

    The Additions result will be empty if the outpoint (or a full transaction containing the outpoint) already existed in self.

    -

    Inserts the given [TxOut] at [OutPoint].

    +

    Inserts the given [TxOut] at [OutPoint].

    This is equivalent to calling insert_txout_preview and apply_additions in sequence.

    -

    Returns the resultant Additions if the given transaction is inserted. Does not actually +

    Returns the resultant Additions if the given transaction is inserted. Does not actually mutate Self.

    The Additions result will be empty if tx already exists in self.

    -

    Inserts the given transaction into TxGraph.

    +

    Inserts the given transaction into TxGraph.

    The Additions returned will be empty if tx already exists.

    -

    Returns the resultant Additions if the txid is set in anchor.

    -

    Inserts the given anchor into TxGraph.

    +

    Returns the resultant Additions if the txid is set in anchor.

    +

    Inserts the given anchor into TxGraph.

    This is equivalent to calling insert_anchor_preview and apply_additions in sequence. The Additions returned will be empty if graph already knows that txid exists in anchor.

    -

    Returns the resultant Additions if the txid is set to seen_at.

    +

    Returns the resultant Additions if the txid is set to seen_at.

    Note that TxGraph only keeps track of the lastest seen_at.

    -

    Inserts the given seen_at into TxGraph.

    +

    Inserts the given seen_at into TxGraph.

    This is equivalent to calling insert_seen_at_preview and apply_additions in sequence.

    -

    Extends this graph with another so that self becomes the union of the two sets of +

    Extends this graph with another so that self becomes the union of the two sets of transactions.

    The returned Additions is the set difference between update and self (transactions that exist in update but not in self).

    -

    Applies Additions to TxGraph.

    -

    Previews the resultant Additions when Self is updated against the update graph.

    +

    Applies Additions to TxGraph.

    +

    Previews the resultant Additions when Self is updated against the update graph.

    The Additions would be the set difference between update and self (transactions that exist in update but not in self).

    -

    Get the position of the transaction in chain with tip chain_tip.

    +

    Get the position of the transaction in chain with tip chain_tip.

    If the given transaction of txid does not exist in the chain of chain_tip, None is returned.

    Error

    An error will occur if the ChainOracle implementation (chain) fails. If the ChainOracle is infallible, get_chain_position can be used instead.

    -

    Get the position of the transaction in chain with tip chain_tip.

    +

    Get the position of the transaction in chain with tip chain_tip.

    This is the infallible version of try_get_chain_position.

    -

    Get the txid of the spending transaction and where the spending transaction is observed in +

    Get the txid of the spending transaction and where the spending transaction is observed in the chain of chain_tip.

    If no in-chain transaction spends outpoint, None will be returned.

    Error

    An error will occur only if the ChainOracle implementation (chain) fails.

    If the ChainOracle is infallible, get_chain_spend can be used instead.

    -

    Get the txid of the spending transaction and where the spending transaction is observed in +

    Get the txid of the spending transaction and where the spending transaction is observed in the chain of chain_tip.

    This is the infallible version of try_get_chain_spend

    -

    List graph transactions that are in chain with chain_tip.

    +

    List graph transactions that are in chain with chain_tip.

    Each transaction is represented as a CanonicalTx that contains where the transaction is observed in-chain, and the TxNode.

    Error

    If the ChainOracle implementation (chain) fails, an error will be returned with the returned item.

    If the ChainOracle is infallible, list_chain_txs can be used instead.

    -

    List graph transactions that are in chain with chain_tip.

    +

    List graph transactions that are in chain with chain_tip.

    This is the infallible version of try_list_chain_txs.

    -

    List outputs that are in chain with chain_tip.

    -

    Floating ouputs are not iterated over.

    -

    The filter_predicate should return true for outputs that we wish to iterate over.

    +

    Get a filtered list of outputs from the given outpoints that are in chain with +chain_tip.

    +

    outpoints is a list of outpoints we are interested in, coupled with an outpoint identifier +(OI) for convenience. If OI is not necessary, the caller can use (), or +Iterator::enumerate over a list of [OutPoint]s.

    +

    Floating outputs are ignored.

    Error
    -

    A returned item can error if the ChainOracle implementation (chain) fails.

    -

    If the ChainOracle is infallible, list_chain_txouts can be used instead.

    -

    List outputs that are in chain with chain_tip.

    -

    This is the infallible version of try_list_chain_txouts.

    -

    List unspent outputs (UTXOs) that are in chain with chain_tip.

    -

    Floating outputs are not iterated over.

    +

    An Iterator::Item can be an Err if the ChainOracle implementation (chain) +fails.

    +

    If the ChainOracle implementation is infallible, filter_chain_txouts can be used +instead.

    +

    Get a filtered list of outputs from the given outpoints that are in chain with +chain_tip.

    +

    This is the infallible version of try_filter_chain_txouts.

    +

    Get a filtered list of unspent outputs (UTXOs) from the given outpoints that are in +chain with chain_tip.

    +

    outpoints is a list of outpoints we are interested in, coupled with an outpoint identifier +(OI) for convenience. If OI is not necessary, the caller can use (), or +Iterator::enumerate over a list of [OutPoint]s.

    +

    Floating outputs are ignored.

    Error
    -

    An item can be an error if the ChainOracle implementation fails. If the oracle is -infallible, list_chain_unspents can be used instead.

    -

    List unspent outputs (UTXOs) that are in chain with chain_tip.

    -

    This is the infallible version of try_list_chain_unspents.

    -

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The provided closure f will be called with each outpoint/txout pair.
    This method tests for self and other values to be equal, and is used +

    An Iterator::Item can be an Err if the ChainOracle implementation (chain) +fails.

    +

    If the ChainOracle implementation is infallible, filter_chain_unspents can be used +instead.

    +

    Get a filtered list of unspent outputs (UTXOs) from the given outpoints that are in +chain with chain_tip.

    +

    This is the infallible version of try_filter_chain_unspents.

    +

    Get the total balance of outpoints that are in chain of chain_tip.

    +

    The output of trust_predicate should return true for scripts that we trust.

    +

    outpoints is a list of outpoints we are interested in, coupled with an outpoint identifier +(OI) for convenience. If OI is not necessary, the caller can use (), or +Iterator::enumerate over a list of [OutPoint]s.

    +

    If the provided ChainOracle implementation (chain) is infallible, balance can be +used instead.

    +

    Get the total balance of outpoints that are in chain of chain_tip.

    +

    This is the infallible version of try_balance.

    +

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Converts this type into a shared reference of the (usually inferred) input type.
    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Returns the “default value” for a type. Read more
    The provided closure f will be called with each outpoint/txout pair.
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +sufficient, and should not be overridden without very good reason. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxNode.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxNode.html index 8d1c8d7374..694b040892 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxNode.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_chain/tx_graph/struct.TxNode.html @@ -1,4 +1,4 @@ -TxNode in bdk_chain::tx_graph - Rust

    Struct bdk_chain::tx_graph::TxNode

    source ·
    pub struct TxNode<'a, T, A> {
    +TxNode in bdk_chain::tx_graph - Rust

    Struct bdk_chain::tx_graph::TxNode

    source ·
    pub struct TxNode<'a, T, A> {
         pub txid: Txid,
         pub tx: &'a T,
         pub anchors: &'a BTreeSet<A>,
    @@ -8,11 +8,11 @@
     
    §tx: &'a T

    A partial or full representation of the transaction.

    §anchors: &'a BTreeSet<A>

    The blocks that the transaction is “anchored” in.

    §last_seen_unconfirmed: u64

    The last-seen unix timestamp of the transaction as unconfirmed.

    -

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    The resulting type after dereferencing.
    Dereferences the value.
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    The resulting type after dereferencing.
    Dereferences the value.
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always -sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= +sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +operator. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/index.html index cd03774b6a..6a87c2f8d0 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/index.html @@ -1,4 +1,4 @@ -bdk_electrum - Rust

    Crate bdk_electrum

    source ·
    Expand description

    This crate is used for updating structures of the bdk_chain crate with data from electrum.

    +bdk_electrum - Rust

    Crate bdk_electrum

    source ·
    Expand description

    This crate is used for updating structures of the [bdk_chain] crate with data from electrum.

    The star of the show is the ElectrumExt::scan method, which scans for relevant blockchain data (via electrum) and outputs an ElectrumUpdate.

    An ElectrumUpdate only includes txids and no full transactions. The caller is responsible @@ -15,4 +15,4 @@ these steps:

    Refer to bdk_electrum_example for a complete example.

    -

    Re-exports

    pub use bdk_chain;
    pub use electrum_client;

    Structs

    Traits

    Trait to extend [electrum_client::Client] functionality.
    \ No newline at end of file +

    Re-exports

    pub use bdk_chain;
    pub use electrum_client;

    Structs

    Traits

    Trait to extend [electrum_client::Client] functionality.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/struct.ElectrumUpdate.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/struct.ElectrumUpdate.html index 1a62e728a4..befb43943b 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/struct.ElectrumUpdate.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/struct.ElectrumUpdate.html @@ -1,15 +1,15 @@ ElectrumUpdate in bdk_electrum - Rust
    pub struct ElectrumUpdate<K, P> {
    -    pub chain_update: SparseChain<P>,
    +    pub chain_update: SparseChain<P>,
         pub last_active_indices: BTreeMap<K, u32>,
     }
    Expand description

    The result of ElectrumExt::scan.

    -

    Fields§

    §chain_update: SparseChain<P>

    The internal SparseChain update.

    +

    Fields§

    §chain_update: SparseChain<P>

    The internal [SparseChain] update.

    §last_active_indices: BTreeMap<K, u32>

    The last keychain script pubkey indices, which had transaction histories.

    -

    Implementations§

    Return a list of missing full transactions that are required to inflate_update.

    -

    Transform the ElectrumUpdate into a KeychainScan, which can be applied to a +

    Implementations§

    Return a list of missing full transactions that are required to inflate_update.

    +

    Transform the ElectrumUpdate into a [KeychainScan], which can be applied to a tracker.

    This will fail if there are missing full transactions not provided via new_txs.

    -

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Converts this type into a shared reference of the (usually inferred) input type.
    Returns the “default value” for a type. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/trait.ElectrumExt.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/trait.ElectrumExt.html index 2c44cb19c7..ca20266439 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/trait.ElectrumExt.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_electrum/trait.ElectrumExt.html @@ -1,20 +1,20 @@ ElectrumExt in bdk_electrum - Rust
    pub trait ElectrumExt {
         fn get_tip(&self) -> Result<(u32, BlockHash), Error>;
    -    fn scan<K: Ord + Clone>(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, Script)>>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            stop_gap: usize,
            batch_size: usize
        ) -> Result<ElectrumUpdate<K, TxHeight>, Error>; + fn scan<K: Ord + Clone>(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, Script)>>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            stop_gap: usize,
            batch_size: usize
        ) -> Result<ElectrumUpdate<K, TxHeight>, Error>; - fn scan_without_keychain(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            misc_spks: impl IntoIterator<Item = Script>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            batch_size: usize
        ) -> Result<SparseChain, Error> { ... } + fn scan_without_keychain(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            misc_spks: impl IntoIterator<Item = Script>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            batch_size: usize
        ) -> Result<SparseChain, Error> { ... } }
    Expand description

    Trait to extend [electrum_client::Client] functionality.

    Refer to crate-level documentation for more.

    Required Methods§

    Fetch the latest block height.

    -

    Scan the blockchain (via electrum) for the data specified. This returns a ElectrumUpdate -which can be transformed into a KeychainScan after we find all the missing full +

    Scan the blockchain (via electrum) for the data specified. This returns a ElectrumUpdate +which can be transformed into a [KeychainScan] after we find all the missing full transactions.

    • local_chain: the most recent block hashes present locally
    • keychain_spks: keychains that we want to scan transactions for
    • -
    • txids: transactions for which we want the updated ChainPositions
    • +
    • txids: transactions for which we want the updated [ChainPosition]s
    • outpoints: transactions associated with these outpoints (residing, spending) that we want to included in the update
    -

    Provided Methods§

    Convenience method to call scan without requiring a keychain.

    -

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file +

    Provided Methods§

    Convenience method to call scan without requiring a keychain.

    +

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/index.html index 769776aca5..aabd8cf01a 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/index.html @@ -1,5 +1,5 @@ bdk_esplora - Rust

    Crate bdk_esplora

    source ·
    Expand description

    BDK Esplora

    -

    BDK Esplora extends esplora_client to update bdk_chain structures +

    BDK Esplora extends esplora_client to update [bdk_chain] structures from an Esplora server.

    Usage

    There are two versions of the extension trait (blocking and async).

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraAsyncExt.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraAsyncExt.html index 7cb7f8d211..3424249b60 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraAsyncExt.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraAsyncExt.html @@ -1,21 +1,21 @@ EsploraAsyncExt in bdk_esplora - Rust
    pub trait EsploraAsyncExt {
    -    fn scan<'life0, 'life1, 'async_trait, K>(
            &'life0 self,
            local_chain: &'life1 BTreeMap<u32, BlockHash>,
            keychain_spks: BTreeMap<K, impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = (u32, Script)> + Send> + Send>,
            txids: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = Txid> + Send> + Send,
            outpoints: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = OutPoint> + Send> + Send,
            stop_gap: usize,
            parallel_requests: usize
        ) -> Pin<Box<dyn Future<Output = Result<KeychainScan<K, ConfirmationTime>, Error>> + Send + 'async_trait>>
        where
            K: 'async_trait + Ord + Clone + Send,
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait
    ; + fn scan<'life0, 'life1, 'async_trait, K>(
            &'life0 self,
            local_chain: &'life1 BTreeMap<u32, BlockHash>,
            keychain_spks: BTreeMap<K, impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = (u32, Script)> + Send> + Send>,
            txids: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = Txid> + Send> + Send,
            outpoints: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = OutPoint> + Send> + Send,
            stop_gap: usize,
            parallel_requests: usize
        ) -> Pin<Box<dyn Future<Output = Result<KeychainScan<K, ConfirmationTime>, Error>> + Send + 'async_trait>>
        where
            K: 'async_trait + Ord + Clone + Send,
            Self: 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait
    ; - fn scan_without_keychain<'life0, 'life1, 'async_trait>(
            &'life0 self,
            local_chain: &'life1 BTreeMap<u32, BlockHash>,
            misc_spks: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = Script> + Send> + Send,
            txids: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = Txid> + Send> + Send,
            outpoints: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = OutPoint> + Send> + Send,
            parallel_requests: usize
        ) -> Pin<Box<dyn Future<Output = Result<ChainGraph<ConfirmationTime>, Error>> + Send + 'async_trait>>
        where
            Self: Sync + 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait
    , + fn scan_without_keychain<'life0, 'life1, 'async_trait>(
            &'life0 self,
            local_chain: &'life1 BTreeMap<u32, BlockHash>,
            misc_spks: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = Script> + Send> + Send,
            txids: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = Txid> + Send> + Send,
            outpoints: impl 'async_trait + IntoIterator<IntoIter = impl 'async_trait + Iterator<Item = OutPoint> + Send> + Send,
            parallel_requests: usize
        ) -> Pin<Box<dyn Future<Output = Result<ChainGraph<ConfirmationTime>, Error>> + Send + 'async_trait>>
        where
            Self: Sync + 'async_trait,
            'life0: 'async_trait,
            'life1: 'async_trait
    , { ... } }
    Expand description

    Trait to extend [esplora_client::AsyncClient] functionality.

    This is the async version of EsploraExt. Refer to crate-level documentation for more.

    -

    Required Methods§

    Scan the blockchain (via esplora) for the data specified and returns a KeychainScan.

    +

    Required Methods§

    Scan the blockchain (via esplora) for the data specified and returns a [KeychainScan].

    • local_chain: the most recent block hashes present locally
    • keychain_spks: keychains that we want to scan transactions for
    • -
    • txids: transactions for which we want updated ChainPositions
    • +
    • txids: transactions for which we want updated ChainPositions
    • outpoints: transactions associated with these outpoints (residing, spending) that we want to included in the update

    The scan for each keychain stops after a gap of stop_gap script pubkeys with no associated transactions. parallel_requests specifies the max number of HTTP requests to make in parallel.

    -

    Provided Methods§

    Convenience method to call scan without requiring a keychain.

    -

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file +

    Provided Methods§

    Convenience method to call scan without requiring a keychain.

    +

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraExt.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraExt.html index 7bbf588fd3..b17811c8fa 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraExt.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_esplora/trait.EsploraExt.html @@ -1,19 +1,19 @@ EsploraExt in bdk_esplora - Rust

    Trait bdk_esplora::EsploraExt

    source ·
    pub trait EsploraExt {
    -    fn scan<K: Ord + Clone>(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, Script)>>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            stop_gap: usize,
            parallel_requests: usize
        ) -> Result<KeychainScan<K, ConfirmationTime>, Error>; + fn scan<K: Ord + Clone>(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            keychain_spks: BTreeMap<K, impl IntoIterator<Item = (u32, Script)>>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            stop_gap: usize,
            parallel_requests: usize
        ) -> Result<KeychainScan<K, ConfirmationTime>, Error>; - fn scan_without_keychain(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            misc_spks: impl IntoIterator<Item = Script>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            parallel_requests: usize
        ) -> Result<ChainGraph<ConfirmationTime>, Error> { ... } + fn scan_without_keychain(
            &self,
            local_chain: &BTreeMap<u32, BlockHash>,
            misc_spks: impl IntoIterator<Item = Script>,
            txids: impl IntoIterator<Item = Txid>,
            outpoints: impl IntoIterator<Item = OutPoint>,
            parallel_requests: usize
        ) -> Result<ChainGraph<ConfirmationTime>, Error> { ... } }
    Expand description

    Trait to extend [esplora_client::BlockingClient] functionality.

    Refer to crate-level documentation for more.

    -

    Required Methods§

    Scan the blockchain (via esplora) for the data specified and returns a KeychainScan.

    +

    Required Methods§

    Scan the blockchain (via esplora) for the data specified and returns a [KeychainScan].

    • local_chain: the most recent block hashes present locally
    • keychain_spks: keychains that we want to scan transactions for
    • -
    • txids: transactions for which we want updated ChainPositions
    • +
    • txids: transactions for which we want updated ChainPositions
    • outpoints: transactions associated with these outpoints (residing, spending) that we want to included in the update

    The scan for each keychain stops after a gap of stop_gap script pubkeys with no associated transactions. parallel_requests specifies the max number of HTTP requests to make in parallel.

    -

    Provided Methods§

    Convenience method to call scan without requiring a keychain.

    -

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file +

    Provided Methods§

    Convenience method to call scan without requiring a keychain.

    +

    Implementations on Foreign Types§

    Implementors§

    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/all.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/all.html index fb37fb9e5f..d34d20c16d 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/all.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/all.html @@ -1 +1 @@ -List of all items in this crate

    List of all items

    Structs

    Enums

    \ No newline at end of file +List of all items in this crate
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/entry_iter/enum.IterError.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/entry_iter/enum.IterError.html new file mode 100644 index 0000000000..51696a51d7 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/entry_iter/enum.IterError.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../bdk_file_store/enum.IterError.html...

    + + + \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/entry_iter/struct.EntryIter.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/entry_iter/struct.EntryIter.html new file mode 100644 index 0000000000..92fbcf283b --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/entry_iter/struct.EntryIter.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../bdk_file_store/struct.EntryIter.html...

    + + + \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.FileError.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.FileError.html index 48b72ec910..c3b916ed6e 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.FileError.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.FileError.html @@ -1,12 +1,15 @@ -FileError in bdk_file_store - Rust
    pub enum FileError {
    +FileError in bdk_file_store - Rust
    pub enum FileError<'a> {
         Io(Error),
    -    InvalidMagicBytes([u8; 12]),
    +    InvalidMagicBytes {
    +        got: Vec<u8>,
    +        expected: &'a [u8],
    +    },
     }
    Expand description

    Error that occurs due to problems encountered with the file.

    Variants§

    §

    Io(Error)

    IO error, this may mean that the file is too short.

    -
    §

    InvalidMagicBytes([u8; 12])

    Magic bytes do not match what is expected.

    -

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Formats the value using the given formatter. Read more
    The lower-level source of this error, if any. Read more
    👎Deprecated since 1.42.0: use the Display impl or to_string()
    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    -

    Calls U::from(self).

    +
    §

    InvalidMagicBytes

    Fields

    §got: Vec<u8>
    §expected: &'a [u8]

    Magic bytes do not match what is expected.

    +

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Formats the value using the given formatter. Read more
    The lower-level source of this error, if any. Read more
    👎Deprecated since 1.42.0: use the Display impl or to_string()
    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to -provide by using demand. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    🔬This is a nightly-only experimental API. (provide_any)
    Data providers should implement this method to provide all values they are able to +provide by using demand. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.IterError.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.IterError.html index 6f3c429da3..7084bf41e6 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.IterError.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/enum.IterError.html @@ -1,10 +1,10 @@ -IterError in bdk_file_store - Rust
    pub enum IterError {
    +IterError in bdk_file_store - Rust
    pub enum IterError {
         Io(Error),
         Bincode(ErrorKind),
     }
    Expand description

    Error type for EntryIter.

    Variants§

    §

    Io(Error)

    Failure to read from the file.

    §

    Bincode(ErrorKind)

    Failure to decode data from the file.

    -

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Formats the value using the given formatter. Read more
    The lower-level source of this error, if any. Read more
    👎Deprecated since 1.42.0: use the Display impl or to_string()
    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Formats the value using the given formatter. Read more
    Formats the value using the given formatter. Read more
    The lower-level source of this error, if any. Read more
    👎Deprecated since 1.42.0: use the Display impl or to_string()
    👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
    🔬This is a nightly-only experimental API. (error_generic_member_access)
    Provides type based access to context intended for error reports. Read more
    Converts to this type from the input type.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/enum.FileError.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/enum.FileError.html deleted file mode 100644 index 0df3f11027..0000000000 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/enum.FileError.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../bdk_file_store/enum.FileError.html...

    - - - \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/enum.IterError.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/enum.IterError.html deleted file mode 100644 index 51696a51d7..0000000000 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/enum.IterError.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../bdk_file_store/enum.IterError.html...

    - - - \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/struct.EntryIter.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/struct.EntryIter.html deleted file mode 100644 index 92fbcf283b..0000000000 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/struct.EntryIter.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../bdk_file_store/struct.EntryIter.html...

    - - - \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/struct.KeychainStore.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/struct.KeychainStore.html deleted file mode 100644 index 6ca1dc38b6..0000000000 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/file_store/struct.KeychainStore.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Redirection - - -

    Redirecting to ../../bdk_file_store/struct.KeychainStore.html...

    - - - \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/index.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/index.html index 83ef5b43b2..aa09d4c58f 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/index.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/index.html @@ -1,7 +1,7 @@ -bdk_file_store - Rust

    Crate bdk_file_store

    source ·
    Expand description

    BDK File Store

    +bdk_file_store - Rust

    Crate bdk_file_store

    source ·
    Expand description

    BDK File Store

    This is a simple append-only flat file implementation of -Persist.

    +Persist.

    The main structure is KeychainStore, which can be used with bdk’s Wallet to persist wallet data into a flat file.

    Structs

    Iterator over entries in a file store.
    Persists an append only list of KeychainChangeSet<K,P> to a single file. -KeychainChangeSet<K,P> record the changes made to a KeychainTracker<K,P>.

    Enums

    Error that occurs due to problems encountered with the file.
    Error type for EntryIter.
    \ No newline at end of file +[KeychainChangeSet<K,P>] record the changes made to a [KeychainTracker<K,P>].
    Persists an append-only list of changesets (C) to a single file.

    Enums

    Error that occurs due to problems encountered with the file.
    Error type for EntryIter.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/keychain_store/struct.KeychainStore.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/keychain_store/struct.KeychainStore.html new file mode 100644 index 0000000000..6ca1dc38b6 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/keychain_store/struct.KeychainStore.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../bdk_file_store/struct.KeychainStore.html...

    + + + \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/sidebar-items.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/sidebar-items.js index 1ab40e4925..a79498f5cc 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/sidebar-items.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/sidebar-items.js @@ -1 +1 @@ -window.SIDEBAR_ITEMS = {"enum":[["FileError","Error that occurs due to problems encountered with the file."],["IterError","Error type for [`EntryIter`]."]],"struct":[["EntryIter","Iterator over entries in a file store."],["KeychainStore","Persists an append only list of `KeychainChangeSet` to a single file. [`KeychainChangeSet`] record the changes made to a [`KeychainTracker`]."]]}; \ No newline at end of file +window.SIDEBAR_ITEMS = {"enum":[["FileError","Error that occurs due to problems encountered with the file."],["IterError","Error type for [`EntryIter`]."]],"struct":[["EntryIter","Iterator over entries in a file store."],["KeychainStore","Persists an append only list of `KeychainChangeSet` to a single file. [`KeychainChangeSet`] record the changes made to a [`KeychainTracker`]."],["Store","Persists an append-only list of changesets (`C`) to a single file."]]}; \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/store/struct.Store.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/store/struct.Store.html new file mode 100644 index 0000000000..693358f801 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/store/struct.Store.html @@ -0,0 +1,11 @@ + + + + + Redirection + + +

    Redirecting to ../../bdk_file_store/struct.Store.html...

    + + + \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.EntryIter.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.EntryIter.html index 7c66c7b243..e61f060aef 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.EntryIter.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.EntryIter.html @@ -1,7 +1,7 @@ -EntryIter in bdk_file_store - Rust

    Struct bdk_file_store::EntryIter

    source ·
    pub struct EntryIter<'a, V> { /* private fields */ }
    Expand description

    Iterator over entries in a file store.

    +EntryIter in bdk_file_store - Rust

    Struct bdk_file_store::EntryIter

    source ·
    pub struct EntryIter<'t, T> { /* private fields */ }
    Expand description

    Iterator over entries in a file store.

    Reads and returns an entry each time next is called. If an error occurs while reading the iterator will yield a Result::Err(_) instead and then None for the next call to next.

    -

    Implementations§

    Trait Implementations§

    The type of the elements being iterated over.
    Advances the iterator and returns the next value. Read more
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    Returns the bounds on the remaining length of the iterator. Read more
    Consumes the iterator, counting the number of iterations and returning it. Read more
    Consumes the iterator, returning the last element. Read more
    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    Returns the nth element of the iterator. Read more
    Creates an iterator starting at the same point, but stepping by +

    Implementations§

    Trait Implementations§

    The type of the elements being iterated over.
    Advances the iterator and returns the next value. Read more
    🔬This is a nightly-only experimental API. (iter_next_chunk)
    Advances the iterator and returns an array containing the next N values. Read more
    Returns the bounds on the remaining length of the iterator. Read more
    Consumes the iterator, counting the number of iterations and returning it. Read more
    Consumes the iterator, returning the last element. Read more
    🔬This is a nightly-only experimental API. (iter_advance_by)
    Advances the iterator by n elements. Read more
    Returns the nth element of the iterator. Read more
    Creates an iterator starting at the same point, but stepping by the given amount at each iteration. Read more
    Takes two iterators and creates a new iterator over both in sequence. Read more
    ‘Zips up’ two iterators into a single iterator of pairs. Read more
    🔬This is a nightly-only experimental API. (iter_intersperse)
    Creates a new iterator which places an item generated by separator between adjacent items of the original iterator. Read more
    Takes a closure and creates an iterator which calls that closure on each element. Read more
    Calls a closure on each element of an iterator. Read more
    Creates an iterator which uses a closure to determine if an element @@ -33,9 +33,9 @@ less than those of another. Read more
    Determines if the elements of this Iterator are lexicographically greater than those of another. Read more
    Determines if the elements of this Iterator are lexicographically greater than or equal to those of another. Read more
    🔬This is a nightly-only experimental API. (is_sorted)
    Checks if the elements of this iterator are sorted using the given comparator function. Read more
    🔬This is a nightly-only experimental API. (is_sorted)
    Checks if the elements of this iterator are sorted using the given key extraction -function. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    -

    Calls U::from(self).

    +function. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The type of the elements being iterated over.
    Which kind of iterator are we turning this into?
    Creates an iterator from a value. Read more
    Choose one element at random from the iterator. Read more
    Choose one element at random from the iterator. Read more
    Collects values at random from the iterator into a supplied buffer -until that buffer is filled. Read more
    Collects amount values at random from the iterator into a vector. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The type of the elements being iterated over.
    Which kind of iterator are we turning this into?
    Creates an iterator from a value. Read more
    Choose one element at random from the iterator. Read more
    Choose one element at random from the iterator. Read more
    Collects values at random from the iterator into a supplied buffer +until that buffer is filled. Read more
    Collects amount values at random from the iterator into a vector. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.KeychainStore.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.KeychainStore.html index 17747f92db..e966fc5a32 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.KeychainStore.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.KeychainStore.html @@ -1,16 +1,16 @@ -KeychainStore in bdk_file_store - Rust
    pub struct KeychainStore<K, P> { /* private fields */ }
    Expand description

    Persists an append only list of KeychainChangeSet<K,P> to a single file. -KeychainChangeSet<K,P> record the changes made to a KeychainTracker<K,P>.

    -

    Implementations§

    Creates a new store from a File.

    +KeychainStore in bdk_file_store - Rust
    pub struct KeychainStore<K, P> { /* private fields */ }
    Expand description

    Persists an append only list of KeychainChangeSet<K,P> to a single file. +[KeychainChangeSet<K,P>] record the changes made to a [KeychainTracker<K,P>].

    +

    Implementations§

    Creates a new store from a File.

    The file must have been opened with read and write permissions.

    -

    Creates or loads a store from db_path. If no file exists there, it will be created.

    -

    Iterates over the stored changeset from first to last, changing the seek position at each +

    Creates or loads a store from db_path. If no file exists there, it will be created.

    +

    Iterates over the stored changeset from first to last, changing the seek position at each iteration.

    The iterator may fail to read an entry and therefore return an error. However, the first time it returns an error will be the last. After doing so, the iterator will always yield None.

    WARNING: This method changes the write position in the underlying file. You should always iterate over all entries until None is returned if you want your next write to go at the end; otherwise, you will write over existing entries.

    -

    Loads all the changesets that have been stored as one giant changeset.

    +

    Loads all the changesets that have been stored as one giant changeset.

    This function returns a tuple of the aggregate changeset and a result that indicates whether an error occurred while reading or deserializing one of the entries. If so the changeset will consist of all of those it was able to read.

    @@ -19,14 +19,14 @@ wallet scan with a stop-gap after getting an error, since it is likely that one changesets it was unable to read changed the derivation indices of the tracker.

    WARNING: This method changes the write position of the underlying file. The next changeset will be written over the erroring entry (or the end of the file if none existed).

    -

    Reads and applies all the changesets stored sequentially to the tracker, stopping when it fails +

    Reads and applies all the changesets stored sequentially to the tracker, stopping when it fails to read the next one.

    WARNING: This method changes the write position of the underlying file. The next changeset will be written over the erroring entry (or the end of the file if none existed).

    -

    Append a new changeset to the file and truncate the file to the end of the appended changeset.

    +

    Append a new changeset to the file and truncate the file to the end of the appended changeset.

    The truncation is to avoid the possibility of having a valid but inconsistent changeset directly after the appended changeset.

    -

    Trait Implementations§

    Formats the value using the given formatter. Read more
    The error the backend returns when it fails to write.
    The error the backend returns when it fails to load.
    Appends a new changeset to the persistent backend. Read more
    Applies all the changesets the backend has received to tracker.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Formats the value using the given formatter. Read more
    The error the backend returns when it fails to write.
    The error the backend returns when it fails to load.
    Appends a new changeset to the persistent backend. Read more
    Applies all the changesets the backend has received to tracker.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.Store.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.Store.html new file mode 100644 index 0000000000..9f7d6f5e67 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_file_store/struct.Store.html @@ -0,0 +1,34 @@ +Store in bdk_file_store - Rust

    Struct bdk_file_store::Store

    source ·
    pub struct Store<'a, C> { /* private fields */ }
    Expand description

    Persists an append-only list of changesets (C) to a single file.

    +

    The changesets are the results of altering a tracker implementation (T).

    +

    Implementations§

    Creates a new store from a File.

    +

    The file must have been opened with read and write permissions.

    +

    magic is the expected prefixed bytes of the file. If this does not match, an error will be +returned.

    +

    Creates or loads a store from db_path.

    +

    If no file exists there, it will be created.

    +

    Refer to new for documentation on the magic input.

    +

    Iterates over the stored changeset from first to last, changing the seek position at each +iteration.

    +

    The iterator may fail to read an entry and therefore return an error. However, the first time +it returns an error will be the last. After doing so, the iterator will always yield None.

    +

    WARNING: This method changes the write position in the underlying file. You should +always iterate over all entries until None is returned if you want your next write to go +at the end; otherwise, you will write over existing entries.

    +

    Loads all the changesets that have been stored as one giant changeset.

    +

    This function returns a tuple of the aggregate changeset and a result that indicates +whether an error occurred while reading or deserializing one of the entries. If so the +changeset will consist of all of those it was able to read.

    +

    You should usually check the error. In many applications, it may make sense to do a full +wallet scan with a stop-gap after getting an error, since it is likely that one of the +changesets it was unable to read changed the derivation indices of the tracker.

    +

    WARNING: This method changes the write position of the underlying file. The next +changeset will be written over the erroring entry (or the end of the file if none existed).

    +

    Append a new changeset to the file and truncate the file to the end of the appended +changeset.

    +

    The truncation is to avoid the possibility of having a valid but inconsistent changeset +directly after the appended changeset.

    +

    Trait Implementations§

    Formats the value using the given formatter. Read more
    The error the backend returns when it fails to write.
    The error the backend returns when it fails to load changesets C.
    Writes a changeset to the persistence backend. Read more
    Return the aggregate changeset C from persistence.

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Calls U::from(self).

    +

    That is, this conversion is whatever the implementation of +From<T> for U chooses to do.

    +
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/help.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/help.html index 9f9d42a445..8659dfcc0d 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/help.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/help.html @@ -1 +1 @@ -Rustdoc help

    Rustdoc help

    Back
    \ No newline at end of file +Rustdoc help

    Rustdoc help

    Back
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/indexed_tx_graph/trait.OwnedIndexer.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/indexed_tx_graph/trait.OwnedIndexer.js deleted file mode 100644 index 1a8211de1a..0000000000 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/indexed_tx_graph/trait.OwnedIndexer.js +++ /dev/null @@ -1,3 +0,0 @@ -(function() {var implementors = { -"bdk_chain":[] -};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/keychain/persist/trait.PersistBackend.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/keychain/persist/trait.PersistBackend.js index dc3a4109a5..c151b3ba7b 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/keychain/persist/trait.PersistBackend.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/keychain/persist/trait.PersistBackend.js @@ -1,4 +1,4 @@ (function() {var implementors = { "bdk_chain":[], -"bdk_file_store":[["impl<K, P> PersistBackend<K, P> for KeychainStore<K, P>where
        K: Ord + Clone + Debug,
        P: ChainPosition,
        KeychainChangeSet<K, P>: Serialize + DeserializeOwned,
    "]] +"bdk_file_store":[["impl<K, P> PersistBackend<K, P> for KeychainStore<K, P>where
        K: Ord + Clone + Debug,
        P: ChainPosition,
        KeychainChangeSet<K, P>: Serialize + DeserializeOwned,
    "]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/persist/trait.PersistBackend.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/persist/trait.PersistBackend.js new file mode 100644 index 0000000000..32bdf95d32 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/bdk_chain/persist/trait.PersistBackend.js @@ -0,0 +1,4 @@ +(function() {var implementors = { +"bdk_chain":[], +"bdk_file_store":[["impl<'a, C> PersistBackend<C> for Store<'a, C>where
        C: Default + Append + Serialize + DeserializeOwned,
    "]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.AsRef.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.AsRef.js index 47f89082ed..bb39e80e78 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.AsRef.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.AsRef.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"bdk":[["impl AsRef<[u8]> for KeychainKind"],["impl<D> AsRef<TxGraph<()>> for Wallet<D>"],["impl<D> AsRef<ChainGraph<ConfirmationTime>> for Wallet<D>"]], +"bdk":[["impl AsRef<[u8]> for KeychainKind"],["impl<D> AsRef<TxGraph<()>> for Wallet<D>"],["impl<D> AsRef<ChainGraph<ConfirmationTime>> for Wallet<D>"]], "bdk_chain":[["impl<P> AsRef<SparseChain<P>> for ChainGraph<P>"],["impl<P> AsRef<TxGraph<()>> for ChainGraph<P>"],["impl<P> AsRef<ChainGraph<P>> for ChainGraph<P>"],["impl<K, P> AsRef<SparseChain<P>> for KeychainTracker<K, P>"],["impl<K, P> AsRef<TxGraph<()>> for KeychainTracker<K, P>"],["impl<K, P> AsRef<ChainGraph<P>> for KeychainTracker<K, P>"],["impl<K> AsRef<BTreeMap<K, u32, Global>> for DerivationAdditions<K>"],["impl<K, P> AsRef<TxGraph<()>> for KeychainScan<K, P>"],["impl AsRef<BTreeMap<u32, BlockHash, Global>> for LocalChain"],["impl<P> AsRef<SparseChain<P>> for SparseChain<P>"],["impl<A> AsRef<TxGraph<A>> for TxGraph<A>"]], -"bdk_electrum":[["impl<K, P> AsRef<SparseChain<P>> for ElectrumUpdate<K, P>"]] +"bdk_electrum":[["impl<K, P> AsRef<SparseChain<P>> for ElectrumUpdate<K, P>"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.From.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.From.js index ec4cad3d8a..95e0888e28 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.From.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/convert/trait.From.js @@ -2,6 +2,6 @@ "bdk":[["impl From<Error> for Error"],["impl From<PolicyError> for Error"],["impl From<SignerError> for Error"],["impl From<KeyError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<KeyError> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<Error> for Error"],["impl From<PolicyError> for Error"],["impl From<bool> for Satisfaction"],["impl From<SatisfiableItem> for Policy"],["impl<Ctx: ScriptContext> From<ExtendedPubKey> for ExtendedKey<Ctx>"],["impl<Ctx: ScriptContext> From<ExtendedPrivKey> for ExtendedKey<Ctx>"],["impl From<Error> for KeyError"],["impl From<Error> for KeyError"],["impl From<Hash> for SignerId"],["impl From<Fingerprint> for SignerId"],["impl From<Error> for SignerError"]], "bdk_chain":[["impl<P> From<InsertTxError<P>> for InsertTxError<P>"],["impl<P> From<UpdateError<P>> for UpdateError<P>"],["impl<P> From<UnresolvableConflict<P>> for UpdateError<P>"],["impl<P> From<UnresolvableConflict<P>> for InsertTxError<P>"],["impl From<Option<u32>> for TxHeight"],["impl From<TxHeight> for Option<u32>"],["impl From<(u32, BlockHash)> for BlockId"],["impl From<BlockId> for (u32, BlockHash)"],["impl From<(&u32, &BlockHash)> for BlockId"],["impl<K, P> From<ChainGraph<P>> for KeychainScan<K, P>"],["impl<K, P> From<ChangeSet<P>> for KeychainChangeSet<K, P>"],["impl<K, P> From<DerivationAdditions<K>> for KeychainChangeSet<K, P>"],["impl From<LocalChain> for BTreeMap<u32, BlockHash>"],["impl From<BTreeMap<u32, BlockHash, Global>> for LocalChain"]], "bdk_coin_select":[["impl From<usize> for BnbLimit"],["impl From<Duration> for BnbLimit"]], -"bdk_file_store":[["impl From<Error> for FileError"],["impl From<Error> for IterError"]], +"bdk_file_store":[["impl From<Error> for IterError"],["impl<'a> From<Error> for FileError<'a>"]], "bdk_tmp_plan":[["impl From<Error> for SigningError"],["impl From<Error> for SigningError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/error/trait.Error.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/error/trait.Error.js index bc1cc3294c..97d7cbd049 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/error/trait.Error.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/error/trait.Error.js @@ -2,6 +2,6 @@ "bdk":[["impl Error for Error"],["impl Error for Error"],["impl Error for PolicyError"],["impl Error for KeyError"],["impl Error for SignerError"],["impl<P: Display + Debug> Error for NewError<P>"]], "bdk_chain":[["impl<P: Debug> Error for NewError<P>"],["impl<P: Debug> Error for InsertTxError<P>"],["impl<P: Debug> Error for UpdateError<P>"],["impl<P: Debug> Error for UnresolvableConflict<P>"],["impl Error for UpdateNotConnectedError"],["impl Error for InsertBlockNotMatchingError"],["impl<P: Debug> Error for InsertTxError<P>"],["impl Error for InsertCheckpointError"],["impl<P: Debug> Error for UpdateError<P>"]], "bdk_coin_select":[["impl Error for SelectionError"]], -"bdk_file_store":[["impl Error for FileError"],["impl Error for IterError"]], +"bdk_file_store":[["impl Error for IterError"],["impl<'a> Error for FileError<'a>"]], "bdk_tmp_plan":[["impl Error for SigningError"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Debug.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Debug.js index 5f0df04243..7ce8efe914 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Debug.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Debug.js @@ -1,8 +1,8 @@ (function() {var implementors = { "bdk":[["impl Debug for Error"],["impl Debug for Error"],["impl Debug for PkOrF"],["impl Debug for SatisfiableItem"],["impl Debug for Satisfaction"],["impl Debug for Policy"],["impl Debug for Condition"],["impl Debug for PolicyError"],["impl<'a> Debug for BuildSatisfaction<'a>"],["impl<Ctx: Debug + ScriptContext> Debug for DescriptorKey<Ctx>"],["impl Debug for ScriptContextEnum"],["impl Debug for PrivateKeyGenerateOptions"],["impl Debug for KeyError"],["impl Debug for KeychainKind"],["impl Debug for FeeRate"],["impl Debug for LocalUtxo"],["impl Debug for WeightedUtxo"],["impl Debug for Utxo"],["impl Debug for TransactionDetails"],["impl Debug for Excess"],["impl Debug for CoinSelectionResult"],["impl Debug for LargestFirstCoinSelection"],["impl Debug for OldestFirstCoinSelection"],["impl Debug for BranchAndBoundCoinSelection"],["impl Debug for FullyNodedExport"],["impl Debug for SignerId"],["impl Debug for SignerError"],["impl Debug for SignerContext"],["impl<S: Debug + Sized + Debug + Clone> Debug for SignerWrapper<S>"],["impl Debug for SignerOrdering"],["impl Debug for SignersContainer"],["impl Debug for SignOptions"],["impl Debug for TapLeavesOptions"],["impl Debug for CreateTx"],["impl Debug for BumpFee"],["impl<'a, D: Debug, Cs: Debug, Ctx: Debug> Debug for TxBuilder<'a, D, Cs, Ctx>"],["impl Debug for TxOrdering"],["impl Debug for ChangeSpendPolicy"],["impl<D: Debug> Debug for Wallet<D>"],["impl Debug for AddressIndex"],["impl Debug for AddressInfo"],["impl<P: Debug> Debug for NewError<P>"]], -"bdk_chain":[["impl<P: Debug> Debug for ChainGraph<P>"],["impl<P: Debug> Debug for ChangeSet<P>"],["impl<P: Debug> Debug for NewError<P>"],["impl<P: Debug> Debug for InsertTxError<P>"],["impl<P: Debug> Debug for UpdateError<P>"],["impl<P: Debug> Debug for UnresolvableConflict<P>"],["impl<I: Debug> Debug for SpkTxOutIndex<I>"],["impl<A: Debug> Debug for ObservedAs<A>"],["impl Debug for TxHeight"],["impl Debug for ConfirmationTime"],["impl Debug for BlockId"],["impl Debug for ConfirmationHeightAnchor"],["impl Debug for ConfirmationTimeAnchor"],["impl<P: Debug> Debug for FullTxOut<P>"],["impl<A: Debug, I: Debug> Debug for IndexedTxGraph<A, I>"],["impl<A: Debug, IA: Debug> Debug for IndexedAdditions<A, IA>"],["impl<K: Debug, P: Debug, B: Debug> Debug for Persist<K, P, B>"],["impl<K: Debug, P: Debug> Debug for KeychainTracker<K, P>"],["impl<K: Debug> Debug for KeychainTxOutIndex<K>"],["impl<K: Debug> Debug for DerivationAdditions<K>"],["impl<K: Debug, P: Debug> Debug for KeychainScan<K, P>"],["impl<K: Debug, P: Debug> Debug for KeychainChangeSet<K, P>"],["impl Debug for Balance"],["impl Debug for LocalChain"],["impl Debug for UpdateNotConnectedError"],["impl Debug for InsertBlockNotMatchingError"],["impl<P: Debug> Debug for SparseChain<P>"],["impl<P: Debug> Debug for InsertTxError<P>"],["impl Debug for InsertCheckpointError"],["impl<P: Debug> Debug for UpdateError<P>"],["impl<P: Debug> Debug for ChangeSet<P>"],["impl<A: Debug> Debug for TxGraph<A>"],["impl<'a, T: Debug, A: Debug> Debug for TxNode<'a, T, A>"],["impl<'a, T: Debug, A: Debug> Debug for CanonicalTx<'a, T, A>"],["impl<A: Debug> Debug for Additions<A>"]], +"bdk_chain":[["impl<P: Debug> Debug for ChainGraph<P>"],["impl<P: Debug> Debug for ChangeSet<P>"],["impl<P: Debug> Debug for NewError<P>"],["impl<P: Debug> Debug for InsertTxError<P>"],["impl<P: Debug> Debug for UpdateError<P>"],["impl<P: Debug> Debug for UnresolvableConflict<P>"],["impl<I: Debug> Debug for SpkTxOutIndex<I>"],["impl<A: Debug> Debug for ObservedAs<A>"],["impl Debug for TxHeight"],["impl Debug for ConfirmationTime"],["impl Debug for BlockId"],["impl Debug for ConfirmationHeightAnchor"],["impl Debug for ConfirmationTimeAnchor"],["impl<P: Debug> Debug for FullTxOut<P>"],["impl<A: Debug, I: Debug> Debug for IndexedTxGraph<A, I>"],["impl<A: Debug, IA: Debug> Debug for IndexedAdditions<A, IA>"],["impl<K: Debug, P: Debug, B: Debug> Debug for Persist<K, P, B>"],["impl<K: Debug, P: Debug> Debug for KeychainTracker<K, P>"],["impl<K: Debug> Debug for KeychainTxOutIndex<K>"],["impl<K: Debug> Debug for DerivationAdditions<K>"],["impl<K: Debug, P: Debug> Debug for KeychainScan<K, P>"],["impl<K: Debug, P: Debug> Debug for KeychainChangeSet<K, P>"],["impl Debug for Balance"],["impl Debug for LocalChain"],["impl Debug for UpdateNotConnectedError"],["impl Debug for InsertBlockNotMatchingError"],["impl<P: Debug> Debug for SparseChain<P>"],["impl<P: Debug> Debug for InsertTxError<P>"],["impl Debug for InsertCheckpointError"],["impl<P: Debug> Debug for UpdateError<P>"],["impl<P: Debug> Debug for ChangeSet<P>"],["impl<A: Debug> Debug for TxGraph<A>"],["impl<'a, T: Debug, A: Debug> Debug for TxNode<'a, T, A>"],["impl<'a, T: Debug, A: Debug> Debug for CanonicalTx<'a, T, A>"],["impl<A: Debug> Debug for Additions<A>"],["impl<B: Debug, C: Debug> Debug for Persist<B, C>"]], "bdk_coin_select":[["impl Debug for WeightedValue"],["impl Debug for CoinSelectorOpt"],["impl<'a> Debug for CoinSelector<'a>"],["impl Debug for SelectionError"],["impl Debug for SelectionConstraint"],["impl Debug for Selection"],["impl Debug for ExcessStrategyKind"],["impl Debug for ExcessStrategy"]], -"bdk_file_store":[["impl<K: Debug, P: Debug> Debug for KeychainStore<K, P>"],["impl Debug for FileError"],["impl Debug for IterError"]], +"bdk_file_store":[["impl Debug for IterError"],["impl<K: Debug, P: Debug> Debug for KeychainStore<K, P>"],["impl<'a, C: Debug> Debug for Store<'a, C>"],["impl<'a> Debug for FileError<'a>"]], "bdk_tmp_plan":[["impl<Ak: Debug> Debug for Requirements<Ak>"],["impl<Ak: Debug> Debug for RequiredSignatures<Ak>"],["impl Debug for SigningError"],["impl<Ak: Debug> Debug for PlanKey<Ak>"],["impl<AK: Debug> Debug for Plan<AK>"],["impl Debug for SatisfactionMaterial"],["impl<K: Debug> Debug for Assets<K>"]], "keychain_tracker_electrum_example":[["impl Debug for ElectrumCommands"],["impl Debug for ScanOptions"]], "keychain_tracker_esplora_example":[["impl Debug for EsploraCommands"],["impl Debug for ScanOptions"]], diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Display.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Display.js index b4f137e1df..2e30fc46a9 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Display.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/fmt/trait.Display.js @@ -2,7 +2,7 @@ "bdk":[["impl Display for Error"],["impl Display for Error"],["impl Display for PolicyError"],["impl Display for KeyError"],["impl Display for SignerError"],["impl Display for AddressInfo"],["impl<P> Display for NewError<P>where
        P: Display,
    "]], "bdk_chain":[["impl<P: Debug> Display for NewError<P>"],["impl<P: Debug> Display for InsertTxError<P>"],["impl<P: Debug> Display for UpdateError<P>"],["impl<P: Debug> Display for UnresolvableConflict<P>"],["impl Display for TxHeight"],["impl Display for Balance"],["impl Display for UpdateNotConnectedError"],["impl Display for InsertBlockNotMatchingError"],["impl<P: Debug> Display for InsertTxError<P>"],["impl Display for InsertCheckpointError"],["impl<P: Debug> Display for UpdateError<P>"]], "bdk_coin_select":[["impl Display for SelectionError"],["impl Display for SelectionConstraint"],["impl Display for ExcessStrategyKind"]], -"bdk_file_store":[["impl Display for FileError"],["impl Display for IterError"]], +"bdk_file_store":[["impl Display for IterError"],["impl<'a> Display for FileError<'a>"]], "bdk_tmp_plan":[["impl Display for SigningError"]], "keychain_tracker_example_cli":[["impl Display for CoinSelectionAlgo"],["impl Display for Keychain"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/iter/traits/iterator/trait.Iterator.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/iter/traits/iterator/trait.Iterator.js index 1d69878039..be46f0058d 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/iter/traits/iterator/trait.Iterator.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/iter/traits/iterator/trait.Iterator.js @@ -1,5 +1,5 @@ (function() {var implementors = { "bdk_chain":[["impl<'g, A, F, O> Iterator for TxDescendants<'g, A, F>where
        F: FnMut(usize, Txid) -> Option<O>,
    "],["impl<D> Iterator for SpkIterator<D>where
        D: Borrow<Descriptor<DescriptorPublicKey>>,
    "]], "bdk_coin_select":[["impl<'c, 'f, S: Ord + Copy + Display> Iterator for BnbIter<'c, 'f, S>"]], -"bdk_file_store":[["impl<'a, V> Iterator for EntryIter<'a, V>where
        V: DeserializeOwned,
    "]] +"bdk_file_store":[["impl<'t, T> Iterator for EntryIter<'t, T>where
        T: DeserializeOwned,
    "]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Freeze.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Freeze.js index f9c4d19459..a335218f51 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Freeze.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Freeze.js @@ -1,9 +1,9 @@ (function() {var implementors = { "bdk":[["impl Freeze for Error",1,["bdk::error::Error"]],["impl Freeze for Error",1,["bdk::descriptor::error::Error"]],["impl Freeze for PkOrF",1,["bdk::descriptor::policy::PkOrF"]],["impl Freeze for SatisfiableItem",1,["bdk::descriptor::policy::SatisfiableItem"]],["impl Freeze for Satisfaction",1,["bdk::descriptor::policy::Satisfaction"]],["impl Freeze for Policy",1,["bdk::descriptor::policy::Policy"]],["impl Freeze for Condition",1,["bdk::descriptor::policy::Condition"]],["impl Freeze for PolicyError",1,["bdk::descriptor::policy::PolicyError"]],["impl<'a> Freeze for BuildSatisfaction<'a>",1,["bdk::descriptor::policy::BuildSatisfaction"]],["impl<K> Freeze for P2Pkh<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::P2Pkh"]],["impl<K> Freeze for P2Wpkh_P2Sh<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::P2Wpkh_P2Sh"]],["impl<K> Freeze for P2Wpkh<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::P2Wpkh"]],["impl<K> Freeze for Bip44<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::Bip44"]],["impl<K> Freeze for Bip44Public<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::Bip44Public"]],["impl<K> Freeze for Bip49<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::Bip49"]],["impl<K> Freeze for Bip49Public<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::Bip49Public"]],["impl<K> Freeze for Bip84<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::Bip84"]],["impl<K> Freeze for Bip84Public<K>where
        K: Freeze,
    ",1,["bdk::descriptor::template::Bip84Public"]],["impl<Ctx> Freeze for DescriptorKey<Ctx>",1,["bdk::keys::DescriptorKey"]],["impl Freeze for ScriptContextEnum",1,["bdk::keys::ScriptContextEnum"]],["impl<Ctx> Freeze for ExtendedKey<Ctx>",1,["bdk::keys::ExtendedKey"]],["impl<K, Ctx> Freeze for GeneratedKey<K, Ctx>where
        K: Freeze,
    ",1,["bdk::keys::GeneratedKey"]],["impl Freeze for PrivateKeyGenerateOptions",1,["bdk::keys::PrivateKeyGenerateOptions"]],["impl Freeze for KeyError",1,["bdk::keys::KeyError"]],["impl Freeze for KeychainKind",1,["bdk::types::KeychainKind"]],["impl Freeze for FeeRate",1,["bdk::types::FeeRate"]],["impl Freeze for LocalUtxo",1,["bdk::types::LocalUtxo"]],["impl Freeze for WeightedUtxo",1,["bdk::types::WeightedUtxo"]],["impl Freeze for Utxo",1,["bdk::types::Utxo"]],["impl Freeze for TransactionDetails",1,["bdk::types::TransactionDetails"]],["impl Freeze for Excess",1,["bdk::wallet::coin_selection::Excess"]],["impl Freeze for CoinSelectionResult",1,["bdk::wallet::coin_selection::CoinSelectionResult"]],["impl Freeze for LargestFirstCoinSelection",1,["bdk::wallet::coin_selection::LargestFirstCoinSelection"]],["impl Freeze for OldestFirstCoinSelection",1,["bdk::wallet::coin_selection::OldestFirstCoinSelection"]],["impl Freeze for BranchAndBoundCoinSelection",1,["bdk::wallet::coin_selection::BranchAndBoundCoinSelection"]],["impl Freeze for FullyNodedExport",1,["bdk::wallet::export::FullyNodedExport"]],["impl Freeze for SignerId",1,["bdk::wallet::signer::SignerId"]],["impl Freeze for SignerError",1,["bdk::wallet::signer::SignerError"]],["impl Freeze for SignerContext",1,["bdk::wallet::signer::SignerContext"]],["impl<S> Freeze for SignerWrapper<S>where
        S: Freeze,
    ",1,["bdk::wallet::signer::SignerWrapper"]],["impl Freeze for SignerOrdering",1,["bdk::wallet::signer::SignerOrdering"]],["impl Freeze for SignersContainer",1,["bdk::wallet::signer::SignersContainer"]],["impl Freeze for SignOptions",1,["bdk::wallet::signer::SignOptions"]],["impl Freeze for TapLeavesOptions",1,["bdk::wallet::signer::TapLeavesOptions"]],["impl Freeze for CreateTx",1,["bdk::wallet::tx_builder::CreateTx"]],["impl Freeze for BumpFee",1,["bdk::wallet::tx_builder::BumpFee"]],["impl<'a, D, Cs, Ctx> Freeze for TxBuilder<'a, D, Cs, Ctx>where
        Cs: Freeze,
    ",1,["bdk::wallet::tx_builder::TxBuilder"]],["impl Freeze for TxOrdering",1,["bdk::wallet::tx_builder::TxOrdering"]],["impl Freeze for ChangeSpendPolicy",1,["bdk::wallet::tx_builder::ChangeSpendPolicy"]],["impl<D> Freeze for Wallet<D>where
        D: Freeze,
    ",1,["bdk::wallet::Wallet"]],["impl Freeze for AddressIndex",1,["bdk::wallet::AddressIndex"]],["impl Freeze for AddressInfo",1,["bdk::wallet::AddressInfo"]],["impl<P> Freeze for NewError<P>where
        P: Freeze,
    ",1,["bdk::wallet::NewError"]]], -"bdk_chain":[["impl<P> Freeze for ChainGraph<P>",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Freeze for ChangeSet<P>",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Freeze for NewError<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Freeze for InsertTxError<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Freeze for UpdateError<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Freeze for UnresolvableConflict<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Freeze for SpkTxOutIndex<I>",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Freeze for ObservedAs<A>where
        A: Freeze,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Freeze for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Freeze for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Freeze for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Freeze for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Freeze for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Freeze for FullTxOut<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Freeze for IndexedTxGraph<A, I>where
        I: Freeze,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Freeze for IndexedAdditions<A, IA>where
        IA: Freeze,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Freeze for Persist<K, P, B>where
        B: Freeze,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Freeze for KeychainTracker<K, P>",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Freeze for KeychainTxOutIndex<K>",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Freeze for DerivationAdditions<K>",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Freeze for KeychainScan<K, P>",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Freeze for KeychainChangeSet<K, P>",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Freeze for Balance",1,["bdk_chain::keychain::Balance"]],["impl Freeze for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Freeze for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Freeze for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Freeze for SparseChain<P>",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Freeze for InsertTxError<P>where
        P: Freeze,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Freeze for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Freeze for UpdateError<P>where
        P: Freeze,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Freeze for ChangeSet<P>",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Freeze for TxGraph<A>",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Freeze for TxNode<'a, T, A>",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Freeze for CanonicalTx<'a, T, A>",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Freeze for Additions<A>",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Freeze for TxDescendants<'g, A, F>where
        F: Freeze,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<D> Freeze for SpkIterator<D>where
        D: Freeze,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], +"bdk_chain":[["impl<P> Freeze for ChainGraph<P>",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Freeze for ChangeSet<P>",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Freeze for NewError<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Freeze for InsertTxError<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Freeze for UpdateError<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Freeze for UnresolvableConflict<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Freeze for SpkTxOutIndex<I>",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Freeze for ObservedAs<A>where
        A: Freeze,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Freeze for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Freeze for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Freeze for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Freeze for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Freeze for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Freeze for FullTxOut<P>where
        P: Freeze,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Freeze for IndexedTxGraph<A, I>where
        I: Freeze,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Freeze for IndexedAdditions<A, IA>where
        IA: Freeze,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Freeze for Persist<K, P, B>where
        B: Freeze,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Freeze for KeychainTracker<K, P>",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Freeze for KeychainTxOutIndex<K>",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Freeze for DerivationAdditions<K>",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Freeze for KeychainScan<K, P>",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Freeze for KeychainChangeSet<K, P>",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Freeze for Balance",1,["bdk_chain::keychain::Balance"]],["impl Freeze for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Freeze for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Freeze for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Freeze for SparseChain<P>",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Freeze for InsertTxError<P>where
        P: Freeze,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Freeze for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Freeze for UpdateError<P>where
        P: Freeze,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Freeze for ChangeSet<P>",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Freeze for TxGraph<A>",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Freeze for TxNode<'a, T, A>",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Freeze for CanonicalTx<'a, T, A>",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Freeze for Additions<A>",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Freeze for TxDescendants<'g, A, F>where
        F: Freeze,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<B, C> Freeze for Persist<B, C>where
        B: Freeze,
        C: Freeze,
    ",1,["bdk_chain::persist::Persist"]],["impl<D> Freeze for SpkIterator<D>where
        D: Freeze,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], "bdk_coin_select":[["impl Freeze for WeightedValue",1,["bdk_coin_select::coin_selector::WeightedValue"]],["impl Freeze for CoinSelectorOpt",1,["bdk_coin_select::coin_selector::CoinSelectorOpt"]],["impl<'a> Freeze for CoinSelector<'a>",1,["bdk_coin_select::coin_selector::CoinSelector"]],["impl Freeze for SelectionError",1,["bdk_coin_select::coin_selector::SelectionError"]],["impl Freeze for SelectionConstraint",1,["bdk_coin_select::coin_selector::SelectionConstraint"]],["impl Freeze for Selection",1,["bdk_coin_select::coin_selector::Selection"]],["impl Freeze for ExcessStrategyKind",1,["bdk_coin_select::coin_selector::ExcessStrategyKind"]],["impl Freeze for ExcessStrategy",1,["bdk_coin_select::coin_selector::ExcessStrategy"]],["impl Freeze for BranchStrategy",1,["bdk_coin_select::bnb::BranchStrategy"]],["impl<'c, S> Freeze for Bnb<'c, S>where
        S: Freeze,
    ",1,["bdk_coin_select::bnb::Bnb"]],["impl<'c, 'f, S> Freeze for BnbIter<'c, 'f, S>where
        S: Freeze,
    ",1,["bdk_coin_select::bnb::BnbIter"]],["impl Freeze for BnbLimit",1,["bdk_coin_select::bnb::BnbLimit"]]], "bdk_electrum":[["impl<K, P> Freeze for ElectrumUpdate<K, P>",1,["bdk_electrum::ElectrumUpdate"]]], -"bdk_file_store":[["impl<K, P> Freeze for KeychainStore<K, P>",1,["bdk_file_store::file_store::KeychainStore"]],["impl Freeze for FileError",1,["bdk_file_store::file_store::FileError"]],["impl Freeze for IterError",1,["bdk_file_store::file_store::IterError"]],["impl<'a, V> Freeze for EntryIter<'a, V>",1,["bdk_file_store::file_store::EntryIter"]]], +"bdk_file_store":[["impl<'t, T> Freeze for EntryIter<'t, T>",1,["bdk_file_store::entry_iter::EntryIter"]],["impl Freeze for IterError",1,["bdk_file_store::entry_iter::IterError"]],["impl<K, P> Freeze for KeychainStore<K, P>",1,["bdk_file_store::keychain_store::KeychainStore"]],["impl<'a, C> Freeze for Store<'a, C>",1,["bdk_file_store::store::Store"]],["impl<'a> Freeze for FileError<'a>",1,["bdk_file_store::FileError"]]], "bdk_tmp_plan":[["impl<Ak> Freeze for Requirements<Ak>where
        Ak: Freeze,
    ",1,["bdk_tmp_plan::requirements::Requirements"]],["impl<Ak> Freeze for RequiredSignatures<Ak>where
        Ak: Freeze,
    ",1,["bdk_tmp_plan::requirements::RequiredSignatures"]],["impl Freeze for SigningError",1,["bdk_tmp_plan::requirements::SigningError"]],["impl<Ak> Freeze for PlanKey<Ak>where
        Ak: Freeze,
    ",1,["bdk_tmp_plan::template::PlanKey"]],["impl<AK> !Freeze for Plan<AK>",1,["bdk_tmp_plan::Plan"]],["impl Freeze for SatisfactionMaterial",1,["bdk_tmp_plan::SatisfactionMaterial"]],["impl<Ak> Freeze for PlanState<Ak>where
        Ak: Freeze,
    ",1,["bdk_tmp_plan::PlanState"]],["impl<K> Freeze for Assets<K>",1,["bdk_tmp_plan::Assets"]]], "keychain_tracker_electrum_example":[["impl Freeze for ElectrumCommands",1,["keychain_tracker_electrum_example::ElectrumCommands"]],["impl Freeze for ScanOptions",1,["keychain_tracker_electrum_example::ScanOptions"]]], "keychain_tracker_esplora_example":[["impl Freeze for EsploraCommands",1,["keychain_tracker_esplora_example::EsploraCommands"]],["impl Freeze for ScanOptions",1,["keychain_tracker_esplora_example::ScanOptions"]]], diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Send.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Send.js index d2c3169c9f..b8a7a6fa3b 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Send.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Send.js @@ -1,9 +1,9 @@ (function() {var implementors = { "bdk":[["impl Send for Error",1,["bdk::error::Error"]],["impl Send for Error",1,["bdk::descriptor::error::Error"]],["impl Send for PkOrF",1,["bdk::descriptor::policy::PkOrF"]],["impl Send for SatisfiableItem",1,["bdk::descriptor::policy::SatisfiableItem"]],["impl Send for Satisfaction",1,["bdk::descriptor::policy::Satisfaction"]],["impl Send for Policy",1,["bdk::descriptor::policy::Policy"]],["impl Send for Condition",1,["bdk::descriptor::policy::Condition"]],["impl Send for PolicyError",1,["bdk::descriptor::policy::PolicyError"]],["impl<'a> Send for BuildSatisfaction<'a>",1,["bdk::descriptor::policy::BuildSatisfaction"]],["impl<K> Send for P2Pkh<K>where
        K: Send,
    ",1,["bdk::descriptor::template::P2Pkh"]],["impl<K> Send for P2Wpkh_P2Sh<K>where
        K: Send,
    ",1,["bdk::descriptor::template::P2Wpkh_P2Sh"]],["impl<K> Send for P2Wpkh<K>where
        K: Send,
    ",1,["bdk::descriptor::template::P2Wpkh"]],["impl<K> Send for Bip44<K>where
        K: Send,
    ",1,["bdk::descriptor::template::Bip44"]],["impl<K> Send for Bip44Public<K>where
        K: Send,
    ",1,["bdk::descriptor::template::Bip44Public"]],["impl<K> Send for Bip49<K>where
        K: Send,
    ",1,["bdk::descriptor::template::Bip49"]],["impl<K> Send for Bip49Public<K>where
        K: Send,
    ",1,["bdk::descriptor::template::Bip49Public"]],["impl<K> Send for Bip84<K>where
        K: Send,
    ",1,["bdk::descriptor::template::Bip84"]],["impl<K> Send for Bip84Public<K>where
        K: Send,
    ",1,["bdk::descriptor::template::Bip84Public"]],["impl<Ctx> Send for DescriptorKey<Ctx>where
        Ctx: Send,
    ",1,["bdk::keys::DescriptorKey"]],["impl Send for ScriptContextEnum",1,["bdk::keys::ScriptContextEnum"]],["impl<Ctx> Send for ExtendedKey<Ctx>where
        Ctx: Send,
    ",1,["bdk::keys::ExtendedKey"]],["impl<K, Ctx> Send for GeneratedKey<K, Ctx>where
        Ctx: Send,
        K: Send,
    ",1,["bdk::keys::GeneratedKey"]],["impl Send for PrivateKeyGenerateOptions",1,["bdk::keys::PrivateKeyGenerateOptions"]],["impl Send for KeyError",1,["bdk::keys::KeyError"]],["impl Send for KeychainKind",1,["bdk::types::KeychainKind"]],["impl Send for FeeRate",1,["bdk::types::FeeRate"]],["impl Send for LocalUtxo",1,["bdk::types::LocalUtxo"]],["impl Send for WeightedUtxo",1,["bdk::types::WeightedUtxo"]],["impl Send for Utxo",1,["bdk::types::Utxo"]],["impl Send for TransactionDetails",1,["bdk::types::TransactionDetails"]],["impl Send for Excess",1,["bdk::wallet::coin_selection::Excess"]],["impl Send for CoinSelectionResult",1,["bdk::wallet::coin_selection::CoinSelectionResult"]],["impl Send for LargestFirstCoinSelection",1,["bdk::wallet::coin_selection::LargestFirstCoinSelection"]],["impl Send for OldestFirstCoinSelection",1,["bdk::wallet::coin_selection::OldestFirstCoinSelection"]],["impl Send for BranchAndBoundCoinSelection",1,["bdk::wallet::coin_selection::BranchAndBoundCoinSelection"]],["impl Send for FullyNodedExport",1,["bdk::wallet::export::FullyNodedExport"]],["impl Send for SignerId",1,["bdk::wallet::signer::SignerId"]],["impl Send for SignerError",1,["bdk::wallet::signer::SignerError"]],["impl Send for SignerContext",1,["bdk::wallet::signer::SignerContext"]],["impl<S> Send for SignerWrapper<S>where
        S: Send,
    ",1,["bdk::wallet::signer::SignerWrapper"]],["impl Send for SignerOrdering",1,["bdk::wallet::signer::SignerOrdering"]],["impl Send for SignersContainer",1,["bdk::wallet::signer::SignersContainer"]],["impl Send for SignOptions",1,["bdk::wallet::signer::SignOptions"]],["impl Send for TapLeavesOptions",1,["bdk::wallet::signer::TapLeavesOptions"]],["impl Send for CreateTx",1,["bdk::wallet::tx_builder::CreateTx"]],["impl Send for BumpFee",1,["bdk::wallet::tx_builder::BumpFee"]],["impl<'a, D, Cs, Ctx> !Send for TxBuilder<'a, D, Cs, Ctx>",1,["bdk::wallet::tx_builder::TxBuilder"]],["impl Send for TxOrdering",1,["bdk::wallet::tx_builder::TxOrdering"]],["impl Send for ChangeSpendPolicy",1,["bdk::wallet::tx_builder::ChangeSpendPolicy"]],["impl<D> Send for Wallet<D>where
        D: Send,
    ",1,["bdk::wallet::Wallet"]],["impl Send for AddressIndex",1,["bdk::wallet::AddressIndex"]],["impl Send for AddressInfo",1,["bdk::wallet::AddressInfo"]],["impl<P> Send for NewError<P>where
        P: Send,
    ",1,["bdk::wallet::NewError"]]], -"bdk_chain":[["impl<P> Send for ChainGraph<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Send for ChangeSet<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Send for NewError<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Send for InsertTxError<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Send for UpdateError<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Send for UnresolvableConflict<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Send for SpkTxOutIndex<I>where
        I: Send,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Send for ObservedAs<A>where
        A: Send,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Send for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Send for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Send for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Send for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Send for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Send for FullTxOut<P>where
        P: Send,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Send for IndexedTxGraph<A, I>where
        A: Send,
        I: Send,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Send for IndexedAdditions<A, IA>where
        A: Send,
        IA: Send,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Send for Persist<K, P, B>where
        B: Send,
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Send for KeychainTracker<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Send for KeychainTxOutIndex<K>where
        K: Send,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Send for DerivationAdditions<K>where
        K: Send,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Send for KeychainScan<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Send for KeychainChangeSet<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Send for Balance",1,["bdk_chain::keychain::Balance"]],["impl Send for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Send for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Send for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Send for SparseChain<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Send for InsertTxError<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Send for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Send for UpdateError<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Send for ChangeSet<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Send for TxGraph<A>where
        A: Send,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Send for TxNode<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Send for CanonicalTx<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Send for Additions<A>where
        A: Send,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Send for TxDescendants<'g, A, F>where
        A: Sync,
        F: Send,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<D> Send for SpkIterator<D>where
        D: Send,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], +"bdk_chain":[["impl<P> Send for ChainGraph<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Send for ChangeSet<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Send for NewError<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Send for InsertTxError<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Send for UpdateError<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Send for UnresolvableConflict<P>where
        P: Send,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Send for SpkTxOutIndex<I>where
        I: Send,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Send for ObservedAs<A>where
        A: Send,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Send for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Send for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Send for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Send for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Send for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Send for FullTxOut<P>where
        P: Send,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Send for IndexedTxGraph<A, I>where
        A: Send,
        I: Send,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Send for IndexedAdditions<A, IA>where
        A: Send,
        IA: Send,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Send for Persist<K, P, B>where
        B: Send,
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Send for KeychainTracker<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Send for KeychainTxOutIndex<K>where
        K: Send,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Send for DerivationAdditions<K>where
        K: Send,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Send for KeychainScan<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Send for KeychainChangeSet<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Send for Balance",1,["bdk_chain::keychain::Balance"]],["impl Send for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Send for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Send for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Send for SparseChain<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Send for InsertTxError<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Send for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Send for UpdateError<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Send for ChangeSet<P>where
        P: Send,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Send for TxGraph<A>where
        A: Send,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Send for TxNode<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Send for CanonicalTx<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Send for Additions<A>where
        A: Send,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Send for TxDescendants<'g, A, F>where
        A: Sync,
        F: Send,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<B, C> Send for Persist<B, C>where
        B: Send,
        C: Send,
    ",1,["bdk_chain::persist::Persist"]],["impl<D> Send for SpkIterator<D>where
        D: Send,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], "bdk_coin_select":[["impl Send for WeightedValue",1,["bdk_coin_select::coin_selector::WeightedValue"]],["impl Send for CoinSelectorOpt",1,["bdk_coin_select::coin_selector::CoinSelectorOpt"]],["impl<'a> Send for CoinSelector<'a>",1,["bdk_coin_select::coin_selector::CoinSelector"]],["impl Send for SelectionError",1,["bdk_coin_select::coin_selector::SelectionError"]],["impl Send for SelectionConstraint",1,["bdk_coin_select::coin_selector::SelectionConstraint"]],["impl Send for Selection",1,["bdk_coin_select::coin_selector::Selection"]],["impl Send for ExcessStrategyKind",1,["bdk_coin_select::coin_selector::ExcessStrategyKind"]],["impl Send for ExcessStrategy",1,["bdk_coin_select::coin_selector::ExcessStrategy"]],["impl Send for BranchStrategy",1,["bdk_coin_select::bnb::BranchStrategy"]],["impl<'c, S> Send for Bnb<'c, S>where
        S: Send,
    ",1,["bdk_coin_select::bnb::Bnb"]],["impl<'c, 'f, S> !Send for BnbIter<'c, 'f, S>",1,["bdk_coin_select::bnb::BnbIter"]],["impl Send for BnbLimit",1,["bdk_coin_select::bnb::BnbLimit"]]], "bdk_electrum":[["impl<K, P> Send for ElectrumUpdate<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_electrum::ElectrumUpdate"]]], -"bdk_file_store":[["impl<K, P> Send for KeychainStore<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_file_store::file_store::KeychainStore"]],["impl Send for FileError",1,["bdk_file_store::file_store::FileError"]],["impl Send for IterError",1,["bdk_file_store::file_store::IterError"]],["impl<'a, V> Send for EntryIter<'a, V>where
        V: Send,
    ",1,["bdk_file_store::file_store::EntryIter"]]], +"bdk_file_store":[["impl<'t, T> Send for EntryIter<'t, T>where
        T: Send,
    ",1,["bdk_file_store::entry_iter::EntryIter"]],["impl Send for IterError",1,["bdk_file_store::entry_iter::IterError"]],["impl<K, P> Send for KeychainStore<K, P>where
        K: Send,
        P: Send,
    ",1,["bdk_file_store::keychain_store::KeychainStore"]],["impl<'a, C> Send for Store<'a, C>where
        C: Send,
    ",1,["bdk_file_store::store::Store"]],["impl<'a> Send for FileError<'a>",1,["bdk_file_store::FileError"]]], "bdk_tmp_plan":[["impl<Ak> Send for Requirements<Ak>where
        Ak: Send,
    ",1,["bdk_tmp_plan::requirements::Requirements"]],["impl<Ak> Send for RequiredSignatures<Ak>where
        Ak: Send,
    ",1,["bdk_tmp_plan::requirements::RequiredSignatures"]],["impl Send for SigningError",1,["bdk_tmp_plan::requirements::SigningError"]],["impl<Ak> Send for PlanKey<Ak>where
        Ak: Send,
    ",1,["bdk_tmp_plan::template::PlanKey"]],["impl<AK> Send for Plan<AK>where
        AK: Send,
    ",1,["bdk_tmp_plan::Plan"]],["impl Send for SatisfactionMaterial",1,["bdk_tmp_plan::SatisfactionMaterial"]],["impl<Ak> Send for PlanState<Ak>where
        Ak: Send,
    ",1,["bdk_tmp_plan::PlanState"]],["impl<K> Send for Assets<K>where
        K: Send,
    ",1,["bdk_tmp_plan::Assets"]]], "keychain_tracker_electrum_example":[["impl Send for ElectrumCommands",1,["keychain_tracker_electrum_example::ElectrumCommands"]],["impl Send for ScanOptions",1,["keychain_tracker_electrum_example::ScanOptions"]]], "keychain_tracker_esplora_example":[["impl Send for EsploraCommands",1,["keychain_tracker_esplora_example::EsploraCommands"]],["impl Send for ScanOptions",1,["keychain_tracker_esplora_example::ScanOptions"]]], diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Sync.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Sync.js index 19e295b84d..552a459ffb 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Sync.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Sync.js @@ -1,9 +1,9 @@ (function() {var implementors = { "bdk":[["impl Sync for Error",1,["bdk::error::Error"]],["impl Sync for Error",1,["bdk::descriptor::error::Error"]],["impl Sync for PkOrF",1,["bdk::descriptor::policy::PkOrF"]],["impl Sync for SatisfiableItem",1,["bdk::descriptor::policy::SatisfiableItem"]],["impl Sync for Satisfaction",1,["bdk::descriptor::policy::Satisfaction"]],["impl Sync for Policy",1,["bdk::descriptor::policy::Policy"]],["impl Sync for Condition",1,["bdk::descriptor::policy::Condition"]],["impl Sync for PolicyError",1,["bdk::descriptor::policy::PolicyError"]],["impl<'a> Sync for BuildSatisfaction<'a>",1,["bdk::descriptor::policy::BuildSatisfaction"]],["impl<K> Sync for P2Pkh<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::P2Pkh"]],["impl<K> Sync for P2Wpkh_P2Sh<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::P2Wpkh_P2Sh"]],["impl<K> Sync for P2Wpkh<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::P2Wpkh"]],["impl<K> Sync for Bip44<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::Bip44"]],["impl<K> Sync for Bip44Public<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::Bip44Public"]],["impl<K> Sync for Bip49<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::Bip49"]],["impl<K> Sync for Bip49Public<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::Bip49Public"]],["impl<K> Sync for Bip84<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::Bip84"]],["impl<K> Sync for Bip84Public<K>where
        K: Sync,
    ",1,["bdk::descriptor::template::Bip84Public"]],["impl<Ctx> Sync for DescriptorKey<Ctx>where
        Ctx: Sync,
    ",1,["bdk::keys::DescriptorKey"]],["impl Sync for ScriptContextEnum",1,["bdk::keys::ScriptContextEnum"]],["impl<Ctx> Sync for ExtendedKey<Ctx>where
        Ctx: Sync,
    ",1,["bdk::keys::ExtendedKey"]],["impl<K, Ctx> Sync for GeneratedKey<K, Ctx>where
        Ctx: Sync,
        K: Sync,
    ",1,["bdk::keys::GeneratedKey"]],["impl Sync for PrivateKeyGenerateOptions",1,["bdk::keys::PrivateKeyGenerateOptions"]],["impl Sync for KeyError",1,["bdk::keys::KeyError"]],["impl Sync for KeychainKind",1,["bdk::types::KeychainKind"]],["impl Sync for FeeRate",1,["bdk::types::FeeRate"]],["impl Sync for LocalUtxo",1,["bdk::types::LocalUtxo"]],["impl Sync for WeightedUtxo",1,["bdk::types::WeightedUtxo"]],["impl Sync for Utxo",1,["bdk::types::Utxo"]],["impl Sync for TransactionDetails",1,["bdk::types::TransactionDetails"]],["impl Sync for Excess",1,["bdk::wallet::coin_selection::Excess"]],["impl Sync for CoinSelectionResult",1,["bdk::wallet::coin_selection::CoinSelectionResult"]],["impl Sync for LargestFirstCoinSelection",1,["bdk::wallet::coin_selection::LargestFirstCoinSelection"]],["impl Sync for OldestFirstCoinSelection",1,["bdk::wallet::coin_selection::OldestFirstCoinSelection"]],["impl Sync for BranchAndBoundCoinSelection",1,["bdk::wallet::coin_selection::BranchAndBoundCoinSelection"]],["impl Sync for FullyNodedExport",1,["bdk::wallet::export::FullyNodedExport"]],["impl Sync for SignerId",1,["bdk::wallet::signer::SignerId"]],["impl Sync for SignerError",1,["bdk::wallet::signer::SignerError"]],["impl Sync for SignerContext",1,["bdk::wallet::signer::SignerContext"]],["impl<S> Sync for SignerWrapper<S>where
        S: Sync,
    ",1,["bdk::wallet::signer::SignerWrapper"]],["impl Sync for SignerOrdering",1,["bdk::wallet::signer::SignerOrdering"]],["impl Sync for SignersContainer",1,["bdk::wallet::signer::SignersContainer"]],["impl Sync for SignOptions",1,["bdk::wallet::signer::SignOptions"]],["impl Sync for TapLeavesOptions",1,["bdk::wallet::signer::TapLeavesOptions"]],["impl Sync for CreateTx",1,["bdk::wallet::tx_builder::CreateTx"]],["impl Sync for BumpFee",1,["bdk::wallet::tx_builder::BumpFee"]],["impl<'a, D, Cs, Ctx> !Sync for TxBuilder<'a, D, Cs, Ctx>",1,["bdk::wallet::tx_builder::TxBuilder"]],["impl Sync for TxOrdering",1,["bdk::wallet::tx_builder::TxOrdering"]],["impl Sync for ChangeSpendPolicy",1,["bdk::wallet::tx_builder::ChangeSpendPolicy"]],["impl<D> Sync for Wallet<D>where
        D: Sync,
    ",1,["bdk::wallet::Wallet"]],["impl Sync for AddressIndex",1,["bdk::wallet::AddressIndex"]],["impl Sync for AddressInfo",1,["bdk::wallet::AddressInfo"]],["impl<P> Sync for NewError<P>where
        P: Sync,
    ",1,["bdk::wallet::NewError"]]], -"bdk_chain":[["impl<P> Sync for ChainGraph<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Sync for ChangeSet<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Sync for NewError<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Sync for InsertTxError<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Sync for UpdateError<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Sync for UnresolvableConflict<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Sync for SpkTxOutIndex<I>where
        I: Sync,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Sync for ObservedAs<A>where
        A: Sync,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Sync for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Sync for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Sync for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Sync for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Sync for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Sync for FullTxOut<P>where
        P: Sync,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Sync for IndexedTxGraph<A, I>where
        A: Sync,
        I: Sync,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Sync for IndexedAdditions<A, IA>where
        A: Sync,
        IA: Sync,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Sync for Persist<K, P, B>where
        B: Sync,
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Sync for KeychainTracker<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Sync for KeychainTxOutIndex<K>where
        K: Sync,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Sync for DerivationAdditions<K>where
        K: Sync,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Sync for KeychainScan<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Sync for KeychainChangeSet<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Sync for Balance",1,["bdk_chain::keychain::Balance"]],["impl Sync for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Sync for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Sync for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Sync for SparseChain<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Sync for InsertTxError<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Sync for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Sync for UpdateError<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Sync for ChangeSet<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Sync for TxGraph<A>where
        A: Sync,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Sync for TxNode<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Sync for CanonicalTx<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Sync for Additions<A>where
        A: Sync,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Sync for TxDescendants<'g, A, F>where
        A: Sync,
        F: Sync,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<D> Sync for SpkIterator<D>where
        D: Sync,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], +"bdk_chain":[["impl<P> Sync for ChainGraph<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Sync for ChangeSet<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Sync for NewError<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Sync for InsertTxError<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Sync for UpdateError<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Sync for UnresolvableConflict<P>where
        P: Sync,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Sync for SpkTxOutIndex<I>where
        I: Sync,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Sync for ObservedAs<A>where
        A: Sync,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Sync for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Sync for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Sync for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Sync for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Sync for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Sync for FullTxOut<P>where
        P: Sync,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Sync for IndexedTxGraph<A, I>where
        A: Sync,
        I: Sync,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Sync for IndexedAdditions<A, IA>where
        A: Sync,
        IA: Sync,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Sync for Persist<K, P, B>where
        B: Sync,
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Sync for KeychainTracker<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Sync for KeychainTxOutIndex<K>where
        K: Sync,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Sync for DerivationAdditions<K>where
        K: Sync,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Sync for KeychainScan<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Sync for KeychainChangeSet<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Sync for Balance",1,["bdk_chain::keychain::Balance"]],["impl Sync for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Sync for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Sync for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Sync for SparseChain<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Sync for InsertTxError<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Sync for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Sync for UpdateError<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Sync for ChangeSet<P>where
        P: Sync,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Sync for TxGraph<A>where
        A: Sync,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Sync for TxNode<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Sync for CanonicalTx<'a, T, A>where
        A: Sync,
        T: Sync,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Sync for Additions<A>where
        A: Sync,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Sync for TxDescendants<'g, A, F>where
        A: Sync,
        F: Sync,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<B, C> Sync for Persist<B, C>where
        B: Sync,
        C: Sync,
    ",1,["bdk_chain::persist::Persist"]],["impl<D> Sync for SpkIterator<D>where
        D: Sync,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], "bdk_coin_select":[["impl Sync for WeightedValue",1,["bdk_coin_select::coin_selector::WeightedValue"]],["impl Sync for CoinSelectorOpt",1,["bdk_coin_select::coin_selector::CoinSelectorOpt"]],["impl<'a> Sync for CoinSelector<'a>",1,["bdk_coin_select::coin_selector::CoinSelector"]],["impl Sync for SelectionError",1,["bdk_coin_select::coin_selector::SelectionError"]],["impl Sync for SelectionConstraint",1,["bdk_coin_select::coin_selector::SelectionConstraint"]],["impl Sync for Selection",1,["bdk_coin_select::coin_selector::Selection"]],["impl Sync for ExcessStrategyKind",1,["bdk_coin_select::coin_selector::ExcessStrategyKind"]],["impl Sync for ExcessStrategy",1,["bdk_coin_select::coin_selector::ExcessStrategy"]],["impl Sync for BranchStrategy",1,["bdk_coin_select::bnb::BranchStrategy"]],["impl<'c, S> Sync for Bnb<'c, S>where
        S: Sync,
    ",1,["bdk_coin_select::bnb::Bnb"]],["impl<'c, 'f, S> !Sync for BnbIter<'c, 'f, S>",1,["bdk_coin_select::bnb::BnbIter"]],["impl Sync for BnbLimit",1,["bdk_coin_select::bnb::BnbLimit"]]], "bdk_electrum":[["impl<K, P> Sync for ElectrumUpdate<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_electrum::ElectrumUpdate"]]], -"bdk_file_store":[["impl<K, P> Sync for KeychainStore<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_file_store::file_store::KeychainStore"]],["impl Sync for FileError",1,["bdk_file_store::file_store::FileError"]],["impl Sync for IterError",1,["bdk_file_store::file_store::IterError"]],["impl<'a, V> Sync for EntryIter<'a, V>where
        V: Sync,
    ",1,["bdk_file_store::file_store::EntryIter"]]], +"bdk_file_store":[["impl<'t, T> Sync for EntryIter<'t, T>where
        T: Sync,
    ",1,["bdk_file_store::entry_iter::EntryIter"]],["impl Sync for IterError",1,["bdk_file_store::entry_iter::IterError"]],["impl<K, P> Sync for KeychainStore<K, P>where
        K: Sync,
        P: Sync,
    ",1,["bdk_file_store::keychain_store::KeychainStore"]],["impl<'a, C> Sync for Store<'a, C>where
        C: Sync,
    ",1,["bdk_file_store::store::Store"]],["impl<'a> Sync for FileError<'a>",1,["bdk_file_store::FileError"]]], "bdk_tmp_plan":[["impl<Ak> Sync for Requirements<Ak>where
        Ak: Sync,
    ",1,["bdk_tmp_plan::requirements::Requirements"]],["impl<Ak> Sync for RequiredSignatures<Ak>where
        Ak: Sync,
    ",1,["bdk_tmp_plan::requirements::RequiredSignatures"]],["impl Sync for SigningError",1,["bdk_tmp_plan::requirements::SigningError"]],["impl<Ak> Sync for PlanKey<Ak>where
        Ak: Sync,
    ",1,["bdk_tmp_plan::template::PlanKey"]],["impl<AK> Sync for Plan<AK>where
        AK: Sync,
    ",1,["bdk_tmp_plan::Plan"]],["impl Sync for SatisfactionMaterial",1,["bdk_tmp_plan::SatisfactionMaterial"]],["impl<Ak> Sync for PlanState<Ak>where
        Ak: Sync,
    ",1,["bdk_tmp_plan::PlanState"]],["impl<K> Sync for Assets<K>where
        K: Sync,
    ",1,["bdk_tmp_plan::Assets"]]], "keychain_tracker_electrum_example":[["impl Sync for ElectrumCommands",1,["keychain_tracker_electrum_example::ElectrumCommands"]],["impl Sync for ScanOptions",1,["keychain_tracker_electrum_example::ScanOptions"]]], "keychain_tracker_esplora_example":[["impl Sync for EsploraCommands",1,["keychain_tracker_esplora_example::EsploraCommands"]],["impl Sync for ScanOptions",1,["keychain_tracker_esplora_example::ScanOptions"]]], diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Unpin.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Unpin.js index 40d9664e11..6fd328609d 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Unpin.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/marker/trait.Unpin.js @@ -1,9 +1,9 @@ (function() {var implementors = { "bdk":[["impl Unpin for Error",1,["bdk::error::Error"]],["impl Unpin for Error",1,["bdk::descriptor::error::Error"]],["impl Unpin for PkOrF",1,["bdk::descriptor::policy::PkOrF"]],["impl Unpin for SatisfiableItem",1,["bdk::descriptor::policy::SatisfiableItem"]],["impl Unpin for Satisfaction",1,["bdk::descriptor::policy::Satisfaction"]],["impl Unpin for Policy",1,["bdk::descriptor::policy::Policy"]],["impl Unpin for Condition",1,["bdk::descriptor::policy::Condition"]],["impl Unpin for PolicyError",1,["bdk::descriptor::policy::PolicyError"]],["impl<'a> Unpin for BuildSatisfaction<'a>",1,["bdk::descriptor::policy::BuildSatisfaction"]],["impl<K> Unpin for P2Pkh<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::P2Pkh"]],["impl<K> Unpin for P2Wpkh_P2Sh<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::P2Wpkh_P2Sh"]],["impl<K> Unpin for P2Wpkh<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::P2Wpkh"]],["impl<K> Unpin for Bip44<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::Bip44"]],["impl<K> Unpin for Bip44Public<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::Bip44Public"]],["impl<K> Unpin for Bip49<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::Bip49"]],["impl<K> Unpin for Bip49Public<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::Bip49Public"]],["impl<K> Unpin for Bip84<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::Bip84"]],["impl<K> Unpin for Bip84Public<K>where
        K: Unpin,
    ",1,["bdk::descriptor::template::Bip84Public"]],["impl<Ctx> Unpin for DescriptorKey<Ctx>where
        Ctx: Unpin,
    ",1,["bdk::keys::DescriptorKey"]],["impl Unpin for ScriptContextEnum",1,["bdk::keys::ScriptContextEnum"]],["impl<Ctx> Unpin for ExtendedKey<Ctx>where
        Ctx: Unpin,
    ",1,["bdk::keys::ExtendedKey"]],["impl<K, Ctx> Unpin for GeneratedKey<K, Ctx>where
        Ctx: Unpin,
        K: Unpin,
    ",1,["bdk::keys::GeneratedKey"]],["impl Unpin for PrivateKeyGenerateOptions",1,["bdk::keys::PrivateKeyGenerateOptions"]],["impl Unpin for KeyError",1,["bdk::keys::KeyError"]],["impl Unpin for KeychainKind",1,["bdk::types::KeychainKind"]],["impl Unpin for FeeRate",1,["bdk::types::FeeRate"]],["impl Unpin for LocalUtxo",1,["bdk::types::LocalUtxo"]],["impl Unpin for WeightedUtxo",1,["bdk::types::WeightedUtxo"]],["impl Unpin for Utxo",1,["bdk::types::Utxo"]],["impl Unpin for TransactionDetails",1,["bdk::types::TransactionDetails"]],["impl Unpin for Excess",1,["bdk::wallet::coin_selection::Excess"]],["impl Unpin for CoinSelectionResult",1,["bdk::wallet::coin_selection::CoinSelectionResult"]],["impl Unpin for LargestFirstCoinSelection",1,["bdk::wallet::coin_selection::LargestFirstCoinSelection"]],["impl Unpin for OldestFirstCoinSelection",1,["bdk::wallet::coin_selection::OldestFirstCoinSelection"]],["impl Unpin for BranchAndBoundCoinSelection",1,["bdk::wallet::coin_selection::BranchAndBoundCoinSelection"]],["impl Unpin for FullyNodedExport",1,["bdk::wallet::export::FullyNodedExport"]],["impl Unpin for SignerId",1,["bdk::wallet::signer::SignerId"]],["impl Unpin for SignerError",1,["bdk::wallet::signer::SignerError"]],["impl Unpin for SignerContext",1,["bdk::wallet::signer::SignerContext"]],["impl<S> Unpin for SignerWrapper<S>where
        S: Unpin,
    ",1,["bdk::wallet::signer::SignerWrapper"]],["impl Unpin for SignerOrdering",1,["bdk::wallet::signer::SignerOrdering"]],["impl Unpin for SignersContainer",1,["bdk::wallet::signer::SignersContainer"]],["impl Unpin for SignOptions",1,["bdk::wallet::signer::SignOptions"]],["impl Unpin for TapLeavesOptions",1,["bdk::wallet::signer::TapLeavesOptions"]],["impl Unpin for CreateTx",1,["bdk::wallet::tx_builder::CreateTx"]],["impl Unpin for BumpFee",1,["bdk::wallet::tx_builder::BumpFee"]],["impl<'a, D, Cs, Ctx> Unpin for TxBuilder<'a, D, Cs, Ctx>where
        Cs: Unpin,
        Ctx: Unpin,
    ",1,["bdk::wallet::tx_builder::TxBuilder"]],["impl Unpin for TxOrdering",1,["bdk::wallet::tx_builder::TxOrdering"]],["impl Unpin for ChangeSpendPolicy",1,["bdk::wallet::tx_builder::ChangeSpendPolicy"]],["impl<D> Unpin for Wallet<D>where
        D: Unpin,
    ",1,["bdk::wallet::Wallet"]],["impl Unpin for AddressIndex",1,["bdk::wallet::AddressIndex"]],["impl Unpin for AddressInfo",1,["bdk::wallet::AddressInfo"]],["impl<P> Unpin for NewError<P>where
        P: Unpin,
    ",1,["bdk::wallet::NewError"]]], -"bdk_chain":[["impl<P> Unpin for ChainGraph<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Unpin for ChangeSet<P>",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Unpin for NewError<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Unpin for InsertTxError<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Unpin for UpdateError<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Unpin for UnresolvableConflict<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Unpin for SpkTxOutIndex<I>where
        I: Unpin,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Unpin for ObservedAs<A>where
        A: Unpin,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Unpin for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Unpin for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Unpin for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Unpin for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Unpin for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Unpin for FullTxOut<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Unpin for IndexedTxGraph<A, I>where
        I: Unpin,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Unpin for IndexedAdditions<A, IA>where
        IA: Unpin,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Unpin for Persist<K, P, B>where
        B: Unpin,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Unpin for KeychainTracker<K, P>where
        K: Unpin,
        P: Unpin,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Unpin for KeychainTxOutIndex<K>where
        K: Unpin,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Unpin for DerivationAdditions<K>",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Unpin for KeychainScan<K, P>where
        P: Unpin,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Unpin for KeychainChangeSet<K, P>",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Unpin for Balance",1,["bdk_chain::keychain::Balance"]],["impl Unpin for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Unpin for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Unpin for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Unpin for SparseChain<P>where
        P: Unpin,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Unpin for InsertTxError<P>where
        P: Unpin,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Unpin for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Unpin for UpdateError<P>where
        P: Unpin,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Unpin for ChangeSet<P>",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Unpin for TxGraph<A>",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Unpin for TxNode<'a, T, A>",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Unpin for CanonicalTx<'a, T, A>",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Unpin for Additions<A>",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Unpin for TxDescendants<'g, A, F>where
        F: Unpin,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<D> Unpin for SpkIterator<D>where
        D: Unpin,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], +"bdk_chain":[["impl<P> Unpin for ChainGraph<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> Unpin for ChangeSet<P>",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> Unpin for NewError<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> Unpin for InsertTxError<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> Unpin for UpdateError<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> Unpin for UnresolvableConflict<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> Unpin for SpkTxOutIndex<I>where
        I: Unpin,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> Unpin for ObservedAs<A>where
        A: Unpin,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl Unpin for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl Unpin for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl Unpin for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl Unpin for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl Unpin for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> Unpin for FullTxOut<P>where
        P: Unpin,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> Unpin for IndexedTxGraph<A, I>where
        I: Unpin,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> Unpin for IndexedAdditions<A, IA>where
        IA: Unpin,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> Unpin for Persist<K, P, B>where
        B: Unpin,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> Unpin for KeychainTracker<K, P>where
        K: Unpin,
        P: Unpin,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> Unpin for KeychainTxOutIndex<K>where
        K: Unpin,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> Unpin for DerivationAdditions<K>",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> Unpin for KeychainScan<K, P>where
        P: Unpin,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> Unpin for KeychainChangeSet<K, P>",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl Unpin for Balance",1,["bdk_chain::keychain::Balance"]],["impl Unpin for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl Unpin for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl Unpin for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> Unpin for SparseChain<P>where
        P: Unpin,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> Unpin for InsertTxError<P>where
        P: Unpin,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl Unpin for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> Unpin for UpdateError<P>where
        P: Unpin,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> Unpin for ChangeSet<P>",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> Unpin for TxGraph<A>",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> Unpin for TxNode<'a, T, A>",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> Unpin for CanonicalTx<'a, T, A>",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> Unpin for Additions<A>",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> Unpin for TxDescendants<'g, A, F>where
        F: Unpin,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<B, C> Unpin for Persist<B, C>where
        B: Unpin,
        C: Unpin,
    ",1,["bdk_chain::persist::Persist"]],["impl<D> Unpin for SpkIterator<D>where
        D: Unpin,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], "bdk_coin_select":[["impl Unpin for WeightedValue",1,["bdk_coin_select::coin_selector::WeightedValue"]],["impl Unpin for CoinSelectorOpt",1,["bdk_coin_select::coin_selector::CoinSelectorOpt"]],["impl<'a> Unpin for CoinSelector<'a>",1,["bdk_coin_select::coin_selector::CoinSelector"]],["impl Unpin for SelectionError",1,["bdk_coin_select::coin_selector::SelectionError"]],["impl Unpin for SelectionConstraint",1,["bdk_coin_select::coin_selector::SelectionConstraint"]],["impl Unpin for Selection",1,["bdk_coin_select::coin_selector::Selection"]],["impl Unpin for ExcessStrategyKind",1,["bdk_coin_select::coin_selector::ExcessStrategyKind"]],["impl Unpin for ExcessStrategy",1,["bdk_coin_select::coin_selector::ExcessStrategy"]],["impl Unpin for BranchStrategy",1,["bdk_coin_select::bnb::BranchStrategy"]],["impl<'c, S> Unpin for Bnb<'c, S>where
        S: Unpin,
    ",1,["bdk_coin_select::bnb::Bnb"]],["impl<'c, 'f, S> Unpin for BnbIter<'c, 'f, S>where
        S: Unpin,
        'c: 'f,
    ",1,["bdk_coin_select::bnb::BnbIter"]],["impl Unpin for BnbLimit",1,["bdk_coin_select::bnb::BnbLimit"]]], "bdk_electrum":[["impl<K, P> Unpin for ElectrumUpdate<K, P>where
        P: Unpin,
    ",1,["bdk_electrum::ElectrumUpdate"]]], -"bdk_file_store":[["impl<K, P> Unpin for KeychainStore<K, P>where
        K: Unpin,
        P: Unpin,
    ",1,["bdk_file_store::file_store::KeychainStore"]],["impl Unpin for FileError",1,["bdk_file_store::file_store::FileError"]],["impl Unpin for IterError",1,["bdk_file_store::file_store::IterError"]],["impl<'a, V> Unpin for EntryIter<'a, V>where
        V: Unpin,
    ",1,["bdk_file_store::file_store::EntryIter"]]], +"bdk_file_store":[["impl<'t, T> Unpin for EntryIter<'t, T>where
        T: Unpin,
    ",1,["bdk_file_store::entry_iter::EntryIter"]],["impl Unpin for IterError",1,["bdk_file_store::entry_iter::IterError"]],["impl<K, P> Unpin for KeychainStore<K, P>where
        K: Unpin,
        P: Unpin,
    ",1,["bdk_file_store::keychain_store::KeychainStore"]],["impl<'a, C> Unpin for Store<'a, C>where
        C: Unpin,
    ",1,["bdk_file_store::store::Store"]],["impl<'a> Unpin for FileError<'a>",1,["bdk_file_store::FileError"]]], "bdk_tmp_plan":[["impl<Ak> Unpin for Requirements<Ak>where
        Ak: Unpin,
    ",1,["bdk_tmp_plan::requirements::Requirements"]],["impl<Ak> Unpin for RequiredSignatures<Ak>where
        Ak: Unpin,
    ",1,["bdk_tmp_plan::requirements::RequiredSignatures"]],["impl Unpin for SigningError",1,["bdk_tmp_plan::requirements::SigningError"]],["impl<Ak> Unpin for PlanKey<Ak>where
        Ak: Unpin,
    ",1,["bdk_tmp_plan::template::PlanKey"]],["impl<AK> Unpin for Plan<AK>where
        AK: Unpin,
    ",1,["bdk_tmp_plan::Plan"]],["impl Unpin for SatisfactionMaterial",1,["bdk_tmp_plan::SatisfactionMaterial"]],["impl<Ak> Unpin for PlanState<Ak>where
        Ak: Unpin,
    ",1,["bdk_tmp_plan::PlanState"]],["impl<K> Unpin for Assets<K>where
        K: Unpin,
    ",1,["bdk_tmp_plan::Assets"]]], "keychain_tracker_electrum_example":[["impl Unpin for ElectrumCommands",1,["keychain_tracker_electrum_example::ElectrumCommands"]],["impl Unpin for ScanOptions",1,["keychain_tracker_electrum_example::ScanOptions"]]], "keychain_tracker_esplora_example":[["impl Unpin for EsploraCommands",1,["keychain_tracker_esplora_example::EsploraCommands"]],["impl Unpin for ScanOptions",1,["keychain_tracker_esplora_example::ScanOptions"]]], diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js index 4e62c32210..0acde12cc3 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.RefUnwindSafe.js @@ -1,9 +1,9 @@ (function() {var implementors = { "bdk":[["impl RefUnwindSafe for Error",1,["bdk::error::Error"]],["impl RefUnwindSafe for Error",1,["bdk::descriptor::error::Error"]],["impl RefUnwindSafe for PkOrF",1,["bdk::descriptor::policy::PkOrF"]],["impl RefUnwindSafe for SatisfiableItem",1,["bdk::descriptor::policy::SatisfiableItem"]],["impl RefUnwindSafe for Satisfaction",1,["bdk::descriptor::policy::Satisfaction"]],["impl RefUnwindSafe for Policy",1,["bdk::descriptor::policy::Policy"]],["impl RefUnwindSafe for Condition",1,["bdk::descriptor::policy::Condition"]],["impl RefUnwindSafe for PolicyError",1,["bdk::descriptor::policy::PolicyError"]],["impl<'a> RefUnwindSafe for BuildSatisfaction<'a>",1,["bdk::descriptor::policy::BuildSatisfaction"]],["impl<K> RefUnwindSafe for P2Pkh<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::P2Pkh"]],["impl<K> RefUnwindSafe for P2Wpkh_P2Sh<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::P2Wpkh_P2Sh"]],["impl<K> RefUnwindSafe for P2Wpkh<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::P2Wpkh"]],["impl<K> RefUnwindSafe for Bip44<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::Bip44"]],["impl<K> RefUnwindSafe for Bip44Public<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::Bip44Public"]],["impl<K> RefUnwindSafe for Bip49<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::Bip49"]],["impl<K> RefUnwindSafe for Bip49Public<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::Bip49Public"]],["impl<K> RefUnwindSafe for Bip84<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::Bip84"]],["impl<K> RefUnwindSafe for Bip84Public<K>where
        K: RefUnwindSafe,
    ",1,["bdk::descriptor::template::Bip84Public"]],["impl<Ctx> RefUnwindSafe for DescriptorKey<Ctx>where
        Ctx: RefUnwindSafe,
    ",1,["bdk::keys::DescriptorKey"]],["impl RefUnwindSafe for ScriptContextEnum",1,["bdk::keys::ScriptContextEnum"]],["impl<Ctx> RefUnwindSafe for ExtendedKey<Ctx>where
        Ctx: RefUnwindSafe,
    ",1,["bdk::keys::ExtendedKey"]],["impl<K, Ctx> RefUnwindSafe for GeneratedKey<K, Ctx>where
        Ctx: RefUnwindSafe,
        K: RefUnwindSafe,
    ",1,["bdk::keys::GeneratedKey"]],["impl RefUnwindSafe for PrivateKeyGenerateOptions",1,["bdk::keys::PrivateKeyGenerateOptions"]],["impl RefUnwindSafe for KeyError",1,["bdk::keys::KeyError"]],["impl RefUnwindSafe for KeychainKind",1,["bdk::types::KeychainKind"]],["impl RefUnwindSafe for FeeRate",1,["bdk::types::FeeRate"]],["impl RefUnwindSafe for LocalUtxo",1,["bdk::types::LocalUtxo"]],["impl RefUnwindSafe for WeightedUtxo",1,["bdk::types::WeightedUtxo"]],["impl RefUnwindSafe for Utxo",1,["bdk::types::Utxo"]],["impl RefUnwindSafe for TransactionDetails",1,["bdk::types::TransactionDetails"]],["impl RefUnwindSafe for Excess",1,["bdk::wallet::coin_selection::Excess"]],["impl RefUnwindSafe for CoinSelectionResult",1,["bdk::wallet::coin_selection::CoinSelectionResult"]],["impl RefUnwindSafe for LargestFirstCoinSelection",1,["bdk::wallet::coin_selection::LargestFirstCoinSelection"]],["impl RefUnwindSafe for OldestFirstCoinSelection",1,["bdk::wallet::coin_selection::OldestFirstCoinSelection"]],["impl RefUnwindSafe for BranchAndBoundCoinSelection",1,["bdk::wallet::coin_selection::BranchAndBoundCoinSelection"]],["impl RefUnwindSafe for FullyNodedExport",1,["bdk::wallet::export::FullyNodedExport"]],["impl RefUnwindSafe for SignerId",1,["bdk::wallet::signer::SignerId"]],["impl RefUnwindSafe for SignerError",1,["bdk::wallet::signer::SignerError"]],["impl RefUnwindSafe for SignerContext",1,["bdk::wallet::signer::SignerContext"]],["impl<S> RefUnwindSafe for SignerWrapper<S>where
        S: RefUnwindSafe,
    ",1,["bdk::wallet::signer::SignerWrapper"]],["impl RefUnwindSafe for SignerOrdering",1,["bdk::wallet::signer::SignerOrdering"]],["impl !RefUnwindSafe for SignersContainer",1,["bdk::wallet::signer::SignersContainer"]],["impl RefUnwindSafe for SignOptions",1,["bdk::wallet::signer::SignOptions"]],["impl RefUnwindSafe for TapLeavesOptions",1,["bdk::wallet::signer::TapLeavesOptions"]],["impl RefUnwindSafe for CreateTx",1,["bdk::wallet::tx_builder::CreateTx"]],["impl RefUnwindSafe for BumpFee",1,["bdk::wallet::tx_builder::BumpFee"]],["impl<'a, D, Cs, Ctx> !RefUnwindSafe for TxBuilder<'a, D, Cs, Ctx>",1,["bdk::wallet::tx_builder::TxBuilder"]],["impl RefUnwindSafe for TxOrdering",1,["bdk::wallet::tx_builder::TxOrdering"]],["impl RefUnwindSafe for ChangeSpendPolicy",1,["bdk::wallet::tx_builder::ChangeSpendPolicy"]],["impl<D = ()> !RefUnwindSafe for Wallet<D>",1,["bdk::wallet::Wallet"]],["impl RefUnwindSafe for AddressIndex",1,["bdk::wallet::AddressIndex"]],["impl RefUnwindSafe for AddressInfo",1,["bdk::wallet::AddressInfo"]],["impl<P> RefUnwindSafe for NewError<P>where
        P: RefUnwindSafe,
    ",1,["bdk::wallet::NewError"]]], -"bdk_chain":[["impl<P> RefUnwindSafe for ChainGraph<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> RefUnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> RefUnwindSafe for NewError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> RefUnwindSafe for InsertTxError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> RefUnwindSafe for UpdateError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> RefUnwindSafe for UnresolvableConflict<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> RefUnwindSafe for SpkTxOutIndex<I>where
        I: RefUnwindSafe,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> RefUnwindSafe for ObservedAs<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl RefUnwindSafe for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl RefUnwindSafe for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl RefUnwindSafe for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl RefUnwindSafe for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl RefUnwindSafe for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> RefUnwindSafe for FullTxOut<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> RefUnwindSafe for IndexedTxGraph<A, I>where
        A: RefUnwindSafe,
        I: RefUnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> RefUnwindSafe for IndexedAdditions<A, IA>where
        A: RefUnwindSafe,
        IA: RefUnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> RefUnwindSafe for Persist<K, P, B>where
        B: RefUnwindSafe,
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> RefUnwindSafe for KeychainTracker<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> RefUnwindSafe for KeychainTxOutIndex<K>where
        K: RefUnwindSafe,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> RefUnwindSafe for DerivationAdditions<K>where
        K: RefUnwindSafe,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> RefUnwindSafe for KeychainScan<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> RefUnwindSafe for KeychainChangeSet<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl RefUnwindSafe for Balance",1,["bdk_chain::keychain::Balance"]],["impl RefUnwindSafe for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl RefUnwindSafe for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl RefUnwindSafe for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> RefUnwindSafe for SparseChain<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> RefUnwindSafe for InsertTxError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl RefUnwindSafe for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> RefUnwindSafe for UpdateError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> RefUnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> RefUnwindSafe for TxGraph<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> RefUnwindSafe for TxNode<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> RefUnwindSafe for CanonicalTx<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> RefUnwindSafe for Additions<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> RefUnwindSafe for TxDescendants<'g, A, F>where
        A: RefUnwindSafe,
        F: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<D> RefUnwindSafe for SpkIterator<D>where
        D: RefUnwindSafe,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], +"bdk_chain":[["impl<P> RefUnwindSafe for ChainGraph<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> RefUnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> RefUnwindSafe for NewError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> RefUnwindSafe for InsertTxError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> RefUnwindSafe for UpdateError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> RefUnwindSafe for UnresolvableConflict<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> RefUnwindSafe for SpkTxOutIndex<I>where
        I: RefUnwindSafe,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> RefUnwindSafe for ObservedAs<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl RefUnwindSafe for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl RefUnwindSafe for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl RefUnwindSafe for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl RefUnwindSafe for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl RefUnwindSafe for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> RefUnwindSafe for FullTxOut<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> RefUnwindSafe for IndexedTxGraph<A, I>where
        A: RefUnwindSafe,
        I: RefUnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> RefUnwindSafe for IndexedAdditions<A, IA>where
        A: RefUnwindSafe,
        IA: RefUnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> RefUnwindSafe for Persist<K, P, B>where
        B: RefUnwindSafe,
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> RefUnwindSafe for KeychainTracker<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> RefUnwindSafe for KeychainTxOutIndex<K>where
        K: RefUnwindSafe,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> RefUnwindSafe for DerivationAdditions<K>where
        K: RefUnwindSafe,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> RefUnwindSafe for KeychainScan<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> RefUnwindSafe for KeychainChangeSet<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl RefUnwindSafe for Balance",1,["bdk_chain::keychain::Balance"]],["impl RefUnwindSafe for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl RefUnwindSafe for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl RefUnwindSafe for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> RefUnwindSafe for SparseChain<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> RefUnwindSafe for InsertTxError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl RefUnwindSafe for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> RefUnwindSafe for UpdateError<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> RefUnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> RefUnwindSafe for TxGraph<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> RefUnwindSafe for TxNode<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> RefUnwindSafe for CanonicalTx<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> RefUnwindSafe for Additions<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> RefUnwindSafe for TxDescendants<'g, A, F>where
        A: RefUnwindSafe,
        F: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<B, C> RefUnwindSafe for Persist<B, C>where
        B: RefUnwindSafe,
        C: RefUnwindSafe,
    ",1,["bdk_chain::persist::Persist"]],["impl<D> RefUnwindSafe for SpkIterator<D>where
        D: RefUnwindSafe,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], "bdk_coin_select":[["impl RefUnwindSafe for WeightedValue",1,["bdk_coin_select::coin_selector::WeightedValue"]],["impl RefUnwindSafe for CoinSelectorOpt",1,["bdk_coin_select::coin_selector::CoinSelectorOpt"]],["impl<'a> RefUnwindSafe for CoinSelector<'a>",1,["bdk_coin_select::coin_selector::CoinSelector"]],["impl RefUnwindSafe for SelectionError",1,["bdk_coin_select::coin_selector::SelectionError"]],["impl RefUnwindSafe for SelectionConstraint",1,["bdk_coin_select::coin_selector::SelectionConstraint"]],["impl RefUnwindSafe for Selection",1,["bdk_coin_select::coin_selector::Selection"]],["impl RefUnwindSafe for ExcessStrategyKind",1,["bdk_coin_select::coin_selector::ExcessStrategyKind"]],["impl RefUnwindSafe for ExcessStrategy",1,["bdk_coin_select::coin_selector::ExcessStrategy"]],["impl RefUnwindSafe for BranchStrategy",1,["bdk_coin_select::bnb::BranchStrategy"]],["impl<'c, S> RefUnwindSafe for Bnb<'c, S>where
        S: RefUnwindSafe,
    ",1,["bdk_coin_select::bnb::Bnb"]],["impl<'c, 'f, S> !RefUnwindSafe for BnbIter<'c, 'f, S>",1,["bdk_coin_select::bnb::BnbIter"]],["impl RefUnwindSafe for BnbLimit",1,["bdk_coin_select::bnb::BnbLimit"]]], "bdk_electrum":[["impl<K, P> RefUnwindSafe for ElectrumUpdate<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_electrum::ElectrumUpdate"]]], -"bdk_file_store":[["impl<K, P> RefUnwindSafe for KeychainStore<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_file_store::file_store::KeychainStore"]],["impl !RefUnwindSafe for FileError",1,["bdk_file_store::file_store::FileError"]],["impl !RefUnwindSafe for IterError",1,["bdk_file_store::file_store::IterError"]],["impl<'a, V> RefUnwindSafe for EntryIter<'a, V>where
        V: RefUnwindSafe,
    ",1,["bdk_file_store::file_store::EntryIter"]]], +"bdk_file_store":[["impl<'t, T> RefUnwindSafe for EntryIter<'t, T>where
        T: RefUnwindSafe,
    ",1,["bdk_file_store::entry_iter::EntryIter"]],["impl !RefUnwindSafe for IterError",1,["bdk_file_store::entry_iter::IterError"]],["impl<K, P> RefUnwindSafe for KeychainStore<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_file_store::keychain_store::KeychainStore"]],["impl<'a, C> RefUnwindSafe for Store<'a, C>where
        C: RefUnwindSafe,
    ",1,["bdk_file_store::store::Store"]],["impl<'a> !RefUnwindSafe for FileError<'a>",1,["bdk_file_store::FileError"]]], "bdk_tmp_plan":[["impl<Ak> RefUnwindSafe for Requirements<Ak>where
        Ak: RefUnwindSafe,
    ",1,["bdk_tmp_plan::requirements::Requirements"]],["impl<Ak> RefUnwindSafe for RequiredSignatures<Ak>where
        Ak: RefUnwindSafe,
    ",1,["bdk_tmp_plan::requirements::RequiredSignatures"]],["impl RefUnwindSafe for SigningError",1,["bdk_tmp_plan::requirements::SigningError"]],["impl<Ak> RefUnwindSafe for PlanKey<Ak>where
        Ak: RefUnwindSafe,
    ",1,["bdk_tmp_plan::template::PlanKey"]],["impl<AK> RefUnwindSafe for Plan<AK>where
        AK: RefUnwindSafe,
    ",1,["bdk_tmp_plan::Plan"]],["impl RefUnwindSafe for SatisfactionMaterial",1,["bdk_tmp_plan::SatisfactionMaterial"]],["impl<Ak> RefUnwindSafe for PlanState<Ak>where
        Ak: RefUnwindSafe,
    ",1,["bdk_tmp_plan::PlanState"]],["impl<K> RefUnwindSafe for Assets<K>where
        K: RefUnwindSafe,
    ",1,["bdk_tmp_plan::Assets"]]], "keychain_tracker_electrum_example":[["impl RefUnwindSafe for ElectrumCommands",1,["keychain_tracker_electrum_example::ElectrumCommands"]],["impl RefUnwindSafe for ScanOptions",1,["keychain_tracker_electrum_example::ScanOptions"]]], "keychain_tracker_esplora_example":[["impl RefUnwindSafe for EsploraCommands",1,["keychain_tracker_esplora_example::EsploraCommands"]],["impl RefUnwindSafe for ScanOptions",1,["keychain_tracker_esplora_example::ScanOptions"]]], diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.UnwindSafe.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.UnwindSafe.js index 9b9982000f..3d7c30a583 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.UnwindSafe.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/core/panic/unwind_safe/trait.UnwindSafe.js @@ -1,9 +1,9 @@ (function() {var implementors = { "bdk":[["impl UnwindSafe for Error",1,["bdk::error::Error"]],["impl UnwindSafe for Error",1,["bdk::descriptor::error::Error"]],["impl UnwindSafe for PkOrF",1,["bdk::descriptor::policy::PkOrF"]],["impl UnwindSafe for SatisfiableItem",1,["bdk::descriptor::policy::SatisfiableItem"]],["impl UnwindSafe for Satisfaction",1,["bdk::descriptor::policy::Satisfaction"]],["impl UnwindSafe for Policy",1,["bdk::descriptor::policy::Policy"]],["impl UnwindSafe for Condition",1,["bdk::descriptor::policy::Condition"]],["impl UnwindSafe for PolicyError",1,["bdk::descriptor::policy::PolicyError"]],["impl<'a> UnwindSafe for BuildSatisfaction<'a>",1,["bdk::descriptor::policy::BuildSatisfaction"]],["impl<K> UnwindSafe for P2Pkh<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::P2Pkh"]],["impl<K> UnwindSafe for P2Wpkh_P2Sh<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::P2Wpkh_P2Sh"]],["impl<K> UnwindSafe for P2Wpkh<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::P2Wpkh"]],["impl<K> UnwindSafe for Bip44<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::Bip44"]],["impl<K> UnwindSafe for Bip44Public<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::Bip44Public"]],["impl<K> UnwindSafe for Bip49<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::Bip49"]],["impl<K> UnwindSafe for Bip49Public<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::Bip49Public"]],["impl<K> UnwindSafe for Bip84<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::Bip84"]],["impl<K> UnwindSafe for Bip84Public<K>where
        K: UnwindSafe,
    ",1,["bdk::descriptor::template::Bip84Public"]],["impl<Ctx> UnwindSafe for DescriptorKey<Ctx>where
        Ctx: UnwindSafe,
    ",1,["bdk::keys::DescriptorKey"]],["impl UnwindSafe for ScriptContextEnum",1,["bdk::keys::ScriptContextEnum"]],["impl<Ctx> UnwindSafe for ExtendedKey<Ctx>where
        Ctx: UnwindSafe,
    ",1,["bdk::keys::ExtendedKey"]],["impl<K, Ctx> UnwindSafe for GeneratedKey<K, Ctx>where
        Ctx: UnwindSafe,
        K: UnwindSafe,
    ",1,["bdk::keys::GeneratedKey"]],["impl UnwindSafe for PrivateKeyGenerateOptions",1,["bdk::keys::PrivateKeyGenerateOptions"]],["impl UnwindSafe for KeyError",1,["bdk::keys::KeyError"]],["impl UnwindSafe for KeychainKind",1,["bdk::types::KeychainKind"]],["impl UnwindSafe for FeeRate",1,["bdk::types::FeeRate"]],["impl UnwindSafe for LocalUtxo",1,["bdk::types::LocalUtxo"]],["impl UnwindSafe for WeightedUtxo",1,["bdk::types::WeightedUtxo"]],["impl UnwindSafe for Utxo",1,["bdk::types::Utxo"]],["impl UnwindSafe for TransactionDetails",1,["bdk::types::TransactionDetails"]],["impl UnwindSafe for Excess",1,["bdk::wallet::coin_selection::Excess"]],["impl UnwindSafe for CoinSelectionResult",1,["bdk::wallet::coin_selection::CoinSelectionResult"]],["impl UnwindSafe for LargestFirstCoinSelection",1,["bdk::wallet::coin_selection::LargestFirstCoinSelection"]],["impl UnwindSafe for OldestFirstCoinSelection",1,["bdk::wallet::coin_selection::OldestFirstCoinSelection"]],["impl UnwindSafe for BranchAndBoundCoinSelection",1,["bdk::wallet::coin_selection::BranchAndBoundCoinSelection"]],["impl UnwindSafe for FullyNodedExport",1,["bdk::wallet::export::FullyNodedExport"]],["impl UnwindSafe for SignerId",1,["bdk::wallet::signer::SignerId"]],["impl UnwindSafe for SignerError",1,["bdk::wallet::signer::SignerError"]],["impl UnwindSafe for SignerContext",1,["bdk::wallet::signer::SignerContext"]],["impl<S> UnwindSafe for SignerWrapper<S>where
        S: UnwindSafe,
    ",1,["bdk::wallet::signer::SignerWrapper"]],["impl UnwindSafe for SignerOrdering",1,["bdk::wallet::signer::SignerOrdering"]],["impl !UnwindSafe for SignersContainer",1,["bdk::wallet::signer::SignersContainer"]],["impl UnwindSafe for SignOptions",1,["bdk::wallet::signer::SignOptions"]],["impl UnwindSafe for TapLeavesOptions",1,["bdk::wallet::signer::TapLeavesOptions"]],["impl UnwindSafe for CreateTx",1,["bdk::wallet::tx_builder::CreateTx"]],["impl UnwindSafe for BumpFee",1,["bdk::wallet::tx_builder::BumpFee"]],["impl<'a, D, Cs, Ctx> !UnwindSafe for TxBuilder<'a, D, Cs, Ctx>",1,["bdk::wallet::tx_builder::TxBuilder"]],["impl UnwindSafe for TxOrdering",1,["bdk::wallet::tx_builder::TxOrdering"]],["impl UnwindSafe for ChangeSpendPolicy",1,["bdk::wallet::tx_builder::ChangeSpendPolicy"]],["impl<D = ()> !UnwindSafe for Wallet<D>",1,["bdk::wallet::Wallet"]],["impl UnwindSafe for AddressIndex",1,["bdk::wallet::AddressIndex"]],["impl UnwindSafe for AddressInfo",1,["bdk::wallet::AddressInfo"]],["impl<P> UnwindSafe for NewError<P>where
        P: UnwindSafe,
    ",1,["bdk::wallet::NewError"]]], -"bdk_chain":[["impl<P> UnwindSafe for ChainGraph<P>where
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> UnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> UnwindSafe for NewError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> UnwindSafe for InsertTxError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> UnwindSafe for UpdateError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> UnwindSafe for UnresolvableConflict<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> UnwindSafe for SpkTxOutIndex<I>where
        I: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> UnwindSafe for ObservedAs<A>where
        A: UnwindSafe,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl UnwindSafe for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl UnwindSafe for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl UnwindSafe for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl UnwindSafe for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl UnwindSafe for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> UnwindSafe for FullTxOut<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> UnwindSafe for IndexedTxGraph<A, I>where
        A: RefUnwindSafe,
        I: UnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> UnwindSafe for IndexedAdditions<A, IA>where
        A: RefUnwindSafe,
        IA: UnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> UnwindSafe for Persist<K, P, B>where
        B: UnwindSafe,
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> UnwindSafe for KeychainTracker<K, P>where
        K: UnwindSafe + RefUnwindSafe,
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> UnwindSafe for KeychainTxOutIndex<K>where
        K: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> UnwindSafe for DerivationAdditions<K>where
        K: RefUnwindSafe,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> UnwindSafe for KeychainScan<K, P>where
        K: RefUnwindSafe,
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> UnwindSafe for KeychainChangeSet<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl UnwindSafe for Balance",1,["bdk_chain::keychain::Balance"]],["impl UnwindSafe for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl UnwindSafe for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl UnwindSafe for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> UnwindSafe for SparseChain<P>where
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> UnwindSafe for InsertTxError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl UnwindSafe for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> UnwindSafe for UpdateError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> UnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> UnwindSafe for TxGraph<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> UnwindSafe for TxNode<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> UnwindSafe for CanonicalTx<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> UnwindSafe for Additions<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> UnwindSafe for TxDescendants<'g, A, F>where
        A: RefUnwindSafe,
        F: UnwindSafe,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<D> UnwindSafe for SpkIterator<D>where
        D: UnwindSafe,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], +"bdk_chain":[["impl<P> UnwindSafe for ChainGraph<P>where
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChainGraph"]],["impl<P> UnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::chain_graph::ChangeSet"]],["impl<P> UnwindSafe for NewError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::NewError"]],["impl<P> UnwindSafe for InsertTxError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::InsertTxError"]],["impl<P> UnwindSafe for UpdateError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::UpdateError"]],["impl<P> UnwindSafe for UnresolvableConflict<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_graph::UnresolvableConflict"]],["impl<I> UnwindSafe for SpkTxOutIndex<I>where
        I: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::spk_txout_index::SpkTxOutIndex"]],["impl<A> UnwindSafe for ObservedAs<A>where
        A: UnwindSafe,
    ",1,["bdk_chain::chain_data::ObservedAs"]],["impl UnwindSafe for TxHeight",1,["bdk_chain::chain_data::TxHeight"]],["impl UnwindSafe for ConfirmationTime",1,["bdk_chain::chain_data::ConfirmationTime"]],["impl UnwindSafe for BlockId",1,["bdk_chain::chain_data::BlockId"]],["impl UnwindSafe for ConfirmationHeightAnchor",1,["bdk_chain::chain_data::ConfirmationHeightAnchor"]],["impl UnwindSafe for ConfirmationTimeAnchor",1,["bdk_chain::chain_data::ConfirmationTimeAnchor"]],["impl<P> UnwindSafe for FullTxOut<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::chain_data::FullTxOut"]],["impl<A, I> UnwindSafe for IndexedTxGraph<A, I>where
        A: RefUnwindSafe,
        I: UnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedTxGraph"]],["impl<A, IA> UnwindSafe for IndexedAdditions<A, IA>where
        A: RefUnwindSafe,
        IA: UnwindSafe,
    ",1,["bdk_chain::indexed_tx_graph::IndexedAdditions"]],["impl<K, P, B> UnwindSafe for Persist<K, P, B>where
        B: UnwindSafe,
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::persist::Persist"]],["impl<K, P> UnwindSafe for KeychainTracker<K, P>where
        K: UnwindSafe + RefUnwindSafe,
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::keychain::tracker::KeychainTracker"]],["impl<K> UnwindSafe for KeychainTxOutIndex<K>where
        K: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::keychain::txout_index::KeychainTxOutIndex"]],["impl<K> UnwindSafe for DerivationAdditions<K>where
        K: RefUnwindSafe,
    ",1,["bdk_chain::keychain::DerivationAdditions"]],["impl<K, P> UnwindSafe for KeychainScan<K, P>where
        K: RefUnwindSafe,
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainScan"]],["impl<K, P> UnwindSafe for KeychainChangeSet<K, P>where
        K: RefUnwindSafe,
        P: RefUnwindSafe,
    ",1,["bdk_chain::keychain::KeychainChangeSet"]],["impl UnwindSafe for Balance",1,["bdk_chain::keychain::Balance"]],["impl UnwindSafe for LocalChain",1,["bdk_chain::local_chain::LocalChain"]],["impl UnwindSafe for UpdateNotConnectedError",1,["bdk_chain::local_chain::UpdateNotConnectedError"]],["impl UnwindSafe for InsertBlockNotMatchingError",1,["bdk_chain::local_chain::InsertBlockNotMatchingError"]],["impl<P> UnwindSafe for SparseChain<P>where
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::SparseChain"]],["impl<P> UnwindSafe for InsertTxError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::sparse_chain::InsertTxError"]],["impl UnwindSafe for InsertCheckpointError",1,["bdk_chain::sparse_chain::InsertCheckpointError"]],["impl<P> UnwindSafe for UpdateError<P>where
        P: UnwindSafe,
    ",1,["bdk_chain::sparse_chain::UpdateError"]],["impl<P> UnwindSafe for ChangeSet<P>where
        P: RefUnwindSafe,
    ",1,["bdk_chain::sparse_chain::ChangeSet"]],["impl<A> UnwindSafe for TxGraph<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxGraph"]],["impl<'a, T, A> UnwindSafe for TxNode<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::TxNode"]],["impl<'a, T, A> UnwindSafe for CanonicalTx<'a, T, A>where
        A: RefUnwindSafe,
        T: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::CanonicalTx"]],["impl<A> UnwindSafe for Additions<A>where
        A: RefUnwindSafe,
    ",1,["bdk_chain::tx_graph::Additions"]],["impl<'g, A, F> UnwindSafe for TxDescendants<'g, A, F>where
        A: RefUnwindSafe,
        F: UnwindSafe,
    ",1,["bdk_chain::tx_graph::TxDescendants"]],["impl<B, C> UnwindSafe for Persist<B, C>where
        B: UnwindSafe,
        C: UnwindSafe,
    ",1,["bdk_chain::persist::Persist"]],["impl<D> UnwindSafe for SpkIterator<D>where
        D: UnwindSafe,
    ",1,["bdk_chain::spk_iter::SpkIterator"]]], "bdk_coin_select":[["impl UnwindSafe for WeightedValue",1,["bdk_coin_select::coin_selector::WeightedValue"]],["impl UnwindSafe for CoinSelectorOpt",1,["bdk_coin_select::coin_selector::CoinSelectorOpt"]],["impl<'a> UnwindSafe for CoinSelector<'a>",1,["bdk_coin_select::coin_selector::CoinSelector"]],["impl UnwindSafe for SelectionError",1,["bdk_coin_select::coin_selector::SelectionError"]],["impl UnwindSafe for SelectionConstraint",1,["bdk_coin_select::coin_selector::SelectionConstraint"]],["impl UnwindSafe for Selection",1,["bdk_coin_select::coin_selector::Selection"]],["impl UnwindSafe for ExcessStrategyKind",1,["bdk_coin_select::coin_selector::ExcessStrategyKind"]],["impl UnwindSafe for ExcessStrategy",1,["bdk_coin_select::coin_selector::ExcessStrategy"]],["impl UnwindSafe for BranchStrategy",1,["bdk_coin_select::bnb::BranchStrategy"]],["impl<'c, S> UnwindSafe for Bnb<'c, S>where
        S: UnwindSafe,
    ",1,["bdk_coin_select::bnb::Bnb"]],["impl<'c, 'f, S> !UnwindSafe for BnbIter<'c, 'f, S>",1,["bdk_coin_select::bnb::BnbIter"]],["impl UnwindSafe for BnbLimit",1,["bdk_coin_select::bnb::BnbLimit"]]], "bdk_electrum":[["impl<K, P> UnwindSafe for ElectrumUpdate<K, P>where
        K: RefUnwindSafe,
        P: UnwindSafe + RefUnwindSafe,
    ",1,["bdk_electrum::ElectrumUpdate"]]], -"bdk_file_store":[["impl<K, P> UnwindSafe for KeychainStore<K, P>where
        K: UnwindSafe,
        P: UnwindSafe,
    ",1,["bdk_file_store::file_store::KeychainStore"]],["impl !UnwindSafe for FileError",1,["bdk_file_store::file_store::FileError"]],["impl !UnwindSafe for IterError",1,["bdk_file_store::file_store::IterError"]],["impl<'a, V> !UnwindSafe for EntryIter<'a, V>",1,["bdk_file_store::file_store::EntryIter"]]], +"bdk_file_store":[["impl<'t, T> !UnwindSafe for EntryIter<'t, T>",1,["bdk_file_store::entry_iter::EntryIter"]],["impl !UnwindSafe for IterError",1,["bdk_file_store::entry_iter::IterError"]],["impl<K, P> UnwindSafe for KeychainStore<K, P>where
        K: UnwindSafe,
        P: UnwindSafe,
    ",1,["bdk_file_store::keychain_store::KeychainStore"]],["impl<'a, C> UnwindSafe for Store<'a, C>where
        C: UnwindSafe,
    ",1,["bdk_file_store::store::Store"]],["impl<'a> !UnwindSafe for FileError<'a>",1,["bdk_file_store::FileError"]]], "bdk_tmp_plan":[["impl<Ak> UnwindSafe for Requirements<Ak>where
        Ak: UnwindSafe,
    ",1,["bdk_tmp_plan::requirements::Requirements"]],["impl<Ak> UnwindSafe for RequiredSignatures<Ak>where
        Ak: UnwindSafe,
    ",1,["bdk_tmp_plan::requirements::RequiredSignatures"]],["impl UnwindSafe for SigningError",1,["bdk_tmp_plan::requirements::SigningError"]],["impl<Ak> UnwindSafe for PlanKey<Ak>where
        Ak: UnwindSafe,
    ",1,["bdk_tmp_plan::template::PlanKey"]],["impl<AK> UnwindSafe for Plan<AK>where
        AK: UnwindSafe,
    ",1,["bdk_tmp_plan::Plan"]],["impl UnwindSafe for SatisfactionMaterial",1,["bdk_tmp_plan::SatisfactionMaterial"]],["impl<Ak> UnwindSafe for PlanState<Ak>where
        Ak: UnwindSafe,
    ",1,["bdk_tmp_plan::PlanState"]],["impl<K> UnwindSafe for Assets<K>where
        K: UnwindSafe,
    ",1,["bdk_tmp_plan::Assets"]]], "keychain_tracker_electrum_example":[["impl UnwindSafe for ElectrumCommands",1,["keychain_tracker_electrum_example::ElectrumCommands"]],["impl UnwindSafe for ScanOptions",1,["keychain_tracker_electrum_example::ScanOptions"]]], "keychain_tracker_esplora_example":[["impl UnwindSafe for EsploraCommands",1,["keychain_tracker_esplora_example::EsploraCommands"]],["impl UnwindSafe for ScanOptions",1,["keychain_tracker_esplora_example::ScanOptions"]]], diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js index 248247e30e..3f78bf519c 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/de/trait.Deserialize.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"bdk":[["impl<'de> Deserialize<'de> for KeychainKind"],["impl<'de> Deserialize<'de> for LocalUtxo"],["impl<'de> Deserialize<'de> for TransactionDetails"],["impl<'de> Deserialize<'de> for FullyNodedExport"]], -"bdk_chain":[["impl<'de, P> Deserialize<'de> for ChangeSet<P>where
        P: Deserialize<'de>,
    "],["impl<'de> Deserialize<'de> for TxHeight"],["impl<'de> Deserialize<'de> for ConfirmationTime"],["impl<'de> Deserialize<'de> for BlockId"],["impl<'de> Deserialize<'de> for ConfirmationHeightAnchor"],["impl<'de> Deserialize<'de> for ConfirmationTimeAnchor"],["impl<'de, A, IA> Deserialize<'de> for IndexedAdditions<A, IA>where
        A: Ord + Deserialize<'de>,
        IA: Deserialize<'de>,
    "],["impl<'de, K> Deserialize<'de> for DerivationAdditions<K>where
        K: Ord + Deserialize<'de>,
    "],["impl<'de, K, P> Deserialize<'de> for KeychainChangeSet<K, P>where
        K: Ord + Deserialize<'de>,
        P: Deserialize<'de>,
    "],["impl<'de> Deserialize<'de> for Balance"],["impl<'de, P> Deserialize<'de> for ChangeSet<P>where
        P: Deserialize<'de>,
    "],["impl<'de, A> Deserialize<'de> for Additions<A>where
        A: Ord + Deserialize<'de>,
    "]], -"keychain_tracker_example_cli":[["impl<'de> Deserialize<'de> for Keychain"],["impl<'de> Deserialize<'de> for AddrsOutput"]] +"bdk":[["impl<'de> Deserialize<'de> for KeychainKind"],["impl<'de> Deserialize<'de> for LocalUtxo"],["impl<'de> Deserialize<'de> for TransactionDetails"],["impl<'de> Deserialize<'de> for FullyNodedExport"]], +"bdk_chain":[["impl<'de, P> Deserialize<'de> for ChangeSet<P>where
        P: Deserialize<'de>,
    "],["impl<'de> Deserialize<'de> for TxHeight"],["impl<'de> Deserialize<'de> for ConfirmationTime"],["impl<'de> Deserialize<'de> for BlockId"],["impl<'de> Deserialize<'de> for ConfirmationHeightAnchor"],["impl<'de> Deserialize<'de> for ConfirmationTimeAnchor"],["impl<'de, A, IA> Deserialize<'de> for IndexedAdditions<A, IA>where
        A: Ord + Deserialize<'de>,
        IA: Deserialize<'de>,
    "],["impl<'de, K> Deserialize<'de> for DerivationAdditions<K>where
        K: Ord + Deserialize<'de>,
    "],["impl<'de, K, P> Deserialize<'de> for KeychainChangeSet<K, P>where
        K: Ord + Deserialize<'de>,
        P: Deserialize<'de>,
    "],["impl<'de> Deserialize<'de> for Balance"],["impl<'de, P> Deserialize<'de> for ChangeSet<P>where
        P: Deserialize<'de>,
    "],["impl<'de, A> Deserialize<'de> for Additions<A>where
        A: Ord + Deserialize<'de>,
    "]], +"keychain_tracker_example_cli":[["impl<'de> Deserialize<'de> for Keychain"],["impl<'de> Deserialize<'de> for AddrsOutput"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js index f2651dace5..c46fe45a6d 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/implementors/serde/ser/trait.Serialize.js @@ -1,5 +1,5 @@ (function() {var implementors = { -"bdk":[["impl Serialize for PkOrF"],["impl Serialize for SatisfiableItem"],["impl Serialize for Satisfaction"],["impl Serialize for Policy"],["impl Serialize for Condition"],["impl Serialize for KeychainKind"],["impl Serialize for LocalUtxo"],["impl Serialize for TransactionDetails"],["impl Serialize for FullyNodedExport"]], -"bdk_chain":[["impl<P> Serialize for ChangeSet<P>where
        P: Serialize,
    "],["impl Serialize for TxHeight"],["impl Serialize for ConfirmationTime"],["impl Serialize for BlockId"],["impl Serialize for ConfirmationHeightAnchor"],["impl Serialize for ConfirmationTimeAnchor"],["impl<A, IA> Serialize for IndexedAdditions<A, IA>where
        A: Ord + Serialize,
        IA: Serialize,
    "],["impl<K> Serialize for DerivationAdditions<K>where
        K: Ord + Serialize,
    "],["impl<K, P> Serialize for KeychainChangeSet<K, P>where
        K: Ord + Serialize,
        P: Serialize,
    "],["impl Serialize for Balance"],["impl<P> Serialize for ChangeSet<P>where
        P: Serialize,
    "],["impl<A> Serialize for Additions<A>where
        A: Ord + Serialize,
    "]], -"keychain_tracker_example_cli":[["impl Serialize for Keychain"],["impl Serialize for AddrsOutput"]] +"bdk":[["impl Serialize for PkOrF"],["impl Serialize for SatisfiableItem"],["impl Serialize for Satisfaction"],["impl Serialize for Policy"],["impl Serialize for Condition"],["impl Serialize for KeychainKind"],["impl Serialize for LocalUtxo"],["impl Serialize for TransactionDetails"],["impl Serialize for FullyNodedExport"]], +"bdk_chain":[["impl<P> Serialize for ChangeSet<P>where
        P: Serialize,
    "],["impl Serialize for TxHeight"],["impl Serialize for ConfirmationTime"],["impl Serialize for BlockId"],["impl Serialize for ConfirmationHeightAnchor"],["impl Serialize for ConfirmationTimeAnchor"],["impl<A, IA> Serialize for IndexedAdditions<A, IA>where
        A: Ord + Serialize,
        IA: Serialize,
    "],["impl<K> Serialize for DerivationAdditions<K>where
        K: Ord + Serialize,
    "],["impl<K, P> Serialize for KeychainChangeSet<K, P>where
        K: Ord + Serialize,
        P: Serialize,
    "],["impl Serialize for Balance"],["impl<P> Serialize for ChangeSet<P>where
        P: Serialize,
    "],["impl<A> Serialize for Additions<A>where
        A: Ord + Serialize,
    "]], +"keychain_tracker_example_cli":[["impl Serialize for Keychain"],["impl Serialize for AddrsOutput"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/enum.Keychain.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/enum.Keychain.html index 6503ec5c95..a28524e370 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/enum.Keychain.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/enum.Keychain.html @@ -1,12 +1,12 @@ Keychain in keychain_tracker_example_cli - Rust
    pub enum Keychain {
         External,
         Internal,
    -}

    Variants§

    §

    External

    §

    Internal

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used +}

    Variants§

    §

    External

    §

    Internal

    Trait Implementations§

    Returns a copy of the value. Read more
    Performs copy-assignment from source. Read more
    Formats the value using the given formatter. Read more
    Deserialize this value from the given Serde deserializer. Read more
    Formats the value using the given formatter. Read more
    This method returns an Ordering between self and other. Read more
    Compares and returns the maximum of two values. Read more
    Compares and returns the minimum of two values. Read more
    Restrict a value to a certain interval. Read more
    This method tests for self and other values to be equal, and is used by ==. Read more
    This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
    This method returns an ordering between self and other values if one exists. Read more
    This method tests less than (for self and other) and is used by the < operator. Read more
    This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
    This method tests greater than (for self and other) and is used by the > operator. Read more
    This method tests greater than or equal to (for self and other) and is used by the >= -operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more
    Compare self to key and return true if they are equal.

    Returns the argument unchanged.

    +operator. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more
    Compare self to key and return true if they are equal.

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The resulting type after obtaining ownership.
    Creates owned data from borrowed data, usually by cloning. Read more
    Uses borrowed data to replace owned data, usually by cloning. Read more
    Converts the given value to a String. Read more
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.create_tx.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.create_tx.html index bd6d5a8117..5b9c1abb74 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.create_tx.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.create_tx.html @@ -1 +1 @@ -create_tx in keychain_tracker_example_cli - Rust
    pub fn create_tx<P: ChainPosition>(
        value: u64,
        address: Address,
        coin_select: CoinSelectionAlgo,
        keychain_tracker: &mut KeychainTracker<Keychain, P>,
        keymap: &HashMap<DescriptorPublicKey, DescriptorSecretKey>
    ) -> Result<(Transaction, Option<(DerivationAdditions<Keychain>, (Keychain, u32))>)>
    \ No newline at end of file +create_tx in keychain_tracker_example_cli - Rust
    pub fn create_tx<P: ChainPosition>(
        value: u64,
        address: Address,
        coin_select: CoinSelectionAlgo,
        keychain_tracker: &mut KeychainTracker<Keychain, P>,
        keymap: &HashMap<DescriptorPublicKey, DescriptorSecretKey>
    ) -> Result<(Transaction, Option<(DerivationAdditions<Keychain>, (Keychain, u32))>)>
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.handle_commands.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.handle_commands.html index 1f062ec018..69e02bc783 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.handle_commands.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.handle_commands.html @@ -1 +1 @@ -handle_commands in keychain_tracker_example_cli - Rust
    pub fn handle_commands<C: Subcommand, P>(
        command: Commands<C>,
        broadcast: impl FnOnce(&Transaction) -> Result<()>,
        tracker: &Mutex<KeychainTracker<Keychain, P>>,
        store: &Mutex<KeychainStore<Keychain, P>>,
        network: Network,
        keymap: &HashMap<DescriptorPublicKey, DescriptorSecretKey>
    ) -> Result<()>where
        P: ChainPosition,
        KeychainChangeSet<Keychain, P>: Serialize + DeserializeOwned,
    \ No newline at end of file +handle_commands in keychain_tracker_example_cli - Rust
    pub fn handle_commands<C: Subcommand, P>(
        command: Commands<C>,
        broadcast: impl FnOnce(&Transaction) -> Result<()>,
        tracker: &Mutex<KeychainTracker<Keychain, P>>,
        store: &Mutex<KeychainStore<Keychain, P>>,
        network: Network,
        keymap: &HashMap<DescriptorPublicKey, DescriptorSecretKey>
    ) -> Result<()>where
        P: ChainPosition,
        KeychainChangeSet<Keychain, P>: Serialize + DeserializeOwned,
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.init.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.init.html index 4edb405507..a5f86bc871 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.init.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.init.html @@ -1 +1 @@ -init in keychain_tracker_example_cli - Rust
    pub fn init<C: Subcommand, P>(
    ) -> Result<(Args<C>, KeyMap, Mutex<KeychainTracker<Keychain, P>>, Mutex<KeychainStore<Keychain, P>>)>where
        P: ChainPosition,
        KeychainChangeSet<Keychain, P>: Serialize + DeserializeOwned,
    \ No newline at end of file +init in keychain_tracker_example_cli - Rust
    pub fn init<C: Subcommand, P>(
    ) -> Result<(Args<C>, KeyMap, Mutex<KeychainTracker<Keychain, P>>, Mutex<KeychainStore<Keychain, P>>)>where
        P: ChainPosition,
        KeychainChangeSet<Keychain, P>: Serialize + DeserializeOwned,
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.planned_utxos.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.planned_utxos.html index 595e800624..e3273eed53 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.planned_utxos.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.planned_utxos.html @@ -1 +1 @@ -planned_utxos in keychain_tracker_example_cli - Rust
    pub fn planned_utxos<'a, AK: CanDerive + Clone, P: ChainPosition>(
        tracker: &'a KeychainTracker<Keychain, P>,
        assets: &'a Assets<AK>
    ) -> impl Iterator<Item = (Plan<AK>, FullTxOut<P>)> + 'a
    \ No newline at end of file +planned_utxos in keychain_tracker_example_cli - Rust
    pub fn planned_utxos<'a, AK: CanDerive + Clone, P: ChainPosition>(
        tracker: &'a KeychainTracker<Keychain, P>,
        assets: &'a Assets<AK>
    ) -> impl Iterator<Item = (Plan<AK>, FullTxOut<P>)> + 'a
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_address_cmd.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_address_cmd.html index 4d4e38479a..00a4f6922a 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_address_cmd.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_address_cmd.html @@ -1 +1 @@ -run_address_cmd in keychain_tracker_example_cli - Rust
    pub fn run_address_cmd<P>(
        tracker: &Mutex<KeychainTracker<Keychain, P>>,
        db: &Mutex<KeychainStore<Keychain, P>>,
        addr_cmd: AddressCmd,
        network: Network
    ) -> Result<()>where
        P: ChainPosition,
        KeychainChangeSet<Keychain, P>: Serialize + DeserializeOwned,
    \ No newline at end of file +run_address_cmd in keychain_tracker_example_cli - Rust
    pub fn run_address_cmd<P>(
        tracker: &Mutex<KeychainTracker<Keychain, P>>,
        db: &Mutex<KeychainStore<Keychain, P>>,
        addr_cmd: AddressCmd,
        network: Network
    ) -> Result<()>where
        P: ChainPosition,
        KeychainChangeSet<Keychain, P>: Serialize + DeserializeOwned,
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_balance_cmd.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_balance_cmd.html index 30b834c942..a7f2cb5a7d 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_balance_cmd.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_balance_cmd.html @@ -1 +1 @@ -run_balance_cmd in keychain_tracker_example_cli - Rust
    pub fn run_balance_cmd<P: ChainPosition>(
        tracker: &Mutex<KeychainTracker<Keychain, P>>
    )
    \ No newline at end of file +run_balance_cmd in keychain_tracker_example_cli - Rust
    pub fn run_balance_cmd<P: ChainPosition>(
        tracker: &Mutex<KeychainTracker<Keychain, P>>
    )
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_txo_cmd.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_txo_cmd.html index 545a1cea18..4fc98f33c6 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_txo_cmd.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/fn.run_txo_cmd.html @@ -1 +1 @@ -run_txo_cmd in keychain_tracker_example_cli - Rust
    pub fn run_txo_cmd<K: Debug + Clone + Ord, P: ChainPosition>(
        txout_cmd: TxOutCmd,
        tracker: &Mutex<KeychainTracker<K, P>>,
        network: Network
    )
    \ No newline at end of file +run_txo_cmd in keychain_tracker_example_cli - Rust
    pub fn run_txo_cmd<K: Debug + Clone + Ord, P: ChainPosition>(
        txout_cmd: TxOutCmd,
        tracker: &Mutex<KeychainTracker<K, P>>,
        network: Network
    )
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/struct.AddrsOutput.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/struct.AddrsOutput.html index 5380146662..d8f7a54f68 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/struct.AddrsOutput.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/keychain_tracker_example_cli/struct.AddrsOutput.html @@ -1,6 +1,6 @@ AddrsOutput in keychain_tracker_example_cli - Rust
    pub struct AddrsOutput { /* private fields */ }
    Expand description

    A structure defining the output of an AddressCmd` execution.

    -

    Trait Implementations§

    Deserialize this value from the given Serde deserializer. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    +

    Trait Implementations§

    Deserialize this value from the given Serde deserializer. Read more
    Serialize this value into the given Serde serializer. Read more

    Auto Trait Implementations§

    Blanket Implementations§

    Gets the TypeId of self. Read more
    Immutably borrows from an owned value. Read more
    Mutably borrows from an owned value. Read more

    Returns the argument unchanged.

    Calls U::from(self).

    That is, this conversion is whatever the implementation of From<T> for U chooses to do.

    -
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file +
    The type returned in the event of a conversion error.
    Performs the conversion.
    The type returned in the event of a conversion error.
    Performs the conversion.
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/search-index.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/search-index.js index 6a4db4234a..743a816180 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/search-index.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/search-index.js @@ -1,11 +1,11 @@ var searchIndex = JSON.parse('{\ -"bdk":{"doc":"bdk","t":[13,13,13,13,13,4,13,3,13,13,13,13,13,2,13,13,13,13,13,13,4,13,3,13,13,13,13,13,13,13,2,13,13,13,3,13,2,13,4,8,2,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,12,0,14,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,0,11,12,11,11,11,11,0,12,11,12,12,11,11,11,2,11,2,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,11,12,10,5,11,11,11,11,11,11,11,0,11,12,12,12,12,12,12,13,6,4,2,4,3,6,8,13,6,8,16,6,4,3,13,13,2,8,4,13,13,6,13,13,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,10,11,11,0,11,11,11,11,11,11,11,11,11,11,11,10,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,5,5,5,5,13,13,4,13,13,13,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,4,13,3,6,13,13,6,13,13,13,13,13,13,13,13,13,13,13,4,3,4,13,13,13,13,13,4,4,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,8,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,8,4,4,4,16,16,8,4,13,8,8,3,8,13,13,13,16,4,6,13,13,13,16,13,3,13,8,4,13,13,13,3,3,4,3,13,6,13,13,13,5,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,5,11,10,11,11,5,10,11,12,12,11,11,11,11,11,11,10,12,11,11,11,11,10,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,8,10,10,10,4,3,3,13,8,13,13,4,13,13,6,6,3,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,10,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,12,11,11,11,11,11,5,3,13,8,3,6,4,3,13,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,5,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,3,6,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,13,13,13,13,13,13,8,13,13,13,13,13,13,13,13,13,13,13,13,13,13,3,8,4,4,4,3,3,3,13,4,8,13,11,12,12,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,10,11,11,10,11,12,11,12,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,13,3,13,13,4,3,13,13,3,8,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["Bip32","BnBNoExactMatch","BnBTotalTriesExceeded","ChecksumMismatch","Descriptor","Error","External","FeeRate","FeeRateTooLow","FeeRateUnavailable","FeeTooLow","Foreign","Generic","HdKeyPaths","InsufficientFunds","Internal","InvalidOutpoint","InvalidPolicyPathError","IrreplaceableTransaction","Key","KeychainKind","Local","LocalUtxo","Miniscript","MiniscriptPsbt","MissingKeyOrigin","NoRecipients","NoUtxosSelected","OutputBelowDustLimit","Psbt","SignOptions","Signer","SpendingPolicyRequired","TransactionConfirmed","TransactionDetails","TransactionNotFound","TxBuilder","UnknownUtxo","Utxo","Vbytes","Wallet","WeightedUtxo","as_byte","as_ref","as_sat_per_vb","base32_len","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","check_base32","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","confirmation_time","confirmation_time","default","default_min_relay_fee","derivation_index","descriptor","descriptor","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","fee","fee_vb","fee_wu","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_btc_per_kvb","from_sat_per_kvb","from_sat_per_kwu","from_sat_per_vb","from_vb","from_wu","hash","hash","into","into","into","into","into","into","into","is_spent","keychain","keys","outpoint","outpoint","partial_cmp","partial_cmp","partial_cmp","provide","psbt","received","sat_per_kwu","satisfaction_weight","sent","serialize","serialize","serialize","signer","sub","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txid","txout","txout","type_id","type_id","type_id","type_id","type_id","type_id","type_id","utxo","vbytes","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","wallet","write_base32","available","needed","required","required","outpoint","psbt_input","Bare","DerivedDescriptor","Descriptor","DescriptorError","DescriptorPublicKey","DescriptorXKey","ExtendedDescriptor","ExtractPolicy","Hardened","HdKeyPaths","IntoWalletDescriptor","Key","KeyMap","Legacy","Miniscript","None","Pkh","Policy","ScriptContext","Segwitv0","Sh","Single","TapKeyOrigins","Tr","Unhardened","Wildcard","Wpkh","Wsh","XPub","address","as_enum","as_enum","as_inner","at_derivation_index","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branches","calc_checksum","check_global_consensus_validity","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_terminal_non_malleable","check_terminal_non_malleable","check_witness","check_witness","check_witness","checksum","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","contains_raw_pkh","derivation_path","derive","derived_descriptor","derived_descriptor","desc_type","deserialize","deserialize","dust_value","encode","eq","eq","eq","eq","eq","eq","error","explicit_script","ext","ext_check","extract_policy","extract_policy","extract_policy","find_derivation_index_for_spk","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from_ast","from_str","from_str","from_str_ext","from_str_insane","from_tree","from_tree","get_nth_child","get_nth_pk","get_satisfaction","get_satisfaction_mall","has_mixed_timelocks","has_repeated_keys","has_wildcard","hash","hash","hash","hash","hash","hash","into","into","into","into","into","into","into_inner","into_wallet_descriptor","into_wallet_descriptor","is_deriveable","is_non_malleable","iter","iter_pk","lift","lift","lift_check","matches","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_weight","max_satisfaction_witness_elements","name_str","name_str","name_str","new_bare","new_pk","new_pkh","new_sh","new_sh_sortedmulti","new_sh_with_wpkh","new_sh_with_wsh","new_sh_wpkh","new_sh_wsh","new_sh_wsh_sortedmulti","new_tr","new_wpkh","new_wsh","new_wsh_sortedmulti","node","origin","other_top_level_checks","parse","parse_descriptor","parse_insane","parse_with_ext","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","pk_len","pk_len","pk_len","policy","requires_sig","sanity_check","sanity_check","satisfy","satisfy","satisfy_malleable","script_code","script_pubkey","script_size","serialize","serialize","sig_type","sig_type","sig_type","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string_with_secret","top_level_checks","top_level_type_check","translate_pk","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","type_id","type_id","unsigned_script_sig","vzip","vzip","vzip","vzip","vzip","vzip","wildcard","within_resource_limits","xkey","calc_checksum","calc_checksum_bytes","get_checksum","get_checksum_bytes","Base58","Bip32","Error","HardenedDerivationXpub","Hex","InvalidDescriptorCharacter","InvalidDescriptorChecksum","InvalidHdKeyPath","Key","Miniscript","Pk","Policy","borrow","borrow_mut","fmt","fmt","from","from","from","from","from","from","from","from","into","provide","to_string","try_from","try_into","type_id","vzip","AbsoluteTimelock","AddOnLeaf","AddOnPartialComplete","BuildSatisfaction","Complete","Condition","ConditionMap","EcdsaSignature","Fingerprint","FoldedConditionMap","Hash160Preimage","Hash256Preimage","IncompatibleConditions","IndexOutOfRange","MixedTimelockUnits","Multisig","None","None","NotEnoughItemsSelected","Partial","PartialComplete","PkOrF","Policy","PolicyError","Psbt","PsbtTimelocks","Pubkey","RelativeTimelock","Ripemd160Preimage","Satisfaction","SatisfiableItem","SchnorrSignature","Sha256Preimage","Thresh","XOnlyPubkey","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","contribution","csv","default","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","get_condition","hash","hash","id","id","into","into","into","into","into","into","into","is_leaf","is_leaf","is_null","item","partial_cmp","provide","requires_path","satisfaction","serialize","serialize","serialize","serialize","serialize","timelock","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","current_height","input_max_height","psbt","condition","conditions","conditions","items","items","m","m","n","n","sorted","sorted","hash","hash","hash","hash","items","keys","threshold","threshold","value","value","Bip44","Bip44Public","Bip49","Bip49Public","Bip84","Bip84Public","DescriptorTemplate","DescriptorTemplateOut","P2Pkh","P2Wpkh","P2Wpkh_P2Sh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","build","build","build","build","build","build","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Bip32","DerivableKey","DescriptorKey","DescriptorPublicKey","DescriptorSecretKey","Entropy","Error","ExtScriptContext","ExtendedKey","FullKey","GeneratableDefaultOptions","GeneratableKey","GeneratedKey","IntoDescriptorKey","InvalidChecksum","InvalidNetwork","InvalidScriptContext","Key","KeyError","KeyMap","Legacy","Message","Miniscript","Options","Private","PrivateKeyGenerateOptions","Public","ScriptContext","ScriptContextEnum","Segwitv0","Single","Single","SinglePriv","SinglePub","SinglePubKey","SortedMultiVec","Tap","ValidNetworks","XOnly","XPrv","XPub","any_network","as_enum","at_derivation_index","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_global_consensus_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_witness","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","compressed","default","deref","derive","encode","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_public","from_secret","from_str","from_str","from_tree","full_derivation_path","generate","generate_default","generate_with_entropy","generate_with_entropy_default","has_secret","has_wildcard","hash","hash","hash","hash","into","into","into","into","into","into","into","into","into","into","into","into","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_extended_key","into_key","into_xprv","into_xpub","is_deriveable","is_legacy","is_legacy","is_segwit_v0","is_segwit_v0","is_taproot","is_taproot","is_uncompressed","is_x_only_key","k","key","key","lift","mainnet_network","master_fingerprint","max_satisfaction_size","max_satisfaction_size","max_satisfaction_witness_elements","merge_networks","name_str","new","origin","origin","other_top_level_checks","override_valid_networks","partial_cmp","partial_cmp","partial_cmp","partial_cmp","pk_len","pks","provide","sanity_check","satisfy","script_size","sig_type","sorted_node","test_networks","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_public","to_string","to_string","to_string","to_string","top_level_checks","top_level_type_check","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","PsbtUtils","fee_amount","fee_rate","get_utxo_for","AddressIndex","AddressInfo","Balance","Descriptor","IsDust","LastUnused","New","NewError","Peek","Persist","Update","UpdateError","Wallet","add","add_signer","address","apply_update","as_chain_graph","as_graph","as_ref","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_fee_bump","build_tx","cancel_tx","checkpoints","clone","clone_into","coin_selection","commit","confirmed","default","deref","derivation_index","derivation_of_spk","descriptor_checksum","deserialize","eq","eq","export","finalize_psbt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","get_address","get_balance","get_descriptor_for_keychain","get_internal_address","get_psbt_input","get_signers","get_tx","get_utxo","immature","index","insert_checkpoint","insert_tx","into","into","into","into","into","is_dust","is_mine","keychain","keychanins","latest_checkpoint","list_transactions","list_unspent","network","new","new_no_persist","next_derivation_index","policies","provide","public_descriptor","secp_ctx","serialize","sign","signer","spks_of_all_keychains","spks_of_keychain","staged","to_owned","to_string","to_string","to_string","total","transactions","trusted_pending","trusted_spendable","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","tx_builder","type_id","type_id","type_id","type_id","type_id","untrusted_pending","vzip","vzip","vzip","vzip","vzip","wallet_name_from_descriptor","BranchAndBoundCoinSelection","Change","CoinSelectionAlgorithm","CoinSelectionResult","DefaultCoinSelectionAlgorithm","Excess","LargestFirstCoinSelection","NoChange","OldestFirstCoinSelection","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","coin_select","coin_select","coin_select","coin_select","decide_change","default","default","default","excess","fee_amount","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","into","into","into","into","into","local_selected_amount","new","selected","selected_amount","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","amount","change_fee","dust_threshold","fee","remaining_amount","FullyNodedExport","WalletExport","blockheight","borrow","borrow_mut","change_descriptor","descriptor","deserialize","export_wallet","fmt","from","from_str","into","label","serialize","to_string","try_from","try_into","type_id","vzip","All","Dummy","Exclude","Fingerprint","Include","InputIndexOutOfRange","InputSigner","InvalidKey","InvalidNonWitnessUtxo","InvalidSighash","Legacy","MissingHdKeypath","MissingKey","MissingNonWitnessUtxo","MissingWitnessScript","MissingWitnessUtxo","NonStandardSighash","None","PkHash","Segwitv0","SighashError","SignOptions","SignerCommon","SignerContext","SignerError","SignerId","SignerOrdering","SignerWrapper","SignersContainer","Tap","TapLeavesOptions","TransactionSigner","UserCanceled","add_external","allow_all_sighashes","allow_grinding","as_key_map","assume_height","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","default","default","deref","descriptor_secret_key","descriptor_secret_key","descriptor_secret_key","eq","eq","eq","eq","eq","find","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","hash","id","id","id","ids","into","into","into","into","into","into","into","into","new","new","partial_cmp","partial_cmp","provide","remove","remove_partial_sigs","sign_input","sign_input","sign_input","sign_transaction","sign_transaction","sign_with_tap_internal_key","signers","tap_leaves_options","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","trust_witness_utxo","try_finalize","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","is_internal_key","Bip69Lexicographic","BumpFee","ChangeAllowed","ChangeForbidden","ChangeSpendPolicy","CreateTx","OnlyChange","Shuffle","TxBuilder","TxBuilderContext","TxOrdering","Untouched","add_data","add_foreign_utxo","add_global_xpubs","add_recipient","add_unspendable","add_utxo","add_utxos","allow_dust","allow_shrinking","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","change_policy","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","coin_selection","current_height","default","default","default","default","do_not_spend_change","drain_to","drain_wallet","enable_rbf","enable_rbf_with_sequence","eq","eq","fee_absolute","fee_rate","finish","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","hash","hash","include_output_redeem_witness_script","into","into","into","into","into","manually_selected_only","nlocktime","only_spend_change","only_witness_utxo","ordering","partial_cmp","partial_cmp","policy_path","set_recipients","sighash","sort_tx","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unspendable","version","vzip","vzip","vzip","vzip","vzip"],"q":["bdk","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::Error","","","","bdk::Utxo","","bdk::descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::checksum","","","","bdk::descriptor::error","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy::BuildSatisfaction","","","bdk::descriptor::policy::Satisfaction","","","","","","","","","","","bdk::descriptor::policy::SatisfiableItem","","","","","","","","","","bdk::descriptor::template","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::psbt","","","","bdk::wallet","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection::Excess","","","","","bdk::wallet::export","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer::SignerContext","bdk::wallet::tx_builder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["BIP32 error","Branch and bound coin selection tries to avoid needing a …","Branch and bound coin selection possible attempts with …","Descriptor checksum mismatch","Error related to the parsing and usage of descriptors","Errors that can be thrown by the Wallet","External","Fee rate","When bumping a tx the fee rate requested is lower than …","Node doesn’t have data to estimate a fee rate","When bumping a tx the absolute fee requested is lower than …","A UTXO owned by another wallet.","Generic error","","Wallet’s UTXO set is not enough to cover recipient’s …","Internal, usually used for change outputs","Requested outpoint doesn’t exist in the tx (vout greater …","Error while extracting and manipulating policies","Trying to replace a tx that has a sequence >= 0xFFFFFFFE","Error while working with keys","Types of keychains","A UTXO owned by the local wallet.","An unspent output owned by a Wallet.","Miniscript error","Miniscript PSBT error","In order to use the TxBuilder::add_global_xpubs option …","Cannot build a tx without recipients","manually_selected_only option is selected but no utxo has …","Output created is under the dust limit, 546 satoshis","Partially signed bitcoin transaction error","","Signing error","Spending policy is not compatible with this KeychainKind","Happens when trying to bump a transaction that is already …","A wallet transaction","Thrown when a tx is not found in the internal database","","Happens when trying to spend an UTXO that is not in the …","An unspent transaction output (UTXO).","Trait implemented by types that can be used to measure …","","A Utxo with its satisfaction_weight.","Return KeychainKind as a byte","","Return the value as satoshi/vbyte","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The confirmation time for transaction containing this utxo","If the transaction is confirmed, contains height and Unix …","","Create a new FeeRate with the default min relay fee value","The derivation index for the script pubkey in the wallet","Descriptors","Macro to write full descriptors with code","","","","","","","","","","Fee value in sats if it was available.","Calculate absolute fee in Satoshis using size in virtual …","Calculate absolute fee in Satoshis using size in weight …","","","","","","","","","Macro to write descriptor fragments with code","","Returns the argument unchanged.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a new instance of FeeRate given a float fee rate in …","Create a new instance of FeeRate given a float fee rate in …","Create a new instance of FeeRate given a float fee rate in …","Create a new instance of FeeRate given a float fee rate in …","Calculate fee rate from fee and vbytes.","Calculate fee rate from fee and weight units (wu).","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Whether this UTXO is spent or not","Type of keychain","Key formats","Get the location of the UTXO","Reference to a transaction output","","","","","Additional functions on the rust-bitcoin …","Received value (sats) Sum of owned outputs of this …","Return the value as satoshi/kwu","The weight of the witness data and scriptSig expressed in …","Sent value (sats) Sum of owned inputs of this transaction.","","","","","","","","","","","","","","Optional transaction","","","","","","","","","","","","","","","Transaction id","Get the TxOut of the UTXO","Transaction output","","","","","","","","The UTXO","Convert weight units to virtual bytes.","Get the version of BDK at runtime","","","","","","","","Wallet","","Sats available for spending","Sats needed for some transaction","Required fee rate (satoshi/vbyte)","Required fee absolute value (satoshi)","The location of the output.","The information about the input we require to add it to a …","A raw scriptpubkey (including pay-to-pubkey) under Legacy …","Alias for a Descriptor that contains extended derived keys","Script descriptor","","The descriptor pubkey, either a single pubkey or an xpub.","An extended key with origin, derivation path, and wildcard.","Alias for a Descriptor that can contain extended keys …","Trait implemented on Descriptors to add a method to …","Unhardened wildcard, e.g. *h","Alias for the type of maps that represent derivation paths …","Trait for types which can be converted into an …","The consensus key associated with the type. Must be a …","Alias type for a map of public key to secret key","Legacy ScriptContext To be used as P2SH scripts For …","Top-level script AST type","No wildcard","Pay-to-PubKey-Hash","","The ScriptContext for Miniscript. Additional type …","Segwitv0 ScriptContext","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)","Single public key.","Alias for the type of maps that represent taproot key …","Pay-to-Taproot","Unhardened wildcard, e.g. *","Whether a descriptor has a wildcard in it","Pay-to-Witness-PubKey-Hash","Pay-to-Witness-ScriptHash with Segwitv0 context","Extended public key (xpub).","Computes the Bitcoin address of the descriptor, if one …","","","Get a reference to the inner AstElem representing the root …","Replaces all wildcards (i.e. /*) in the descriptor with a …","","","","","","","","","","","","","Enumerates all child nodes of the current AST node (self) …","","Depending on script Context, some of the Terminals might …","","","Depending on script Context, some of the script resource …","","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It is …","","","Policy rules at the Miniscript satisfaction time. It is …","","","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","","","Check whether the given satisfaction is valid under the …","","","Descriptor checksum","","","","","","","","","","","","","","","","","","","Whether the given miniscript contains a raw pkh fragment","The derivation path","Deprecated name for [at_derivation_index].","Convert all the public keys in the descriptor to …","Convert all the public keys in the descriptor to …","Get the DescriptorType of Descriptor","","","","Encode as a Bitcoin script","","","","","","","Descriptor errors","Computes the the underlying script before any hashing is …","Additional information helpful for extra analysis.","Check whether the miniscript follows the given Extra …","Extract the spending policy","","","Utility method for deriving the descriptor at each index …","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Add type information(Type and Extdata) to Miniscript based …","","Parse a Miniscript from string and perform sanity checks …","Attempt to parse an Miniscripts that don’t follow the …","Attempt to parse an insane(scripts don’t clear sanity …","Parse an expression tree into a descriptor.","Parse an expression tree into a Miniscript. As a general …","Returns child node with given index, if any","Returns Option::Some with cloned n’th public key from …","Returns satisfying non-malleable witness and scriptSig to …","Returns a possilbly mallable satisfying non-malleable …","Whether the miniscript contains a combination of timelocks","Whether the miniscript has repeated Pk or Pkh","Whether or not the descriptor has any wildcards i.e. /*.","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Extracts the AstElem representing the root of the …","Convert to wallet descriptor","","Whether or not the descriptor has any wildcards","Whether the miniscript is malleable","Creates a new Iter iterator that will iterate over all …","Creates a new PkIter iterator that will iterate over all …","","","Lifting corresponds conversion of miniscript into Policy […","Compares this key with a keysource and returns the …","Depending on script context, the size of a satifaction …","","","Maximum size, in bytes, of a satisfying witness. For …","Computes an upper bound on the weight of a satisfying …","Maximum number of witness elements used to satisfy the …","Local helper function to display error messages with …","","","Create a new bare descriptor from witness script Errors …","Create a new pk descriptor","Create a new PkH descriptor","Create a new sh for a given redeem script Errors when …","Create a new sh sortedmulti descriptor with threshold k …","Create a new sh wrapper for the given wpkh descriptor","Create a new sh wrapper for the given wsh descriptor","Create a new sh wrapped wpkh from Pk. Errors when …","Create a new sh wrapped wsh descriptor with witness script …","Create a new sh wrapped wsh sortedmulti descriptor from …","Create new tr descriptor Errors when miniscript exceeds …","Create a new Wpkh descriptor Will return Err if …","Create a new wsh descriptor from witness script Errors …","Create a new wsh sorted multi descriptor Errors when …","A node in the Abstract Syntax Tree(","Origin information","Other top level checks that are context specific","Attempt to parse a Script into Miniscript representation.","Parse a descriptor that may contain secret keys","Attempt to parse an insane(scripts don’t clear sanity …","Attempt to parse an miniscript with extra features that …","","","","","","","Get the len of public key when serialized based on context …","","","Descriptor policy","Whether all spend paths of miniscript require a signature","Checks whether the descriptor is safe.","Check whether the underlying Miniscript is safe under the …","Attempts to produce a non-malleable satisfying witness and …","Attempt to produce non-malleable satisfying witness for the","Attempt to produce a malleable satisfying witness for the …","Computes the scriptCode of a transaction output.","Computes the scriptpubkey of the descriptor.","Size, in bytes of the script-pubkey. If this Miniscript is …","","","The type of signature required for satisfaction","","","Descriptor templates","","","","","","","","","Serialize a descriptor to string with its secret keys","Check top level consensus rules.","Check whether the top-level is type B","Converts a descriptor using abstract keys to one using …","Translates a struct from one generic to another where the …","","","","","","","","","","","","","The correctness and malleability type information for the …","","","","","","","Computes the scriptSig that will be in place for an …","","","","","","","Whether the descriptor is wildcard","Whether the miniscript can exceed the resource …","The extended key","Compute the checksum of a descriptor, excludes any …","Compute the checksum bytes of a descriptor, excludes any …","Compute the checksum of a descriptor","Compute the checksum bytes of a descriptor","Error during base58 decoding","BIP32 error","Errors related to the parsing and usage of descriptors","The descriptor contains hardened derivation steps on …","Hex decoding error","Invalid byte found in the descriptor checksum","The provided descriptor doesn’t match its checksum","Invalid HD Key path, such as having a wildcard but a …","Error thrown while working with keys","Miniscript error","Key-related error","Error while extracting and manipulating policies","","","","","","","","","","","Returns the argument unchanged.","","Calls U::from(self).","","","","","","","Absolute timeclock timestamp","Can not add to an item that is Satisfaction::None or …","Can not add to an item that is …","Options to build the satisfaction field in the policy","Can satisfy the policy item","An extra condition that must be satisfied but that is out …","Type for a map of sets of Condition items keyed by each set…","ECDSA Signature for a raw public key","An extended key fingerprint","Type for a map of folded sets of Condition items keyed by …","SHA256 then RIPEMD160 preimage hash","Double SHA256 preimage hash","Incompatible conditions (not currently used)","Index out of range for an item to satisfy a …","Can not merge CSV or timelock values unless both are less …","Multi-signature public keys with threshold count","Cannot satisfy or contribute to the policy item","Don’t generate satisfaction field","Not enough items are selected to satisfy a …","Only a partial satisfaction of some kind of threshold …","Can reach the threshold of some kind of threshold policy","A unique identifier for a key","Descriptor spending policy","Errors that can happen while extracting and manipulating …","Analyze the given PSBT to check for existing signatures","Like Psbt variant and also check for expired timelocks","A legacy public key","Relative timelock locktime","RIPEMD160 preimage hash","Represent if and how much a policy item is satisfied by …","An item that needs to be satisfied","Schnorr Signature for a raw public key","SHA256 preimage hash","Threshold items with threshold count","A x-only public key","","","","","","","","","","","","","","","","","","","","","","","","","","","How the wallet’s descriptor can satisfy this policy node","Optional CheckSequenceVerify condition","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Return the conditions that are set by the spending policy …","","","Returns a unique id for the SatisfiableItem","Identifier for this policy node","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns whether the SatisfiableItem is a leaf item","Returns whether the Satisfaction is a leaf item","Returns true if there are no extra conditions to verify","Type of this policy node","","","Return whether or not a specific path in the policy tree …","How much a given PSBT already satisfies this policy node …","","","","","","Optional timelock condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Current blockchain height","The highest confirmation height between the inputs CSV …","Given PSBT","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","The items that can be satisfied by the descriptor or are …","The items that can be satisfied by the descriptor","Threshold","Threshold","Total number of items","Total number of items","Whether the items are sorted in lexicographic order (used …","Whether the items are sorted in lexicographic order (used …","The digest value","The digest value","The digest value","The digest value","The policy items","The raw public key or extended key fingerprint","The required threshold count","The required threshold count","The timelock value","The timelock value","BIP44 template. Expands to pkh(key/44'/{0,1}'/0'/{0,1}/*)","BIP44 public template. Expands to pkh(key/{0,1}/*)","BIP49 template. Expands to …","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))","BIP84 template. Expands to wpkh(key/84'/{0,1}'/0'/{0,1}/*)","BIP84 public template. Expands to wpkh(key/{0,1}/*)","Trait for descriptor templates that can be built into a …","Type alias for the return type of DescriptorTemplate, …","P2PKH template. Expands to a descriptor pkh(key)","P2WPKH template. Expands to a descriptor wpkh(key)","P2WPKH-P2SH template. Expands to a descriptor sh(wpkh(key))","","","","","","","","","","","","","","","","","","","Build the complete descriptor","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BIP32 error","Trait for keys that can be derived.","Container for public or secret keys","The descriptor pubkey, either a single pubkey or an xpub.","The descriptor secret key, either a single private key or …","Type specifying the amount of entropy required e.g. [u8;32]","Returned error in case of failure","Trait that adds extra useful methods to ScriptContexts","Enum for extended keys that can be either xprv or xpub","A bitcoin public key (compressed or uncompressed).","Trait that allows generating a key with the default options","Trait for keys that can be generated","Output of a GeneratableKey key generation","Trait for objects that can be turned into a public or …","The key has an invalid checksum","The key is not valid for the given network","The key cannot exist in the given script context","The consensus key associated with the type. Must be a …","Errors thrown while working with keys","Alias type for a map of public key to secret key","Legacy scripts","Custom error message","Miniscript error","Extra options required by the generate_with_entropy","A private extended key, aka an xprv","Options for generating a PrivateKey","A public extended key, aka an xpub","The ScriptContext for Miniscript. Additional type …","Enum representation of the known valid ScriptContexts","Segwitv0 scripts","Single public key.","Single private key.","A descriptor bitcoin::PrivateKey with optional origin …","A descriptor SinglePubKey with optional origin information.","Single public key without any origin or range information.","Contents of a “sortedmulti” descriptor","Taproot scripts","Set of valid networks for a key","An xonly public key.","Extended private key (xpriv).","Extended public key (xpub).","Create a set containing mainnet, testnet, signet, and …","Returns the ScriptContext as a ScriptContextEnum","Replaces any wildcard (i.e. /*) in the key with a …","","","","","","","","","","","","","","","","","","","","","","","","","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the script resource …","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It is …","Policy rules at the Miniscript satisfaction time. It is …","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","Check whether the given satisfaction is valid under the …","","","","","","","","","","","","","","","","","","","Whether the generated key should be “compressed” or not","","","Deprecated name of [at_derivation_index].","Encode as a Bitcoin script","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create an instance given a public key and a set of valid …","Create an instance given a secret key and a set of valid …","","","Parse an expression tree into a SortedMultiVec","Full path, from the master key","Generate a key given the options with a random entropy","Generate a key with the default options and a random …","Generate a key given the extra options and the entropy","Generate a key with the default options and a given entropy","Return whether or not the key contains the private data","Whether or not the key has a wildcard","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Turn the key into a DescriptorKey within the requested …","Consume self and turn it into a DescriptorKey by adding …","","","","","","Consume self and turn it into an ExtendedKey","","","Consumes self and returns the key","Transform the ExtendedKey into an ExtendedPrivKey for the …","Transform the ExtendedKey into an ExtendedPubKey for the …","Whether or not the key has a wildcard","Returns whether the script context is Legacy","Returns whether the script context is …","Returns whether the script context is Segwitv0","Returns whether the script context is …","Returns whether the script context is Tap, aka Taproot or …","Returns whether the script context is …","","","signatures required","The public key.","The private key.","","Create a set only containing mainnet","The fingerprint of the master key associated with this …","Depending on script context, the size of a satifaction …","Maximum size, in bytes, of a satisfying witness. In …","Maximum number of witness elements used to satisfy the …","Compute the intersection of two sets","Local helper function to display error messages with …","Create a new instance of SortedMultiVec given a list of …","Origin information (fingerprint and derivation path).","Origin information (fingerprint and derivation path).","Other top level checks that are context specific","Override the computed set of valid networks","","","","","Get the len of public key when serialized based on context …","public keys inside sorted Multi","","utility function to sanity a sorted multi vec","Attempt to produce a satisfying witness for the witness …","Size, in bytes of the script-pubkey. If this Miniscript is …","The type of signature required for satisfaction","Create Terminal::Multi containing sorted pubkeys","Create a set containing testnet and regtest","","","","","","","","Returns the public version of this key.","","","","","Check top level consensus rules.","Check whether the top-level is type B","This will panic if fpk returns an uncompressed key when …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Trait to add functions to extract utxos and calculate fees.","The total transaction fee amount, sum of input amounts …","The transaction’s fee rate. This value will only be …","Get the TxOut for the specified input index, if it doesn’…","The address index selection strategy to use to derived an …","A derived address and the index it was found at. For …","Balance, differentiated into various categories.","There was problem with the descriptors passed in","Trait to check if a value is below the dust limit. We are …","Return the address for the current descriptor index if it …","Return a new address after incrementing the current …","Error returned from Wallet::new","Return the address for a specific descriptor index. Does …","We were unable to load the wallet’s data from the …","The update to a Wallet used in Wallet::apply_update. This …","Error indicating that something was wrong with an Update<T>…","A Bitcoin wallet","","Add an external signer","Address","Applies an update to the wallet and stages the changes …","Get a reference to the inner ChainGraph.","Get a reference to the inner TxGraph.","","","","","","","","","","","","","Bump the fee of a transaction previously created with this …","Start building a transaction.","Informs the wallet that you no longer intend to broadcast …","Get all the checkpoints the wallet is currently storing …","","","Coin selection","Commits all curently staged changed to the persistence …","Confirmed and immediately spendable balance","","","The derivation index of this wallet. It will return None …","Finds how the wallet derived the script pubkey spk.","Return the checksum of the public descriptor associated to …","","","","Wallet export","Finalize a PSBT, i.e., for each input determine if …","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Return a derived address using the external descriptor, …","Return the balance, separated into available, …","Returns the descriptor used to create addresses for a …","Return a derived address using the internal (change) …","get the corresponding PSBT Input for a LocalUtxo","Get the signers","Return a single transactions made and received by the …","Returns the utxo owned by this wallet corresponding to …","All coinbase outputs not yet matured","Child index of this address","Add a new checkpoint to the wallet’s internal view of …","Add a transaction to the wallet’s internal view of the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Check whether or not a value is below dust limit","Return whether or not a script is part of this wallet …","Type of keychain","Iterator over all keychains in this wallet","Returns the latest checkpoint.","Deprecated. use Wallet::transactions instead.","Return the list of unspent outputs of this wallet","Get the Bitcoin network the wallet is using.","Create a wallet from a descriptor (and an optional …","Creates a wallet that does not persist data.","The index of the next address that you would get if you …","Return the spending policies for the wallet’s descriptor","","Return the “public” version of the wallet’s …","Return the secp256k1 context used for all signing …","","Sign a transaction with all the wallet’s signers, in the …","Generalized signers","Returns a iterators of all the script pubkeys for the …","Gets an iterator over all the script pubkeys in a single …","Returns the changes that will be staged with the next call …","","","","","Get the whole balance visible to the wallet.","Iterate over the transactions in the wallet in order of …","Unconfirmed UTXOs generated by a wallet tx","Get sum of trusted_pending and confirmed coins.","","","","","","","","","","","Transaction builder","","","","","","Unconfirmed UTXOs received from an external wallet","","","","","","Deterministically generate a unique name given the …","Branch and bound coin selection","It’s possible to create spendable output from excess …","Trait for generalized coin selection algorithms","Result of a successful coin selection","Default coin selection algorithm used by TxBuilder if not …","Remaining amount after performing coin selection","Simple and dumb coin selection","It’s not possible to create spendable output from excess …","OldestFirstCoinSelection always picks the utxo with the …","","","","","","","","","","","","","","","","","Perform the coin selection","","","","Decide if change can be created","","","","Remaining amount after deducing fees and outgoing outputs","Total fee amount for the selected utxos in satoshis","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","The total value of the inputs selected from the local …","Create new instance with target size for change output","List of outputs selected for use as inputs","The total value of the inputs selected.","","","","","","","","","","","","","","","","","","","","","","","","Effective amount available to create change after …","The calculated fee for the drain TxOut with the selected …","Threshold to consider amount as dust for this particular …","The deducted change output fee","Exceeding amount of current selection over outgoing value …","Structure that contains the export of a wallet","Alias for FullyNodedExport","Earliest block to rescan when looking for the wallet’s …","","","Return the internal descriptor, if present","Return the external descriptor","","Export a wallet","","Returns the argument unchanged.","","Calls U::from(self).","Arbitrary label for the wallet","","","","","","","The signer will sign all the leaves it has a key for.","Dummy identifier","The signer won’t sign the specified leaves.","The fingerprint of a BIP32 extended key","The signer won’t sign leaves other than the ones …","Input index is out of range","PSBT Input signer","The private key in use has the right fingerprint but …","The non_witness_utxo specified is invalid","Invalid SIGHASH for the signing context in use","Legacy context","The fingerprint and derivation path are missing from the …","The private key is missing for the required public key","The non_witness_utxo field of the transaction is required …","The witness_script field of the transaction is required to …","The witness_utxo field of the transaction is required to …","The psbt contains a non-SIGHASH_ALL sighash in one of its …","The signer won’t sign any leaf.","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …","Segwit v0 context (BIP 143)","Error while computing the hash to sign","Options for a software signer","Common signer methods","Signing context","Signing error","Identifier of a signer in the SignersContainers. Used as a …","Defines the order in which signers are called","Wrapper structure to pair a signer with its context","Container for multiple signers","Taproot context (BIP 340)","Customize which taproot script-path leaves the signer …","PSBT signer","The user canceled the operation","Adds an external signer to the container for the specified …","Whether the signer should use the sighash_type set in the …","Whether we should grind ECDSA signature to ensure signing …","Create a map of public keys to secret keys","Whether the wallet should assume a specific height has …","","","","","","","","","","","","","","","","","Build a new signer container from a KeyMap","","","","","","","","","","","","","","","","","","","","","","","","Return the secret key for the signer","","","","","","","","Finds the signer with lowest ordering for a given id in …","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Return the SignerId for this signer","","","Returns the list of identifiers of all the signers in the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Create a wrapped signer from a signer and a context","Default constructor","","","","Removes a signer from the container and returns it","Whether to remove partial signatures from the PSBT inputs …","Sign a single psbt input","","","Sign all the inputs of the psbt","","Whether we should try to sign a taproot transaction with …","Returns the list of signers in the container, sorted by …","Specifies which Taproot script-spend leaves we should sign …","","","","","","","","","","Whether the signer should trust the witness_utxo, if the …","Whether to try finalizing the PSBT after the inputs are …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Whether the signer can sign for the internal key or not","BIP69 / Lexicographic","Marker type to indicate the TxBuilder is being used to …","Use both change and non-change outputs (default)","Only use non-change outputs (see …","Policy regarding the use of change outputs when creating a …","Marker type to indicate the TxBuilder is being used to …","Only use change outputs (see TxBuilder::only_spend_change)","Randomized (default)","A transaction builder","Context in which the TxBuilder is valid","Ordering of the transaction’s inputs and outputs","Unchanged","Add data as an output, using OP_RETURN","Add a foreign UTXO i.e. a UTXO not owned by this wallet.","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …","Add a recipient to the internal list","Add a utxo to the internal list of unspendable utxos","Add a utxo to the internal list of utxos that must be spent","Add the list of outpoints to the internal list of UTXOs …","Set whether or not the dust limit is checked.","Explicitly tells the wallet that it is allowed to reduce …","","","","","","","","","","","Set a specific ChangeSpendPolicy. See …","","","","","","","","","","","","","Choose the coin selection algorithm","Set the current blockchain height.","","","","","Do not spend change outputs","Sets the address to drain excess coins to.","Spend all the available inputs. This respects filters like …","Enable signaling RBF","Enable signaling RBF with a specific nSequence value","","","Set an absolute fee","Set a custom fee rate","Finish building the transaction.","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Fill-in the psbt::Output::redeem_script and …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Only spend utxos added by add_utxo.","Use a specific nLockTime while creating the transaction","Only spend change outputs","Only Fill-in the psbt::Input::witness_utxo field when …","Choose the ordering for inputs and outputs of the …","","","Set the policy path to use while creating the transaction …","Replace the recipients already added with a new list","Sign with a specific sig hash","Sort transaction inputs and outputs by TxOrdering variant","","","","","","","","","","","","","","","","","","","","","Replace the internal list of unspendable utxos with a new …","Build a transaction with a specific version","","","","",""],"i":[17,17,17,17,17,0,1,0,17,17,17,12,17,0,17,1,17,17,17,17,0,12,0,17,17,17,17,17,17,17,0,17,17,17,0,17,0,17,0,0,0,0,1,1,3,1,17,1,3,10,11,12,13,17,1,3,10,11,12,13,0,1,1,3,10,11,12,13,1,3,10,11,12,13,1,13,10,13,3,3,10,0,0,1,10,13,1,3,10,11,12,13,13,3,3,17,17,1,3,10,11,12,13,0,17,17,17,17,17,17,17,17,1,3,10,11,12,13,3,3,3,3,3,3,1,10,17,1,3,10,11,12,13,10,10,0,12,10,1,3,13,17,0,13,3,11,13,1,10,13,0,3,0,1,3,10,11,12,13,17,13,17,1,3,10,11,12,13,17,1,3,10,11,12,13,13,12,10,17,1,3,10,11,12,13,11,168,0,17,1,3,10,11,12,13,0,1,169,169,170,171,172,172,34,0,0,0,0,0,0,0,45,0,0,58,0,0,0,45,34,0,0,0,34,40,0,34,45,0,34,34,40,34,46,47,38,34,44,45,34,46,47,38,44,45,34,46,47,38,38,0,58,46,47,58,47,58,58,46,47,58,46,47,58,58,46,47,58,46,47,0,44,45,34,46,47,38,44,45,34,46,47,38,44,45,34,46,47,38,38,44,34,34,34,34,34,38,34,38,44,45,34,46,47,38,0,34,38,38,173,34,38,34,44,45,34,34,46,47,38,38,34,38,44,45,34,34,34,34,34,34,34,46,47,38,38,34,38,38,38,34,38,38,38,34,34,38,38,34,44,45,34,46,47,38,44,45,34,46,47,38,38,142,68,34,38,38,38,34,38,38,44,58,46,47,38,34,38,58,46,47,34,34,34,34,34,34,34,34,34,34,34,34,34,34,38,44,58,38,34,38,38,44,45,34,46,47,38,58,46,47,0,38,34,38,34,38,38,34,34,38,34,38,58,46,47,0,44,45,34,46,47,38,34,38,34,58,58,34,38,44,45,34,46,47,38,44,45,34,46,47,38,38,44,45,34,46,47,38,34,44,45,34,46,47,38,44,38,44,0,0,0,0,24,24,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,83,20,20,0,84,0,0,83,82,0,83,83,20,20,20,83,84,56,20,84,84,0,0,0,56,56,82,83,83,0,0,83,83,83,82,82,83,84,57,85,20,56,82,83,84,57,85,20,56,82,83,84,57,85,56,82,83,84,57,85,56,57,85,85,82,83,84,57,85,20,82,83,84,57,85,20,20,56,82,83,84,84,57,57,85,20,56,57,82,85,83,57,82,83,84,57,85,20,56,83,84,85,57,85,20,57,57,82,83,84,57,85,85,82,83,84,57,85,56,20,82,83,84,57,85,20,56,82,83,84,57,85,20,56,82,83,84,57,85,20,56,82,83,84,57,85,20,56,174,174,174,175,176,177,176,177,176,177,176,177,176,177,178,179,180,181,182,183,183,182,184,185,0,0,0,0,0,0,0,0,0,0,0,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,186,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,87,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,22,0,0,0,0,187,187,0,0,105,0,0,0,0,22,22,22,58,0,0,37,22,22,187,111,0,111,0,0,37,40,108,0,0,0,0,37,0,105,108,40,0,188,40,111,101,107,37,102,22,103,40,108,104,109,105,111,101,107,37,102,22,103,40,108,104,109,105,58,58,58,58,58,58,58,58,101,37,102,103,40,104,105,101,37,102,103,40,104,105,103,40,104,105,102,102,101,40,103,37,103,40,104,105,107,37,102,22,22,103,103,40,40,108,108,104,109,105,103,111,111,111,101,107,37,102,22,22,22,103,40,40,108,104,109,105,107,107,40,108,103,40,187,189,187,189,111,40,103,40,104,105,111,101,107,37,102,22,103,40,108,104,109,105,88,92,101,101,107,40,108,92,111,101,101,111,111,40,188,37,188,37,188,37,40,40,103,104,109,103,0,40,58,103,103,0,58,103,104,109,58,107,103,40,104,105,58,103,22,103,103,103,58,103,0,101,37,102,103,40,104,105,108,22,103,40,108,58,58,103,111,101,107,37,102,22,103,40,108,104,109,105,111,101,107,37,102,22,103,40,108,104,109,105,111,101,107,37,102,22,103,40,108,104,109,105,111,101,107,37,102,22,103,40,108,104,109,105,0,190,190,190,0,0,0,135,0,134,134,0,134,135,0,0,0,116,117,131,117,117,117,117,117,116,117,134,131,135,116,117,134,131,135,117,117,117,117,116,116,0,117,116,116,131,117,117,117,116,116,131,0,117,116,116,117,134,131,131,135,135,116,117,134,131,135,117,117,117,117,117,117,117,117,116,131,117,117,116,117,134,131,135,191,117,131,117,117,117,117,117,117,117,117,117,135,117,117,116,117,0,117,117,117,116,116,131,135,116,117,116,116,116,117,134,131,135,116,117,134,131,135,0,116,117,134,131,135,116,116,117,134,131,135,0,0,150,0,0,0,0,0,150,0,150,149,146,147,148,150,149,146,147,148,146,147,148,146,147,148,161,146,147,148,0,146,147,148,149,149,150,149,146,147,148,150,149,146,147,148,150,149,146,147,148,149,148,149,149,146,147,148,150,149,146,147,148,150,149,146,147,148,150,149,146,147,148,150,149,146,147,148,192,193,193,192,193,0,0,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,157,152,157,152,157,26,0,26,26,26,154,26,26,26,26,26,26,157,152,154,26,0,0,0,0,0,0,0,0,154,0,0,26,55,133,133,55,133,152,26,154,156,118,55,133,157,152,26,154,156,118,55,133,157,55,152,26,154,156,118,55,133,157,152,26,154,156,118,55,133,157,152,118,118,55,133,157,156,194,156,156,152,26,154,118,157,55,152,26,26,154,156,118,55,133,157,152,152,152,26,26,154,156,118,55,133,157,152,194,156,156,55,152,26,154,156,118,55,133,157,156,55,152,118,26,55,133,195,156,156,119,156,133,55,133,152,26,154,156,118,55,133,157,26,133,133,152,26,154,156,118,55,133,157,152,26,154,156,118,55,133,157,152,26,154,156,118,55,133,157,152,26,154,156,118,55,133,157,196,164,0,163,163,0,0,163,164,0,0,0,164,128,128,128,128,128,128,128,128,128,129,127,128,164,163,129,127,128,164,163,128,129,127,128,164,163,129,127,128,164,163,164,163,128,128,129,127,164,163,128,128,128,128,128,164,163,128,128,128,129,127,128,164,163,129,127,128,164,163,164,163,128,129,127,128,164,163,128,128,128,128,128,164,163,128,128,128,164,129,127,128,164,163,129,127,128,164,163,129,127,128,164,163,129,127,128,164,163,128,128,129,127,128,164,163],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[1],[3,4],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[9,[[8,[6,7]]]]]],[1,1],[3,3],[10,10],[11,11],[12,12],[13,13],[[]],[[]],[[]],[[]],[[]],[[]],[[1,1],14],[[13,13],14],0,0,[[],3],[[],3],0,0,0,[[],[[9,[1]]]],[[],[[9,[10]]]],[[],[[9,[13]]]],[[1,1],15],[[3,3],15],[[10,10],15],[[11,11],15],[[12,12],15],[[13,13],15],0,[[3,5],16],[[3,5],16],[[17,18],19],[[17,18],19],[[1,18],19],[[3,18],19],[[10,18],19],[[11,18],19],[[12,18],19],[[13,18],19],0,[20,17],[[]],[21,17],[22,17],[23,17],[24,17],[25,17],[26,17],[[]],[[]],[[]],[[]],[[]],[[]],[4,3],[4,3],[4,3],[4,3],[[16,5],3],[[16,5],3],[1],[10],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[12,27],0,[[1,1],[[28,[14]]]],[[3,3],[[28,[14]]]],[[13,13],[[28,[14]]]],[29],0,0,[3,4],0,0,[1,9],[10,9],[13,9],0,[[3,3]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[],30],0,[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],0,[12,31],0,[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],0,[[],5],[[],33],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],9],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[34,35],[[9,[36,23]]]],[[],37],[[],37],[38,39],[[[34,[40]],41],[[34,[42]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,[[8,[38,7]]]],0,[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[39,[[9,[43]]]],[39,[[9,[43]]]],[39,[[9,[43]]]],[[],[[9,[43]]]],[[],[[9,[43]]]],[[],[[9,[43]]]],0,[44,44],[45,45],[34,34],[46,46],[47,47],[38,38],[[]],[[]],[[]],[[]],[[]],[[]],[[44,44],14],[[45,45],14],[[34,34],14],[[46,46],14],[[47,47],14],[[38,38],14],[38,15],0,[[[34,[40]],41],[[34,[42]]]],[[[34,[42]],48],[[9,[[34,[49]],50]]]],[[[34,[40]],48,41],[[9,[[34,[49]],50]]]],[34,51],[[],[[9,[34]]]],[[],[[9,[38]]]],[[[34,[40]]],16],[38,52],[[44,44],15],[[45,45],15],[[34,34],15],[[46,46],15],[[47,47],15],[[38,38],15],0,[34,[[9,[52,23]]]],0,[[38,53],[[9,[54]]]],[[55,56,48],[[9,[[28,[57]],24]]]],[[[34,[40]],55,56,48],[[9,[[28,[57]],24]]]],[[[38,[40,58]],55,56,48],[[9,[[28,[57]],24]]]],[[[34,[40]],48,52,[59,[41]]],[[9,[28,50]]]],[[44,18],[[9,[60]]]],[[45,18],[[9,[60]]]],[[34,18],[[9,[60]]]],[[34,18],[[9,[60]]]],[[46,18],[[9,[60]]]],[[47,18],[[9,[60]]]],[[38,18],[[9,[60]]]],[[38,18],[[9,[60]]]],[34,15],[38,15],[[]],[[]],[61,34],[62,34],[63,34],[64,34],[65,34],[66,34],[[]],[[]],[[]],[[]],[39,[[9,[38,23]]]],[33,[[9,[34,23]]]],[33,[[9,[38,23]]]],[[33,53],[[9,[38,23]]]],[33,[[9,[38,23]]]],[67,[[9,[34,23]]]],[67,[[9,[38,23]]]],[[38,5],[[28,[38]]]],[[38,5],28],[34,[[9,[23]]]],[34,[[9,[23]]]],[38,15],[38,15],[[[34,[40]]],15],[44],[45],[34],[46],[47],[38],[[]],[[]],[[]],[[]],[[]],[[]],[38,39],[[48,35],[[9,[24]]]],[[68,48,35],[[9,[24]]]],[[[34,[40]]],15],[38,15],[38,69],[38,70],[34,[[9,[71,23]]]],[38,[[9,[71,23]]]],[38,[[9,[72]]]],[[44,48],[[28,[73]]]],[38,[[28,[5]]]],[38,[[28,[5]]]],[38,[[28,[5]]]],[38,[[9,[5,23]]]],[34,[[9,[5,23]]]],[38,[[9,[5,23]]]],[[],33],[[],33],[[],33],[[[38,[74]]],[[9,[34,23]]]],[[],34],[[],34],[[[38,[46]]],[[9,[34,23]]]],[[5,[8,[7]]],[[9,[34,23]]]],[65,34],[62,34],[[],[[9,[34,23]]]],[[[38,[47]]],[[9,[34,23]]]],[[5,[8,[7]]],[[9,[34,23]]]],[[[28,[75]]],[[9,[34,23]]]],[[],[[9,[34,23]]]],[[[38,[47]]],[[9,[34,23]]]],[[5,[8,[7]]],[[9,[34,23]]]],0,0,[38,[[9,[23]]]],[52,[[9,[38,23]]]],[[48,33],[[9,[23]]]],[52,[[9,[38,23]]]],[[52,53],[[9,[38,23]]]],[[44,44],[[28,[14]]]],[[45,45],[[28,[14]]]],[[34,34],[[28,[14]]]],[[46,46],[[28,[14]]]],[[47,47],[[28,[14]]]],[[38,38],[[28,[14]]]],[[],5],[[],5],[[],5],0,[38,15],[34,[[9,[23]]]],[38,[[9,[54]]]],[[34,76],[[9,[23]]]],[38,[[9,[[8,[[8,[2,7]],7]],23]]]],[38,[[9,[[8,[[8,[2,7]],7]],23]]]],[34,[[9,[52,23]]]],[34,52],[38,5],[34,9],[38,9],[[],77],[[],77],[[],77],0,[[]],[[]],[[]],[[]],[[]],[[]],[[],30],[[],30],[[[34,[40]],78],30],[38,[[9,[23]]]],[38,[[9,[23]]]],[34,9],[38,9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],0,[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[34,52],[[]],[[]],[[]],[[]],[[]],[[]],0,[38,15],0,[33,[[9,[30,24]]]],[33,[[9,[24]]]],[33,[[9,[30,24]]]],[33,[[9,[24]]]],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[24,18],19],[[24,18],19],[79,24],[23,24],[80,24],[20,24],[81,24],[22,24],[[]],[25,24],[[]],[29],[[],30],[[],9],[[],9],[[],32],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[82,82],[83,83],[84,84],[57,57],[85,85],[56,56],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[],85],[[82,82],15],[[83,83],15],[[84,84],15],[[57,57],15],[[85,85],15],[[20,20],15],[[82,18],19],[[83,18],19],[[84,18],19],[[57,18],19],[[85,18],19],[[20,18],19],[[20,18],19],[[56,18],19],[[]],[[]],[[]],[15,84],[[]],[83,57],[[]],[[]],[[]],[[57,86],[[9,[85,20]]]],[82],[85],[83,30],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[83,15],[84,15],[85,15],0,[[85,85],[[28,[14]]]],[29],[57,15],0,[82,9],[83,9],[84,9],[57,9],[85,9],0,[[]],[[]],[[]],[[]],[[]],[[]],[[],30],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[35,[[9,[87,24]]]],[[[89,[[88,[46]]]],35],[[9,[87,24]]]],[[[90,[[88,[47]]]],35],[[9,[87,24]]]],[[[91,[[88,[47]]]],35],[[9,[87,24]]]],[[[93,[[92,[46]]]],35],[[9,[87,24]]]],[[[94,[[92,[46]]]],35],[[9,[87,24]]]],[[[95,[[92,[47]]]],35],[[9,[87,24]]]],[[[96,[[92,[47]]]],35],[[9,[87,24]]]],[[[97,[[92,[47]]]],35],[[9,[87,24]]]],[[[98,[[92,[47]]]],35],[[9,[87,24]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[87,48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[48,35],[[9,[24]]]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],99],[[],37],[[40,41],42],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[39,[[9,[43]]]],[[],[[9,[43]]]],[[[101,[100,58]]],[[101,[100,58]]]],[37,37],[102,102],[103,103],[40,40],[104,104],[105,105],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[103,103],14],[[40,40],14],[[104,104],14],[[105,105],14],0,[[],102],[[[101,[58]]]],[[40,41],42],[103,52],[[37,37],15],[[103,103],15],[[40,40],15],[[104,104],15],[[105,105],15],[[[107,[[0,[106,58]]]],18],19],[[37,18],19],[[102,18],19],[[22,18],19],[[22,18],19],[[103,18],[[9,[60]]]],[[103,18],[[9,[60]]]],[[40,18],[[9,[60]]]],[[40,18],[[9,[60]]]],[[108,18],[[9,[60]]]],[[108,18],[[9,[60]]]],[[104,18],[[9,[60]]]],[[109,18],[[9,[60]]]],[[105,18],[[9,[60]]]],[103,15],[110,[[111,[58]]]],[[]],[112,[[111,[58]]]],[[]],[[]],[[]],[[]],[[]],[25,22],[23,22],[[]],[[]],[42,40],[[]],[[]],[[]],[[]],[[40,99],[[107,[58]]]],[[108,99],[[107,[58]]]],[33,[[9,[40]]]],[33,[[9,[108]]]],[67,[[9,[103,23]]]],[40,73],[[],[[9,[101]]]],[[],[[9,[101]]]],[[],[[9,[101]]]],[[],[[9,[101]]]],[[[111,[58]]],15],[40,15],[103],[40],[104],[105],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[9,[107,22]]]],[[[28,[113]],73],[[9,[107,22]]]],[101,[[9,[107,22]]]],[[101,[28,[113]],73],[[9,[107,22]]]],[[[107,[58]]],[[9,[[107,[58]],22]]]],[40,[[9,[[107,[58]],22]]]],[108,[[9,[[107,[58]],22]]]],[[],[[9,[111,22]]]],[[[111,[58]]],[[9,[[111,[58]],22]]]],[101,[[9,[111,22]]]],[[[101,[58]]]],[[[111,[58]],35],[[28,[112]]]],[[[111,[58]],35,48],110],[40,15],[[],15],[37,15],[[],15],[37,15],[[],15],[37,15],[40,15],[40,15],0,0,0,[103,[[9,[71,23]]]],[[],99],[40,114],[38,[[28,[5]]]],[103,5],[103,5],[[99,99],99],[[],33],[[5,[8,[7]]],[[9,[103,23]]]],0,0,[38,[[9,[23]]]],[[[107,[58]],99],[[107,[58]]]],[[103,103],[[28,[14]]]],[[40,40],[[28,[14]]]],[[104,104],[[28,[14]]]],[[105,105],[[28,[14]]]],[[],5],0,[29],[103,[[9,[23]]]],[103,[[9,[[8,[[8,[2,7]],7]],23]]]],[103,5],[[],77],[103,39],[[],99],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[108,48],[[9,[40,115]]]],[[],30],[[],30],[[],30],[[],30],[38,[[9,[23]]]],[38,[[9,[23]]]],[103,[[9,[103]]]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[28,[16]]]],[[],[[28,[3]]]],[5,[[28,[31]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[116,116],116],[[117,1,118,[120,[119]]]],0,[[117,121],[[9,[122]]]],[117,123],[117,124],[117,124],[117,123],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[117,125],[[9,[[128,[126,127]],17]]]],[117,[[128,[126,129]]]],[[117,130]],[117,86],[116,116],[[]],0,[117,9],0,[[],116],[131],[[117,1],[[28,[41]]]],[[117,52],28],[[117,1],30],[[],[[9,[116]]]],[[116,116],15],[[131,131],15],0,[[117,132,133],[[9,[15,17]]]],[[116,18],[[9,[60]]]],[[116,18],[[9,[60]]]],[[[117,[106]],18],19],[[134,18],19],[[131,18],19],[[131,18],19],[[[135,[106]],18],19],[[135,18],19],[[]],[[]],[[]],[[]],[[]],[[117,134],131],[117,116],[[117,1],68],[[117,134],131],[[117,10,[28,[136]],15],[[9,[137,17]]]],[[117,1],[[120,[55]]]],[[117,125,15],[[28,[13]]]],[[117,27],[[28,[10]]]],0,0,[[117,138],[[9,[15,139]]]],[[117,130,140],[[9,[15,[141,[140]]]]]],[[]],[[]],[[]],[[]],[[]],[52,15],[[117,52],15],0,[117,86],[117,[[28,[138]]]],[[117,15],[[8,[13]]]],[117,[[8,[10]]]],[117,35],[[142,[28,[142]],35],[[9,[117,135]]]],[[142,[28,[142]],35],[[9,[117,24]]]],[[117,1],41],[[117,1],[[9,[[28,[57]],17]]]],[29],[[117,1],[[28,[68]]]],[117,48],[116,9],[[117,132,133],[[9,[15,17]]]],0,[117,[[86,[1,[0,[143,100]]]]]],[[117,1],[[0,[143,100]]]],[117,144],[[]],[[],30],[[],30],[[],30],[116,16],[117,145],0,[116,16],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],0,[[],32],[[],32],[[],32],[[],32],[[],32],0,[[]],[[]],[[]],[[]],[[]],[[28,35,48],[[9,[30,17]]]],0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[146,146],[147,147],[148,148],[[]],[[]],[[]],[[[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[146,[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[147,[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[148,[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[16,3,52],150],[[],146],[[],147],[[],148],0,0,[[150,18],19],[[149,18],19],[[146,18],19],[[147,18],19],[[148,18],19],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[149,16],[16,148],0,[149,16],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,[[]],[[]],[151,[[28,[30]]]],[151,30],[[],[[9,[151]]]],[[117,33,15],[[9,[151,33]]]],[[151,18],19],[[]],[33,[[9,[151]]]],[[]],0,[151,9],[151,30],[[],9],[[],9],[[],32],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[55,152,118,[120,[119]]],[[28,[[120,[119]]]]]],0,0,[[55,48],153],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[153,34,48],55],[152,152],[26,26],[154,154],[[[156,[[0,[100,155,106,100]]]]],[[156,[[0,[100,155,106,100]]]]]],[118,118],[55,55],[133,133],[157,157],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[152,152],14],[[118,118],14],[[],118],[[],55],[[],133],[[],157],[[[156,[[0,[155,106,100]]]]]],[[],[[28,[108]]]],[[[156,[[44,[112]]]]],[[28,[108]]]],[[[156,[158]]],[[28,[108]]]],[[152,152],15],[[26,26],15],[[154,154],15],[[118,118],15],[[157,157],15],[[55,152],[[28,[120]]]],[[152,18],19],[[26,18],19],[[26,18],19],[[154,18],19],[[[156,[[0,[106,155,106,100]]]],18],19],[[118,18],19],[[55,18],19],[[133,18],19],[[157,18],19],[[]],[159,152],[114,152],[160,26],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[152],[48,152],[[[156,[[44,[112]]]],48],152],[[[156,[158]],48],152],[55,[[8,[152]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[0,[155,106,100]],154],[[156,[[0,[155,106,100]]]]]],[[],55],[[152,152],[[28,[14]]]],[[118,118],[[28,[14]]]],[29],[[55,152,118],[[28,[[120,[119]]]]]],0,[[132,5,133,48],[[9,[26]]]],[[[156,[158]],132,5,133,48],[[9,[26]]]],[[[156,[[44,[112]]]],132,5,133,48],[[9,[26]]]],[[132,133,48],[[9,[26]]]],[[132,133,48],[[9,[26]]]],0,[55,[[8,[120]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],30],0,0,[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[[128,[161,129]]],[[128,[161,129]]]],[[[128,[161,162]],27,137,5],[[9,[[128,[161,162]],17]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,129]],52,16],[[128,[161,129]]]],[[[128,[161,162]],27],[[128,[161,162]]]],[[[128,[161,162]],27],[[9,[[128,[161,162]],17]]]],[[[128,[161,162]]],[[9,[[128,[161,162]],17]]]],[[[128,[161,162]],15],[[128,[161,162]]]],[[[128,[126,127]],52],[[9,[[128,[126,127]],17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[128,[161,162]],163],[[128,[161,162]]]],[129,129],[127,127],[[[128,[100]]],[[128,[100]]]],[164,164],[163,163],[[]],[[]],[[]],[[]],[[]],[[164,164],14],[[163,163],14],[[[128,[161,162]],161],[[128,[161,162]]]],[[[128,[161,162]],41],[[128,[161,162]]]],[[],129],[[],127],[[],164],[[],163],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,129]],52],[[128,[161,129]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]],165],[[128,[161,162]]]],[[164,164],15],[[163,163],15],[[[128,[161,162]],16],[[128,[161,162]]]],[[[128,[161,162]],3],[[128,[161,162]]]],[[[128,[161,162]]],[[9,[17]]]],[[129,18],19],[[127,18],19],[[[128,[106,106,106]],18],19],[[164,18],19],[[163,18],19],[[]],[[]],[[]],[[]],[[]],[164],[163],[[[128,[161,162]]],[[128,[161,162]]]],[[]],[[]],[[]],[[]],[[]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]],166],[[128,[161,162]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]],164],[[128,[161,162]]]],[[164,164],[[28,[14]]]],[[163,163],[[28,[14]]]],[[[128,[161,162]],[86,[30,[8,[5]]]],1],[[128,[161,162]]]],[[[128,[161,129]],8],[[128,[161,129]]]],[[[128,[161,162]],136],[[128,[161,162]]]],[[164,130]],[[]],[[]],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[[128,[161,162]],[8,[27]]],[[128,[161,162]]]],[[[128,[161,162]],167],[[128,[161,162]]]],[[]],[[]],[[]],[[]],[[]]],"p":[[4,"KeychainKind"],[15,"u8"],[3,"FeeRate"],[15,"f32"],[15,"usize"],[3,"u5"],[3,"Global"],[3,"Vec"],[4,"Result"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[4,"Utxo"],[3,"TransactionDetails"],[4,"Ordering"],[15,"bool"],[15,"u64"],[4,"Error"],[3,"Formatter"],[6,"Result"],[4,"PolicyError"],[4,"Error"],[4,"KeyError"],[4,"Error"],[4,"Error"],[4,"Error"],[4,"SignerError"],[3,"OutPoint"],[4,"Option"],[3,"Demand"],[3,"String"],[3,"TxOut"],[3,"TypeId"],[15,"str"],[4,"Descriptor"],[4,"Network"],[3,"Address"],[4,"ScriptContextEnum"],[3,"Miniscript"],[4,"Terminal"],[4,"DescriptorPublicKey"],[15,"u32"],[3,"DefiniteDescriptorKey"],[4,"ScriptContextError"],[3,"DescriptorXKey"],[4,"Wildcard"],[4,"Legacy"],[4,"Segwitv0"],[3,"Secp256k1"],[3,"PublicKey"],[4,"ConversionError"],[4,"DescriptorType"],[3,"Script"],[3,"ExtParams"],[4,"AnalysisError"],[3,"SignersContainer"],[4,"BuildSatisfaction"],[3,"Policy"],[8,"ScriptContext"],[3,"Range"],[3,"Error"],[3,"Sh"],[3,"Wsh"],[3,"Bare"],[3,"Tr"],[3,"Wpkh"],[3,"Pkh"],[3,"Tree"],[6,"ExtendedDescriptor"],[3,"Iter"],[3,"PkIter"],[4,"Policy"],[4,"LiftError"],[3,"DerivationPath"],[4,"BareCtx"],[4,"TapTree"],[3,"TxIn"],[4,"SigType"],[3,"HashMap"],[4,"Error"],[4,"Error"],[4,"Error"],[4,"PkOrF"],[4,"SatisfiableItem"],[4,"Satisfaction"],[3,"Condition"],[3,"BTreeMap"],[6,"DescriptorTemplateOut"],[8,"IntoDescriptorKey"],[3,"P2Pkh"],[3,"P2Wpkh_P2Sh"],[3,"P2Wpkh"],[8,"DerivableKey"],[3,"Bip44"],[3,"Bip44Public"],[3,"Bip49"],[3,"Bip49Public"],[3,"Bip84"],[3,"Bip84Public"],[6,"ValidNetworks"],[8,"Clone"],[3,"GeneratedKey"],[3,"PrivateKeyGenerateOptions"],[3,"SortedMultiVec"],[3,"SinglePub"],[4,"SinglePubKey"],[8,"Debug"],[4,"DescriptorKey"],[4,"DescriptorSecretKey"],[3,"SinglePriv"],[3,"ExtendedPubKey"],[4,"ExtendedKey"],[3,"ExtendedPrivKey"],[6,"KeySource"],[3,"Fingerprint"],[3,"DescriptorKeyParseError"],[3,"Balance"],[3,"Wallet"],[3,"SignerOrdering"],[8,"TransactionSigner"],[3,"Arc"],[6,"Update"],[6,"UpdateError"],[3,"ChainGraph"],[3,"TxGraph"],[3,"Txid"],[6,"DefaultCoinSelectionAlgorithm"],[3,"BumpFee"],[3,"TxBuilder"],[3,"CreateTx"],[3,"Transaction"],[3,"AddressInfo"],[3,"PartiallySignedTransaction"],[3,"SignOptions"],[4,"AddressIndex"],[4,"NewError"],[3,"PsbtSighashType"],[3,"Input"],[3,"BlockId"],[4,"InsertCheckpointError"],[4,"ConfirmationTime"],[4,"InsertTxError"],[8,"IntoWalletDescriptor"],[8,"Iterator"],[3,"KeychainChangeSet"],[8,"DoubleEndedIterator"],[3,"LargestFirstCoinSelection"],[3,"OldestFirstCoinSelection"],[3,"BranchAndBoundCoinSelection"],[3,"CoinSelectionResult"],[4,"Excess"],[3,"FullyNodedExport"],[4,"SignerId"],[6,"KeyMap"],[4,"SignerContext"],[8,"Sized"],[3,"SignerWrapper"],[4,"TapLeavesOptions"],[3,"PrivateKey"],[3,"Hash"],[4,"Error"],[8,"CoinSelectionAlgorithm"],[8,"TxBuilderContext"],[4,"ChangeSpendPolicy"],[4,"TxOrdering"],[3,"Sequence"],[4,"LockTime"],[15,"i32"],[8,"Vbytes"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[13,"Foreign"],[8,"ExtractPolicy"],[13,"PsbtTimelocks"],[13,"Complete"],[13,"Partial"],[13,"PartialComplete"],[13,"Sha256Preimage"],[13,"Hash256Preimage"],[13,"Ripemd160Preimage"],[13,"Hash160Preimage"],[13,"Thresh"],[13,"Multisig"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[8,"DescriptorTemplate"],[8,"GeneratableKey"],[8,"ExtScriptContext"],[8,"GeneratableDefaultOptions"],[8,"PsbtUtils"],[8,"IsDust"],[13,"Change"],[13,"NoChange"],[8,"SignerCommon"],[8,"InputSigner"],[13,"Tap"]]},\ -"bdk_chain":{"doc":"This crate is a collection of core structures for Bitcoin …","t":[8,8,17,3,17,8,3,4,3,13,13,13,8,16,8,3,4,3,3,4,13,13,13,11,10,11,11,12,12,10,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,12,11,11,11,11,11,0,0,11,11,11,11,11,2,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,13,13,3,3,13,6,4,13,4,3,13,13,4,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,12,16,3,3,8,8,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,10,10,11,11,11,11,11,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,3,3,3,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,16,3,8,16,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,8,3,13,4,4,13,3,13,13,13,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["Anchor","Append","BIP32_MAX_INDEX","BlockId","COINBASE_MATURITY","ChainOracle","ConfirmationHeightAnchor","ConfirmationTime","ConfirmationTimeAnchor","Confirmed","Confirmed","Confirmed","DescriptorExt","Error","ForEachTxOut","FullTxOut","ObservedAs","SpkIterator","SpkTxOutIndex","TxHeight","Unconfirmed","Unconfirmed","Unconfirmed","all_spks","anchor_block","anchor_block","anchor_block","anchor_block","anchor_block","append","apply_additions","bitcoin","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain_graph","chain_position","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cloned","cmp","cmp","cmp","cmp","cmp","cmp","cmp","confirmation_height","confirmation_height","confirmation_height_upper_bound","confirmation_height_upper_bound","confirmation_height_upper_bound","confirmation_height_upper_bound","confirmation_time","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","dust_value","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_txout","from","from","from","from","from","from","from","from","from","from","from","from","hash","hash","hash","hash","hash","hash","hash","height","height","height","index_of_spk","index_tx","index_txout","indexed_tx_graph","insert_spk","into","into","into","into","into","into","into","into","into","into_iter","is_block_in_chain","is_confirmed","is_confirmed","is_confirmed_and_spendable","is_mature","is_mature","is_on_coinbase","is_relevant","is_spendable_at","is_spk_owned","is_tx_relevant","is_used","keychain","local_chain","mark_used","max_ord_of_height","max_ord_of_height","min_ord_of_height","min_ord_of_height","miniscript","net_value","new","next","nth","outpoint","outputs_in_range","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","scan","scan_txout","sent_and_received","serialize","serialize","serialize","serialize","serialize","sparse_chain","spent_by","spk_at_index","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","tx_graph","txout","txout","txouts","txouts_in_tx","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unmark_used","unused_spks","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","height","time","Chain","Chain","ChainGraph","ChangeSet","Conflict","InsertCheckpointError","InsertTxError","Missing","NewError","UnresolvableConflict","UnresolvableConflict","UnresolvableConflict","UpdateError","already_confirmed_tx","append","apply_changeset","apply_update","as_ref","as_ref","as_ref","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","chain","checkpoint_limit","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","contains_eviction","default","default","deserialize","determine_changeset","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_txout","for_each_txout","from","from","from","from","from","from","from","from","from","from","full_txout","get_tx_in_chain","graph","graph","inflate_update","insert_checkpoint","insert_checkpoint_preview","insert_tx","insert_tx_preview","insert_txout","insert_txout_preview","into","into","into","into","into","into","invalidate_checkpoints","invalidate_checkpoints_preview","is_empty","is_empty","new","provide","provide","provide","provide","serialize","set_checkpoint_limit","spent_by","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","transactions_in_chain","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","tx_conflicts_in_chain","type_id","type_id","type_id","type_id","type_id","type_id","update_tx","vzip","vzip","vzip","vzip","vzip","vzip","a","b","Additions","IndexedAdditions","IndexedTxGraph","Indexer","OwnedIndexer","append","apply_additions","apply_additions","apply_update","balance","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","default","deserialize","eq","fmt","fmt","from","from","graph","graph_additions","index","index_additions","index_tx","index_txout","insert_relevant_txs","insert_tx","insert_txout","into","into","is_spk_owned","is_tx_relevant","list_owned_txouts","list_owned_unspents","serialize","to_owned","try_balance","try_from","try_from","try_into","try_into","try_list_owned_txouts","try_list_owned_unspents","type_id","type_id","vzip","vzip","Balance","DerivationAdditions","KeychainChangeSet","KeychainScan","KeychainTracker","KeychainTxOutIndex","add","add_keychain","add_keychain","append","append","apply_additions","apply_additions","apply_changeset","apply_update","as_inner","as_ref","as_ref","as_ref","as_ref","as_ref","balance","balance_at","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","chain_graph","chain_graph","checkpoint_limit","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","confirmed","default","default","default","default","default","default","deref","derivation_indices","deserialize","deserialize","deserialize","determine_changeset","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_txout","from","from","from","from","from","from","from","from","from","full_txouts","full_utxos","graph","immature","index_tx","index_txout","inner","insert_checkpoint","insert_checkpoint_preview","insert_tx","insert_tx_preview","into","into","into","into","into","into","is_empty","is_empty","is_spk_owned","is_tx_relevant","keychains","keychains","last_active_indices","last_revealed_index","last_revealed_indices","last_used_index","last_used_indices","lookahead_to_target","lookahead_to_target_multi","lookaheads","mark_used","next_index","next_unused_spk","persist","reveal_next_spk","reveal_to_target","reveal_to_target_multi","revealed_spks_of_all_keychains","revealed_spks_of_keychain","scan","scan_txout","serialize","serialize","serialize","set_checkpoint_limit","set_lookahead","set_lookahead_for_all","spks_of_all_keychains","spks_of_keychain","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","total","trusted_pending","trusted_spendable","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","txout_index","txouts_of_keychain","type_id","type_id","type_id","type_id","type_id","type_id","unmark_used","untrusted_pending","unused_spks_of_keychain","update","vzip","vzip","vzip","vzip","vzip","vzip","LoadError","Persist","PersistBackend","WriteError","append_changeset","borrow","borrow_mut","commit","fmt","from","into","load_into_keychain_tracker","new","stage","staged","try_from","try_into","type_id","vzip","ChangeSet","InsertBlockNotMatchingError","LocalChain","UpdateNotConnectedError","apply_changeset","apply_update","as_ref","blocks","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","default","determine_changeset","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from_blocks","height","heights","initial_changeset","insert_block","into","into","into","is_block_in_chain","original_hash","partial_cmp","provide","provide","tip","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_hash","vzip","vzip","vzip","ChainPosition","ChangeSet","HashNotMatching","InsertCheckpointError","InsertTxError","NotConnected","SparseChain","TxInconsistent","TxMovedUnexpectedly","TxTooHigh","UpdateError","append","apply_changeset","apply_update","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","changeset_additions","checkpoint_at","checkpoint_limit","checkpoints","checkpoints","clear_mempool","clear_mempool_preview","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","deserialize","determine_changeset","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_checkpoints","full_txout","height","initial_changeset","insert_checkpoint","insert_checkpoint_preview","insert_tx","insert_tx_preview","into","into","into","into","into","invalidate_checkpoints","invalidate_checkpoints_preview","is_empty","is_empty","latest_checkpoint","max_ord_of_height","min_ord_of_height","provide","provide","provide","range_checkpoints","range_txids","range_txids_by_height","range_txids_by_position","serialize","set_checkpoint_limit","spent_by","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","tx_position","txids","txids","type_id","type_id","type_id","type_id","type_id","unconfirmed","vzip","vzip","vzip","vzip","vzip","height","original_hash","update_hash","original_pos","tip_height","tx_height","txid","txid","update_pos","original_pos","txid","update_pos","Additions","CanonicalTx","TxDescendants","TxGraph","TxNode","all_anchors","all_txouts","anchors","anchors","append","apply_additions","apply_update","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","calculate_fee","checked_sum","checked_sum","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","deref","deserialize","determine_additions","direct_conflicts_of_tx","eq","eq","eq","eq","floating_txouts","fmt","fmt","fmt","fmt","for_each_txout","for_each_txout","from","from","from","from","from","full_txs","get_chain_position","get_chain_spend","get_tx","get_tx_node","get_txout","insert_anchor","insert_anchor_preview","insert_seen_at","insert_seen_at_preview","insert_tx","insert_tx_preview","insert_txout","insert_txout_preview","into","into","into","into","into","into_iter","is_empty","is_empty","last_seen","last_seen_unconfirmed","list_chain_txouts","list_chain_txs","list_chain_unspents","new","next","node","observed_as","outspends","partial_cmp","partial_cmp","serialize","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_get_chain_position","try_get_chain_spend","try_into","try_into","try_into","try_into","try_into","try_list_chain_txouts","try_list_chain_txs","try_list_chain_unspents","tx","tx","tx_outputs","tx_spends","txid","txout","txouts","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","walk_conflicts","walk_descendants"],"q":["bdk_chain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::ConfirmationTime","","bdk_chain::chain_graph","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::chain_graph::NewError","","bdk_chain::indexed_tx_graph","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::keychain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::keychain::persist","","","","","","","","","","","","","","","","","","","bdk_chain::local_chain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::sparse_chain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::sparse_chain::InsertCheckpointError","","","bdk_chain::sparse_chain::InsertTxError","","","","","","bdk_chain::sparse_chain::UpdateError","","","bdk_chain::tx_graph","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Trait that “anchors” blockchain data to a specific …","Trait that makes an object appendable.","Maximum BIP32 derivation index.","A reference to a block in the canonical chain.","How many confirmations are needed f or a coinbase output …","Represents a service that tracks the blockchain.","An Anchor implementation that also records the exact …","Block height and timestamp at which a transaction is …","An Anchor implementation that also records the exact …","The chain data is seen as confirmed, and in anchored by A.","","","A trait to extend the functionality of a miniscript …","Error type.","Trait to do something with every txout contained in a …","A TxOut with as much data as we can retrieve about it","Represents an observation of some chain data.","An iterator for derived script pubkeys.","An index storing TxOuts that have a script pubkey that …","Represents the height at which a transaction is confirmed.","The chain data is seen in mempool at this given timestamp.","","","The script pubkeys that are being tracked by the index.","Returns the BlockId that the associated blockchain data is …","","","The anchor block.","The anchor block.","Append another object of the same type onto self.","","","","","","","","","","","","","","","","","","","","","Module for structures that combine the features of …","The position of the transaction in outpoint in the overall …","","","","","","","","","","","","","","","","","","","","","","","","","","","The exact confirmation height of the transaction.","","Get the upper bound of the chain data’s confirmation …","Get the upper bound of the chain data’s confirmation …","","","","","","","","","","","","","","Returns the minimum value (in satoshis) at which an output …","","","","","","","","","","","","","","","","","The provided closure f will be called with each …","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","The hash of the block.","","","The height of the block.","Returns the index associated with the script pubkey.","","","","Adds a script pubkey to scan for. Returns false and does …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Determines whether block of BlockId exists as an ancestor …","","","Whether the utxo is/was/will be spendable with chain tip.","","Whether the txout is considered mature.","Whether this output is on a coinbase transaction.","Whether any of the inputs of this transaction spend a …","Whether the utxo is/was/will be spendable at height.","","","Returns whether the script pubkey at index has been used …","Module for keychain related structures.","","Marks the script pubkey at index as used even though it …","","","","","","Computes the net value that this transaction gives to the …","Creates a new script pubkey iterator starting at 0 from a …","","","The location of the TxOut.","Iterates over all the outputs with script pubkeys in an …","","","","","","","","Scans an object containing many txouts.","Scan a single TxOut for a matching script pubkey and …","Computes total input value going from script pubkeys in …","","","","","","Module for structures that maintain sparse (purposely …","The txid and chain position of the transaction (if any) …","Returns the script that has been inserted at the index.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Module for structures that store and traverse transactions.","Returns the txout and script pubkey index of the TxOut at …","The TxOut.","Iterate over all known txouts that spend to tracked script …","Finds all txouts on a transaction that has previously been …","","","","","","","","","","Undoes the effect of mark_used. Returns whether the index …","Iterates over all unused script pubkeys in an index range.","","","","","","","","","","","","","The update chain was inconsistent with the existing chain","A consistent combination of a SparseChain<P> and a …","Represents changes to ChainGraph.","Two transactions within the sparse chain conflicted with …","A nice alias of sparse_chain::InsertCheckpointError.","Error that may occur when inserting a transaction.","One or more transactions in the chain were not in the graph","Error that may occur when calling ChainGraph::new.","Represents an unresolvable conflict between an update’s …","","A transaction in the update spent the same input as an …","Represents an update failure.","","Appends the changes in other into self such that applying …","Applies changeset to self.","Applies the update chain graph. Note this is shorthand for …","","","","","","","","","","","","","","","","Returns a reference to the internal SparseChain.","","Gets the checkpoint limit.","","","","","","","","","","","","","Returns true if this ChangeSet contains transaction …","","","","Calculates the difference between self and update in the …","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Get the full transaction output at an outpoint if it …","Get a transaction currently in the underlying SparseChain.","Returns a reference to the internal TxGraph.","","Take an update in the form of a SparseChain<P> and attempt …","Inserts checkpoint into Self.","Determines the changes required to insert a block_id (a …","Inserts Transaction at the given chain position.","Determines the changes required to insert a transaction …","Inserts a TxOut into the internal TxGraph.","Determines the changes required to insert a TxOut into the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invalidate checkpoints from_height (inclusive) and above. …","Determines the changes required to invalidate checkpoints …","Whether the chain graph contains any data whatsoever.","Returns true if this ChangeSet records no changes.","Create a new chain graph from a chain and a graph.","","","","","","Sets the checkpoint limit.","Find the transaction in the chain that spends outpoint.","","","","","","","","","","","Iterate over the full transactions and their position in …","","","","","","","","","","","","","Given a transaction, return an iterator of txids that …","","","","","","","","","","","","","","","","The resultant “additions” when new transaction data is …","A structure that represents changes to an IndexedTxGraph.","A struct that combines TxGraph and an Indexer …","Represents a structure that can index transaction data.","A trait that extends Indexer to also index “owned” …","","Apply additions to itself.","Applies the IndexedAdditions to the IndexedTxGraph.","Apply an update directly.","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Get a reference of the internal transaction graph.","TxGraph additions.","Transaction index.","Indexer additions.","Scan and index the given transaction.","Scan and index the given outpoint and txout.","Insert relevant transactions from the given txs iterator.","Insert and index a transaction into the graph.","Insert a floating txout of given outpoint.","Calls U::from(self).","Calls U::from(self).","Determines whether a given script pubkey (spk) is owned.","Determines whether the transaction should be included in …","","","","","","","","","","","","","","","","Balance, differentiated into various categories.","Represents updates to the derivation index of a …","Represents changes to a KeychainTracker.","An update that includes the last active indexes of each …","A convenient combination of a KeychainTxOutIndex and a …","A convenient wrapper around SpkTxOutIndex that relates …","","Add a keychain to the tracker’s txout_index with a …","Add a keychain to the tracker’s txout_index with a …","Append another DerivationAdditions into self.","Appends the changes in other into self such that applying …","","Applies the derivation additions to the KeychainTxOutIndex…","Applies the changes in changeset to KeychainTracker.","Directly applies a KeychainScan on KeychainTracker.","Get the inner map of the keychain to its new derivation …","","","","","","Returns the balance of the keychain, i.e., the value of …","Returns the balance of all spendable confirmed unspent …","","","","","","","","","","","","","Returns a reference to the internal SparseChain (which is …","Returns a reference to the internal ChainGraph.","The changes that have occurred in the blockchain","Get the checkpoint limit of the internal SparseChain.","","","","","","","","","","","","","Confirmed and immediately spendable balance","","","","","","","","The changes in local keychain derivation indices","","","","Determines the resultant KeychainChangeSet if the given …","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","Iterates through FullTxOuts that are considered to exist …","Iterates through FullTxOuts that are unspent outputs.","Returns a reference to the internal TxGraph (which is part …","All coinbase outputs not yet matured","","","Return a reference to the internal SpkTxOutIndex.","Directly insert a block_id into the tracker.","Determines the changes as a result of inserting block_id …","Directly insert a transaction into the inner ChainGraph …","Determines the changes as a result of inserting a …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns whether the additions are empty.","Returns whether the KeychainChangeSet is empty (no changes …","","","Get the internal map of keychains to their descriptors. …","Return a reference to the internal map of the keychain to …","The last active indexes of each keychain","Get the last derivation index revealed for keychain.","Get the last derivation index that is revealed for each …","Returns the highest derivation index of the keychain where …","Returns the highest derivation index of each keychain that …","Store lookahead scripts until target_index.","Convenience method to call lookahead_to_target for …","Return the lookahead setting for each keychain.","Marks the script pubkey at index as used even though the …","Get the next derivation index for keychain. The next index …","Gets the next unused script pubkey in the keychain. I.e., …","Persistence for changes made to a KeychainTracker.","Attempts to reveal the next script pubkey for keychain.","Reveals script pubkeys of the keychain’s descriptor up …","Convenience method to call Self::reveal_to_target on …","Convenience method to get revealed_spks_of_keychain of all …","Iterates over the script pubkeys revealed by this index …","Scans an object for relevant outpoints, which are stored …","Scan a single outpoint for a matching script pubkey.","","","","Set the checkpoint limit of the internal SparseChain.","Set the lookahead count for keychain.","Convenience method to call set_lookahead for all keychains.","Generates script pubkey iterators for every keychain. The …","Generates a script pubkey iterator for the given keychain…","","","","","","","","Get the whole balance visible to the wallet.","Unconfirmed UTXOs generated by a wallet tx","Get sum of trusted_pending and confirmed coins.","","","","","","","","","","","","","Index between script pubkeys to transaction outputs","Iterates over all the OutPoint that have a TxOut with a …","","","","","","","Undoes the effect of mark_used. Returns whether the index …","Unconfirmed UTXOs received from an external wallet","Iterates over all unused script pubkeys for a keychain …","The update data in the form of a chain that could be …","","","","","","","The error the backend returns when it fails to load.","Persist wraps a PersistBackend to create a convenient …","A persistence backend for Persist.","The error the backend returns when it fails to write.","Appends a new changeset to the persistent backend.","","","Commit the staged changes to the underlying persistence …","","Returns the argument unchanged.","Calls U::from(self).","Applies all the changesets the backend has received to …","Create a new Persist from a PersistBackend.","Stage a changeset to later persistence with commit.","Get the changes that haven’t been committed yet","","","","","This is the return value of determine_changeset and …","Represents a failure when trying to insert a checkpoint …","This is a local implementation of ChainOracle.","Represents an update failure of LocalChain due to the …","Applies the given changeset.","Updates LocalChain with an update LocalChain.","","Get a reference to a map of block height to hash.","","","","","","","","","","","","","","","This is like the sparsechain’s logic, expect we must …","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Insert a block of BlockId into the LocalChain.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Represents a position in which transactions are ordered in …","The return value of determine_changeset.","Occurs when a checkpoint of the same height already exists …","Represents a failure when trying to insert a checkpoint …","Represents a failure when trying to insert a Txid into …","The update cannot be applied to the chain because the …","This is a non-monotone structure that tracks relevant Txid…","The update contains inconsistent tx states (e.g., it …","Occurs when the Txid is already in the SparseChain, and …","Occurs when the Txid is to be inserted at a height higher …","Represents an update failure of SparseChain.","Appends the changes of other into self such that applying …","","Updates SparseChain with another chain that connects to it.","","","","","","","","","","","","Return Txids that would be added to the sparse chain if …","Get the checkpoint at the given height if it exists.","Returns the value set as the checkpoint limit.","Return a BTreeMap of all checkpoints (block hashes by …","","Clears all transactions of height TxHeight::Unconfirmed.","Determines the ChangeSet when all transactions of height …","","","","","","","","","","","","","","Preview changes of updating Self with another chain that …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a new chain from a list of block hashes and …","Attempt to retrieve a FullTxOut of the given outpoint.","Get the transaction height of the position.","Derives a ChangeSet that assumes that there are no …","Insert a checkpoint (BlockId).","Determines the resultant ChangeSet if BlockId was inserted.","Inserts a given Txid at pos.","Determines the resultant ChangeSet if Txid was inserted at …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invalidate checkpoints from_height (inclusive) and above.","Determines the ChangeSet when checkpoints from_height …","Returns whether the sparse chain contains any checkpoints …","Whether this changeset contains no changes.","Get the checkpoint for the last known tip.","Get the position’s upper bound of a given height.","Get the position’s lower bound of a given height.","","","","Return an iterator over checkpoints in a height range, in …","Iterate over a sub-range of positioned Txids.","Iterate over a sub-range of positioned Txids, where the …","Iterate over a sub-range of positioned Txids, where the …","","Set the checkpoint limit.","Finds the transaction in the chain that spends outpoint.","","","","","","","","","","","","","","","","","","","Return the ChainPosition of a txid.","Iterate over all Txids ordered by their ChainPosition.","","","","","","","Get the unconfirmed position.","","","","","","","","","","","","","","","","","","A structure that represents changes to a TxGraph.","An outwards-facing view of a transaction that is part of …","An iterator that traverses transaction descendants.","A graph of transactions and spends.","An outward-facing view of a (transaction) node in the …","Get all transaction anchors known by TxGraph.","Iterate over all tx outputs known by TxGraph.","The blocks that the transaction is “anchored” in.","","","Applies Additions to TxGraph.","Extends this graph with another so that self becomes the …","","","","","","","","","","","","Calculates the fee of a given transaction. Returns 0 if tx …","","","","","","","","","","","","","","","","","Previews the resultant Additions when Self is updated …","Given a transaction, return an iterator of txids that …","","","","","Iterate over floating txouts known by TxGraph.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Iterate over all full transactions in the graph.","Get the position of the transaction in chain with tip …","Get the txid of the spending transaction and where the …","Get a transaction by txid. This only returns Some for full …","Get a transaction node by txid. This only returns Some for …","Obtains a single tx output (if any) at the specified …","Inserts the given anchor into TxGraph.","Returns the resultant Additions if the txid is set in …","Inserts the given seen_at into TxGraph.","Returns the resultant Additions if the txid is set to …","Inserts the given transaction into TxGraph.","Returns the resultant Additions if the given transaction …","Inserts the given TxOut at OutPoint.","Returns the resultant Additions if the given txout is …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Whether the graph has any transactions or outputs in it.","Returns true if the Additions is empty (no transactions or …","","The last-seen unix timestamp of the transaction as …","List outputs that are in chain with chain_tip.","List graph transactions that are in chain with chain_tip.","List unspent outputs (UTXOs) that are in chain with …","Construct a new TxGraph from a list of transactions.","","The transaction node (as part of the graph).","How the transaction is observed as (confirmed or …","The transactions spending from this output.","","","","","","","","","","","","","Get the position of the transaction in chain with tip …","Get the txid of the spending transaction and where the …","","","","","","List outputs that are in chain with chain_tip.","List graph transactions that are in chain with chain_tip.","List unspent outputs (UTXOs) that are in chain with …","A partial or full representation of the transaction.","","Returns known outputs of a given txid.","Iterates over the transactions spending from txid.","Txid of the transaction.","","Iterates over all outpoints contained within Additions.","","","","","","","","","","","Creates an iterator that both filters and maps conflicting …","Creates an iterator that filters and maps descendants from …"],"i":[0,0,0,0,0,0,0,0,0,8,9,10,0,84,0,0,0,0,0,0,8,9,10,3,29,6,7,6,7,55,3,0,3,8,9,10,5,6,7,11,12,3,8,9,10,5,6,7,11,12,0,11,3,8,9,10,5,6,7,11,12,3,8,9,10,5,6,7,11,12,8,8,9,10,5,6,7,11,6,7,29,29,6,7,7,3,9,5,6,7,9,10,5,6,7,85,8,9,10,5,6,7,11,3,8,9,9,10,5,6,7,11,86,3,8,9,9,10,5,5,5,6,7,11,12,8,9,10,5,6,7,5,9,10,5,3,3,3,0,3,3,8,9,10,5,6,7,11,12,12,84,9,10,11,11,11,11,3,11,3,3,3,0,0,3,9,10,9,10,0,3,12,12,12,11,3,8,9,10,5,6,7,11,3,3,3,9,10,5,6,7,0,11,3,3,8,9,10,5,6,7,11,12,9,3,8,9,10,5,6,7,11,12,3,8,9,10,5,6,7,11,12,0,3,11,3,3,3,8,9,10,5,6,7,11,12,3,3,3,8,9,10,5,6,7,11,12,87,87,47,43,0,0,46,0,0,46,0,0,47,43,0,48,41,42,42,42,42,42,42,41,46,47,43,48,42,41,46,47,43,48,42,41,42,42,41,46,47,43,48,42,41,46,47,43,48,41,42,41,41,42,42,41,46,47,43,48,42,41,46,46,47,47,43,43,48,48,42,41,42,41,46,47,47,47,43,43,43,48,42,42,42,41,42,42,42,42,42,42,42,42,41,46,47,43,48,42,42,42,41,42,46,47,43,48,41,42,42,42,41,46,47,43,48,46,47,43,48,42,42,41,46,47,43,48,42,41,46,47,43,48,42,42,41,46,47,43,48,48,42,41,46,47,43,48,88,88,57,0,0,0,0,56,57,58,58,58,58,56,58,56,56,56,58,56,56,56,58,56,58,56,58,56,58,56,57,57,58,58,58,58,56,59,57,58,58,56,56,58,58,56,58,56,58,58,58,56,58,56,0,0,0,0,0,0,60,62,65,66,67,65,65,62,62,66,62,62,62,66,68,62,62,62,65,66,68,67,60,62,65,66,68,67,60,62,62,67,62,62,65,66,68,67,60,62,65,66,68,67,60,60,62,65,66,68,67,60,65,67,66,67,60,62,66,68,60,62,65,66,68,67,60,60,67,62,65,66,68,68,67,67,67,60,62,62,62,60,65,65,65,62,62,62,62,62,65,66,68,67,60,66,67,65,65,62,65,68,65,65,65,65,65,65,65,65,65,65,0,65,65,65,65,65,65,65,66,67,60,62,65,65,65,65,62,65,66,68,67,60,60,60,60,60,62,65,66,68,67,60,62,65,66,68,67,60,62,65,62,65,66,68,67,60,65,60,65,68,62,65,66,68,67,60,89,0,0,89,89,69,69,69,69,69,69,89,69,69,69,69,69,69,69,0,0,0,0,70,70,70,70,70,72,73,70,72,73,70,72,73,70,72,73,70,70,70,70,72,73,70,72,72,73,73,70,70,72,73,70,73,70,70,70,70,72,73,70,73,70,72,73,70,70,72,73,72,73,70,72,73,70,72,73,70,72,73,73,70,72,73,0,0,76,0,0,50,0,50,49,49,0,75,44,44,44,44,49,76,50,75,44,49,76,50,75,44,44,44,44,75,44,44,44,49,76,50,75,44,49,76,50,75,44,75,75,44,44,49,76,50,75,44,49,49,76,76,50,50,75,44,49,76,50,75,44,44,30,44,44,44,44,44,44,49,76,50,75,44,44,44,75,44,30,30,49,76,50,44,44,44,44,75,44,44,44,49,76,50,75,49,76,50,44,49,76,50,75,44,49,76,50,75,44,44,75,44,49,76,50,75,30,44,49,76,50,75,90,90,90,91,92,92,92,91,91,93,93,93,0,0,0,0,0,45,45,80,77,77,45,45,45,82,45,80,81,77,82,45,80,81,77,45,82,82,45,80,81,77,45,80,81,77,80,81,45,77,80,77,45,45,45,80,81,77,45,45,80,81,77,45,77,82,45,80,81,77,45,45,45,45,45,45,45,45,45,45,45,45,45,45,82,45,80,81,77,82,45,77,77,80,45,45,45,45,82,81,81,45,80,81,77,45,80,81,77,82,45,80,81,77,45,45,82,45,80,81,77,45,45,45,80,77,45,45,80,77,77,82,45,80,81,77,82,45,80,81,77,45,45],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[3,[[0,[1,2]]]]],4],[[],5],[6,5],[7,5],0,0,[[]],[[[3,[[0,[1,2]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[[3,[1]]],[[3,[1]]]],[[[8,[1]]],[[8,[1]]]],[9,9],[10,10],[5,5],[6,6],[7,7],[[[11,[1]]],[[11,[1]]]],[[[12,[1]]],[[12,[1]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,[[8,[1]]]],[[[8,[2]],8],13],[[9,9],13],[[10,10],13],[[5,5],13],[[6,6],13],[[7,7],13],[[[11,[2]],11],13],0,0,[[],14],[[],14],[6,14],[7,14],0,[[],3],[[],9],[[],5],[[],6],[[],7],[[],[[15,[9]]]],[[],[[15,[10]]]],[[],[[15,[5]]]],[[],[[15,[6]]]],[[],[[15,[7]]]],[[],16],[[[8,[17]],8],18],[[9,9],18],[[10,10],18],[[5,5],18],[[6,6],18],[[7,7],18],[[[11,[17]],11],18],[[[3,[19]],20],21],[[[8,[19]],20],21],[[9,20],21],[[9,20],21],[[10,20],21],[[5,20],21],[[6,20],21],[[7,20],21],[[[11,[19]],20],21],[22],[[]],[[]],[[]],[[[23,[14]]],9],[[]],[[]],[[],5],[[],5],[[]],[[]],[[]],[[]],[[[8,[24]]]],[9],[10],[5],[6],[7],0,[9,9],[10,9],0,[[[3,[[0,[1,2]]]],25],23],[[[3,[[0,[1,2]]]],26]],[[[3,[[0,[1,2]]]],27,28]],0,[[[3,[[0,[1,2]]]],[0,[1,2]],25],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[5,5],[[15,[[23,[18]]]]]],[9,18],[10,18],[[[11,[[8,[29]]]],14],18],[[[11,[30]],14],18],[[[11,[[8,[29]]]],14],18],0,[[[3,[[0,[1,2]]]],26],18],[[[11,[30]],14],18],[[[3,[[0,[1,2]]]],25],18],[[[3,[[0,[1,2]]]],26],18],[[[3,[[0,[1,2]]]]],18],0,0,[[[3,[[0,[1,2]]]]],18],[9,9],[9,10],[9,9],[9,10],0,[[[3,[[0,[1,2]]]],26],31],[[],12],[12,23],[[12,32],23],0,[[[3,[[0,[1,2]]]],[33,[[0,[1,2]]]]],34],[[[8,[35]],8],[[23,[13]]]],[[9,9],[[23,[13]]]],[[10,10],[[23,[13]]]],[[5,5],[[23,[13]]]],[[6,6],[[23,[13]]]],[[7,7],[[23,[13]]]],[[[11,[35]],11],[[23,[13]]]],[[[3,[[0,[1,2]]]]],[[36,[[0,[1,2]]]]]],[[[3,[[0,[1,2]]]],27,28],23],[[[3,[[0,[1,2]]]],26]],[9,15],[10,15],[5,15],[6,15],[7,15],0,0,[[[3,[[0,[1,2]]]]],[[23,[25]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],37],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],0,[[[3,[[0,[1,2]]]],27],23],0,[[[3,[[0,[1,2]]]]],[[0,[34,38]]]],[[[3,[[0,[1,2]]]],39],34],[[],40],[[],40],[[],40],[[],40],[[],40],[[],40],[[],40],[[],40],[[],40],[[[3,[[0,[1,2]]]]],18],[[[3,[[0,[1,2]]]]],34],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[41,41]],[[42,41]],[[42,42],[[15,[41,43]]]],[42,44],[42,42],[42,45],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[42,44],0,[42,[[23,[32]]]],[[[42,[1]]],[[42,[1]]]],[[[41,[1]]],[[41,[1]]]],[[[46,[1]]],[[46,[1]]]],[[[47,[1]]],[[47,[1]]]],[[[43,[1]]],[[43,[1]]]],[[[48,[1]]],[[48,[1]]]],[[]],[[]],[[]],[[]],[[]],[[]],[41,18],[[],42],[[],41],[[],[[15,[41]]]],[[42,42],[[15,[41,43]]]],[[[42,[17]],42],18],[[[41,[17]],41],18],[[[46,[17]],46],18],[[[47,[17]],47],18],[[[43,[17]],43],18],[[[48,[17]],48],18],[[[42,[19]],20],21],[[[41,[19]],20],21],[[[46,[19]],20],21],[[[46,[19]],20],21],[[[47,[19]],20],21],[[[47,[19]],20],21],[[[43,[19]],20],21],[[[43,[19]],20],21],[[[48,[19]],20],21],[[[48,[19]],20],21],[[42,22]],[[41,22]],[[]],[[]],[[]],[[]],[48,47],[49,47],[50,43],[[]],[48,43],[[]],[[42,27],[[23,[11]]]],[[42,39],23],[42,45],0,[[42,44,51],[[15,[42,46]]]],[[42,5],[[15,[41,52]]]],[[42,5],[[15,[41,52]]]],[[42,26],[[15,[41,47]]]],[[42,26],[[15,[41,47]]]],[[42,27,28],41],[[42,27,28],41],[[]],[[]],[[]],[[]],[[]],[[]],[[42,14],41],[[42,14],41],[42,18],[41,18],[[44,45],[[15,[42,46]]]],[53],[53],[53],[53],[41,15],[[42,[23,[32]]]],[[42,27],23],[[]],[[]],[[]],[[]],[[]],[[]],[[],37],[[],37],[[],37],[[],37],[42,34],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[42,26],54],[[],40],[[],40],[[],40],[[],40],[[],40],[[],40],0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,[[[56,[29,55]],[56,[29,55]]]],[[]],[[[58,[29,57]],[56,[29]]]],[[[58,[29,57]],[45,[29]]],[[56,[29]]]],[[[58,[29,59]],5],60],[[]],[[]],[[]],[[]],[[[56,[1,1]]],[[56,[1,1]]]],[[]],[[],[[58,[61]]]],[[],[[56,[61]]]],[[],[[15,[56]]]],[[[56,[17,17]],56],18],[[[58,[19,19]],20],21],[[[56,[19,19]],20],21],[[]],[[]],[58,45],0,0,0,[26],[[27,28]],[[[58,[29,57]],51,[23,[16]]],[[56,[29]]]],[[[58,[29,57]],26,51,[23,[16]]],[[56,[29]]]],[[[58,[29,57]],27,28],[[56,[29]]]],[[]],[[]],[25,18],[26,18],[[[58,[29,59]],5],54],[[[58,[29,59]],5],54],[56,15],[[]],[[[58,[29,59]],5],[[15,[60]]]],[[],15],[[],15],[[],15],[[],15],[[[58,[29,59]],5],54],[[[58,[29,59]],5],54],[[],40],[[],40],[[]],[[]],0,0,0,0,0,0,[[60,60],60],[[62,[64,[63]]]],[[[65,[[0,[1,2,19]]]],[0,[1,2,19]],[64,[63]]]],[[[66,[2]],[66,[2]]]],[[67,67]],[[[65,[[0,[1,2,19]]]]]],[[[65,[[0,[1,2,19]]]],[66,[[0,[1,2,19]]]]]],[[62,67]],[[62,68],[[15,[67,43]]]],[66,4],[62,42],[62,45],[62,44],[66,4],[68,45],[[62,22],60],[[62,14],16],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[62,44],[62,42],0,[62,[[23,[32]]]],[[[62,[1,1]]],[[62,[1,1]]]],[[[65,[1]]],[[65,[1]]]],[[[66,[1]]],[[66,[1]]]],[[[68,[1,1]]],[[68,[1,1]]]],[[[67,[1,1]]],[[67,[1,1]]]],[60,60],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],62],[[],65],[[],66],[[],68],[[],67],[[],60],[65],0,[[],[[15,[66]]]],[[],[[15,[67]]]],[[],[[15,[60]]]],[[62,68],[[15,[67,43]]]],[[[66,[17]],66],18],[[[68,[17,17]],68],18],[[60,60],18],[[[62,[19,19]],20],21],[[[65,[19]],20],21],[[[66,[19]],20],21],[[[68,[19,19]],20],21],[[[67,[19,19]],20],21],[[60,20],21],[[60,20],21],[[67,22]],[[]],[[]],[[]],[[]],[42,68],[66,67],[[]],[41,67],[[]],[62,54],[62,54],[62,45],0,[[[65,[[0,[1,2,19]]]],26]],[[[65,[[0,[1,2,19]]]],27,28]],[[[65,[[0,[1,2,19]]]]],3],[[62,5],[[15,[67,52]]]],[[62,5],[[15,[67,52]]]],[[62,26],[[15,[67,47]]]],[[62,26],[[15,[67,47]]]],[[]],[[]],[[]],[[]],[[]],[[]],[66,18],[67,18],[[[65,[[0,[1,2,19]]]],25],18],[[[65,[[0,[1,2,19]]]],26],18],[62,4],[[[65,[[0,[1,2,19]]]]],4],0,[[[65,[[0,[1,2,19]]]]],[[23,[14]]]],[[[65,[[0,[1,2,19]]]]],4],[[[65,[[0,[1,2,19]]]]],[[23,[14]]]],[[[65,[[0,[1,2,19]]]]],[[4,[[0,[1,2,19]],14]]]],[[[65,[[0,[1,2,19]]]],14]],[[[65,[[0,[1,2,19]]]],[4,[[0,[1,2,19]],14]]]],[[[65,[[0,[1,2,19]]]]],4],[[[65,[[0,[1,2,19]]]],14],18],[[[65,[[0,[1,2,19]]]]]],[[[65,[[0,[1,2,19]]]]]],0,[[[65,[[0,[1,2,19]]]]]],[[[65,[[0,[1,2,19]]]],14]],[[[65,[[0,[1,2,19]]]],4]],[[[65,[[0,[1,2,19]]]]],[[4,[[0,[1,2,19]],[0,[54,1]]]]]],[[[65,[[0,[1,2,19]]]]],[[0,[34,1]]]],[[[65,[[0,[1,2,19]]]]],[[66,[[0,[1,2,19]]]]]],[[[65,[[0,[1,2,19]]]],27,28],[[66,[[0,[1,2,19]]]]]],[66,15],[67,15],[60,15],[[62,[23,[32]]]],[[[65,[[0,[1,2,19]]]],14]],[[[65,[[0,[1,2,19]]]],14]],[[[65,[[0,[1,2,19]]]]],[[4,[[0,[1,2,19]],[12,[[64,[63]]]]]]]],[[[65,[[0,[1,2,19]]]]],[[12,[[64,[63]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[],37],[60,16],0,[60,16],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],0,[[[65,[[0,[1,2,19]]]]],34],[[],40],[[],40],[[],40],[[],40],[[],40],[[],40],[[[65,[[0,[1,2,19]]]],14],18],0,[[[65,[[0,[1,2,19]]]]],34],0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[67,15],[[]],[[]],[69,15],[[[69,[19,19,19]],20],21],[[]],[[]],[62,15],[[],69],[[69,67]],[69,67],[[],15],[[],15],[[],40],[[]],0,0,0,0,[[70,71]],[[70,70],[[15,[71,72]]]],[70,4],[70,4],[[]],[[]],[[]],[[]],[[]],[[]],[70,70],[72,72],[73,73],[[]],[[]],[[]],[[70,70],13],[[],70],[[70,70],[[15,[71,72]]]],[[70,70],18],[[72,72],18],[[73,73],18],[[70,20],21],[[72,20],21],[[72,20],21],[[73,20],21],[[73,20],21],[[]],[[[4,[14,74]]],70],[[]],[[]],[[],70],0,[70,[[36,[14]]]],[70,71],[[70,5],[[15,[71,73]]]],[[]],[[]],[[]],[[70,5,5],[[15,[[23,[18]]]]]],0,[[70,70],[[23,[13]]]],[53],[53],[70,[[23,[5]]]],[[]],[[]],[[]],[[],37],[[],37],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],40],[[],40],[[],40],0,[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,[[75,75]],[[[44,[30]],[75,[30]]]],[[[44,[30]],[44,[30]]],[[15,[[75,[30]],[50,[30]]]]]],[44,44],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[44,[30]],75],54],[[[44,[30]],14],[[23,[5]]]],[[[44,[30]]],[[23,[32]]]],[[[44,[30]]],4],0,[[[44,[30]]],[[75,[30]]]],[[[44,[30]]],[[75,[30]]]],[[[44,[1]]],[[44,[1]]]],[[[49,[1]]],[[49,[1]]]],[76,76],[[[50,[1]]],[[50,[1]]]],[[[75,[1]]],[[75,[1]]]],[[]],[[]],[[]],[[]],[[]],[[],44],[[],75],[[],[[15,[75]]]],[[[44,[30]],[44,[30]]],[[15,[[75,[30]],[50,[30]]]]]],[[[44,[17]],44],18],[[[49,[17]],49],18],[[76,76],18],[[[50,[17]],50],18],[[[75,[17]],75],18],[[[44,[19]],20],21],[[[49,[19]],20],21],[[[49,[19]],20],21],[[76,20],21],[[76,20],21],[[[50,[19]],20],21],[[[50,[19]],20],21],[[[75,[19]],20],21],[[]],[[]],[[]],[[]],[[]],[[],[[44,[30]]]],[[[44,[30]],45,27],[[23,[[11,[30]]]]]],[[],9],[[[44,[30]]],[[75,[30]]]],[[[44,[30]],5],[[15,[[75,[30]],76]]]],[[[44,[30]],5],[[15,[[75,[30]],76]]]],[[[44,[30]],39,30],[[15,[[75,[30]],[49,[30]]]]]],[[[44,[30]],39,30],[[15,[[75,[30]],[49,[30]]]]]],[[]],[[]],[[]],[[]],[[]],[[[44,[30]],14],[[75,[30]]]],[[[44,[30]],14],[[75,[30]]]],[[[44,[30]]],18],[75,18],[[[44,[30]]],[[23,[5]]]],[9],[9],[53],[53],[53],[[[44,[30]],[33,[14]]],34],[[[44,[30]]],34],[[[44,[30]]],34],[[[44,[30]]],34],[75,15],[[[44,[30]],[23,[32]]]],[[[44,[30]],45,27],23],[[]],[[]],[[]],[[]],[[]],[[],37],[[],37],[[],37],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[],15],[[[44,[30]],39],23],[[[44,[30]]],[[0,[34,38]]]],0,[[],40],[[],40],[[],40],[[],40],[[],40],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[45,36],[45,54],0,0,[[[77,[2]],[77,[2]]]],[[[45,[[0,[1,2]]]],[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],[45,[[0,[1,2]]]]],[[77,[[0,[1,2]]]]]],[45,45],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[45,26],[[23,[31]]]],[[],[[23,[78]]]],[[],[[23,[79]]]],[[[45,[1]]],[[45,[1]]]],[[[80,[1,1]]],[[80,[1,1]]]],[[[81,[1,1]]],[[81,[1,1]]]],[[[77,[1]]],[[77,[1]]]],[[]],[[]],[[]],[[]],[[[80,[2,2]],80],13],[[[81,[2,2]],81],13],[[],45],[[],77],[80],[[],[[15,[77]]]],[[[45,[[0,[1,2]]]],45],[[77,[[0,[1,2]]]]]],[[45,26],54],[[[45,[17]],45],18],[[[80,[17,17]],80],18],[[[81,[17,17]],81],18],[[[77,[17]],77],18],[45,54],[[[45,[19]],20],21],[[[80,[19,19]],20],21],[[[81,[19,19]],20],21],[[[77,[19]],20],21],[[45,22]],[[77,22]],[[]],[[]],[[]],[[]],[[]],[45,54],[[[45,[29]],5,39],[[23,[8]]]],[[[45,[29]],5,27],23],[[45,39],[[23,[26]]]],[[45,39],[[23,[[80,[26]]]]]],[[45,27],[[23,[28]]]],[[[45,[[0,[1,2]]]],39,[0,[1,2]]],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],39,[0,[1,2]]],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],39,16],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],39,16],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],26],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],26],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],27,28],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],27,28],[[77,[[0,[1,2]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[45,18],[77,18],0,0,[[[45,[29]],5],54],[[[45,[29]],5],54],[[[45,[29]],5],54],[51,[[45,[[0,[1,2]]]]]],[82,23],0,0,[[45,27],83],[[[80,[35,35]],80],[[23,[13]]]],[[[81,[35,35]],81],[[23,[13]]]],[77,15],[[]],[[]],[[]],[[]],[[],15],[[],15],[[],15],[[],15],[[],15],[[[45,[29]],5,39],[[15,[[23,[8]]]]]],[[[45,[29]],5,27],[[15,[23]]]],[[],15],[[],15],[[],15],[[],15],[[],15],[[[45,[29]],5],54],[[[45,[29]],5],54],[[[45,[29]],5],54],0,0,[[45,39],[[23,[[4,[14,28]]]]]],[[45,39],34],0,0,[77,54],[[],40],[[],40],[[],40],[[],40],[[],40],[[]],[[]],[[]],[[]],[[]],[[45,26],82],[[45,39],82]],"p":[[8,"Clone"],[8,"Ord"],[3,"SpkTxOutIndex"],[3,"BTreeMap"],[3,"BlockId"],[3,"ConfirmationHeightAnchor"],[3,"ConfirmationTimeAnchor"],[4,"ObservedAs"],[4,"TxHeight"],[4,"ConfirmationTime"],[3,"FullTxOut"],[3,"SpkIterator"],[4,"Ordering"],[15,"u32"],[4,"Result"],[15,"u64"],[8,"PartialEq"],[15,"bool"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[8,"FnMut"],[4,"Option"],[8,"Hash"],[3,"Script"],[3,"Transaction"],[3,"OutPoint"],[3,"TxOut"],[8,"Anchor"],[8,"ChainPosition"],[15,"i64"],[15,"usize"],[8,"RangeBounds"],[8,"DoubleEndedIterator"],[8,"PartialOrd"],[3,"BTreeSet"],[3,"String"],[8,"ExactSizeIterator"],[3,"Txid"],[3,"TypeId"],[3,"ChangeSet"],[3,"ChainGraph"],[4,"UpdateError"],[3,"SparseChain"],[3,"TxGraph"],[4,"NewError"],[4,"InsertTxError"],[3,"UnresolvableConflict"],[4,"InsertTxError"],[4,"UpdateError"],[8,"IntoIterator"],[6,"InsertCheckpointError"],[3,"Demand"],[8,"Iterator"],[8,"Append"],[3,"IndexedAdditions"],[8,"Indexer"],[3,"IndexedTxGraph"],[8,"OwnedIndexer"],[3,"Balance"],[8,"Default"],[3,"KeychainTracker"],[4,"DescriptorPublicKey"],[4,"Descriptor"],[3,"KeychainTxOutIndex"],[3,"DerivationAdditions"],[3,"KeychainChangeSet"],[3,"KeychainScan"],[3,"Persist"],[3,"LocalChain"],[6,"ChangeSet"],[3,"UpdateNotConnectedError"],[3,"InsertBlockNotMatchingError"],[3,"BlockHash"],[3,"ChangeSet"],[4,"InsertCheckpointError"],[3,"Additions"],[3,"Amount"],[3,"SignedAmount"],[3,"TxNode"],[3,"CanonicalTx"],[3,"TxDescendants"],[3,"HashSet"],[8,"ChainOracle"],[8,"DescriptorExt"],[8,"ForEachTxOut"],[13,"Confirmed"],[13,"Conflict"],[8,"PersistBackend"],[13,"HashNotMatching"],[13,"TxMovedUnexpectedly"],[13,"TxTooHigh"],[13,"TxInconsistent"]]},\ +"bdk":{"doc":"bdk","t":[13,13,13,13,13,4,13,3,13,13,13,13,13,2,13,13,13,13,13,13,4,13,3,13,13,13,13,13,13,13,2,13,13,13,3,13,2,13,4,8,2,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,12,0,14,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,14,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,0,11,12,11,11,11,11,0,12,11,12,12,11,11,11,2,11,2,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,11,12,10,5,11,11,11,11,11,11,11,0,11,12,12,12,12,12,12,13,6,4,2,4,3,6,8,13,6,8,16,6,4,3,13,13,2,8,4,13,13,6,13,13,4,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,10,11,11,0,11,11,11,11,11,11,11,11,11,11,11,10,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,12,5,5,5,5,13,13,4,13,13,13,13,13,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,13,13,4,13,3,6,13,13,6,13,13,13,13,13,13,13,13,13,13,13,4,3,4,13,13,13,13,13,4,4,13,13,13,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,12,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,8,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,13,8,4,4,4,16,16,8,4,13,8,8,3,8,13,13,13,16,4,6,13,13,13,16,13,3,13,8,4,13,13,13,3,3,4,3,13,6,13,13,13,5,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,5,11,10,11,11,5,10,11,12,12,11,11,11,11,11,11,10,12,11,11,11,11,10,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,8,10,10,10,4,3,3,13,8,13,13,4,13,13,6,6,3,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,10,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,12,11,11,11,11,11,5,3,13,8,3,6,4,3,13,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,5,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,3,6,12,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,13,13,13,13,13,13,8,13,13,13,13,13,13,13,13,13,13,13,13,13,13,3,8,4,4,4,3,3,3,13,4,8,13,11,12,12,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,10,11,11,10,11,12,11,12,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,13,3,13,13,4,3,13,13,3,8,4,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["Bip32","BnBNoExactMatch","BnBTotalTriesExceeded","ChecksumMismatch","Descriptor","Error","External","FeeRate","FeeRateTooLow","FeeRateUnavailable","FeeTooLow","Foreign","Generic","HdKeyPaths","InsufficientFunds","Internal","InvalidOutpoint","InvalidPolicyPathError","IrreplaceableTransaction","Key","KeychainKind","Local","LocalUtxo","Miniscript","MiniscriptPsbt","MissingKeyOrigin","NoRecipients","NoUtxosSelected","OutputBelowDustLimit","Psbt","SignOptions","Signer","SpendingPolicyRequired","TransactionConfirmed","TransactionDetails","TransactionNotFound","TxBuilder","UnknownUtxo","Utxo","Vbytes","Wallet","WeightedUtxo","as_byte","as_ref","as_sat_per_vb","base32_len","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","check_base32","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","confirmation_time","confirmation_time","default","default_min_relay_fee","derivation_index","descriptor","descriptor","deserialize","deserialize","deserialize","eq","eq","eq","eq","eq","eq","fee","fee_vb","fee_wu","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fragment","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_btc_per_kvb","from_sat_per_kvb","from_sat_per_kwu","from_sat_per_vb","from_vb","from_wu","hash","hash","into","into","into","into","into","into","into","is_spent","keychain","keys","outpoint","outpoint","partial_cmp","partial_cmp","partial_cmp","provide","psbt","received","sat_per_kwu","satisfaction_weight","sent","serialize","serialize","serialize","signer","sub","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","transaction","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txid","txout","txout","type_id","type_id","type_id","type_id","type_id","type_id","type_id","utxo","vbytes","version","vzip","vzip","vzip","vzip","vzip","vzip","vzip","wallet","write_base32","available","needed","required","required","outpoint","psbt_input","Bare","DerivedDescriptor","Descriptor","DescriptorError","DescriptorPublicKey","DescriptorXKey","ExtendedDescriptor","ExtractPolicy","Hardened","HdKeyPaths","IntoWalletDescriptor","Key","KeyMap","Legacy","Miniscript","None","Pkh","Policy","ScriptContext","Segwitv0","Sh","Single","TapKeyOrigins","Tr","Unhardened","Wildcard","Wpkh","Wsh","XPub","address","as_enum","as_enum","as_inner","at_derivation_index","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","branches","calc_checksum","check_global_consensus_validity","check_global_consensus_validity","check_global_consensus_validity","check_global_policy_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_consensus_validity","check_local_policy_validity","check_local_policy_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_terminal_non_malleable","check_terminal_non_malleable","check_witness","check_witness","check_witness","checksum","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","cmp","cmp","contains_raw_pkh","derivation_path","derive","derived_descriptor","derived_descriptor","desc_type","deserialize","deserialize","dust_value","encode","eq","eq","eq","eq","eq","eq","error","explicit_script","ext","ext_check","extract_policy","extract_policy","extract_policy","find_derivation_index_for_spk","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from_ast","from_str","from_str","from_str_ext","from_str_insane","from_tree","from_tree","get_nth_child","get_nth_pk","get_satisfaction","get_satisfaction_mall","has_mixed_timelocks","has_repeated_keys","has_wildcard","hash","hash","hash","hash","hash","hash","into","into","into","into","into","into","into_inner","into_wallet_descriptor","into_wallet_descriptor","is_deriveable","is_non_malleable","iter","iter_pk","lift","lift","lift_check","matches","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_size","max_satisfaction_weight","max_satisfaction_witness_elements","name_str","name_str","name_str","new_bare","new_pk","new_pkh","new_sh","new_sh_sortedmulti","new_sh_with_wpkh","new_sh_with_wsh","new_sh_wpkh","new_sh_wsh","new_sh_wsh_sortedmulti","new_tr","new_wpkh","new_wsh","new_wsh_sortedmulti","node","origin","other_top_level_checks","parse","parse_descriptor","parse_insane","parse_with_ext","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","pk_len","pk_len","pk_len","policy","requires_sig","sanity_check","sanity_check","satisfy","satisfy","satisfy_malleable","script_code","script_pubkey","script_size","serialize","serialize","sig_type","sig_type","sig_type","template","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string_with_secret","top_level_checks","top_level_type_check","translate_pk","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","ty","type_id","type_id","type_id","type_id","type_id","type_id","unsigned_script_sig","vzip","vzip","vzip","vzip","vzip","vzip","wildcard","within_resource_limits","xkey","calc_checksum","calc_checksum_bytes","get_checksum","get_checksum_bytes","Base58","Bip32","Error","HardenedDerivationXpub","Hex","InvalidDescriptorCharacter","InvalidDescriptorChecksum","InvalidHdKeyPath","Key","Miniscript","Pk","Policy","borrow","borrow_mut","fmt","fmt","from","from","from","from","from","from","from","from","into","provide","to_string","try_from","try_into","type_id","vzip","AbsoluteTimelock","AddOnLeaf","AddOnPartialComplete","BuildSatisfaction","Complete","Condition","ConditionMap","EcdsaSignature","Fingerprint","FoldedConditionMap","Hash160Preimage","Hash256Preimage","IncompatibleConditions","IndexOutOfRange","MixedTimelockUnits","Multisig","None","None","NotEnoughItemsSelected","Partial","PartialComplete","PkOrF","Policy","PolicyError","Psbt","PsbtTimelocks","Pubkey","RelativeTimelock","Ripemd160Preimage","Satisfaction","SatisfiableItem","SchnorrSignature","Sha256Preimage","Thresh","XOnlyPubkey","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","contribution","csv","default","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","get_condition","hash","hash","id","id","into","into","into","into","into","into","into","is_leaf","is_leaf","is_null","item","partial_cmp","provide","requires_path","satisfaction","serialize","serialize","serialize","serialize","serialize","timelock","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","current_height","input_max_height","psbt","condition","conditions","conditions","items","items","m","m","n","n","sorted","sorted","hash","hash","hash","hash","items","keys","threshold","threshold","value","value","Bip44","Bip44Public","Bip49","Bip49Public","Bip84","Bip84Public","DescriptorTemplate","DescriptorTemplateOut","P2Pkh","P2Wpkh","P2Wpkh_P2Sh","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","build","build","build","build","build","build","build","build","build","from","from","from","from","from","from","from","from","from","into","into","into","into","into","into","into","into","into","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","into_wallet_descriptor","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","Bip32","DerivableKey","DescriptorKey","DescriptorPublicKey","DescriptorSecretKey","Entropy","Error","ExtScriptContext","ExtendedKey","FullKey","GeneratableDefaultOptions","GeneratableKey","GeneratedKey","IntoDescriptorKey","InvalidChecksum","InvalidNetwork","InvalidScriptContext","Key","KeyError","KeyMap","Legacy","Message","Miniscript","Options","Private","PrivateKeyGenerateOptions","Public","ScriptContext","ScriptContextEnum","Segwitv0","Single","Single","SinglePriv","SinglePub","SinglePubKey","SortedMultiVec","Tap","ValidNetworks","XOnly","XPrv","XPub","any_network","as_enum","at_derivation_index","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","check_global_consensus_validity","check_global_policy_validity","check_global_validity","check_local_consensus_validity","check_local_policy_validity","check_local_validity","check_terminal_non_malleable","check_witness","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","cmp","cmp","compressed","default","deref","derive","encode","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_key","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from","from_public","from_secret","from_str","from_str","from_tree","full_derivation_path","generate","generate_default","generate_with_entropy","generate_with_entropy_default","has_secret","has_wildcard","hash","hash","hash","hash","into","into","into","into","into","into","into","into","into","into","into","into","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_descriptor_key","into_extended_key","into_extended_key","into_extended_key","into_key","into_xprv","into_xpub","is_deriveable","is_legacy","is_legacy","is_segwit_v0","is_segwit_v0","is_taproot","is_taproot","is_uncompressed","is_x_only_key","k","key","key","lift","mainnet_network","master_fingerprint","max_satisfaction_size","max_satisfaction_size","max_satisfaction_witness_elements","merge_networks","name_str","new","origin","origin","other_top_level_checks","override_valid_networks","partial_cmp","partial_cmp","partial_cmp","partial_cmp","pk_len","pks","provide","sanity_check","satisfy","script_size","sig_type","sorted_node","test_networks","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_public","to_string","to_string","to_string","to_string","top_level_checks","top_level_type_check","translate_pk","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","PsbtUtils","fee_amount","fee_rate","get_utxo_for","AddressIndex","AddressInfo","Balance","Descriptor","IsDust","LastUnused","New","NewError","Peek","Persist","Update","UpdateError","Wallet","add","add_signer","address","apply_update","as_chain_graph","as_graph","as_ref","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build_fee_bump","build_tx","cancel_tx","checkpoints","clone","clone_into","coin_selection","commit","confirmed","default","deref","derivation_index","derivation_of_spk","descriptor_checksum","deserialize","eq","eq","export","finalize_psbt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","get_address","get_balance","get_descriptor_for_keychain","get_internal_address","get_psbt_input","get_signers","get_tx","get_utxo","immature","index","insert_checkpoint","insert_tx","into","into","into","into","into","is_dust","is_mine","keychain","keychanins","latest_checkpoint","list_transactions","list_unspent","network","new","new_no_persist","next_derivation_index","policies","provide","public_descriptor","secp_ctx","serialize","sign","signer","spks_of_all_keychains","spks_of_keychain","staged","to_owned","to_string","to_string","to_string","total","transactions","trusted_pending","trusted_spendable","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","tx_builder","type_id","type_id","type_id","type_id","type_id","untrusted_pending","vzip","vzip","vzip","vzip","vzip","wallet_name_from_descriptor","BranchAndBoundCoinSelection","Change","CoinSelectionAlgorithm","CoinSelectionResult","DefaultCoinSelectionAlgorithm","Excess","LargestFirstCoinSelection","NoChange","OldestFirstCoinSelection","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","coin_select","coin_select","coin_select","coin_select","decide_change","default","default","default","excess","fee_amount","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","into","into","into","into","into","local_selected_amount","new","selected","selected_amount","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","amount","change_fee","dust_threshold","fee","remaining_amount","FullyNodedExport","WalletExport","blockheight","borrow","borrow_mut","change_descriptor","descriptor","deserialize","export_wallet","fmt","from","from_str","into","label","serialize","to_string","try_from","try_into","type_id","vzip","All","Dummy","Exclude","Fingerprint","Include","InputIndexOutOfRange","InputSigner","InvalidKey","InvalidNonWitnessUtxo","InvalidSighash","Legacy","MissingHdKeypath","MissingKey","MissingNonWitnessUtxo","MissingWitnessScript","MissingWitnessUtxo","NonStandardSighash","None","PkHash","Segwitv0","SighashError","SignOptions","SignerCommon","SignerContext","SignerError","SignerId","SignerOrdering","SignerWrapper","SignersContainer","Tap","TapLeavesOptions","TransactionSigner","UserCanceled","add_external","allow_all_sighashes","allow_grinding","as_key_map","assume_height","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","build","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","default","default","deref","descriptor_secret_key","descriptor_secret_key","descriptor_secret_key","eq","eq","eq","eq","eq","find","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","from","hash","id","id","id","ids","into","into","into","into","into","into","into","into","new","new","partial_cmp","partial_cmp","provide","remove","remove_partial_sigs","sign_input","sign_input","sign_input","sign_transaction","sign_transaction","sign_with_tap_internal_key","signers","tap_leaves_options","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","trust_witness_utxo","try_finalize","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","is_internal_key","Bip69Lexicographic","BumpFee","ChangeAllowed","ChangeForbidden","ChangeSpendPolicy","CreateTx","OnlyChange","Shuffle","TxBuilder","TxBuilderContext","TxOrdering","Untouched","add_data","add_foreign_utxo","add_global_xpubs","add_recipient","add_unspendable","add_utxo","add_utxos","allow_dust","allow_shrinking","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","change_policy","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","cmp","coin_selection","current_height","default","default","default","default","do_not_spend_change","drain_to","drain_wallet","enable_rbf","enable_rbf_with_sequence","eq","eq","fee_absolute","fee_rate","finish","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","hash","hash","include_output_redeem_witness_script","into","into","into","into","into","manually_selected_only","nlocktime","only_spend_change","only_witness_utxo","ordering","partial_cmp","partial_cmp","policy_path","set_recipients","sighash","sort_tx","to_owned","to_owned","to_owned","to_owned","to_owned","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","unspendable","version","vzip","vzip","vzip","vzip","vzip"],"q":["bdk","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::Error","","","","bdk::Utxo","","bdk::descriptor","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::checksum","","","","bdk::descriptor::error","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::descriptor::policy::BuildSatisfaction","","","bdk::descriptor::policy::Satisfaction","","","","","","","","","","","bdk::descriptor::policy::SatisfiableItem","","","","","","","","","","bdk::descriptor::template","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::keys","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::psbt","","","","bdk::wallet","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::coin_selection::Excess","","","","","bdk::wallet::export","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk::wallet::signer::SignerContext","bdk::wallet::tx_builder","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["BIP32 error","Branch and bound coin selection tries to avoid needing a …","Branch and bound coin selection possible attempts with …","Descriptor checksum mismatch","Error related to the parsing and usage of descriptors","Errors that can be thrown by the Wallet","External","Fee rate","When bumping a tx the fee rate requested is lower than …","Node doesn’t have data to estimate a fee rate","When bumping a tx the absolute fee requested is lower than …","A UTXO owned by another wallet.","Generic error","","Wallet’s UTXO set is not enough to cover recipient’s …","Internal, usually used for change outputs","Requested outpoint doesn’t exist in the tx (vout greater …","Error while extracting and manipulating policies","Trying to replace a tx that has a sequence >= 0xFFFFFFFE","Error while working with keys","Types of keychains","A UTXO owned by the local wallet.","An unspent output owned by a Wallet.","Miniscript error","Miniscript PSBT error","In order to use the TxBuilder::add_global_xpubs option …","Cannot build a tx without recipients","manually_selected_only option is selected but no utxo has …","Output created is under the dust limit, 546 satoshis","Partially signed bitcoin transaction error","","Signing error","Spending policy is not compatible with this KeychainKind","Happens when trying to bump a transaction that is already …","A wallet transaction","Thrown when a tx is not found in the internal database","","Happens when trying to spend an UTXO that is not in the …","An unspent transaction output (UTXO).","Trait implemented by types that can be used to measure …","","A Utxo with its satisfaction_weight.","Return KeychainKind as a byte","","Return the value as satoshi/vbyte","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","The confirmation time for transaction containing this utxo","If the transaction is confirmed, contains height and Unix …","","Create a new FeeRate with the default min relay fee value","The derivation index for the script pubkey in the wallet","Descriptors","Macro to write full descriptors with code","","","","","","","","","","Fee value in sats if it was available.","Calculate absolute fee in Satoshis using size in virtual …","Calculate absolute fee in Satoshis using size in weight …","","","","","","","","","Macro to write descriptor fragments with code","","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create a new instance of FeeRate given a float fee rate in …","Create a new instance of FeeRate given a float fee rate in …","Create a new instance of FeeRate given a float fee rate in …","Create a new instance of FeeRate given a float fee rate in …","Calculate fee rate from fee and vbytes.","Calculate fee rate from fee and weight units (wu).","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Whether this UTXO is spent or not","Type of keychain","Key formats","Get the location of the UTXO","Reference to a transaction output","","","","","Additional functions on the rust-bitcoin …","Received value (sats) Sum of owned outputs of this …","Return the value as satoshi/kwu","The weight of the witness data and scriptSig expressed in …","Sent value (sats) Sum of owned inputs of this transaction.","","","","","","","","","","","","","","Optional transaction","","","","","","","","","","","","","","","Transaction id","Get the TxOut of the UTXO","Transaction output","","","","","","","","The UTXO","Convert weight units to virtual bytes.","Get the version of BDK at runtime","","","","","","","","Wallet","","Sats available for spending","Sats needed for some transaction","Required fee rate (satoshi/vbyte)","Required fee absolute value (satoshi)","The location of the output.","The information about the input we require to add it to a …","A raw scriptpubkey (including pay-to-pubkey) under Legacy …","Alias for a Descriptor that contains extended derived keys","Script descriptor","","The descriptor pubkey, either a single pubkey or an xpub.","An extended key with origin, derivation path, and wildcard.","Alias for a Descriptor that can contain extended keys …","Trait implemented on Descriptors to add a method to …","Unhardened wildcard, e.g. *h","Alias for the type of maps that represent derivation paths …","Trait for types which can be converted into an …","The consensus key associated with the type. Must be a …","Alias type for a map of public key to secret key","Legacy ScriptContext To be used as P2SH scripts For …","Top-level script AST type","No wildcard","Pay-to-PubKey-Hash","","The ScriptContext for Miniscript. Additional type …","Segwitv0 ScriptContext","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)","Single public key.","Alias for the type of maps that represent taproot key …","Pay-to-Taproot","Unhardened wildcard, e.g. *","Whether a descriptor has a wildcard in it","Pay-to-Witness-PubKey-Hash","Pay-to-Witness-ScriptHash with Segwitv0 context","Extended public key (xpub).","Computes the Bitcoin address of the descriptor, if one …","","","Get a reference to the inner AstElem representing the root …","Replaces all wildcards (i.e. /*) in the descriptor with a …","","","","","","","","","","","","","Enumerates all child nodes of the current AST node (self) …","","Depending on script Context, some of the Terminals might …","","","Depending on script Context, some of the script resource …","","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It is …","","","Policy rules at the Miniscript satisfaction time. It is …","","","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","","","Check whether the given satisfaction is valid under the …","","","Descriptor checksum","","","","","","","","","","","","","","","","","","","Whether the given miniscript contains a raw pkh fragment","The derivation path","Deprecated name for [at_derivation_index].","Convert all the public keys in the descriptor to …","Convert all the public keys in the descriptor to …","Get the DescriptorType of Descriptor","","","","Encode as a Bitcoin script","","","","","","","Descriptor errors","Computes the the underlying script before any hashing is …","Additional information helpful for extra analysis.","Check whether the miniscript follows the given Extra …","Extract the spending policy","","","Utility method for deriving the descriptor at each index …","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Add type information(Type and Extdata) to Miniscript based …","","Parse a Miniscript from string and perform sanity checks …","Attempt to parse an Miniscripts that don’t follow the …","Attempt to parse an insane(scripts don’t clear sanity …","Parse an expression tree into a descriptor.","Parse an expression tree into a Miniscript. As a general …","Returns child node with given index, if any","Returns Option::Some with cloned n’th public key from …","Returns satisfying non-malleable witness and scriptSig to …","Returns a possilbly mallable satisfying non-malleable …","Whether the miniscript contains a combination of timelocks","Whether the miniscript has repeated Pk or Pkh","Whether or not the descriptor has any wildcards i.e. /*.","","","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Extracts the AstElem representing the root of the …","Convert to wallet descriptor","","Whether or not the descriptor has any wildcards","Whether the miniscript is malleable","Creates a new Iter iterator that will iterate over all …","Creates a new PkIter iterator that will iterate over all …","","","Lifting corresponds conversion of miniscript into Policy […","Compares this key with a keysource and returns the …","Depending on script context, the size of a satifaction …","","","Maximum size, in bytes, of a satisfying witness. For …","Computes an upper bound on the weight of a satisfying …","Maximum number of witness elements used to satisfy the …","Local helper function to display error messages with …","","","Create a new bare descriptor from witness script Errors …","Create a new pk descriptor","Create a new PkH descriptor","Create a new sh for a given redeem script Errors when …","Create a new sh sortedmulti descriptor with threshold k …","Create a new sh wrapper for the given wpkh descriptor","Create a new sh wrapper for the given wsh descriptor","Create a new sh wrapped wpkh from Pk. Errors when …","Create a new sh wrapped wsh descriptor with witness script …","Create a new sh wrapped wsh sortedmulti descriptor from …","Create new tr descriptor Errors when miniscript exceeds …","Create a new Wpkh descriptor Will return Err if …","Create a new wsh descriptor from witness script Errors …","Create a new wsh sorted multi descriptor Errors when …","A node in the Abstract Syntax Tree(","Origin information","Other top level checks that are context specific","Attempt to parse a Script into Miniscript representation.","Parse a descriptor that may contain secret keys","Attempt to parse an insane(scripts don’t clear sanity …","Attempt to parse an miniscript with extra features that …","","","","","","","Get the len of public key when serialized based on context …","","","Descriptor policy","Whether all spend paths of miniscript require a signature","Checks whether the descriptor is safe.","Check whether the underlying Miniscript is safe under the …","Attempts to produce a non-malleable satisfying witness and …","Attempt to produce non-malleable satisfying witness for the","Attempt to produce a malleable satisfying witness for the …","Computes the scriptCode of a transaction output.","Computes the scriptpubkey of the descriptor.","Size, in bytes of the script-pubkey. If this Miniscript is …","","","The type of signature required for satisfaction","","","Descriptor templates","","","","","","","","","Serialize a descriptor to string with its secret keys","Check top level consensus rules.","Check whether the top-level is type B","Converts a descriptor using abstract keys to one using …","Translates a struct from one generic to another where the …","","","","","","","","","","","","","The correctness and malleability type information for the …","","","","","","","Computes the scriptSig that will be in place for an …","","","","","","","Whether the descriptor is wildcard","Whether the miniscript can exceed the resource …","The extended key","Compute the checksum of a descriptor, excludes any …","Compute the checksum bytes of a descriptor, excludes any …","Compute the checksum of a descriptor","Compute the checksum bytes of a descriptor","Error during base58 decoding","BIP32 error","Errors related to the parsing and usage of descriptors","The descriptor contains hardened derivation steps on …","Hex decoding error","Invalid byte found in the descriptor checksum","The provided descriptor doesn’t match its checksum","Invalid HD Key path, such as having a wildcard but a …","Error thrown while working with keys","Miniscript error","Key-related error","Error while extracting and manipulating policies","","","","","","","","","","Returns the argument unchanged.","","","Calls U::from(self).","","","","","","","Absolute timeclock timestamp","Can not add to an item that is Satisfaction::None or …","Can not add to an item that is …","Options to build the satisfaction field in the policy","Can satisfy the policy item","An extra condition that must be satisfied but that is out …","Type for a map of sets of Condition items keyed by each set…","ECDSA Signature for a raw public key","An extended key fingerprint","Type for a map of folded sets of Condition items keyed by …","SHA256 then RIPEMD160 preimage hash","Double SHA256 preimage hash","Incompatible conditions (not currently used)","Index out of range for an item to satisfy a …","Can not merge CSV or timelock values unless both are less …","Multi-signature public keys with threshold count","Cannot satisfy or contribute to the policy item","Don’t generate satisfaction field","Not enough items are selected to satisfy a …","Only a partial satisfaction of some kind of threshold …","Can reach the threshold of some kind of threshold policy","A unique identifier for a key","Descriptor spending policy","Errors that can happen while extracting and manipulating …","Analyze the given PSBT to check for existing signatures","Like Psbt variant and also check for expired timelocks","A legacy public key","Relative timelock locktime","RIPEMD160 preimage hash","Represent if and how much a policy item is satisfied by …","An item that needs to be satisfied","Schnorr Signature for a raw public key","SHA256 preimage hash","Threshold items with threshold count","A x-only public key","","","","","","","","","","","","","","","","","","","","","","","","","","","How the wallet’s descriptor can satisfy this policy node","Optional CheckSequenceVerify condition","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Return the conditions that are set by the spending policy …","","","Returns a unique id for the SatisfiableItem","Identifier for this policy node","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns whether the SatisfiableItem is a leaf item","Returns whether the Satisfaction is a leaf item","Returns true if there are no extra conditions to verify","Type of this policy node","","","Return whether or not a specific path in the policy tree …","How much a given PSBT already satisfies this policy node …","","","","","","Optional timelock condition","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Current blockchain height","The highest confirmation height between the inputs CSV …","Given PSBT","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","Extra conditions that also need to be satisfied","The items that can be satisfied by the descriptor or are …","The items that can be satisfied by the descriptor","Threshold","Threshold","Total number of items","Total number of items","Whether the items are sorted in lexicographic order (used …","Whether the items are sorted in lexicographic order (used …","The digest value","The digest value","The digest value","The digest value","The policy items","The raw public key or extended key fingerprint","The required threshold count","The required threshold count","The timelock value","The timelock value","BIP44 template. Expands to pkh(key/44'/{0,1}'/0'/{0,1}/*)","BIP44 public template. Expands to pkh(key/{0,1}/*)","BIP49 template. Expands to …","BIP49 public template. Expands to sh(wpkh(key/{0,1}/*))","BIP84 template. Expands to wpkh(key/84'/{0,1}'/0'/{0,1}/*)","BIP84 public template. Expands to wpkh(key/{0,1}/*)","Trait for descriptor templates that can be built into a …","Type alias for the return type of DescriptorTemplate, …","P2PKH template. Expands to a descriptor pkh(key)","P2WPKH template. Expands to a descriptor wpkh(key)","P2WPKH-P2SH template. Expands to a descriptor sh(wpkh(key))","","","","","","","","","","","","","","","","","","","Build the complete descriptor","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","BIP32 error","Trait for keys that can be derived.","Container for public or secret keys","The descriptor pubkey, either a single pubkey or an xpub.","The descriptor secret key, either a single private key or …","Type specifying the amount of entropy required e.g. [u8;32]","Returned error in case of failure","Trait that adds extra useful methods to ScriptContexts","Enum for extended keys that can be either xprv or xpub","A bitcoin public key (compressed or uncompressed).","Trait that allows generating a key with the default options","Trait for keys that can be generated","Output of a GeneratableKey key generation","Trait for objects that can be turned into a public or …","The key has an invalid checksum","The key is not valid for the given network","The key cannot exist in the given script context","The consensus key associated with the type. Must be a …","Errors thrown while working with keys","Alias type for a map of public key to secret key","Legacy scripts","Custom error message","Miniscript error","Extra options required by the generate_with_entropy","A private extended key, aka an xprv","Options for generating a PrivateKey","A public extended key, aka an xpub","The ScriptContext for Miniscript. Additional type …","Enum representation of the known valid ScriptContexts","Segwitv0 scripts","Single public key.","Single private key.","A descriptor bitcoin::PrivateKey with optional origin …","A descriptor SinglePubKey with optional origin information.","Single public key without any origin or range information.","Contents of a “sortedmulti” descriptor","Taproot scripts","Set of valid networks for a key","An xonly public key.","Extended private key (xpriv).","Extended public key (xpub).","Create a set containing mainnet, testnet, signet, and …","Returns the ScriptContext as a ScriptContextEnum","Replaces any wildcard (i.e. /*) in the key with a …","","","","","","","","","","","","","","","","","","","","","","","","","Depending on script Context, some of the Terminals might …","Depending on script Context, some of the script resource …","Check the consensus + policy(if not disabled) rules that …","Consensus rules at the Miniscript satisfaction time. It is …","Policy rules at the Miniscript satisfaction time. It is …","Check the consensus + policy(if not disabled) rules …","Depending on ScriptContext, fragments can be malleable. …","Check whether the given satisfaction is valid under the …","","","","","","","","","","","","","","","","","","","Whether the generated key should be “compressed” or not","","","Deprecated name of [at_derivation_index].","Encode as a Bitcoin script","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Create an instance given a public key and a set of valid …","Create an instance given a secret key and a set of valid …","","","Parse an expression tree into a SortedMultiVec","Full path, from the master key","Generate a key given the options with a random entropy","Generate a key with the default options and a random …","Generate a key given the extra options and the entropy","Generate a key with the default options and a given entropy","Return whether or not the key contains the private data","Whether or not the key has a wildcard","","","","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Turn the key into a DescriptorKey within the requested …","Consume self and turn it into a DescriptorKey by adding …","","","","","","Consume self and turn it into an ExtendedKey","","","Consumes self and returns the key","Transform the ExtendedKey into an ExtendedPrivKey for the …","Transform the ExtendedKey into an ExtendedPubKey for the …","Whether or not the key has a wildcard","Returns whether the script context is Legacy","Returns whether the script context is …","Returns whether the script context is Segwitv0","Returns whether the script context is …","Returns whether the script context is Tap, aka Taproot or …","Returns whether the script context is …","","","signatures required","The public key.","The private key.","","Create a set only containing mainnet","The fingerprint of the master key associated with this …","Depending on script context, the size of a satifaction …","Maximum size, in bytes, of a satisfying witness. In …","Maximum number of witness elements used to satisfy the …","Compute the intersection of two sets","Local helper function to display error messages with …","Create a new instance of SortedMultiVec given a list of …","Origin information (fingerprint and derivation path).","Origin information (fingerprint and derivation path).","Other top level checks that are context specific","Override the computed set of valid networks","","","","","Get the len of public key when serialized based on context …","public keys inside sorted Multi","","utility function to sanity a sorted multi vec","Attempt to produce a satisfying witness for the witness …","Size, in bytes of the script-pubkey. If this Miniscript is …","The type of signature required for satisfaction","Create Terminal::Multi containing sorted pubkeys","Create a set containing testnet and regtest","","","","","","","","Returns the public version of this key.","","","","","Check top level consensus rules.","Check whether the top-level is type B","This will panic if fpk returns an uncompressed key when …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Trait to add functions to extract utxos and calculate fees.","The total transaction fee amount, sum of input amounts …","The transaction’s fee rate. This value will only be …","Get the TxOut for the specified input index, if it doesn’…","The address index selection strategy to use to derived an …","A derived address and the index it was found at. For …","Balance, differentiated into various categories.","There was problem with the descriptors passed in","Trait to check if a value is below the dust limit. We are …","Return the address for the current descriptor index if it …","Return a new address after incrementing the current …","Error returned from Wallet::new","Return the address for a specific descriptor index. Does …","We were unable to load the wallet’s data from the …","The update to a Wallet used in Wallet::apply_update. This …","Error indicating that something was wrong with an Update<T>…","A Bitcoin wallet","","Add an external signer","Address","Applies an update to the wallet and stages the changes …","Get a reference to the inner ChainGraph.","Get a reference to the inner TxGraph.","","","","","","","","","","","","","Bump the fee of a transaction previously created with this …","Start building a transaction.","Informs the wallet that you no longer intend to broadcast …","Get all the checkpoints the wallet is currently storing …","","","Coin selection","Commits all curently staged changed to the persistence …","Confirmed and immediately spendable balance","","","The derivation index of this wallet. It will return None …","Finds how the wallet derived the script pubkey spk.","Return the checksum of the public descriptor associated to …","","","","Wallet export","Finalize a PSBT, i.e., for each input determine if …","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Return a derived address using the external descriptor, …","Return the balance, separated into available, …","Returns the descriptor used to create addresses for a …","Return a derived address using the internal (change) …","get the corresponding PSBT Input for a LocalUtxo","Get the signers","Return a single transactions made and received by the …","Returns the utxo owned by this wallet corresponding to …","All coinbase outputs not yet matured","Child index of this address","Add a new checkpoint to the wallet’s internal view of …","Add a transaction to the wallet’s internal view of the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Check whether or not a value is below dust limit","Return whether or not a script is part of this wallet …","Type of keychain","Iterator over all keychains in this wallet","Returns the latest checkpoint.","Deprecated. use Wallet::transactions instead.","Return the list of unspent outputs of this wallet","Get the Bitcoin network the wallet is using.","Create a wallet from a descriptor (and an optional …","Creates a wallet that does not persist data.","The index of the next address that you would get if you …","Return the spending policies for the wallet’s descriptor","","Return the “public” version of the wallet’s …","Return the secp256k1 context used for all signing …","","Sign a transaction with all the wallet’s signers, in the …","Generalized signers","Returns a iterators of all the script pubkeys for the …","Gets an iterator over all the script pubkeys in a single …","Returns the changes that will be staged with the next call …","","","","","Get the whole balance visible to the wallet.","Iterate over the transactions in the wallet in order of …","Unconfirmed UTXOs generated by a wallet tx","Get sum of trusted_pending and confirmed coins.","","","","","","","","","","","Transaction builder","","","","","","Unconfirmed UTXOs received from an external wallet","","","","","","Deterministically generate a unique name given the …","Branch and bound coin selection","It’s possible to create spendable output from excess …","Trait for generalized coin selection algorithms","Result of a successful coin selection","Default coin selection algorithm used by TxBuilder if not …","Remaining amount after performing coin selection","Simple and dumb coin selection","It’s not possible to create spendable output from excess …","OldestFirstCoinSelection always picks the utxo with the …","","","","","","","","","","","","","","","","","Perform the coin selection","","","","Decide if change can be created","","","","Remaining amount after deducing fees and outgoing outputs","Total fee amount for the selected utxos in satoshis","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","The total value of the inputs selected from the local …","Create new instance with target size for change output","List of outputs selected for use as inputs","The total value of the inputs selected.","","","","","","","","","","","","","","","","","","","","","","","","Effective amount available to create change after …","The calculated fee for the drain TxOut with the selected …","Threshold to consider amount as dust for this particular …","The deducted change output fee","Exceeding amount of current selection over outgoing value …","Structure that contains the export of a wallet","Alias for FullyNodedExport","Earliest block to rescan when looking for the wallet’s …","","","Return the internal descriptor, if present","Return the external descriptor","","Export a wallet","","Returns the argument unchanged.","","Calls U::from(self).","Arbitrary label for the wallet","","","","","","","The signer will sign all the leaves it has a key for.","Dummy identifier","The signer won’t sign the specified leaves.","The fingerprint of a BIP32 extended key","The signer won’t sign leaves other than the ones …","Input index is out of range","PSBT Input signer","The private key in use has the right fingerprint but …","The non_witness_utxo specified is invalid","Invalid SIGHASH for the signing context in use","Legacy context","The fingerprint and derivation path are missing from the …","The private key is missing for the required public key","The non_witness_utxo field of the transaction is required …","The witness_script field of the transaction is required to …","The witness_utxo field of the transaction is required to …","The psbt contains a non-SIGHASH_ALL sighash in one of its …","The signer won’t sign any leaf.","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …","Segwit v0 context (BIP 143)","Error while computing the hash to sign","Options for a software signer","Common signer methods","Signing context","Signing error","Identifier of a signer in the SignersContainers. Used as a …","Defines the order in which signers are called","Wrapper structure to pair a signer with its context","Container for multiple signers","Taproot context (BIP 340)","Customize which taproot script-path leaves the signer …","PSBT signer","The user canceled the operation","Adds an external signer to the container for the specified …","Whether the signer should use the sighash_type set in the …","Whether we should grind ECDSA signature to ensure signing …","Create a map of public keys to secret keys","Whether the wallet should assume a specific height has …","","","","","","","","","","","","","","","","","Build a new signer container from a KeyMap","","","","","","","","","","","","","","","","","","","","","","","","Return the secret key for the signer","","","","","","","","Finds the signer with lowest ordering for a given id in …","","","","","","","","","","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Return the SignerId for this signer","","","Returns the list of identifiers of all the signers in the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Create a wrapped signer from a signer and a context","Default constructor","","","","Removes a signer from the container and returns it","Whether to remove partial signatures from the PSBT inputs …","Sign a single psbt input","","","Sign all the inputs of the psbt","","Whether we should try to sign a taproot transaction with …","Returns the list of signers in the container, sorted by …","Specifies which Taproot script-spend leaves we should sign …","","","","","","","","","","Whether the signer should trust the witness_utxo, if the …","Whether to try finalizing the PSBT after the inputs are …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Whether the signer can sign for the internal key or not","BIP69 / Lexicographic","Marker type to indicate the TxBuilder is being used to …","Use both change and non-change outputs (default)","Only use non-change outputs (see …","Policy regarding the use of change outputs when creating a …","Marker type to indicate the TxBuilder is being used to …","Only use change outputs (see TxBuilder::only_spend_change)","Randomized (default)","A transaction builder","Context in which the TxBuilder is valid","Ordering of the transaction’s inputs and outputs","Unchanged","Add data as an output, using OP_RETURN","Add a foreign UTXO i.e. a UTXO not owned by this wallet.","Fill-in the PSBT_GLOBAL_XPUB field with the extended keys …","Add a recipient to the internal list","Add a utxo to the internal list of unspendable utxos","Add a utxo to the internal list of utxos that must be spent","Add the list of outpoints to the internal list of UTXOs …","Set whether or not the dust limit is checked.","Explicitly tells the wallet that it is allowed to reduce …","","","","","","","","","","","Set a specific ChangeSpendPolicy. See …","","","","","","","","","","","","","Choose the coin selection algorithm","Set the current blockchain height.","","","","","Do not spend change outputs","Sets the address to drain excess coins to.","Spend all the available inputs. This respects filters like …","Enable signaling RBF","Enable signaling RBF with a specific nSequence value","","","Set an absolute fee","Set a custom fee rate","Finish building the transaction.","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Fill-in the psbt::Output::redeem_script and …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Only spend utxos added by add_utxo.","Use a specific nLockTime while creating the transaction","Only spend change outputs","Only Fill-in the psbt::Input::witness_utxo field when …","Choose the ordering for inputs and outputs of the …","","","Set the policy path to use while creating the transaction …","Replace the recipients already added with a new list","Sign with a specific sig hash","Sort transaction inputs and outputs by TxOrdering variant","","","","","","","","","","","","","","","","","","","","","Replace the internal list of unspendable utxos with a new …","Build a transaction with a specific version","","","","",""],"i":[17,17,17,17,17,0,1,0,17,17,17,12,17,0,17,1,17,17,17,17,0,12,0,17,17,17,17,17,17,17,0,17,17,17,0,17,0,17,0,0,0,0,1,1,3,1,17,1,3,10,11,12,13,17,1,3,10,11,12,13,0,1,1,3,10,11,12,13,1,3,10,11,12,13,1,13,10,13,3,3,10,0,0,1,10,13,1,3,10,11,12,13,13,3,3,17,17,1,3,10,11,12,13,0,17,17,17,17,17,17,17,17,1,3,10,11,12,13,3,3,3,3,3,3,1,10,17,1,3,10,11,12,13,10,10,0,12,10,1,3,13,17,0,13,3,11,13,1,10,13,0,3,0,1,3,10,11,12,13,17,13,17,1,3,10,11,12,13,17,1,3,10,11,12,13,13,12,10,17,1,3,10,11,12,13,11,168,0,17,1,3,10,11,12,13,0,1,169,169,170,171,172,172,34,0,0,0,0,0,0,0,45,0,0,58,0,0,0,45,34,0,0,0,34,40,0,34,45,0,34,34,40,34,46,47,38,34,44,45,34,46,47,38,44,45,34,46,47,38,38,0,58,46,47,58,47,58,58,46,47,58,46,47,58,58,46,47,58,46,47,0,44,45,34,46,47,38,44,45,34,46,47,38,44,45,34,46,47,38,38,44,34,34,34,34,34,38,34,38,44,45,34,46,47,38,0,34,38,38,173,34,38,34,44,45,34,34,46,47,38,38,34,38,44,45,34,34,34,34,34,34,34,46,47,38,38,34,38,38,38,34,38,38,38,34,34,38,38,34,44,45,34,46,47,38,44,45,34,46,47,38,38,142,68,34,38,38,38,34,38,38,44,58,46,47,38,34,38,58,46,47,34,34,34,34,34,34,34,34,34,34,34,34,34,34,38,44,58,38,34,38,38,44,45,34,46,47,38,58,46,47,0,38,34,38,34,38,38,34,34,38,34,38,58,46,47,0,44,45,34,46,47,38,34,38,34,58,58,34,38,44,45,34,46,47,38,44,45,34,46,47,38,38,44,45,34,46,47,38,34,44,45,34,46,47,38,44,38,44,0,0,0,0,23,23,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,83,20,20,0,84,0,0,83,82,0,83,83,20,20,20,83,84,56,20,84,84,0,0,0,56,56,82,83,83,0,0,83,83,83,82,82,83,84,57,85,20,56,82,83,84,57,85,20,56,82,83,84,57,85,56,82,83,84,57,85,56,57,85,85,82,83,84,57,85,20,82,83,84,57,85,20,20,56,82,83,84,84,57,57,85,20,56,57,82,85,83,57,82,83,84,57,85,20,56,83,84,85,57,85,20,57,57,82,83,84,57,85,85,82,83,84,57,85,56,20,82,83,84,57,85,20,56,82,83,84,57,85,20,56,82,83,84,57,85,20,56,82,83,84,57,85,20,56,174,174,174,175,176,177,176,177,176,177,176,177,176,177,178,179,180,181,182,183,183,182,184,185,0,0,0,0,0,0,0,0,0,0,0,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,186,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,87,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,89,90,91,93,94,95,96,97,98,21,0,0,0,0,187,187,0,0,105,0,0,0,0,21,21,21,58,0,0,37,21,21,187,111,0,111,0,0,37,40,108,0,0,0,0,37,0,105,108,40,0,188,40,111,101,107,37,102,21,103,40,108,104,109,105,111,101,107,37,102,21,103,40,108,104,109,105,58,58,58,58,58,58,58,58,101,37,102,103,40,104,105,101,37,102,103,40,104,105,103,40,104,105,102,102,101,40,103,37,103,40,104,105,107,37,102,21,21,103,103,40,40,108,108,104,109,105,103,111,111,111,101,107,37,102,21,21,21,103,40,40,108,104,109,105,107,107,40,108,103,40,187,189,187,189,111,40,103,40,104,105,111,101,107,37,102,21,103,40,108,104,109,105,88,92,101,101,107,40,108,92,111,101,101,111,111,40,188,37,188,37,188,37,40,40,103,104,109,103,0,40,58,103,103,0,58,103,104,109,58,107,103,40,104,105,58,103,21,103,103,103,58,103,0,101,37,102,103,40,104,105,108,21,103,40,108,58,58,103,111,101,107,37,102,21,103,40,108,104,109,105,111,101,107,37,102,21,103,40,108,104,109,105,111,101,107,37,102,21,103,40,108,104,109,105,111,101,107,37,102,21,103,40,108,104,109,105,0,190,190,190,0,0,0,135,0,134,134,0,134,135,0,0,0,116,117,131,117,117,117,117,117,116,117,134,131,135,116,117,134,131,135,117,117,117,117,116,116,0,117,116,116,131,117,117,117,116,116,131,0,117,116,116,117,134,131,131,135,135,116,117,134,131,135,117,117,117,117,117,117,117,117,116,131,117,117,116,117,134,131,135,191,117,131,117,117,117,117,117,117,117,117,117,135,117,117,116,117,0,117,117,117,116,116,131,135,116,117,116,116,116,117,134,131,135,116,117,134,131,135,0,116,117,134,131,135,116,116,117,134,131,135,0,0,150,0,0,0,0,0,150,0,150,149,146,147,148,150,149,146,147,148,146,147,148,146,147,148,161,146,147,148,0,146,147,148,149,149,150,149,146,147,148,150,149,146,147,148,150,149,146,147,148,149,148,149,149,146,147,148,150,149,146,147,148,150,149,146,147,148,150,149,146,147,148,150,149,146,147,148,192,193,193,192,193,0,0,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,151,157,152,157,152,157,22,0,22,22,22,154,22,22,22,22,22,22,157,152,154,22,0,0,0,0,0,0,0,0,154,0,0,22,55,133,133,55,133,152,22,154,156,118,55,133,157,152,22,154,156,118,55,133,157,55,152,22,154,156,118,55,133,157,152,22,154,156,118,55,133,157,152,118,118,55,133,157,156,194,156,156,152,22,154,118,157,55,152,22,22,154,156,118,55,133,157,152,152,152,22,22,154,156,118,55,133,157,152,194,156,156,55,152,22,154,156,118,55,133,157,156,55,152,118,22,55,133,195,156,156,119,156,133,55,133,152,22,154,156,118,55,133,157,22,133,133,152,22,154,156,118,55,133,157,152,22,154,156,118,55,133,157,152,22,154,156,118,55,133,157,152,22,154,156,118,55,133,157,196,164,0,163,163,0,0,163,164,0,0,0,164,128,128,128,128,128,128,128,128,128,129,127,128,164,163,129,127,128,164,163,128,129,127,128,164,163,129,127,128,164,163,164,163,128,128,129,127,164,163,128,128,128,128,128,164,163,128,128,128,129,127,128,164,163,129,127,128,164,163,164,163,128,129,127,128,164,163,128,128,128,128,128,164,163,128,128,128,164,129,127,128,164,163,129,127,128,164,163,129,127,128,164,163,129,127,128,164,163,128,128,129,127,128,164,163],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,2],[1],[3,4],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[9,[[8,[6,7]]]]]],[1,1],[3,3],[10,10],[11,11],[12,12],[13,13],[[]],[[]],[[]],[[]],[[]],[[]],[[1,1],14],[[13,13],14],0,0,[[],3],[[],3],0,0,0,[[],[[9,[1]]]],[[],[[9,[10]]]],[[],[[9,[13]]]],[[1,1],15],[[3,3],15],[[10,10],15],[[11,11],15],[[12,12],15],[[13,13],15],0,[[3,5],16],[[3,5],16],[[17,18],19],[[17,18],19],[[1,18],19],[[3,18],19],[[10,18],19],[[11,18],19],[[12,18],19],[[13,18],19],0,[20,17],[21,17],[22,17],[[]],[23,17],[24,17],[25,17],[26,17],[[]],[[]],[[]],[[]],[[]],[[]],[4,3],[4,3],[4,3],[4,3],[[16,5],3],[[16,5],3],[1],[10],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[12,27],0,[[1,1],[[28,[14]]]],[[3,3],[[28,[14]]]],[[13,13],[[28,[14]]]],[29],0,0,[3,4],0,0,[1,9],[10,9],[13,9],0,[[3,3]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[],30],0,[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],0,[12,31],0,[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],0,[[],5],[[],33],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],9],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[34,35],[[9,[36,26]]]],[[],37],[[],37],[38,39],[[[34,[40]],41],[[34,[42]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,[[8,[38,7]]]],0,[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[39,[[9,[43]]]],[39,[[9,[43]]]],[39,[[9,[43]]]],[[],[[9,[43]]]],[[],[[9,[43]]]],[[],[[9,[43]]]],0,[44,44],[45,45],[34,34],[46,46],[47,47],[38,38],[[]],[[]],[[]],[[]],[[]],[[]],[[44,44],14],[[45,45],14],[[34,34],14],[[46,46],14],[[47,47],14],[[38,38],14],[38,15],0,[[[34,[40]],41],[[34,[42]]]],[[[34,[40]],48,41],[[9,[[34,[49]],50]]]],[[[34,[42]],48],[[9,[[34,[49]],50]]]],[34,51],[[],[[9,[34]]]],[[],[[9,[38]]]],[[[34,[40]]],16],[38,52],[[44,44],15],[[45,45],15],[[34,34],15],[[46,46],15],[[47,47],15],[[38,38],15],0,[34,[[9,[52,26]]]],0,[[38,53],[[9,[54]]]],[[55,56,48],[[9,[[28,[57]],23]]]],[[[34,[40]],55,56,48],[[9,[[28,[57]],23]]]],[[[38,[40,58]],55,56,48],[[9,[[28,[57]],23]]]],[[[34,[40]],48,52,[59,[41]]],[[9,[28,50]]]],[[44,18],[[9,[60]]]],[[45,18],[[9,[60]]]],[[34,18],[[9,[60]]]],[[34,18],[[9,[60]]]],[[46,18],[[9,[60]]]],[[47,18],[[9,[60]]]],[[38,18],[[9,[60]]]],[[38,18],[[9,[60]]]],[34,15],[38,15],[[]],[[]],[61,34],[62,34],[[]],[63,34],[64,34],[65,34],[66,34],[[]],[[]],[[]],[39,[[9,[38,26]]]],[33,[[9,[34,26]]]],[33,[[9,[38,26]]]],[[33,53],[[9,[38,26]]]],[33,[[9,[38,26]]]],[67,[[9,[34,26]]]],[67,[[9,[38,26]]]],[[38,5],[[28,[38]]]],[[38,5],28],[34,[[9,[26]]]],[34,[[9,[26]]]],[38,15],[38,15],[[[34,[40]]],15],[44],[45],[34],[46],[47],[38],[[]],[[]],[[]],[[]],[[]],[[]],[38,39],[[48,35],[[9,[23]]]],[[68,48,35],[[9,[23]]]],[[[34,[40]]],15],[38,15],[38,69],[38,70],[34,[[9,[71,26]]]],[38,[[9,[71,26]]]],[38,[[9,[72]]]],[[44,48],[[28,[73]]]],[38,[[28,[5]]]],[38,[[28,[5]]]],[38,[[28,[5]]]],[38,[[9,[5,26]]]],[34,[[9,[5,26]]]],[38,[[9,[5,26]]]],[[],33],[[],33],[[],33],[[[38,[74]]],[[9,[34,26]]]],[[],34],[[],34],[[[38,[46]]],[[9,[34,26]]]],[[5,[8,[7]]],[[9,[34,26]]]],[65,34],[62,34],[[],[[9,[34,26]]]],[[[38,[47]]],[[9,[34,26]]]],[[5,[8,[7]]],[[9,[34,26]]]],[[[28,[75]]],[[9,[34,26]]]],[[],[[9,[34,26]]]],[[[38,[47]]],[[9,[34,26]]]],[[5,[8,[7]]],[[9,[34,26]]]],0,0,[38,[[9,[26]]]],[52,[[9,[38,26]]]],[[48,33],[[9,[26]]]],[52,[[9,[38,26]]]],[[52,53],[[9,[38,26]]]],[[44,44],[[28,[14]]]],[[45,45],[[28,[14]]]],[[34,34],[[28,[14]]]],[[46,46],[[28,[14]]]],[[47,47],[[28,[14]]]],[[38,38],[[28,[14]]]],[[],5],[[],5],[[],5],0,[38,15],[34,[[9,[26]]]],[38,[[9,[54]]]],[[34,76],[[9,[26]]]],[38,[[9,[[8,[[8,[2,7]],7]],26]]]],[38,[[9,[[8,[[8,[2,7]],7]],26]]]],[34,[[9,[52,26]]]],[34,52],[38,5],[34,9],[38,9],[[],77],[[],77],[[],77],0,[[]],[[]],[[]],[[]],[[]],[[]],[[],30],[[],30],[[[34,[40]],78],30],[38,[[9,[26]]]],[38,[[9,[26]]]],[34,9],[38,9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],0,[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[34,52],[[]],[[]],[[]],[[]],[[]],[[]],0,[38,15],0,[33,[[9,[30,23]]]],[33,[[9,[23]]]],[33,[[9,[30,23]]]],[33,[[9,[23]]]],0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[23,18],19],[[23,18],19],[79,23],[80,23],[26,23],[81,23],[20,23],[[]],[21,23],[25,23],[[]],[29],[[],30],[[],9],[[],9],[[],32],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[82,82],[83,83],[84,84],[57,57],[85,85],[56,56],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[],85],[[82,82],15],[[83,83],15],[[84,84],15],[[57,57],15],[[85,85],15],[[20,20],15],[[82,18],19],[[83,18],19],[[84,18],19],[[57,18],19],[[85,18],19],[[20,18],19],[[20,18],19],[[56,18],19],[[]],[[]],[[]],[15,84],[[]],[83,57],[[]],[[]],[[]],[[57,86],[[9,[85,20]]]],[82],[85],[83,30],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[83,15],[84,15],[85,15],0,[[85,85],[[28,[14]]]],[29],[57,15],0,[82,9],[83,9],[84,9],[57,9],[85,9],0,[[]],[[]],[[]],[[]],[[]],[[]],[[],30],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[35,[[9,[87,23]]]],[[[89,[[88,[46]]]],35],[[9,[87,23]]]],[[[90,[[88,[47]]]],35],[[9,[87,23]]]],[[[91,[[88,[47]]]],35],[[9,[87,23]]]],[[[93,[[92,[46]]]],35],[[9,[87,23]]]],[[[94,[[92,[46]]]],35],[[9,[87,23]]]],[[[95,[[92,[47]]]],35],[[9,[87,23]]]],[[[96,[[92,[47]]]],35],[[9,[87,23]]]],[[[97,[[92,[47]]]],35],[[9,[87,23]]]],[[[98,[[92,[47]]]],35],[[9,[87,23]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[87,48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[48,35],[[9,[23]]]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[],99],[[],37],[[40,41],42],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[38,[[9,[43]]]],[39,[[9,[43]]]],[[],[[9,[43]]]],[[[101,[100,58]]],[[101,[100,58]]]],[37,37],[102,102],[103,103],[40,40],[104,104],[105,105],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[103,103],14],[[40,40],14],[[104,104],14],[[105,105],14],0,[[],102],[[[101,[58]]]],[[40,41],42],[103,52],[[37,37],15],[[103,103],15],[[40,40],15],[[104,104],15],[[105,105],15],[[[107,[[0,[106,58]]]],18],19],[[37,18],19],[[102,18],19],[[21,18],19],[[21,18],19],[[103,18],[[9,[60]]]],[[103,18],[[9,[60]]]],[[40,18],[[9,[60]]]],[[40,18],[[9,[60]]]],[[108,18],[[9,[60]]]],[[108,18],[[9,[60]]]],[[104,18],[[9,[60]]]],[[109,18],[[9,[60]]]],[[105,18],[[9,[60]]]],[103,15],[[]],[110,[[111,[58]]]],[112,[[111,[58]]]],[[]],[[]],[[]],[[]],[[]],[26,21],[25,21],[[]],[[]],[42,40],[[]],[[]],[[]],[[]],[[40,99],[[107,[58]]]],[[108,99],[[107,[58]]]],[33,[[9,[40]]]],[33,[[9,[108]]]],[67,[[9,[103,26]]]],[40,73],[[],[[9,[101]]]],[[],[[9,[101]]]],[[],[[9,[101]]]],[[],[[9,[101]]]],[[[111,[58]]],15],[40,15],[103],[40],[104],[105],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[9,[107,21]]]],[[[28,[113]],73],[[9,[107,21]]]],[101,[[9,[107,21]]]],[[101,[28,[113]],73],[[9,[107,21]]]],[[[107,[58]]],[[9,[[107,[58]],21]]]],[40,[[9,[[107,[58]],21]]]],[108,[[9,[[107,[58]],21]]]],[[],[[9,[111,21]]]],[[[111,[58]]],[[9,[[111,[58]],21]]]],[101,[[9,[111,21]]]],[[[101,[58]]]],[[[111,[58]],35],[[28,[112]]]],[[[111,[58]],35,48],110],[40,15],[[],15],[37,15],[[],15],[37,15],[[],15],[37,15],[40,15],[40,15],0,0,0,[103,[[9,[71,26]]]],[[],99],[40,114],[38,[[28,[5]]]],[103,5],[103,5],[[99,99],99],[[],33],[[5,[8,[7]]],[[9,[103,26]]]],0,0,[38,[[9,[26]]]],[[[107,[58]],99],[[107,[58]]]],[[103,103],[[28,[14]]]],[[40,40],[[28,[14]]]],[[104,104],[[28,[14]]]],[[105,105],[[28,[14]]]],[[],5],0,[29],[103,[[9,[26]]]],[103,[[9,[[8,[[8,[2,7]],7]],26]]]],[103,5],[[],77],[103,39],[[],99],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[108,48],[[9,[40,115]]]],[[],30],[[],30],[[],30],[[],30],[38,[[9,[26]]]],[38,[[9,[26]]]],[103,[[9,[103]]]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[28,[16]]]],[[],[[28,[3]]]],[5,[[28,[31]]]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[116,116],116],[[117,1,118,[120,[119]]]],0,[[117,121],[[9,[122]]]],[117,123],[117,124],[117,123],[117,124],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[117,125],[[9,[[128,[126,127]],17]]]],[117,[[128,[126,129]]]],[[117,130]],[117,86],[116,116],[[]],0,[117,9],0,[[],116],[131],[[117,1],[[28,[41]]]],[[117,52],28],[[117,1],30],[[],[[9,[116]]]],[[116,116],15],[[131,131],15],0,[[117,132,133],[[9,[15,17]]]],[[116,18],[[9,[60]]]],[[116,18],[[9,[60]]]],[[[117,[106]],18],19],[[134,18],19],[[131,18],19],[[131,18],19],[[[135,[106]],18],19],[[135,18],19],[[]],[[]],[[]],[[]],[[]],[[117,134],131],[117,116],[[117,1],68],[[117,134],131],[[117,10,[28,[136]],15],[[9,[137,17]]]],[[117,1],[[120,[55]]]],[[117,125,15],[[28,[13]]]],[[117,27],[[28,[10]]]],0,0,[[117,138],[[9,[15,139]]]],[[117,130,140],[[9,[15,[141,[140]]]]]],[[]],[[]],[[]],[[]],[[]],[52,15],[[117,52],15],0,[117,86],[117,[[28,[138]]]],[[117,15],[[8,[13]]]],[117,[[8,[10]]]],[117,35],[[142,[28,[142]],35],[[9,[117,135]]]],[[142,[28,[142]],35],[[9,[117,23]]]],[[117,1],41],[[117,1],[[9,[[28,[57]],17]]]],[29],[[117,1],[[28,[68]]]],[117,48],[116,9],[[117,132,133],[[9,[15,17]]]],0,[117,[[86,[1,[0,[143,100]]]]]],[[117,1],[[0,[143,100]]]],[117,144],[[]],[[],30],[[],30],[[],30],[116,16],[117,145],0,[116,16],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],0,[[],32],[[],32],[[],32],[[],32],[[],32],0,[[]],[[]],[[]],[[]],[[]],[[28,35,48],[[9,[30,17]]]],0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[146,146],[147,147],[148,148],[[]],[[]],[[]],[[[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[146,[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[147,[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[148,[8,[11]],[8,[11]],3,16,52],[[9,[149,17]]]],[[16,3,52],150],[[],146],[[],147],[[],148],0,0,[[150,18],19],[[149,18],19],[[146,18],19],[[147,18],19],[[148,18],19],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[149,16],[16,148],0,[149,16],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,[[]],[[]],[151,[[28,[30]]]],[151,30],[[],[[9,[151]]]],[[117,33,15],[[9,[151,33]]]],[[151,18],19],[[]],[33,[[9,[151]]]],[[]],0,[151,9],[151,30],[[],9],[[],9],[[],32],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[55,152,118,[120,[119]]],[[28,[[120,[119]]]]]],0,0,[[55,48],153],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[153,34,48],55],[152,152],[22,22],[154,154],[[[156,[[0,[100,155,106,100]]]]],[[156,[[0,[100,155,106,100]]]]]],[118,118],[55,55],[133,133],[157,157],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[152,152],14],[[118,118],14],[[],118],[[],55],[[],133],[[],157],[[[156,[[0,[155,106,100]]]]]],[[],[[28,[108]]]],[[[156,[[44,[112]]]]],[[28,[108]]]],[[[156,[158]]],[[28,[108]]]],[[152,152],15],[[22,22],15],[[154,154],15],[[118,118],15],[[157,157],15],[[55,152],[[28,[120]]]],[[152,18],19],[[22,18],19],[[22,18],19],[[154,18],19],[[[156,[[0,[106,155,106,100]]]],18],19],[[118,18],19],[[55,18],19],[[133,18],19],[[157,18],19],[[]],[159,152],[114,152],[160,22],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[152],[48,152],[[[156,[[44,[112]]]],48],152],[[[156,[158]],48],152],[55,[[8,[152]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[0,[155,106,100]],154],[[156,[[0,[155,106,100]]]]]],[[],55],[[152,152],[[28,[14]]]],[[118,118],[[28,[14]]]],[29],[[55,152,118],[[28,[[120,[119]]]]]],0,[[132,5,133,48],[[9,[22]]]],[[[156,[158]],132,5,133,48],[[9,[22]]]],[[[156,[[44,[112]]]],132,5,133,48],[[9,[22]]]],[[132,133,48],[[9,[22]]]],[[132,133,48],[[9,[22]]]],0,[55,[[8,[120]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],30],0,0,[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[],32],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,[[[128,[161,129]]],[[128,[161,129]]]],[[[128,[161,162]],27,137,5],[[9,[[128,[161,162]],17]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,129]],52,16],[[128,[161,129]]]],[[[128,[161,162]],27],[[128,[161,162]]]],[[[128,[161,162]],27],[[9,[[128,[161,162]],17]]]],[[[128,[161,162]]],[[9,[[128,[161,162]],17]]]],[[[128,[161,162]],15],[[128,[161,162]]]],[[[128,[126,127]],52],[[9,[[128,[126,127]],17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[128,[161,162]],163],[[128,[161,162]]]],[129,129],[127,127],[[[128,[100]]],[[128,[100]]]],[164,164],[163,163],[[]],[[]],[[]],[[]],[[]],[[164,164],14],[[163,163],14],[[[128,[161,162]],161],[[128,[161,162]]]],[[[128,[161,162]],41],[[128,[161,162]]]],[[],129],[[],127],[[],164],[[],163],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,129]],52],[[128,[161,129]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]],165],[[128,[161,162]]]],[[164,164],15],[[163,163],15],[[[128,[161,162]],16],[[128,[161,162]]]],[[[128,[161,162]],3],[[128,[161,162]]]],[[[128,[161,162]]],[[9,[17]]]],[[129,18],19],[[127,18],19],[[[128,[106,106,106]],18],19],[[164,18],19],[[163,18],19],[[]],[[]],[[]],[[]],[[]],[164],[163],[[[128,[161,162]]],[[128,[161,162]]]],[[]],[[]],[[]],[[]],[[]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]],166],[[128,[161,162]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]]],[[128,[161,162]]]],[[[128,[161,162]],164],[[128,[161,162]]]],[[164,164],[[28,[14]]]],[[163,163],[[28,[14]]]],[[[128,[161,162]],[86,[30,[8,[5]]]],1],[[128,[161,162]]]],[[[128,[161,129]],8],[[128,[161,129]]]],[[[128,[161,162]],136],[[128,[161,162]]]],[[164,130]],[[]],[[]],[[]],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],9],[[],32],[[],32],[[],32],[[],32],[[],32],[[[128,[161,162]],[8,[27]]],[[128,[161,162]]]],[[[128,[161,162]],167],[[128,[161,162]]]],[[]],[[]],[[]],[[]],[[]]],"p":[[4,"KeychainKind"],[15,"u8"],[3,"FeeRate"],[15,"f32"],[15,"usize"],[3,"u5"],[3,"Global"],[3,"Vec"],[4,"Result"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[4,"Utxo"],[3,"TransactionDetails"],[4,"Ordering"],[15,"bool"],[15,"u64"],[4,"Error"],[3,"Formatter"],[6,"Result"],[4,"PolicyError"],[4,"KeyError"],[4,"SignerError"],[4,"Error"],[4,"Error"],[4,"Error"],[4,"Error"],[3,"OutPoint"],[4,"Option"],[3,"Demand"],[3,"String"],[3,"TxOut"],[3,"TypeId"],[15,"str"],[4,"Descriptor"],[4,"Network"],[3,"Address"],[4,"ScriptContextEnum"],[3,"Miniscript"],[4,"Terminal"],[4,"DescriptorPublicKey"],[15,"u32"],[3,"DefiniteDescriptorKey"],[4,"ScriptContextError"],[3,"DescriptorXKey"],[4,"Wildcard"],[4,"Legacy"],[4,"Segwitv0"],[3,"Secp256k1"],[3,"PublicKey"],[4,"ConversionError"],[4,"DescriptorType"],[3,"Script"],[3,"ExtParams"],[4,"AnalysisError"],[3,"SignersContainer"],[4,"BuildSatisfaction"],[3,"Policy"],[8,"ScriptContext"],[3,"Range"],[3,"Error"],[3,"Bare"],[3,"Wsh"],[3,"Sh"],[3,"Pkh"],[3,"Wpkh"],[3,"Tr"],[3,"Tree"],[6,"ExtendedDescriptor"],[3,"Iter"],[3,"PkIter"],[4,"Policy"],[4,"LiftError"],[3,"DerivationPath"],[4,"BareCtx"],[4,"TapTree"],[3,"TxIn"],[4,"SigType"],[3,"HashMap"],[4,"Error"],[4,"Error"],[4,"Error"],[4,"PkOrF"],[4,"SatisfiableItem"],[4,"Satisfaction"],[3,"Condition"],[3,"BTreeMap"],[6,"DescriptorTemplateOut"],[8,"IntoDescriptorKey"],[3,"P2Pkh"],[3,"P2Wpkh_P2Sh"],[3,"P2Wpkh"],[8,"DerivableKey"],[3,"Bip44"],[3,"Bip44Public"],[3,"Bip49"],[3,"Bip49Public"],[3,"Bip84"],[3,"Bip84Public"],[6,"ValidNetworks"],[8,"Clone"],[3,"GeneratedKey"],[3,"PrivateKeyGenerateOptions"],[3,"SortedMultiVec"],[3,"SinglePub"],[4,"SinglePubKey"],[8,"Debug"],[4,"DescriptorKey"],[4,"DescriptorSecretKey"],[3,"SinglePriv"],[3,"ExtendedPubKey"],[4,"ExtendedKey"],[3,"ExtendedPrivKey"],[6,"KeySource"],[3,"Fingerprint"],[3,"DescriptorKeyParseError"],[3,"Balance"],[3,"Wallet"],[3,"SignerOrdering"],[8,"TransactionSigner"],[3,"Arc"],[6,"Update"],[6,"UpdateError"],[3,"ChainGraph"],[3,"TxGraph"],[3,"Txid"],[6,"DefaultCoinSelectionAlgorithm"],[3,"BumpFee"],[3,"TxBuilder"],[3,"CreateTx"],[3,"Transaction"],[3,"AddressInfo"],[3,"PartiallySignedTransaction"],[3,"SignOptions"],[4,"AddressIndex"],[4,"NewError"],[3,"PsbtSighashType"],[3,"Input"],[3,"BlockId"],[4,"InsertCheckpointError"],[4,"ConfirmationTime"],[4,"InsertTxError"],[8,"IntoWalletDescriptor"],[8,"Iterator"],[3,"KeychainChangeSet"],[8,"DoubleEndedIterator"],[3,"LargestFirstCoinSelection"],[3,"OldestFirstCoinSelection"],[3,"BranchAndBoundCoinSelection"],[3,"CoinSelectionResult"],[4,"Excess"],[3,"FullyNodedExport"],[4,"SignerId"],[6,"KeyMap"],[4,"SignerContext"],[8,"Sized"],[3,"SignerWrapper"],[4,"TapLeavesOptions"],[3,"PrivateKey"],[3,"Hash"],[4,"Error"],[8,"CoinSelectionAlgorithm"],[8,"TxBuilderContext"],[4,"ChangeSpendPolicy"],[4,"TxOrdering"],[3,"Sequence"],[4,"LockTime"],[15,"i32"],[8,"Vbytes"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[13,"Foreign"],[8,"ExtractPolicy"],[13,"PsbtTimelocks"],[13,"Complete"],[13,"Partial"],[13,"PartialComplete"],[13,"Sha256Preimage"],[13,"Hash256Preimage"],[13,"Ripemd160Preimage"],[13,"Hash160Preimage"],[13,"Thresh"],[13,"Multisig"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[8,"DescriptorTemplate"],[8,"GeneratableKey"],[8,"ExtScriptContext"],[8,"GeneratableDefaultOptions"],[8,"PsbtUtils"],[8,"IsDust"],[13,"Change"],[13,"NoChange"],[8,"SignerCommon"],[8,"InputSigner"],[13,"Tap"]]},\ +"bdk_chain":{"doc":"This crate is a collection of core structures for Bitcoin …","t":[8,8,17,3,17,8,3,4,3,13,13,13,8,16,8,3,16,4,3,8,3,3,4,13,13,13,16,11,10,11,11,12,12,10,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,10,11,11,12,11,11,11,11,0,10,0,11,11,11,11,11,2,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,0,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,12,12,13,13,3,3,13,6,4,13,4,3,13,13,4,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,12,12,16,3,3,8,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,10,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,3,3,3,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,0,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,12,11,12,11,11,11,11,11,11,16,3,8,16,10,11,11,11,11,11,11,10,11,11,11,11,11,11,11,6,3,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,8,3,13,4,4,13,3,13,13,13,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["Anchor","Append","BIP32_MAX_INDEX","BlockId","COINBASE_MATURITY","ChainOracle","ConfirmationHeightAnchor","ConfirmationTime","ConfirmationTimeAnchor","Confirmed","Confirmed","Confirmed","DescriptorExt","Error","ForEachTxOut","FullTxOut","LoadError","ObservedAs","Persist","PersistBackend","SpkIterator","SpkTxOutIndex","TxHeight","Unconfirmed","Unconfirmed","Unconfirmed","WriteError","all_spks","anchor_block","anchor_block","anchor_block","anchor_block","anchor_block","append","apply_additions","bitcoin","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain_graph","chain_position","clone","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cloned","cmp","cmp","cmp","cmp","cmp","cmp","cmp","commit","confirmation_height","confirmation_height","confirmation_height_upper_bound","confirmation_height_upper_bound","confirmation_height_upper_bound","confirmation_height_upper_bound","confirmation_time","default","default","default","default","default","deserialize","deserialize","deserialize","deserialize","deserialize","dust_value","eq","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_txout","from","from","from","from","from","from","from","from","from","from","from","from","from","hash","hash","hash","hash","hash","hash","hash","height","height","height","index_of_spk","index_tx","index_txout","indexed_tx_graph","insert_spk","into","into","into","into","into","into","into","into","into","into","into_iter","is_block_in_chain","is_confirmed","is_confirmed","is_confirmed_and_spendable","is_empty","is_mature","is_mature","is_on_coinbase","is_relevant","is_spendable_at","is_tx_relevant","is_used","keychain","load_from_persistence","local_chain","mark_used","max_ord_of_height","max_ord_of_height","min_ord_of_height","min_ord_of_height","miniscript","net_value","new","new","next","nth","outpoint","outpoints","outputs_in_range","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","partial_cmp","scan","scan_txout","sent_and_received","serialize","serialize","serialize","serialize","serialize","sparse_chain","spent_by","spk_at_index","stage","staged","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","tx_graph","txout","txout","txouts","txouts_in_tx","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unmark_used","unused_spks","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","write_changes","height","time","Chain","Chain","ChainGraph","ChangeSet","Conflict","InsertCheckpointError","InsertTxError","Missing","NewError","UnresolvableConflict","UnresolvableConflict","UnresolvableConflict","UpdateError","already_confirmed_tx","append","apply_changeset","apply_update","as_ref","as_ref","as_ref","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","chain","checkpoint_limit","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","contains_eviction","default","default","deserialize","determine_changeset","eq","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_txout","for_each_txout","from","from","from","from","from","from","from","from","from","from","full_txout","get_tx_in_chain","graph","graph","inflate_update","insert_checkpoint","insert_checkpoint_preview","insert_tx","insert_tx_preview","insert_txout","insert_txout_preview","into","into","into","into","into","into","invalidate_checkpoints","invalidate_checkpoints_preview","is_empty","is_empty","new","provide","provide","provide","provide","serialize","set_checkpoint_limit","spent_by","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","to_string","transactions_in_chain","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","tx_conflicts_in_chain","type_id","type_id","type_id","type_id","type_id","type_id","update_tx","vzip","vzip","vzip","vzip","vzip","vzip","a","b","Additions","IndexedAdditions","IndexedTxGraph","Indexer","append","apply_additions","apply_additions","apply_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone_into","default","default","deserialize","eq","fmt","fmt","from","from","graph","graph_additions","index","index_additions","index_tx","index_txout","insert_relevant_txs","insert_tx","insert_txout","into","into","is_empty","is_tx_relevant","new","serialize","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","vzip","vzip","Balance","DerivationAdditions","KeychainChangeSet","KeychainScan","KeychainTracker","KeychainTxOutIndex","add","add_keychain","add_keychain","append","append","apply_additions","apply_additions","apply_changeset","apply_update","as_inner","as_ref","as_ref","as_ref","as_ref","as_ref","balance","balance_at","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","chain","chain_graph","chain_graph","checkpoint_limit","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","confirmed","default","default","default","default","default","default","deref","derivation_indices","deserialize","deserialize","deserialize","determine_changeset","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","for_each_txout","from","from","from","from","from","from","from","from","from","full_txouts","full_utxos","graph","immature","index_tx","index_txout","inner","insert_checkpoint","insert_checkpoint_preview","insert_tx","insert_tx_preview","into","into","into","into","into","into","is_empty","is_empty","is_empty","is_tx_relevant","keychains","keychains","last_active_indices","last_revealed_index","last_revealed_indices","last_used_index","last_used_indices","lookahead_to_target","lookahead_to_target_multi","lookaheads","mark_used","next_index","next_unused_spk","outpoints","persist","reveal_next_spk","reveal_to_target","reveal_to_target_multi","revealed_spks_of_all_keychains","revealed_spks_of_keychain","scan","scan_txout","serialize","serialize","serialize","set_checkpoint_limit","set_lookahead","set_lookahead_for_all","spks_of_all_keychains","spks_of_keychain","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","total","trusted_pending","trusted_spendable","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","txout_index","txouts_of_keychain","type_id","type_id","type_id","type_id","type_id","type_id","unmark_used","untrusted_pending","unused_spks_of_keychain","update","vzip","vzip","vzip","vzip","vzip","vzip","LoadError","Persist","PersistBackend","WriteError","append_changeset","borrow","borrow_mut","commit","fmt","from","into","load_into_keychain_tracker","new","stage","staged","try_from","try_into","type_id","vzip","ChangeSet","InsertBlockNotMatchingError","LocalChain","UpdateNotConnectedError","apply_changeset","apply_update","as_ref","blocks","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone","clone_into","clone_into","clone_into","cmp","default","determine_changeset","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from_blocks","height","heights","initial_changeset","insert_block","into","into","into","is_block_in_chain","original_hash","partial_cmp","provide","provide","tip","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_hash","vzip","vzip","vzip","ChainPosition","ChangeSet","HashNotMatching","InsertCheckpointError","InsertTxError","NotConnected","SparseChain","TxInconsistent","TxMovedUnexpectedly","TxTooHigh","UpdateError","append","apply_changeset","apply_update","as_ref","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","changeset_additions","checkpoint_at","checkpoint_limit","checkpoints","checkpoints","clear_mempool","clear_mempool_preview","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","deserialize","determine_changeset","eq","eq","eq","eq","eq","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from_checkpoints","full_txout","height","initial_changeset","insert_checkpoint","insert_checkpoint_preview","insert_tx","insert_tx_preview","into","into","into","into","into","invalidate_checkpoints","invalidate_checkpoints_preview","is_empty","is_empty","latest_checkpoint","max_ord_of_height","min_ord_of_height","provide","provide","provide","range_checkpoints","range_txids","range_txids_by_height","range_txids_by_position","serialize","set_checkpoint_limit","spent_by","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","tx_position","txids","txids","type_id","type_id","type_id","type_id","type_id","unconfirmed","vzip","vzip","vzip","vzip","vzip","height","original_hash","update_hash","original_pos","tip_height","tx_height","txid","txid","update_pos","original_pos","txid","update_pos","Additions","CanonicalTx","TxDescendants","TxGraph","TxNode","all_anchors","all_txouts","anchors","anchors","append","apply_additions","apply_update","as_ref","balance","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","calculate_fee","checked_sum","checked_sum","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","cmp","cmp","default","default","deref","deserialize","determine_additions","direct_conflicts_of_tx","eq","eq","eq","eq","filter_chain_txouts","filter_chain_unspents","floating_txouts","fmt","fmt","fmt","fmt","for_each_txout","for_each_txout","from","from","from","from","from","full_txs","get_chain_position","get_chain_spend","get_tx","get_tx_node","get_txout","insert_anchor","insert_anchor_preview","insert_seen_at","insert_seen_at_preview","insert_tx","insert_tx_preview","insert_txout","insert_txout_preview","into","into","into","into","into","into_iter","is_empty","is_empty","is_empty","last_seen","last_seen_unconfirmed","list_chain_txs","new","next","node","observed_as","outspends","partial_cmp","partial_cmp","serialize","to_owned","to_owned","to_owned","to_owned","try_balance","try_filter_chain_txouts","try_filter_chain_unspents","try_from","try_from","try_from","try_from","try_from","try_get_chain_position","try_get_chain_spend","try_into","try_into","try_into","try_into","try_into","try_list_chain_txs","tx","tx","tx_outputs","tx_spends","txid","txout","txouts","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","walk_conflicts","walk_descendants"],"q":["bdk_chain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::ConfirmationTime","","bdk_chain::chain_graph","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::chain_graph::NewError","","bdk_chain::indexed_tx_graph","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::keychain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::keychain::persist","","","","","","","","","","","","","","","","","","","bdk_chain::local_chain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::sparse_chain","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_chain::sparse_chain::InsertCheckpointError","","","bdk_chain::sparse_chain::InsertTxError","","","","","","bdk_chain::sparse_chain::UpdateError","","","bdk_chain::tx_graph","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Trait that “anchors” blockchain data to a specific …","Trait that makes an object appendable.","Maximum BIP32 derivation index.","A reference to a block in the canonical chain.","How many confirmations are needed f or a coinbase output …","Represents a service that tracks the blockchain.","An Anchor implementation that also records the exact …","Block height and timestamp at which a transaction is …","An Anchor implementation that also records the exact …","The chain data is seen as confirmed, and in anchored by A.","","","A trait to extend the functionality of a miniscript …","Error type.","Trait to do something with every txout contained in a …","A TxOut with as much data as we can retrieve about it","The error the backend returns when it fails to load …","Represents an observation of some chain data.","Persist wraps a PersistBackend (B) to create a convenient …","A persistence backend for Persist.","An iterator for derived script pubkeys.","An index storing TxOuts that have a script pubkey that …","Represents the height at which a transaction is confirmed.","The chain data is seen in mempool at this given timestamp.","","","The error the backend returns when it fails to write.","The script pubkeys that are being tracked by the index.","Returns the BlockId that the associated blockchain data is …","","","The anchor block.","The anchor block.","Append another object of the same type onto self.","","","","","","","","","","","","","","","","","","","","","","","Module for structures that combine the features of …","The position of the transaction in outpoint in the overall …","","","","","","","","","","","","","","","","","","","","","","","","","","","Commit the staged changes to the underlying persistance …","The exact confirmation height of the transaction.","","Get the upper bound of the chain data’s confirmation …","Get the upper bound of the chain data’s confirmation …","","","","","","","","","","","","","","Returns the minimum value (in satoshis) at which an output …","","","","","","","","","","","","","","","","","","The provided closure f will be called with each …","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","The hash of the block.","","","The height of the block.","Returns the index associated with the script pubkey.","","","","Adds a script pubkey to scan for. Returns false and does …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Determines whether block of BlockId exists as an ancestor …","","","Whether the utxo is/was/will be spendable with chain tip.","Returns whether the structure is considered empty.","","Whether the txout is considered mature.","Whether this output is on a coinbase transaction.","Whether any of the inputs of this transaction spend a …","Whether the utxo is/was/will be spendable at height.","","Returns whether the script pubkey at index has been used …","Module for keychain related structures.","Return the aggregate changeset C from persistence.","","Marks the script pubkey at index as used even though it …","","","","","","Computes the net value that this transaction gives to the …","Create a new Persist from PersistBackend.","Creates a new script pubkey iterator starting at 0 from a …","","","The location of the TxOut.","Get a reference to the set of indexed outpoints.","Iterates over all the outputs with script pubkeys in an …","","","","","","","","Scans an object containing many txouts.","Scan a single TxOut for a matching script pubkey and …","Computes total input value going from script pubkeys in …","","","","","","Module for structures that maintain sparse (purposely …","The txid and chain position of the transaction (if any) …","Returns the script that has been inserted at the index.","Stage a changeset to be commited later with commit.","Get the changes that have not been commited yet.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Module for structures that store and traverse transactions.","Returns the txout and script pubkey index of the TxOut at …","The TxOut.","Iterate over all known txouts that spend to tracked script …","Finds all txouts on a transaction that has previously been …","","","","","","","","","","","Undoes the effect of mark_used. Returns whether the index …","Iterates over all unused script pubkeys in an index range.","","","","","","","","","","","Writes a changeset to the persistence backend.","","","","The update chain was inconsistent with the existing chain","A consistent combination of a SparseChain<P> and a …","Represents changes to ChainGraph.","Two transactions within the sparse chain conflicted with …","A nice alias of sparse_chain::InsertCheckpointError.","Error that may occur when inserting a transaction.","One or more transactions in the chain were not in the graph","Error that may occur when calling ChainGraph::new.","Represents an unresolvable conflict between an update’s …","","A transaction in the update spent the same input as an …","Represents an update failure.","","Appends the changes in other into self such that applying …","Applies changeset to self.","Applies the update chain graph. Note this is shorthand for …","","","","","","","","","","","","","","","","Returns a reference to the internal SparseChain.","","Gets the checkpoint limit.","","","","","","","","","","","","","Returns true if this ChangeSet contains transaction …","","","","Calculates the difference between self and update in the …","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Get the full transaction output at an outpoint if it …","Get a transaction currently in the underlying SparseChain.","Returns a reference to the internal TxGraph.","","Take an update in the form of a SparseChain<P> and attempt …","Inserts checkpoint into Self.","Determines the changes required to insert a block_id (a …","Inserts Transaction at the given chain position.","Determines the changes required to insert a transaction …","Inserts a TxOut into the internal TxGraph.","Determines the changes required to insert a TxOut into the …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invalidate checkpoints from_height (inclusive) and above. …","Determines the changes required to invalidate checkpoints …","Whether the chain graph contains any data whatsoever.","Returns true if this ChangeSet records no changes.","Create a new chain graph from a chain and a graph.","","","","","","Sets the checkpoint limit.","Find the transaction in the chain that spends outpoint.","","","","","","","","","","","Iterate over the full transactions and their position in …","","","","","","","","","","","","","Given a transaction, return an iterator of txids that …","","","","","","","","","","","","","","","","The resultant “additions” when new transaction data is …","A structure that represents changes to an IndexedTxGraph.","A struct that combines TxGraph and an Indexer …","Represents a structure that can index transaction data.","","Apply additions to itself.","Applies the IndexedAdditions to the IndexedTxGraph.","Apply an update directly.","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Get a reference of the internal transaction graph.","TxGraph additions.","Transaction index.","Indexer additions.","Scan and index the given transaction.","Scan and index the given outpoint and txout.","Insert relevant transactions from the given txs iterator.","Insert and index a transaction into the graph.","Insert a floating txout of given outpoint.","Calls U::from(self).","Calls U::from(self).","","Determines whether the transaction should be included in …","Construct a new IndexedTxGraph with a given index.","","","","","","","","","","","Balance, differentiated into various categories.","Represents updates to the derivation index of a …","Represents changes to a KeychainTracker.","An update that includes the last active indexes of each …","A convenient combination of a KeychainTxOutIndex and a …","A convenient wrapper around SpkTxOutIndex that relates …","","Add a keychain to the tracker’s txout_index with a …","Add a keychain to the tracker’s txout_index with a …","Append another DerivationAdditions into self.","Appends the changes in other into self such that applying …","Applies the derivation additions to the KeychainTxOutIndex…","","Applies the changes in changeset to KeychainTracker.","Directly applies a KeychainScan on KeychainTracker.","Get the inner map of the keychain to its new derivation …","","","","","","Returns the balance of the keychain, i.e., the value of …","Returns the balance of all spendable confirmed unspent …","","","","","","","","","","","","","Returns a reference to the internal SparseChain (which is …","Returns a reference to the internal ChainGraph.","The changes that have occurred in the blockchain","Get the checkpoint limit of the internal SparseChain.","","","","","","","","","","","","","Confirmed and immediately spendable balance","","","","","","","","The changes in local keychain derivation indices","","","","Determines the resultant KeychainChangeSet if the given …","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","Returns the argument unchanged.","Returns the argument unchanged.","Iterates through FullTxOuts that are considered to exist …","Iterates through FullTxOuts that are unspent outputs.","Returns a reference to the internal TxGraph (which is part …","All coinbase outputs not yet matured","","","Return a reference to the internal SpkTxOutIndex.","Directly insert a block_id into the tracker.","Determines the changes as a result of inserting block_id …","Directly insert a transaction into the inner ChainGraph …","Determines the changes as a result of inserting a …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Returns whether the additions are empty.","","Returns whether the KeychainChangeSet is empty (no changes …","","Get the internal map of keychains to their descriptors. …","Return a reference to the internal map of the keychain to …","The last active indexes of each keychain","Get the last derivation index revealed for keychain.","Get the last derivation index that is revealed for each …","Returns the highest derivation index of the keychain where …","Returns the highest derivation index of each keychain that …","Store lookahead scripts until target_index.","Convenience method to call lookahead_to_target for …","Return the lookahead setting for each keychain.","Marks the script pubkey at index as used even though the …","Get the next derivation index for keychain. The next index …","Gets the next unused script pubkey in the keychain. I.e., …","Get a reference to the set of indexed outpoints.","Persistence for changes made to a KeychainTracker.","Attempts to reveal the next script pubkey for keychain.","Reveals script pubkeys of the keychain’s descriptor up …","Convenience method to call Self::reveal_to_target on …","Convenience method to get revealed_spks_of_keychain of all …","Iterates over the script pubkeys revealed by this index …","Scans an object for relevant outpoints, which are stored …","Scan a single outpoint for a matching script pubkey.","","","","Set the checkpoint limit of the internal SparseChain.","Set the lookahead count for keychain.","Convenience method to call set_lookahead for all keychains.","Generates script pubkey iterators for every keychain. The …","Generates a script pubkey iterator for the given keychain…","","","","","","","","Get the whole balance visible to the wallet.","Unconfirmed UTXOs generated by a wallet tx","Get sum of trusted_pending and confirmed coins.","","","","","","","","","","","","","Index between script pubkeys to transaction outputs","Iterates over all the OutPoint that have a TxOut with a …","","","","","","","Undoes the effect of mark_used. Returns whether the index …","Unconfirmed UTXOs received from an external wallet","Iterates over all unused script pubkeys for a keychain …","The update data in the form of a chain that could be …","","","","","","","The error the backend returns when it fails to load.","Persist wraps a PersistBackend to create a convenient …","A persistence backend for Persist.","The error the backend returns when it fails to write.","Appends a new changeset to the persistent backend.","","","Commit the staged changes to the underlying persistence …","","Returns the argument unchanged.","Calls U::from(self).","Applies all the changesets the backend has received to …","Create a new Persist from a PersistBackend.","Stage a changeset to later persistence with commit.","Get the changes that haven’t been committed yet","","","","","This is the return value of determine_changeset and …","Represents a failure when trying to insert a checkpoint …","This is a local implementation of ChainOracle.","Represents an update failure of LocalChain due to the …","Applies the given changeset.","Updates LocalChain with an update LocalChain.","","Get a reference to a map of block height to hash.","","","","","","","","","","","","","","","This is like the sparsechain’s logic, expect we must …","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Insert a block of BlockId into the LocalChain.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","Represents a position in which transactions are ordered in …","The return value of determine_changeset.","Occurs when a checkpoint of the same height already exists …","Represents a failure when trying to insert a checkpoint …","Represents a failure when trying to insert a Txid into …","The update cannot be applied to the chain because the …","This is a non-monotone structure that tracks relevant Txid…","The update contains inconsistent tx states (e.g., it …","Occurs when the Txid is already in the SparseChain, and …","Occurs when the Txid is to be inserted at a height higher …","Represents an update failure of SparseChain.","Appends the changes of other into self such that applying …","","Updates SparseChain with another chain that connects to it.","","","","","","","","","","","","Return Txids that would be added to the sparse chain if …","Get the checkpoint at the given height if it exists.","Returns the value set as the checkpoint limit.","Return a BTreeMap of all checkpoints (block hashes by …","","Clears all transactions of height TxHeight::Unconfirmed.","Determines the ChangeSet when all transactions of height …","","","","","","","","","","","","","","Preview changes of updating Self with another chain that …","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Creates a new chain from a list of block hashes and …","Attempt to retrieve a FullTxOut of the given outpoint.","Get the transaction height of the position.","Derives a ChangeSet that assumes that there are no …","Insert a checkpoint (BlockId).","Determines the resultant ChangeSet if BlockId was inserted.","Inserts a given Txid at pos.","Determines the resultant ChangeSet if Txid was inserted at …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Invalidate checkpoints from_height (inclusive) and above.","Determines the ChangeSet when checkpoints from_height …","Returns whether the sparse chain contains any checkpoints …","Whether this changeset contains no changes.","Get the checkpoint for the last known tip.","Get the position’s upper bound of a given height.","Get the position’s lower bound of a given height.","","","","Return an iterator over checkpoints in a height range, in …","Iterate over a sub-range of positioned Txids.","Iterate over a sub-range of positioned Txids, where the …","Iterate over a sub-range of positioned Txids, where the …","","Set the checkpoint limit.","Finds the transaction in the chain that spends outpoint.","","","","","","","","","","","","","","","","","","","Return the ChainPosition of a txid.","Iterate over all Txids ordered by their ChainPosition.","","","","","","","Get the unconfirmed position.","","","","","","","","","","","","","","","","","","A structure that represents changes to a TxGraph.","An outwards-facing view of a transaction that is part of …","An iterator that traverses transaction descendants.","A graph of transactions and spends.","An outward-facing view of a (transaction) node in the …","Get all transaction anchors known by TxGraph.","Iterate over all tx outputs known by TxGraph.","The blocks that the transaction is “anchored” in.","","","Applies Additions to TxGraph.","Extends this graph with another so that self becomes the …","","Get the total balance of outpoints that are in chain of …","","","","","","","","","","","Calculates the fee of a given transaction. Returns 0 if tx …","","","","","","","","","","","","","","","","","Previews the resultant Additions when Self is updated …","Given a transaction, return an iterator of txids that …","","","","","Get a filtered list of outputs from the given outpoints …","Get a filtered list of unspent outputs (UTXOs) from the …","Iterate over floating txouts known by TxGraph.","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Iterate over all full transactions in the graph.","Get the position of the transaction in chain with tip …","Get the txid of the spending transaction and where the …","Get a transaction by txid. This only returns Some for full …","Get a transaction node by txid. This only returns Some for …","Obtains a single tx output (if any) at the specified …","Inserts the given anchor into TxGraph.","Returns the resultant Additions if the txid is set in …","Inserts the given seen_at into TxGraph.","Returns the resultant Additions if the txid is set to …","Inserts the given transaction into TxGraph.","Returns the resultant Additions if the given transaction …","Inserts the given TxOut at OutPoint.","Returns the resultant Additions if the given txout is …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Whether the graph has any transactions or outputs in it.","Returns true if the Additions is empty (no transactions or …","","","The last-seen unix timestamp of the transaction as …","List graph transactions that are in chain with chain_tip.","Construct a new TxGraph from a list of transactions.","","The transaction node (as part of the graph).","How the transaction is observed as (confirmed or …","The transactions spending from this output.","","","","","","","","Get the total balance of outpoints that are in chain of …","Get a filtered list of outputs from the given outpoints …","Get a filtered list of unspent outputs (UTXOs) from the …","","","","","","Get the position of the transaction in chain with tip …","Get the txid of the spending transaction and where the …","","","","","","List graph transactions that are in chain with chain_tip.","A partial or full representation of the transaction.","","Returns known outputs of a given txid.","Iterates over the transactions spending from txid.","Txid of the transaction.","","Iterates over all outpoints contained within Additions.","","","","","","","","","","","Creates an iterator that both filters and maps conflicting …","Creates an iterator that filters and maps descendants from …"],"i":[0,0,0,0,0,0,0,0,0,8,9,10,0,84,0,0,85,0,0,0,0,0,0,8,9,10,85,3,30,6,7,6,7,56,3,0,3,8,9,10,5,6,7,11,14,12,3,8,9,10,5,6,7,11,14,12,0,11,3,8,9,10,5,6,7,11,12,3,8,9,10,5,6,7,11,12,8,8,9,10,5,6,7,11,14,6,7,30,30,6,7,7,3,9,5,6,7,9,10,5,6,7,86,8,9,10,5,6,7,11,3,8,9,9,10,5,6,7,11,14,87,3,8,9,9,10,5,5,5,6,7,11,14,12,8,9,10,5,6,7,5,9,10,5,3,3,3,0,3,3,8,9,10,5,6,7,11,14,12,12,84,9,10,11,56,11,11,11,3,11,3,3,0,85,0,3,9,10,9,10,0,3,14,12,12,12,11,3,3,8,9,10,5,6,7,11,3,3,3,9,10,5,6,7,0,11,3,14,14,3,8,9,10,5,6,7,11,12,9,3,8,9,10,5,6,7,11,14,12,3,8,9,10,5,6,7,11,14,12,0,3,11,3,3,3,8,9,10,5,6,7,11,14,12,3,3,3,8,9,10,5,6,7,11,14,12,85,88,88,48,44,0,0,47,0,0,47,0,0,48,44,0,49,42,43,43,43,43,43,43,42,47,48,44,49,43,42,47,48,44,49,43,42,43,43,42,47,48,44,49,43,42,47,48,44,49,42,43,42,42,43,43,42,47,48,44,49,43,42,47,47,48,48,44,44,49,49,43,42,43,42,47,48,48,48,44,44,44,49,43,43,43,42,43,43,43,43,43,43,43,43,42,47,48,44,49,43,43,43,42,43,47,48,44,49,42,43,43,43,42,47,48,44,49,47,48,44,49,43,43,42,47,48,44,49,43,42,47,48,44,49,43,43,42,47,48,44,49,49,43,42,47,48,44,49,89,89,58,0,0,0,57,58,59,59,59,57,59,57,57,57,59,57,57,57,59,57,59,57,59,57,59,57,58,58,59,59,59,59,57,57,58,59,57,57,59,57,59,57,59,57,59,57,0,0,0,0,0,0,61,62,65,66,67,65,65,62,62,66,62,62,62,66,68,62,62,62,65,66,68,67,61,62,65,66,68,67,61,62,62,67,62,62,65,66,68,67,61,62,65,66,68,67,61,61,62,65,66,68,67,61,65,67,66,67,61,62,66,68,61,62,65,66,68,67,61,61,67,62,65,66,68,68,67,67,67,61,62,62,62,61,65,65,65,62,62,62,62,62,65,66,68,67,61,66,66,67,65,62,65,68,65,65,65,65,65,65,65,65,65,65,65,0,65,65,65,65,65,65,65,66,67,61,62,65,65,65,65,62,65,66,68,67,61,61,61,61,61,62,65,66,68,67,61,62,65,66,68,67,61,62,65,62,65,66,68,67,61,65,61,65,68,62,65,66,68,67,61,90,0,0,90,90,69,69,69,69,69,69,90,69,69,69,69,69,69,69,0,0,0,0,70,70,70,70,70,72,73,70,72,73,70,72,73,70,72,73,70,70,70,70,72,73,70,72,72,73,73,70,70,72,73,70,73,70,70,70,70,72,73,70,73,70,72,73,70,70,72,73,72,73,70,72,73,70,72,73,70,72,73,73,70,72,73,0,0,76,0,0,51,0,51,50,50,0,75,46,46,46,46,50,76,51,75,46,50,76,51,75,46,46,46,46,75,46,46,46,50,76,51,75,46,50,76,51,75,46,75,75,46,46,50,76,51,75,46,50,50,76,76,51,51,75,46,50,76,51,75,46,46,31,46,46,46,46,46,46,50,76,51,75,46,46,46,75,46,31,31,50,76,51,46,46,46,46,75,46,46,46,50,76,51,75,50,76,51,46,50,76,51,75,46,50,76,51,75,46,46,75,46,50,76,51,75,31,46,50,76,51,75,91,91,91,92,93,93,93,92,92,94,94,94,0,0,0,0,0,45,45,80,77,77,45,45,45,45,82,45,80,81,77,82,45,80,81,77,45,82,82,45,80,81,77,45,80,81,77,80,81,45,77,80,77,45,45,45,80,81,77,45,45,45,45,80,81,77,45,77,82,45,80,81,77,45,45,45,45,45,45,45,45,45,45,45,45,45,45,82,45,80,81,77,82,45,77,77,77,80,45,45,82,81,81,45,80,81,77,45,80,81,77,45,45,45,82,45,80,81,77,45,45,82,45,80,81,77,45,80,77,45,45,80,77,77,82,45,80,81,77,82,45,80,81,77,45,45],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[3,[[0,[1,2]]]]],4],[[],5],[6,5],[7,5],0,0,[[]],[[[3,[[0,[1,2]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[[[3,[1]]],[[3,[1]]]],[[[8,[1]]],[[8,[1]]]],[9,9],[10,10],[5,5],[6,6],[7,7],[[[11,[1]]],[[11,[1]]]],[[[12,[1]]],[[12,[1]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[8,[[8,[1]]]],[[[8,[2]],8],13],[[9,9],13],[[10,10],13],[[5,5],13],[[6,6],13],[[7,7],13],[[[11,[2]],11],13],[14,[[16,[15]]]],0,0,[[],17],[[],17],[6,17],[7,17],0,[[],3],[[],9],[[],5],[[],6],[[],7],[[],[[16,[9]]]],[[],[[16,[10]]]],[[],[[16,[5]]]],[[],[[16,[6]]]],[[],[[16,[7]]]],[[],18],[[[8,[19]],8],20],[[9,9],20],[[10,10],20],[[5,5],20],[[6,6],20],[[7,7],20],[[[11,[19]],11],20],[[[3,[21]],22],23],[[[8,[21]],22],23],[[9,22],23],[[9,22],23],[[10,22],23],[[5,22],23],[[6,22],23],[[7,22],23],[[[11,[21]],22],23],[[[14,[21,21]],22],23],[24],[[]],[[]],[[[15,[17]]],9],[[]],[[]],[[],5],[[],5],[[]],[[]],[[]],[[]],[[]],[[]],[[[8,[25]]]],[9],[10],[5],[6],[7],0,[9,9],[10,9],0,[[[3,[[0,[1,2]]]],26],15],[[[3,[[0,[1,2]]]],27]],[[[3,[[0,[1,2]]]],28,29]],0,[[[3,[[0,[1,2]]]],[0,[1,2]],26],20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[5,5],[[16,[[15,[20]]]]]],[9,20],[10,20],[[[11,[[8,[30]]]],17],20],[[],20],[[[11,[31]],17],20],[[[11,[[8,[30]]]],17],20],0,[[[3,[[0,[1,2]]]],27],20],[[[11,[31]],17],20],[[[3,[[0,[1,2]]]],27],20],[[[3,[[0,[1,2]]]]],20],0,[[],16],0,[[[3,[[0,[1,2]]]]],20],[9,9],[9,10],[9,9],[9,10],0,[[[3,[[0,[1,2]]]],27],32],[[],14],[[],12],[12,15],[[12,33],15],0,[[[3,[[0,[1,2]]]]],34],[[[3,[[0,[1,2]]]],[35,[[0,[1,2]]]]],36],[[[8,[37]],8],[[15,[13]]]],[[9,9],[[15,[13]]]],[[10,10],[[15,[13]]]],[[5,5],[[15,[13]]]],[[6,6],[[15,[13]]]],[[7,7],[[15,[13]]]],[[[11,[37]],11],[[15,[13]]]],[[[3,[[0,[1,2]]]]],[[34,[[0,[1,2]]]]]],[[[3,[[0,[1,2]]]],28,29],15],[[[3,[[0,[1,2]]]],27]],[9,16],[10,16],[5,16],[6,16],[7,16],0,0,[[[3,[[0,[1,2]]]]],[[15,[26]]]],[14],[14],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],38],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],0,[[[3,[[0,[1,2]]]],28],15],0,[[[3,[[0,[1,2]]]]],[[0,[36,39]]]],[[[3,[[0,[1,2]]]],40],36],[[],41],[[],41],[[],41],[[],41],[[],41],[[],41],[[],41],[[],41],[[],41],[[],41],[[[3,[[0,[1,2]]]]],20],[[[3,[[0,[1,2]]]]],36],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],16],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[42,42]],[[43,42]],[[43,43],[[16,[42,44]]]],[43,45],[43,43],[43,46],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[43,46],0,[43,[[15,[33]]]],[[[43,[1]]],[[43,[1]]]],[[[42,[1]]],[[42,[1]]]],[[[47,[1]]],[[47,[1]]]],[[[48,[1]]],[[48,[1]]]],[[[44,[1]]],[[44,[1]]]],[[[49,[1]]],[[49,[1]]]],[[]],[[]],[[]],[[]],[[]],[[]],[42,20],[[],43],[[],42],[[],[[16,[42]]]],[[43,43],[[16,[42,44]]]],[[[43,[19]],43],20],[[[42,[19]],42],20],[[[47,[19]],47],20],[[[48,[19]],48],20],[[[44,[19]],44],20],[[[49,[19]],49],20],[[[43,[21]],22],23],[[[42,[21]],22],23],[[[47,[21]],22],23],[[[47,[21]],22],23],[[[48,[21]],22],23],[[[48,[21]],22],23],[[[44,[21]],22],23],[[[44,[21]],22],23],[[[49,[21]],22],23],[[[49,[21]],22],23],[[43,24]],[[42,24]],[[]],[[]],[[]],[50,48],[49,48],[[]],[51,44],[[]],[49,44],[[]],[[43,28],[[15,[11]]]],[[43,40],15],[43,45],0,[[43,46,52],[[16,[43,47]]]],[[43,5],[[16,[42,53]]]],[[43,5],[[16,[42,53]]]],[[43,27],[[16,[42,48]]]],[[43,27],[[16,[42,48]]]],[[43,28,29],42],[[43,28,29],42],[[]],[[]],[[]],[[]],[[]],[[]],[[43,17],42],[[43,17],42],[43,20],[42,20],[[46,45],[[16,[43,47]]]],[54],[54],[54],[54],[42,16],[[43,[15,[33]]]],[[43,28],15],[[]],[[]],[[]],[[]],[[]],[[]],[[],38],[[],38],[[],38],[[],38],[43,36],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[43,27],55],[[],41],[[],41],[[],41],[[],41],[[],41],[[],41],0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[[57,[30,56]],[57,[30,56]]]],[[]],[[[59,[30,58]],[57,[30]]]],[[[59,[30,58]],[45,[30]]],[[57,[30]]]],[[]],[[]],[[]],[[]],[[[57,[1,1]]],[[57,[1,1]]]],[[]],[[],[[59,[60]]]],[[],[[57,[60]]]],[[],[[16,[57]]]],[[[57,[19,19]],57],20],[[[59,[21,21]],22],23],[[[57,[21,21]],22],23],[[]],[[]],[59,45],0,0,0,[27],[[28,29]],[[[59,[30,58]],52,[15,[18]]],[[57,[30]]]],[[[59,[30,58]],27,52,[15,[18]]],[[57,[30]]]],[[[59,[30,58]],28,29],[[57,[30]]]],[[]],[[]],[[[57,[30,56]]],20],[27,20],[[],59],[57,16],[[]],[[],16],[[],16],[[],16],[[],16],[[],41],[[],41],[[]],[[]],0,0,0,0,0,0,[[61,61],61],[[62,[64,[63]]]],[[[65,[[0,[1,2,21]]]],[0,[1,2,21]],[64,[63]]]],[[[66,[2]],[66,[2]]]],[[67,67]],[[[65,[[0,[1,2,21]]]],[66,[[0,[1,2,21]]]]]],[[[65,[[0,[1,2,21]]]]]],[[62,67]],[[62,68],[[16,[67,44]]]],[66,4],[62,46],[62,45],[62,43],[66,4],[68,45],[[62,24],61],[[62,17],18],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[62,46],[62,43],0,[62,[[15,[33]]]],[[[62,[1,1]]],[[62,[1,1]]]],[[[65,[1]]],[[65,[1]]]],[[[66,[1]]],[[66,[1]]]],[[[68,[1,1]]],[[68,[1,1]]]],[[[67,[1,1]]],[[67,[1,1]]]],[61,61],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],62],[[],65],[[],66],[[],68],[[],67],[[],61],[65],0,[[],[[16,[66]]]],[[],[[16,[67]]]],[[],[[16,[61]]]],[[62,68],[[16,[67,44]]]],[[[66,[19]],66],20],[[[68,[19,19]],68],20],[[61,61],20],[[[62,[21,21]],22],23],[[[65,[21]],22],23],[[[66,[21]],22],23],[[[68,[21,21]],22],23],[[[67,[21,21]],22],23],[[61,22],23],[[61,22],23],[[67,24]],[[]],[[]],[[]],[[]],[43,68],[66,67],[42,67],[[]],[[]],[62,55],[62,55],[62,45],0,[[[65,[[0,[1,2,21]]]],27]],[[[65,[[0,[1,2,21]]]],28,29]],[[[65,[[0,[1,2,21]]]]],3],[[62,5],[[16,[67,53]]]],[[62,5],[[16,[67,53]]]],[[62,27],[[16,[67,48]]]],[[62,27],[[16,[67,48]]]],[[]],[[]],[[]],[[]],[[]],[[]],[66,20],[[[66,[2]]],20],[67,20],[[[65,[[0,[1,2,21]]]],27],20],[62,4],[[[65,[[0,[1,2,21]]]]],4],0,[[[65,[[0,[1,2,21]]]]],[[15,[17]]]],[[[65,[[0,[1,2,21]]]]],4],[[[65,[[0,[1,2,21]]]]],[[15,[17]]]],[[[65,[[0,[1,2,21]]]]],[[4,[[0,[1,2,21]],17]]]],[[[65,[[0,[1,2,21]]]],17]],[[[65,[[0,[1,2,21]]]],[4,[[0,[1,2,21]],17]]]],[[[65,[[0,[1,2,21]]]]],4],[[[65,[[0,[1,2,21]]]],17],20],[[[65,[[0,[1,2,21]]]]]],[[[65,[[0,[1,2,21]]]]]],[[[65,[[0,[1,2,21]]]]],34],0,[[[65,[[0,[1,2,21]]]]]],[[[65,[[0,[1,2,21]]]],17]],[[[65,[[0,[1,2,21]]]],4]],[[[65,[[0,[1,2,21]]]]],[[4,[[0,[1,2,21]],[0,[55,1]]]]]],[[[65,[[0,[1,2,21]]]]],[[0,[36,1]]]],[[[65,[[0,[1,2,21]]]]],[[66,[[0,[1,2,21]]]]]],[[[65,[[0,[1,2,21]]]],28,29],[[66,[[0,[1,2,21]]]]]],[66,16],[67,16],[61,16],[[62,[15,[33]]]],[[[65,[[0,[1,2,21]]]],17]],[[[65,[[0,[1,2,21]]]],17]],[[[65,[[0,[1,2,21]]]]],[[4,[[0,[1,2,21]],[12,[[64,[63]]]]]]]],[[[65,[[0,[1,2,21]]]]],[[12,[[64,[63]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[],38],[61,18],0,[61,18],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],0,[[[65,[[0,[1,2,21]]]]],36],[[],41],[[],41],[[],41],[[],41],[[],41],[[],41],[[[65,[[0,[1,2,21]]]],17],20],0,[[[65,[[0,[1,2,21]]]]],36],0,[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,[67,16],[[]],[[]],[69,16],[[[69,[21,21,21]],22],23],[[]],[[]],[62,16],[[],69],[[69,67]],[69,67],[[],16],[[],16],[[],41],[[]],0,0,0,0,[[70,71]],[[70,70],[[16,[71,72]]]],[70,4],[70,4],[[]],[[]],[[]],[[]],[[]],[[]],[70,70],[72,72],[73,73],[[]],[[]],[[]],[[70,70],13],[[],70],[[70,70],[[16,[71,72]]]],[[70,70],20],[[72,72],20],[[73,73],20],[[70,22],23],[[72,22],23],[[72,22],23],[[73,22],23],[[73,22],23],[[[4,[17,74]]],70],[[]],[[]],[[]],[[],70],0,[70,[[34,[17]]]],[70,71],[[70,5],[[16,[71,73]]]],[[]],[[]],[[]],[[70,5,5],[[16,[[15,[20]]]]]],0,[[70,70],[[15,[13]]]],[54],[54],[70,[[15,[5]]]],[[]],[[]],[[]],[[],38],[[],38],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],41],[[],41],[[],41],0,[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,[[75,75]],[[[46,[31]],[75,[31]]]],[[[46,[31]],[46,[31]]],[[16,[[75,[31]],[51,[31]]]]]],[46,46],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[46,[31]],75],55],[[[46,[31]],17],[[15,[5]]]],[[[46,[31]]],[[15,[33]]]],[[[46,[31]]],4],0,[[[46,[31]]],[[75,[31]]]],[[[46,[31]]],[[75,[31]]]],[[[46,[1]]],[[46,[1]]]],[[[50,[1]]],[[50,[1]]]],[76,76],[[[51,[1]]],[[51,[1]]]],[[[75,[1]]],[[75,[1]]]],[[]],[[]],[[]],[[]],[[]],[[],46],[[],75],[[],[[16,[75]]]],[[[46,[31]],[46,[31]]],[[16,[[75,[31]],[51,[31]]]]]],[[[46,[19]],46],20],[[[50,[19]],50],20],[[76,76],20],[[[51,[19]],51],20],[[[75,[19]],75],20],[[[46,[21]],22],23],[[[50,[21]],22],23],[[[50,[21]],22],23],[[76,22],23],[[76,22],23],[[[51,[21]],22],23],[[[51,[21]],22],23],[[[75,[21]],22],23],[[]],[[]],[[]],[[]],[[]],[[],[[46,[31]]]],[[[46,[31]],45,28],[[15,[[11,[31]]]]]],[[],9],[[[46,[31]]],[[75,[31]]]],[[[46,[31]],5],[[16,[[75,[31]],76]]]],[[[46,[31]],5],[[16,[[75,[31]],76]]]],[[[46,[31]],40,31],[[16,[[75,[31]],[50,[31]]]]]],[[[46,[31]],40,31],[[16,[[75,[31]],[50,[31]]]]]],[[]],[[]],[[]],[[]],[[]],[[[46,[31]],17],[[75,[31]]]],[[[46,[31]],17],[[75,[31]]]],[[[46,[31]]],20],[75,20],[[[46,[31]]],[[15,[5]]]],[9],[9],[54],[54],[54],[[[46,[31]],[35,[17]]],36],[[[46,[31]]],36],[[[46,[31]]],36],[[[46,[31]]],36],[75,16],[[[46,[31]],[15,[33]]]],[[[46,[31]],45,28],15],[[]],[[]],[[]],[[]],[[]],[[],38],[[],38],[[],38],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[[46,[31]],40],15],[[[46,[31]]],[[0,[36,39]]]],0,[[],41],[[],41],[[],41],[[],41],[[],41],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[45,34],[45,55],0,0,[[[77,[2]],[77,[2]]]],[[[45,[[0,[1,2]]]],[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],[45,[[0,[1,2]]]]],[[77,[[0,[1,2]]]]]],[45,45],[[[45,[30]],5,52,24],61],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[45,27],[[15,[32]]]],[[],[[15,[78]]]],[[],[[15,[79]]]],[[[45,[1]]],[[45,[1]]]],[[[80,[1,1]]],[[80,[1,1]]]],[[[81,[1,1]]],[[81,[1,1]]]],[[[77,[1]]],[[77,[1]]]],[[]],[[]],[[]],[[]],[[[80,[2,2]],80],13],[[[81,[2,2]],81],13],[[],45],[[],77],[80],[[],[[16,[77]]]],[[[45,[[0,[1,2]]]],45],[[77,[[0,[1,2]]]]]],[[45,27],55],[[[45,[19]],45],20],[[[80,[19,19]],80],20],[[[81,[19,19]],81],20],[[[77,[19]],77],20],[[[45,[30]],5,52],55],[[[45,[30]],5,52],55],[45,55],[[[45,[21]],22],23],[[[80,[21,21]],22],23],[[[81,[21,21]],22],23],[[[77,[21]],22],23],[[45,24]],[[77,24]],[[]],[[]],[[]],[[]],[[]],[45,55],[[[45,[30]],5,40],[[15,[8]]]],[[[45,[30]],5,28],15],[[45,40],[[15,[27]]]],[[45,40],[[15,[[80,[27]]]]]],[[45,28],[[15,[29]]]],[[[45,[[0,[1,2]]]],40,[0,[1,2]]],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],40,[0,[1,2]]],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],40,18],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],40,18],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],27],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],27],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],28,29],[[77,[[0,[1,2]]]]]],[[[45,[[0,[1,2]]]],28,29],[[77,[[0,[1,2]]]]]],[[]],[[]],[[]],[[]],[[]],[[]],[45,20],[77,20],[[[77,[2]]],20],0,0,[[[45,[30]],5],55],[52,[[45,[[0,[1,2]]]]]],[82,15],0,0,[[45,28],83],[[[80,[37,37]],80],[[15,[13]]]],[[[81,[37,37]],81],[[15,[13]]]],[77,16],[[]],[[]],[[]],[[]],[[[45,[30]],5,52,24],[[16,[61]]]],[[[45,[30]],5,52],55],[[[45,[30]],5,52],55],[[],16],[[],16],[[],16],[[],16],[[],16],[[[45,[30]],5,40],[[16,[[15,[8]]]]]],[[[45,[30]],5,28],[[16,[15]]]],[[],16],[[],16],[[],16],[[],16],[[],16],[[[45,[30]],5],55],0,0,[[45,40],[[15,[[4,[17,29]]]]]],[[45,40],36],0,0,[77,55],[[],41],[[],41],[[],41],[[],41],[[],41],[[]],[[]],[[]],[[]],[[]],[[45,27],82],[[45,40],82]],"p":[[8,"Clone"],[8,"Ord"],[3,"SpkTxOutIndex"],[3,"BTreeMap"],[3,"BlockId"],[3,"ConfirmationHeightAnchor"],[3,"ConfirmationTimeAnchor"],[4,"ObservedAs"],[4,"TxHeight"],[4,"ConfirmationTime"],[3,"FullTxOut"],[3,"SpkIterator"],[4,"Ordering"],[3,"Persist"],[4,"Option"],[4,"Result"],[15,"u32"],[15,"u64"],[8,"PartialEq"],[15,"bool"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[8,"FnMut"],[8,"Hash"],[3,"Script"],[3,"Transaction"],[3,"OutPoint"],[3,"TxOut"],[8,"Anchor"],[8,"ChainPosition"],[15,"i64"],[15,"usize"],[3,"BTreeSet"],[8,"RangeBounds"],[8,"DoubleEndedIterator"],[8,"PartialOrd"],[3,"String"],[8,"ExactSizeIterator"],[3,"Txid"],[3,"TypeId"],[3,"ChangeSet"],[3,"ChainGraph"],[4,"UpdateError"],[3,"TxGraph"],[3,"SparseChain"],[4,"NewError"],[4,"InsertTxError"],[3,"UnresolvableConflict"],[4,"InsertTxError"],[4,"UpdateError"],[8,"IntoIterator"],[6,"InsertCheckpointError"],[3,"Demand"],[8,"Iterator"],[8,"Append"],[3,"IndexedAdditions"],[8,"Indexer"],[3,"IndexedTxGraph"],[8,"Default"],[3,"Balance"],[3,"KeychainTracker"],[4,"DescriptorPublicKey"],[4,"Descriptor"],[3,"KeychainTxOutIndex"],[3,"DerivationAdditions"],[3,"KeychainChangeSet"],[3,"KeychainScan"],[3,"Persist"],[3,"LocalChain"],[6,"ChangeSet"],[3,"UpdateNotConnectedError"],[3,"InsertBlockNotMatchingError"],[3,"BlockHash"],[3,"ChangeSet"],[4,"InsertCheckpointError"],[3,"Additions"],[3,"SignedAmount"],[3,"Amount"],[3,"TxNode"],[3,"CanonicalTx"],[3,"TxDescendants"],[3,"HashSet"],[8,"ChainOracle"],[8,"PersistBackend"],[8,"DescriptorExt"],[8,"ForEachTxOut"],[13,"Confirmed"],[13,"Conflict"],[8,"PersistBackend"],[13,"HashNotMatching"],[13,"TxMovedUnexpectedly"],[13,"TxTooHigh"],[13,"TxInconsistent"]]},\ "bdk_coin_select":{"doc":"","t":[3,3,4,4,3,3,13,6,13,3,4,13,13,13,3,4,3,13,13,17,13,13,13,13,13,3,11,11,11,11,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,11,11,11,12,11,12,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,12,12,12,12,11,11,11,11,12,11,12,12,11,12,12,12,11,11,11,11,12,11,11,11,11,11,11,12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11],"n":["Bnb","BnbIter","BnbLimit","BranchStrategy","CoinSelector","CoinSelectorOpt","Continue","DecideStrategy","Duration","ExcessStrategy","ExcessStrategyKind","MinAbsoluteFee","MinDrainValue","Rounds","Selection","SelectionConstraint","SelectionError","SkipBoth","SkipInclusion","TXIN_BASE_WEIGHT","TargetFee","TargetValue","ToDrain","ToFee","ToRecipient","WeightedValue","advertise_new_score","all_selected","apply_selection","backtrack","base_weight","best_score","best_strategy","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","candidate","candidates","clone","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","coin_select_bnb","current_excess","current_weight","deselect","drain_value","drain_waste","drain_weight","effective_target","effective_value","eq","eq","excess","excess_strategies","fee","feerate","finish","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","forward","from","from","from","from","from","from","from","from","from","from","from","from","from","from","fund_outputs","hash","input_count","into","into","into","into","into","into","into","into","into","into","into","into","into_iter","into_iter","is_empty","is_segwit","is_selected","long_term_feerate","long_term_feerate","max_extra_target","min_absolute_fee","min_drain_value","new","new","new","next","opts","partial_cmp","pool","pool_pos","provide","recipient_value","rem_abs","rem_eff","select","select_all","select_until_finished","selected","selected","selected_absolute_value","selected_count","selected_effective_value","selected_indexes","selected_waste","selected_weight","selection","spend_drain_weight","target_feerate","target_value","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","unselected","unselected_indexes","value","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","waste","weight","weight","will_continue"],"q":["bdk_coin_select","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Bnb represents the current state of the BnB algorithm.","","Determines how we should limit rounds of branch and bound.","Strategy in which we should branch.","CoinSelector selects and deselects from a set of …","","We continue exploring subtrees of this node, starting with …","Closure to decide the branching strategy, alongside a …","","","","Min absolute fee is not met","Min drain value is not met","","","","","We skip both the inclusion and omission branches of this …","We continue exploring ONLY the omission branch of this …","Txin “base” fields include outpoint (32+4) and …","The target fee (given the feerate) is not met","The target is not met","","","","A WeightedValue represents an input candidate for …","Compare the advertised score with the current best. The …","","","Attempt to backtrack to the previously selected node’s …","The weight of the template transaction, including fixed …","","Returns the ExcessStrategy that results in the least waste.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","This is a variation of the Branch and Bound Coin Selection …","Current excess.","Current weight of template tx + selected inputs.","","","","Additional weight if we include the drain (change) output.","This is the effective target value.","Effective value of this input candidate: …","","","","","","Returns feerate in sats/wu.","","","","","","","","","","","","","Continue down this branch and skip the inclusion branch if …","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","The total number of inputs; so we can calculate extra …","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Turns our Bnb state into an iterator.","","","Whether this WeightedValue contains at least one segwit …","","","The feerate","Additional leeway for the target value.","The minimum absolute fee. I.e., needed for RBF.","Minimum value allowed for a drain (change) output.","Creates a new Bnb.","Create a new WeightedValue that represents a single input.","","","","","","","","","","","","","","","","Absolute value sum of all selected inputs.","","Effective value sum of all selected inputs.","","Waste sum of all selected inputs.","Weight sum of all selected inputs.","","Weight of spending the drain (change) output in the future.","The feerate we should try and achieve in sats per weight …","The value we need to select. If the value is None, then …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Total value of the UTXO(s) that this WeightedValue …","","","","","","","","","","","","","","Total weight of including this/these UTXO(s). txin fields: …","",""],"i":[0,0,0,0,0,0,34,0,22,0,0,11,11,22,0,0,0,34,34,0,11,11,12,12,12,0,2,4,5,2,9,2,5,34,2,26,22,8,9,4,10,11,5,12,13,34,2,26,22,8,9,4,10,11,5,12,13,4,4,8,9,4,10,11,5,12,13,8,9,4,10,11,5,12,13,12,0,4,4,4,13,9,9,4,8,11,12,5,5,13,13,4,8,9,4,10,10,11,11,5,12,12,13,2,34,2,26,22,22,22,8,9,4,10,11,5,12,13,9,12,8,34,2,26,22,8,9,4,10,11,5,12,13,2,26,4,8,4,9,9,9,9,9,2,8,4,26,4,12,2,2,10,13,2,2,4,4,4,4,5,4,4,4,4,4,4,2,9,9,9,8,9,4,10,11,5,12,13,10,11,12,34,2,26,22,8,9,4,10,11,5,12,13,34,2,26,22,8,9,4,10,11,5,12,13,34,2,26,22,8,9,4,10,11,5,12,13,4,4,8,34,2,26,22,8,9,4,10,11,5,12,13,13,8,13,34],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[[2,[1]],1],3],[4,3],[5,6],[[[2,[1]]],3],0,0,[5],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[4,7],8],0,[8,8],[9,9],[4,4],[10,10],[11,11],[5,5],[12,12],[13,13],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[12,12],14],[4,[[15,[4]]]],[4,16],[4,17],[[4,7],3],0,[9,16],0,[4,16],[[8,18],16],[[11,11],3],[[12,12],3],0,0,0,[13,18],[4,[[19,[5,10]]]],[[8,20],21],[[9,20],21],[[4,20],21],[[10,20],21],[[10,20],21],[[11,20],21],[[11,20],21],[[5,20],21],[[12,20],21],[[12,20],21],[[13,20],21],[[[2,[1]],3]],[[]],[[]],[[]],[[]],[7,22],[23,22],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[24,17],9],[12],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[2,[1]],25],[[26,[1]]]],[[]],[4,3],0,[[4,7],3],[9,18],0,0,0,0,[[4,27,1],[[2,[1]]]],[[28,17,3],8],[[27,9],4],[[[26,[[0,[1,29,30]]]]],15],0,[[12,12],[[15,[14]]]],0,0,[31],0,0,0,[[4,7],3],[4],[4,[[19,[5,10]]]],[4,6],0,[4,28],[4,7],[4,16],[4,6],[4,16],[4,17],0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],32],[[],32],[[],32],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],19],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[[],33],[4,6],[4,6],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[34,3]],"p":[[8,"Ord"],[3,"Bnb"],[15,"bool"],[3,"CoinSelector"],[3,"Selection"],[8,"Iterator"],[15,"usize"],[3,"WeightedValue"],[3,"CoinSelectorOpt"],[3,"SelectionError"],[4,"SelectionConstraint"],[4,"ExcessStrategyKind"],[3,"ExcessStrategy"],[4,"Ordering"],[4,"Option"],[15,"i64"],[15,"u32"],[15,"f32"],[4,"Result"],[3,"Formatter"],[6,"Result"],[4,"BnbLimit"],[3,"Duration"],[3,"TxOut"],[6,"DecideStrategy"],[3,"BnbIter"],[3,"Vec"],[15,"u64"],[8,"Copy"],[8,"Display"],[3,"Demand"],[3,"String"],[3,"TypeId"],[4,"BranchStrategy"]]},\ "bdk_electrum":{"doc":"This crate is used for updating structures of the bdk_chain…","t":[8,3,11,2,11,11,12,11,2,11,10,11,11,11,12,11,10,11,11,11,11,11],"n":["ElectrumExt","ElectrumUpdate","as_ref","bdk_chain","borrow","borrow_mut","chain_update","default","electrum_client","from","get_tip","into","into_confirmation_time_update","into_keychain_scan","last_active_indices","missing_full_txs","scan","scan_without_keychain","try_from","try_into","type_id","vzip"],"q":["bdk_electrum","","","","","","","","","","","","","","","","","","","","",""],"d":["Trait to extend electrum_client::Client functionality.","The result of ElectrumExt::scan.","","","","","The internal SparseChain update.","","","Returns the argument unchanged.","Fetch the latest block height.","Calls U::from(self).","Creates ElectrumUpdate<K, ConfirmationTime> from …","Transform the ElectrumUpdate into a KeychainScan, which …","The last keychain script pubkey indices, which had …","Return a list of missing full transactions that are …","Scan the blockchain (via electrum) for the data specified. …","Convenience method to call scan without requiring a …","","","",""],"i":[0,0,1,0,1,1,1,1,0,1,21,1,1,1,1,1,21,21,1,1,1,1],"f":[0,0,[1,2],0,[[]],[[]],0,[[],1],0,[[]],[[],[[4,[3]]]],[[]],[[[1,[[0,[5,6,7]],8]],9],[[4,[[1,[[0,[5,6,7]],10]],3]]]],[[[1,[[0,[5,6,7]],11]],[13,[12]]],[[4,[[14,[[0,[5,6,7]],11]],[15,[11]]]]]],0,[[[1,[[0,[5,6,7]],11]]],[[13,[16]]]],[[17,[17,[[0,[5,6]],18]],18,18,19,19],[[4,[[1,[[0,[5,6]],8]],3]]]],[[17,18,18,18,19],[[4,[2,3]]]],[[],4],[[],4],[[],20],[[]]],"p":[[3,"ElectrumUpdate"],[3,"SparseChain"],[4,"Error"],[4,"Result"],[8,"Ord"],[8,"Clone"],[8,"Debug"],[4,"TxHeight"],[3,"Client"],[4,"ConfirmationTime"],[8,"ChainPosition"],[3,"Transaction"],[3,"Vec"],[3,"KeychainScan"],[4,"NewError"],[3,"Txid"],[3,"BTreeMap"],[8,"IntoIterator"],[15,"usize"],[3,"TypeId"],[8,"ElectrumExt"]]},\ "bdk_esplora":{"doc":"BDK Esplora","t":[8,8,2,10,10,11,11,11,11],"n":["EsploraAsyncExt","EsploraExt","esplora_client","scan","scan","scan_without_keychain","scan_without_keychain","scan_without_keychain","scan_without_keychain"],"q":["bdk_esplora","","","","","","","",""],"d":["Trait to extend esplora_client::AsyncClient functionality.","Trait to extend esplora_client::BlockingClient …","","Scan the blockchain (via esplora) for the data specified …","Scan the blockchain (via esplora) for the data specified …","Convenience method to call scan without requiring a …","Convenience method to call scan without requiring a …","Convenience method to call scan without requiring a …","Convenience method to call scan without requiring a …"],"i":[0,0,0,15,16,15,15,16,16],"f":[0,0,0,[[1,[1,[[0,[2,3]],4]],4,4,5,5],[[9,[[7,[[0,[2,3]],6]],8]]]],[[1,[1,[[0,[4,10]]]],[0,[4,10]],[0,[4,10]],5,5],[[13,[[12,[11]]]]]],[[1,4,4,4,5],[[9,[[14,[6]],8]]]],[[1,4,4,4,5],[[9,[[14,[6]],8]]]],[[1,[0,[4,10]],[0,[4,10]],[0,[4,10]],5],[[13,[[12,[11]]]]]],[[1,[0,[4,10]],[0,[4,10]],[0,[4,10]],5],[[13,[[12,[11]]]]]]],"p":[[3,"BTreeMap"],[8,"Ord"],[8,"Clone"],[8,"IntoIterator"],[15,"usize"],[4,"ConfirmationTime"],[3,"KeychainScan"],[4,"Error"],[4,"Result"],[8,"Send"],[8,"Future"],[3,"Box"],[3,"Pin"],[3,"ChainGraph"],[8,"EsploraExt"],[8,"EsploraAsyncExt"]]},\ "bdk_esplora_wallet_example":{"doc":"","t":[17,17,17,5],"n":["PARALLEL_REQUESTS","SEND_AMOUNT","STOP_GAP","main"],"q":["bdk_esplora_wallet_example","","",""],"d":["","","",""],"i":[0,0,0,0],"f":[0,0,0,[[],[[3,[[2,[1]]]]]]],"p":[[8,"Error"],[3,"Box"],[4,"Result"]]},\ -"bdk_file_store":{"doc":"BDK File Store","t":[13,3,4,13,13,13,4,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["Bincode","EntryIter","FileError","InvalidMagicBytes","Io","Io","IterError","KeychainStore","aggregate_changeset","append_changeset","append_changeset","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","into","into","into","into","into_iter","iter_changesets","load_into_keychain_tracker","load_into_keychain_tracker","new","new","new_from_path","next","provide","provide","to_string","to_string","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip"],"q":["bdk_file_store","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Failure to decode data from the file.","Iterator over entries in a file store.","Error that occurs due to problems encountered with the …","Magic bytes do not match what is expected.","IO error, this may mean that the file is too short.","Failure to read from the file.","Error type for EntryIter.","Persists an append only list of KeychainChangeSet<K,P> to …","Loads all the changesets that have been stored as one …","Append a new changeset to the file and truncate the file …","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","Returns the argument unchanged.","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Iterates over the stored changeset from first to last, …","","Reads and applies all the changesets stored sequentially …","","Creates a new store from a File.","Creates or loads a store from db_path. If no file exists …","","","","","","","","","","","","","","","","","","","","",""],"i":[9,0,0,8,8,9,0,0,1,1,1,10,1,8,9,10,1,8,9,1,8,8,9,9,10,1,8,8,9,9,10,1,8,9,10,1,1,1,10,1,1,10,8,9,8,9,10,1,8,9,10,1,8,9,10,1,8,9,10,1,8,9],"f":[0,0,0,0,0,0,0,0,[1],[[1,2],[[4,[3]]]],[[1,2],4],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[[1,[5,5]],6],7],[[8,6],7],[[8,6],7],[[9,6],7],[[9,6],7],[[]],[[]],[[]],[3,8],[3,9],[[]],[[]],[[]],[[]],[[]],[[]],[1,[[4,[[10,[2]],3]]]],[[1,11],4],[[1,11],[[4,[9]]]],[12,10],[12,[[4,[1,8]]]],[[[14,[13]]],[[4,[1,8]]]],[10,15],[16],[16],[[],17],[[],17],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],18],[[],18],[[],18],[[],18],[[]],[[]],[[]],[[]]],"p":[[3,"KeychainStore"],[3,"KeychainChangeSet"],[3,"Error"],[4,"Result"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[4,"FileError"],[4,"IterError"],[3,"EntryIter"],[3,"KeychainTracker"],[3,"File"],[3,"Path"],[8,"AsRef"],[4,"Option"],[3,"Demand"],[3,"String"],[3,"TypeId"]]},\ +"bdk_file_store":{"doc":"BDK File Store","t":[13,3,4,13,13,13,4,3,3,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12],"n":["Bincode","EntryIter","FileError","InvalidMagicBytes","Io","Io","IterError","KeychainStore","Store","aggregate_changeset","aggregate_changesets","append_changeset","append_changeset","append_changeset","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","into","into","into","into","into","into_iter","iter_changesets","iter_changesets","load_from_persistence","load_into_keychain_tracker","load_into_keychain_tracker","new","new","new","new_from_path","new_from_path","next","provide","provide","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","write_changes","expected","got"],"q":["bdk_file_store","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_file_store::FileError",""],"d":["Failure to decode data from the file.","Iterator over entries in a file store.","Error that occurs due to problems encountered with the …","Magic bytes do not match what is expected.","Failure to read from the file.","IO error, this may mean that the file is too short.","Error type for EntryIter.","Persists an append only list of KeychainChangeSet<K,P> to …","Persists an append-only list of changesets (C) to a single …","Loads all the changesets that have been stored as one …","Loads all the changesets that have been stored as one …","","Append a new changeset to the file and truncate the file …","Append a new changeset to the file and truncate the file …","","","","","","","","","","","","","","","","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","Iterates over the stored changeset from first to last, …","Iterates over the stored changeset from first to last, …","","","Reads and applies all the changesets stored sequentially …","","Creates a new store from a File.","Creates a new store from a File.","Creates or loads a store from db_path. If no file exists …","Creates or loads a store from db_path.","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[6,0,0,10,6,10,0,0,0,1,2,1,1,2,11,6,1,2,10,11,6,1,2,10,6,6,1,2,10,10,11,6,6,1,2,10,10,11,6,1,2,10,11,1,2,2,1,1,11,1,2,1,2,11,6,10,6,10,11,6,1,2,10,11,6,1,2,10,11,6,1,2,10,11,6,1,2,10,2,21,21],"f":[0,0,0,0,0,0,0,0,0,[1],[2],[[1,3],4],[[1,3],[[4,[5]]]],[2,[[4,[5]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[6,7],8],[[6,7],8],[[[1,[9,9]],7],8],[[[2,[9]],7],8],[[10,7],8],[[10,7],8],[[]],[5,6],[[]],[[]],[[]],[[]],[5,10],[[]],[[]],[[]],[[]],[[]],[[]],[1,[[4,[[11,[3]],5]]]],[2,11],[2,4],[[1,12],4],[[1,12],[[4,[6]]]],[[13,14],11],[14,[[4,[1,0]]]],[14,[[4,[2,10]]]],[[[16,[15]]],[[4,[1,0]]]],[[],[[4,[2,10]]]],[11,17],[18],[18],[[],19],[[],19],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],20],[[],20],[[],20],[[],20],[[],20],[[]],[[]],[[]],[[]],[[]],[2,4],0,0],"p":[[3,"KeychainStore"],[3,"Store"],[3,"KeychainChangeSet"],[4,"Result"],[3,"Error"],[4,"IterError"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[4,"FileError"],[3,"EntryIter"],[3,"KeychainTracker"],[15,"u64"],[3,"File"],[3,"Path"],[8,"AsRef"],[4,"Option"],[3,"Demand"],[3,"String"],[3,"TypeId"],[13,"InvalidMagicBytes"]]},\ "bdk_tmp_plan":{"doc":"A spending plan or plan for short is a representation of a …","t":[3,8,13,13,13,13,3,3,4,4,3,3,13,13,4,13,13,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,11,11,11,11,11,11,11,11,12,12,11,5,11,11,11,11,11,12,12,12,12,12,12,12,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12],"n":["Assets","CanDerive","Complete","DerivationError","Incomplete","Legacy","Plan","PlanKey","PlanState","RequiredSignatures","Requirements","SatisfactionMaterial","Segwitv0","SigHashError","SigningError","TapKey","TapScript","asset_key","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","can_derive","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","derivation_hint","descriptor_key","ecdsa_sigs","expected_weight","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","hash160","hash160_images","hash160_preimages","hash256","hash256_images","hash256_preimages","into","into","into","into","into","into","into","into","keys","max_locktime","min_version","plan_satisfaction","provide","required_locktime","required_sequence","requirements","requires_hash_preimages","ripemd160","ripemd160_images","ripemd160_preimages","schnorr_sigs","sha256","sha256_images","sha256_preimages","sign_with_keymap","signatures","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_complete","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txo_age","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","witness_version","final_script_sig","final_script_witness","keys","keys","leaf_hash","merkle_root","plan_key","plan_keys"],"q":["bdk_tmp_plan","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_tmp_plan::PlanState","","bdk_tmp_plan::RequiredSignatures","","","","",""],"d":["","","The plan is complete","","","Legacy ECDSA signatures are required","A plan represents a particular spending path for a …","A plan key contains the asset key originally provided …","The returned value from Plan::try_complete.","The signatures required to complete the plan","Signatures and hash pre-images that must be provided to …","Signatures and hash pre-images that can be used to …","Segwitv0 ECDSA signatures are required","","","A Taproot key spend signature is required","Taproot script path signatures are required","The key the planner will sign with","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A hint from how to get from the asset key to the concrete …","The key that was in the descriptor that we are satisfying …","ECDSA signatures under their keys","The expected satisfaction weight for the plan if it is …","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","required hash160 pre-images","hash160 pre-images under their images","","required hash256 pre-images","hash256 pre-images under their images","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","Calls U::from(self).","","","The minmum required transaction version required on the …","","","The minimum required locktime height or time on the …","The minimum required sequence (height or time) on the …","","Whether any hash pre-images are required in the plan","","required ripemd160 pre-images","ripemd160 pre-images under their images","Schnorr signautres under their keys","","required sha256 pre-images","SHA256 pre-images under their images","","required signatures","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Witness version for the plan","The script sig that should be set on the input","The witness that should be set on the input","","","The leaf hash of the script being used","The merkle root of the taproot output","the internal key","The keys in the script that require signatures"],"i":[0,0,33,7,33,6,0,0,0,0,0,0,6,7,0,6,6,8,33,5,6,7,8,9,10,11,33,5,6,7,8,9,10,11,36,5,6,7,8,9,10,11,5,6,7,8,9,10,11,5,6,10,11,8,8,10,9,5,6,7,7,8,9,10,11,33,5,6,7,7,7,8,9,10,11,11,5,10,11,5,10,33,5,6,7,8,9,10,11,11,11,9,0,7,9,9,9,5,11,5,10,10,11,5,10,6,5,5,6,7,8,9,10,11,7,9,33,5,6,7,8,9,10,11,33,5,6,7,8,9,10,11,11,33,5,6,7,8,9,10,11,33,5,6,7,8,9,10,11,9,37,37,38,39,40,41,41,40],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,[[3,[2]]]],[[[5,[4]]],[[5,[4]]]],[[[6,[4]]],[[6,[4]]]],[7,7],[[[8,[4]]],[[8,[4]]]],[[[9,[4]]],[[9,[4]]]],[10,10],[[[11,[4]]],[[11,[4]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],5],[[],6],[[],10],[[],11],0,0,0,[9,12],[[[5,[13]],14],15],[[[6,[13]],14],15],[[7,14],15],[[7,14],15],[[[8,[13]],14],15],[[[9,[13]],14],15],[[10,14],15],[[[11,[13]],14],15],[[]],[[]],[[]],[16,7],[[]],[17,7],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[9,[[3,[18]]]],[[19,11],[[3,[9]]]],[20],[9,[[3,[21]]]],[9,[[3,[22]]]],[9,5],[5,23],0,0,0,0,0,0,0,[[[6,[24]],12,25,26,[3,[27]],[3,[28]],29,10,30],[[31,[23,7]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],32],[[9,10],33],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],0,[[],34],[[],34],[[],34],[[],34],[[],34],[[],34],[[],34],[[],34],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,[[3,[35]]]],0,0,0,0,0,0,0,0],"p":[[3,"DefiniteDescriptorKey"],[3,"DerivationPath"],[4,"Option"],[8,"Clone"],[3,"Requirements"],[4,"RequiredSignatures"],[4,"SigningError"],[3,"PlanKey"],[3,"Plan"],[3,"SatisfactionMaterial"],[3,"Assets"],[15,"usize"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[4,"Error"],[4,"Error"],[15,"u32"],[4,"Descriptor"],[3,"Demand"],[4,"LockTime"],[3,"Sequence"],[15,"bool"],[4,"DescriptorPublicKey"],[6,"KeyMap"],[4,"Prevouts"],[4,"SchnorrSighashType"],[4,"EcdsaSighashType"],[3,"SighashCache"],[3,"Secp256k1"],[4,"Result"],[3,"String"],[4,"PlanState"],[3,"TypeId"],[4,"WitnessVersion"],[8,"CanDerive"],[13,"Complete"],[13,"Legacy"],[13,"Segwitv0"],[13,"TapScript"],[13,"TapKey"]]},\ "keychain_tracker_electrum_example":{"doc":"","t":[4,13,3,13,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12],"n":["ElectrumCommands","Scan","ScanOptions","Sync","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","batch_size","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","eq","fmt","fmt","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","has_subcommand","into","into","into_app","into_app_for_update","main","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","all_spks","scan_options","scan_options","stop_gap","unconfirmed","unused_spks","utxos"],"q":["keychain_tracker_electrum_example","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","keychain_tracker_electrum_example::ElectrumCommands","","","","","",""],"d":["","Scans the addresses in the wallet using the esplora API.","","Scans particular addresses using the esplora API.","","","","","Set batch size for each script_history call to electrum …","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","Scan every address that you have derived.","","","When a gap this large has been found for a keychain, it …","Scan unconfirmed transactions for updates.","Scan all the unused addresses.","Scan unspent outpoints for spends or changes to …"],"i":[0,2,0,2,3,3,2,2,3,2,3,2,3,2,3,2,3,3,2,3,2,3,2,3,2,3,2,2,3,3,3,0,2,3,2,3,2,3,2,3,2,3,2,3,2,3,13,14,13,14,13,13,13],"f":[0,0,0,0,[1,1],[1,1],[1,1],[1,1],0,[[]],[[]],[[]],[[]],[2,2],[3,3],[[]],[[]],[[3,3],4],[[2,5],6],[[3,5],6],[[]],[[]],[7,[[9,[2,8]]]],[7,[[9,[3,8]]]],[7,[[9,[2,8]]]],[7,[[9,[3,8]]]],[10,4],[[]],[[]],[[],1],[[],1],[[],11],[[]],[[]],[[],9],[[],9],[[],9],[[],9],[[],12],[[],12],[[2,7],[[9,[8]]]],[[3,7],[[9,[8]]]],[[2,7],[[9,[8]]]],[[3,7],[[9,[8]]]],[[]],[[]],0,0,0,0,0,0,0],"p":[[6,"Command"],[4,"ElectrumCommands"],[3,"ScanOptions"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[3,"Error"],[4,"Result"],[15,"str"],[6,"Result"],[3,"TypeId"],[13,"Sync"],[13,"Scan"]]},\ "keychain_tracker_esplora_example":{"doc":"","t":[4,13,3,13,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12],"n":["EsploraCommands","Scan","ScanOptions","Sync","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","eq","fmt","fmt","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","has_subcommand","into","into","into_app","into_app_for_update","main","parallel_requests","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","all_spks","scan_options","scan_options","stop_gap","unconfirmed","unused_spks","utxos"],"q":["keychain_tracker_esplora_example","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","keychain_tracker_esplora_example::EsploraCommands","","","","","",""],"d":["","Scans the addresses in the wallet using the esplora API.","","Scans particular addresses using esplora API.","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","Scan every address that you have derived.","","","When a gap this large has been found for a keychain, it …","Scan unconfirmed transactions for updates.","Scan all the unused addresses.","Scan unspent outpoints for spends or changes to …"],"i":[0,2,0,2,3,3,2,2,2,3,2,3,2,3,2,3,3,2,3,2,3,2,3,2,3,2,2,3,3,3,0,3,2,3,2,3,2,3,2,3,2,3,2,3,2,3,13,14,13,14,13,13,13],"f":[0,0,0,0,[1,1],[1,1],[1,1],[1,1],[[]],[[]],[[]],[[]],[2,2],[3,3],[[]],[[]],[[3,3],4],[[2,5],6],[[3,5],6],[[]],[[]],[7,[[9,[2,8]]]],[7,[[9,[3,8]]]],[7,[[9,[2,8]]]],[7,[[9,[3,8]]]],[10,4],[[]],[[]],[[],1],[[],1],[[],11],0,[[]],[[]],[[],9],[[],9],[[],9],[[],9],[[],12],[[],12],[[2,7],[[9,[8]]]],[[3,7],[[9,[8]]]],[[2,7],[[9,[8]]]],[[3,7],[[9,[8]]]],[[]],[[]],0,0,0,0,0,0,0],"p":[[6,"Command"],[4,"EsploraCommands"],[3,"ScanOptions"],[15,"bool"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[3,"Error"],[4,"Result"],[15,"str"],[6,"Result"],[3,"TypeId"],[13,"Sync"],[13,"Scan"]]},\ diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/settings.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/settings.html index 89fd0b1b86..84a9af5c58 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/settings.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/settings.html @@ -1 +1 @@ -Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file +Rustdoc settings

    Rustdoc settings

    Back
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/source-files.js b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/source-files.js index 10a255ce3d..623685958a 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/source-files.js +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/source-files.js @@ -1,11 +1,11 @@ var sourcesIndex = JSON.parse('{\ "bdk":["",[["descriptor",[],["checksum.rs","dsl.rs","error.rs","mod.rs","policy.rs","template.rs"]],["keys",[],["mod.rs"]],["psbt",[],["mod.rs"]],["wallet",[],["coin_selection.rs","export.rs","mod.rs","signer.rs","tx_builder.rs","utils.rs"]]],["error.rs","lib.rs","types.rs"]],\ -"bdk_chain":["",[["keychain",[],["persist.rs","tracker.rs","txout_index.rs"]]],["chain_data.rs","chain_graph.rs","chain_oracle.rs","descriptor_ext.rs","example_utils.rs","indexed_tx_graph.rs","keychain.rs","lib.rs","local_chain.rs","sparse_chain.rs","spk_iter.rs","spk_txout_index.rs","tx_data_traits.rs","tx_graph.rs"]],\ +"bdk_chain":["",[["keychain",[],["persist.rs","tracker.rs","txout_index.rs"]]],["chain_data.rs","chain_graph.rs","chain_oracle.rs","descriptor_ext.rs","example_utils.rs","indexed_tx_graph.rs","keychain.rs","lib.rs","local_chain.rs","persist.rs","sparse_chain.rs","spk_iter.rs","spk_txout_index.rs","tx_data_traits.rs","tx_graph.rs"]],\ "bdk_coin_select":["",[],["bnb.rs","coin_selector.rs","lib.rs"]],\ "bdk_electrum":["",[],["lib.rs"]],\ "bdk_esplora":["",[],["async_ext.rs","blocking_ext.rs","lib.rs"]],\ "bdk_esplora_wallet_example":["",[],["main.rs"]],\ -"bdk_file_store":["",[],["file_store.rs","lib.rs"]],\ +"bdk_file_store":["",[],["entry_iter.rs","keychain_store.rs","lib.rs","store.rs"]],\ "bdk_tmp_plan":["",[],["lib.rs","plan_impls.rs","requirements.rs","template.rs"]],\ "keychain_tracker_electrum_example":["",[],["main.rs"]],\ "keychain_tracker_esplora_example":["",[],["main.rs"]],\ diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/indexed_tx_graph.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/indexed_tx_graph.rs.html index d72cbb76f7..8aa29b5c27 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/indexed_tx_graph.rs.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/indexed_tx_graph.rs.html @@ -220,121 +220,12 @@ 220 221 222 -223 -224 -225 -226 -227 -228 -229 -230 -231 -232 -233 -234 -235 -236 -237 -238 -239 -240 -241 -242 -243 -244 -245 -246 -247 -248 -249 -250 -251 -252 -253 -254 -255 -256 -257 -258 -259 -260 -261 -262 -263 -264 -265 -266 -267 -268 -269 -270 -271 -272 -273 -274 -275 -276 -277 -278 -279 -280 -281 -282 -283 -284 -285 -286 -287 -288 -289 -290 -291 -292 -293 -294 -295 -296 -297 -298 -299 -300 -301 -302 -303 -304 -305 -306 -307 -308 -309 -310 -311 -312 -313 -314 -315 -316 -317 -318 -319 -320 -321 -322 -323 -324 -325 -326 -327 -328 -
    use core::convert::Infallible;
    -
    -use alloc::vec::Vec;
    -use bitcoin::{OutPoint, Script, Transaction, TxOut};
    +
    use alloc::vec::Vec;
    +use bitcoin::{OutPoint, Transaction, TxOut};
     
     use crate::{
    -    keychain::Balance,
         tx_graph::{Additions, TxGraph},
    -    Anchor, Append, BlockId, ChainOracle, FullTxOut, ObservedAs,
    +    Anchor, Append,
     };
     
     /// A struct that combines [`TxGraph`] and an [`Indexer`] implementation.
    @@ -357,6 +248,14 @@
     }
     
     impl<A, I> IndexedTxGraph<A, I> {
    +    /// Construct a new [`IndexedTxGraph`] with a given `index`.
    +    pub fn new(index: I) -> Self {
    +        Self {
    +            index,
    +            graph: TxGraph::default(),
    +        }
    +    }
    +
         /// Get a reference of the internal transaction graph.
         pub fn graph(&self) -> &TxGraph<A> {
             &self.graph
    @@ -485,115 +384,6 @@
         }
     }
     
    -impl<A: Anchor, I: OwnedIndexer> IndexedTxGraph<A, I> {
    -    pub fn try_list_owned_txouts<'a, C: ChainOracle + 'a>(
    -        &'a self,
    -        chain: &'a C,
    -        chain_tip: BlockId,
    -    ) -> impl Iterator<Item = Result<FullTxOut<ObservedAs<A>>, C::Error>> + 'a {
    -        self.graph()
    -            .try_list_chain_txouts(chain, chain_tip)
    -            .filter(|r| {
    -                if let Ok(full_txout) = r {
    -                    if !self.index.is_spk_owned(&full_txout.txout.script_pubkey) {
    -                        return false;
    -                    }
    -                }
    -                true
    -            })
    -    }
    -
    -    pub fn list_owned_txouts<'a, C: ChainOracle<Error = Infallible> + 'a>(
    -        &'a self,
    -        chain: &'a C,
    -        chain_tip: BlockId,
    -    ) -> impl Iterator<Item = FullTxOut<ObservedAs<A>>> + 'a {
    -        self.try_list_owned_txouts(chain, chain_tip)
    -            .map(|r| r.expect("oracle is infallible"))
    -    }
    -
    -    pub fn try_list_owned_unspents<'a, C: ChainOracle + 'a>(
    -        &'a self,
    -        chain: &'a C,
    -        chain_tip: BlockId,
    -    ) -> impl Iterator<Item = Result<FullTxOut<ObservedAs<A>>, C::Error>> + 'a {
    -        self.graph()
    -            .try_list_chain_unspents(chain, chain_tip)
    -            .filter(|r| {
    -                if let Ok(full_txout) = r {
    -                    if !self.index.is_spk_owned(&full_txout.txout.script_pubkey) {
    -                        return false;
    -                    }
    -                }
    -                true
    -            })
    -    }
    -
    -    pub fn list_owned_unspents<'a, C: ChainOracle<Error = Infallible> + 'a>(
    -        &'a self,
    -        chain: &'a C,
    -        chain_tip: BlockId,
    -    ) -> impl Iterator<Item = FullTxOut<ObservedAs<A>>> + 'a {
    -        self.try_list_owned_unspents(chain, chain_tip)
    -            .map(|r| r.expect("oracle is infallible"))
    -    }
    -
    -    pub fn try_balance<C, F>(
    -        &self,
    -        chain: &C,
    -        chain_tip: BlockId,
    -        mut should_trust: F,
    -    ) -> Result<Balance, C::Error>
    -    where
    -        C: ChainOracle,
    -        F: FnMut(&Script) -> bool,
    -    {
    -        let tip_height = chain_tip.height;
    -
    -        let mut immature = 0;
    -        let mut trusted_pending = 0;
    -        let mut untrusted_pending = 0;
    -        let mut confirmed = 0;
    -
    -        for res in self.try_list_owned_unspents(chain, chain_tip) {
    -            let txout = res?;
    -
    -            match &txout.chain_position {
    -                ObservedAs::Confirmed(_) => {
    -                    if txout.is_confirmed_and_spendable(tip_height) {
    -                        confirmed += txout.txout.value;
    -                    } else if !txout.is_mature(tip_height) {
    -                        immature += txout.txout.value;
    -                    }
    -                }
    -                ObservedAs::Unconfirmed(_) => {
    -                    if should_trust(&txout.txout.script_pubkey) {
    -                        trusted_pending += txout.txout.value;
    -                    } else {
    -                        untrusted_pending += txout.txout.value;
    -                    }
    -                }
    -            }
    -        }
    -
    -        Ok(Balance {
    -            immature,
    -            trusted_pending,
    -            untrusted_pending,
    -            confirmed,
    -        })
    -    }
    -
    -    pub fn balance<C, F>(&self, chain: &C, chain_tip: BlockId, should_trust: F) -> Balance
    -    where
    -        C: ChainOracle<Error = Infallible>,
    -        F: FnMut(&Script) -> bool,
    -    {
    -        self.try_balance(chain, chain_tip, should_trust)
    -            .expect("error is infallible")
    -    }
    -}
    -
     /// A structure that represents changes to an [`IndexedTxGraph`].
     #[derive(Clone, Debug, PartialEq)]
     #[cfg_attr(
    @@ -629,6 +419,10 @@
             self.graph_additions.append(other.graph_additions);
             self.index_additions.append(other.index_additions);
         }
    +
    +    fn is_empty(&self) -> bool {
    +        self.graph_additions.is_empty() && self.index_additions.is_empty()
    +    }
     }
     
     /// Represents a structure that can index transaction data.
    @@ -648,11 +442,5 @@
         /// Determines whether the transaction should be included in the index.
         fn is_tx_relevant(&self, tx: &Transaction) -> bool;
     }
    -
    -/// A trait that extends [`Indexer`] to also index "owned" script pubkeys.
    -pub trait OwnedIndexer: Indexer {
    -    /// Determines whether a given script pubkey (`spk`) is owned.
    -    fn is_spk_owned(&self, spk: &Script) -> bool;
    -}
     
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain.rs.html index c23bddd1bc..9d0b080271 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain.rs.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain.rs.html @@ -308,6 +308,10 @@ 308 309 310 +311 +312 +313 +314
    //! Module for keychain related structures.
     //!
     //! A keychain here is a set of application-defined indexes for a miniscript descriptor where we can
    @@ -394,6 +398,10 @@
     
             self.0.append(&mut other.0);
         }
    +
    +    fn is_empty(&self) -> bool {
    +        self.0.is_empty()
    +    }
     }
     
     impl<K> Default for DerivationAdditions<K> {
    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain/txout_index.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain/txout_index.rs.html
    index ba5ef9778c..41ec623f55 100644
    --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain/txout_index.rs.html
    +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/keychain/txout_index.rs.html
    @@ -583,10 +583,9 @@
     583
     584
     585
    -586
     
    use crate::{
         collections::*,
    -    indexed_tx_graph::{Indexer, OwnedIndexer},
    +    indexed_tx_graph::Indexer,
         miniscript::{Descriptor, DescriptorPublicKey},
         spk_iter::BIP32_MAX_INDEX,
         ForEachTxOut, SpkIterator, SpkTxOutIndex,
    @@ -695,12 +694,6 @@
         }
     }
     
    -impl<K: Clone + Ord + Debug> OwnedIndexer for KeychainTxOutIndex<K> {
    -    fn is_spk_owned(&self, spk: &Script) -> bool {
    -        self.index_of_spk(spk).is_some()
    -    }
    -}
    -
     impl<K: Clone + Ord + Debug> KeychainTxOutIndex<K> {
         /// Scans an object for relevant outpoints, which are stored and indexed internally.
         ///
    @@ -739,6 +732,11 @@
             &self.inner
         }
     
    +    /// Get a reference to the set of indexed outpoints.
    +    pub fn outpoints(&self) -> &BTreeSet<((K, u32), OutPoint)> {
    +        self.inner.outpoints()
    +    }
    +
         /// Return a reference to the internal map of the keychain to descriptors.
         pub fn keychains(&self) -> &BTreeMap<K, Descriptor<DescriptorPublicKey>> {
             &self.keychains
    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/lib.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/lib.rs.html
    index d7a3693ee4..2b119e74eb 100644
    --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/lib.rs.html
    +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/lib.rs.html
    @@ -95,6 +95,8 @@
     95
     96
     97
    +98
    +99
     
    //! This crate is a collection of core structures for [Bitcoin Dev Kit] (alpha release).
     //!
     //! The goal of this crate is to give wallets the mechanisms needed to:
    @@ -130,6 +132,8 @@
     pub use tx_data_traits::*;
     mod chain_oracle;
     pub use chain_oracle::*;
    +mod persist;
    +pub use persist::*;
     
     #[doc(hidden)]
     pub mod example_utils;
    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/persist.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/persist.rs.html
    new file mode 100644
    index 0000000000..790e3b065d
    --- /dev/null
    +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/persist.rs.html
    @@ -0,0 +1,196 @@
    +persist.rs - source
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +
    use core::convert::Infallible;
    +
    +use crate::Append;
    +
    +/// `Persist` wraps a [`PersistBackend`] (`B`) to create a convenient staging area for changes (`C`)
    +/// before they are persisted.
    +///
    +/// Not all changes to the in-memory representation needs to be written to disk right away, so
    +/// [`Persist::stage`] can be used to *stage* changes first and then [`Persist::commit`] can be used
    +/// to write changes to disk.
    +#[derive(Debug)]
    +pub struct Persist<B, C> {
    +    backend: B,
    +    stage: C,
    +}
    +
    +impl<B, C> Persist<B, C>
    +where
    +    B: PersistBackend<C>,
    +    C: Default + Append,
    +{
    +    /// Create a new [`Persist`] from [`PersistBackend`].
    +    pub fn new(backend: B) -> Self {
    +        Self {
    +            backend,
    +            stage: Default::default(),
    +        }
    +    }
    +
    +    /// Stage a `changeset` to be commited later with [`commit`].
    +    ///
    +    /// [`commit`]: Self::commit
    +    pub fn stage(&mut self, changeset: C) {
    +        self.stage.append(changeset)
    +    }
    +
    +    /// Get the changes that have not been commited yet.
    +    pub fn staged(&self) -> &C {
    +        &self.stage
    +    }
    +
    +    /// Commit the staged changes to the underlying persistance backend.
    +    ///
    +    /// Changes that are committed (if any) are returned.
    +    ///
    +    /// # Error
    +    ///
    +    /// Returns a backend-defined error if this fails.
    +    pub fn commit(&mut self) -> Result<Option<C>, B::WriteError> {
    +        if self.stage.is_empty() {
    +            return Ok(None);
    +        }
    +        self.backend
    +            .write_changes(&self.stage)
    +            // if written successfully, take and return `self.stage`
    +            .map(|_| Some(core::mem::take(&mut self.stage)))
    +    }
    +}
    +
    +/// A persistence backend for [`Persist`].
    +///
    +/// `C` represents the changeset; a datatype that records changes made to in-memory data structures
    +/// that are to be persisted, or retrieved from persistence.
    +pub trait PersistBackend<C> {
    +    /// The error the backend returns when it fails to write.
    +    type WriteError: core::fmt::Debug;
    +
    +    /// The error the backend returns when it fails to load changesets `C`.
    +    type LoadError: core::fmt::Debug;
    +
    +    /// Writes a changeset to the persistence backend.
    +    ///
    +    /// It is up to the backend what it does with this. It could store every changeset in a list or
    +    /// it inserts the actual changes into a more structured database. All it needs to guarantee is
    +    /// that [`load_from_persistence`] restores a keychain tracker to what it should be if all
    +    /// changesets had been applied sequentially.
    +    ///
    +    /// [`load_from_persistence`]: Self::load_from_persistence
    +    fn write_changes(&mut self, changeset: &C) -> Result<(), Self::WriteError>;
    +
    +    /// Return the aggregate changeset `C` from persistence.
    +    fn load_from_persistence(&mut self) -> Result<C, Self::LoadError>;
    +}
    +
    +impl<C: Default> PersistBackend<C> for () {
    +    type WriteError = Infallible;
    +
    +    type LoadError = Infallible;
    +
    +    fn write_changes(&mut self, _changeset: &C) -> Result<(), Self::WriteError> {
    +        Ok(())
    +    }
    +
    +    fn load_from_persistence(&mut self) -> Result<C, Self::LoadError> {
    +        Ok(C::default())
    +    }
    +}
    +
    +
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/spk_txout_index.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/spk_txout_index.rs.html index 65c2f9218c..51382124bf 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/spk_txout_index.rs.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/spk_txout_index.rs.html @@ -335,12 +335,11 @@ 335 336 337 -338
    use core::ops::RangeBounds;
     
     use crate::{
         collections::{hash_map::Entry, BTreeMap, BTreeSet, HashMap},
    -    indexed_tx_graph::{Indexer, OwnedIndexer},
    +    indexed_tx_graph::Indexer,
         ForEachTxOut,
     };
     use bitcoin::{self, OutPoint, Script, Transaction, TxOut, Txid};
    @@ -413,12 +412,6 @@
         }
     }
     
    -impl<I: Clone + Ord + 'static> OwnedIndexer for SpkTxOutIndex<I> {
    -    fn is_spk_owned(&self, spk: &Script) -> bool {
    -        self.spk_indices.get(spk).is_some()
    -    }
    -}
    -
     /// This macro is used instead of a member function of `SpkTxOutIndex`, which would result in a
     /// compiler error[E0521]: "borrowed data escapes out of closure" when we attempt to take a
     /// reference out of the `ForEachTxOut` closure during scanning.
    @@ -464,6 +457,11 @@
             scan_txout!(self, op, txout)
         }
     
    +    /// Get a reference to the set of indexed outpoints.
    +    pub fn outpoints(&self) -> &BTreeSet<(I, OutPoint)> {
    +        &self.spk_txouts
    +    }
    +
         /// Iterate over all known txouts that spend to tracked script pubkeys.
         pub fn txouts(
             &self,
    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_data_traits.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_data_traits.rs.html
    index e8afe96bc8..72d2367236 100644
    --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_data_traits.rs.html
    +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_data_traits.rs.html
    @@ -81,9 +81,47 @@
     81
     82
     83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
     
    use crate::collections::BTreeMap;
     use crate::collections::BTreeSet;
     use crate::BlockId;
    +use alloc::vec::Vec;
     use bitcoin::{Block, OutPoint, Transaction, TxOut};
     
     /// Trait to do something with every txout contained in a structure.
    @@ -147,22 +185,58 @@
     pub trait Append {
         /// Append another object of the same type onto `self`.
         fn append(&mut self, other: Self);
    +
    +    /// Returns whether the structure is considered empty.
    +    fn is_empty(&self) -> bool;
     }
     
     impl Append for () {
         fn append(&mut self, _other: Self) {}
    +
    +    fn is_empty(&self) -> bool {
    +        true
    +    }
     }
     
     impl<K: Ord, V> Append for BTreeMap<K, V> {
         fn append(&mut self, mut other: Self) {
             BTreeMap::append(self, &mut other)
         }
    +
    +    fn is_empty(&self) -> bool {
    +        BTreeMap::is_empty(self)
    +    }
     }
     
     impl<T: Ord> Append for BTreeSet<T> {
         fn append(&mut self, mut other: Self) {
             BTreeSet::append(self, &mut other)
         }
    +
    +    fn is_empty(&self) -> bool {
    +        BTreeSet::is_empty(self)
    +    }
    +}
    +
    +impl<T> Append for Vec<T> {
    +    fn append(&mut self, mut other: Self) {
    +        Vec::append(self, &mut other)
    +    }
    +
    +    fn is_empty(&self) -> bool {
    +        Vec::is_empty(self)
    +    }
    +}
    +
    +impl<A: Append, B: Append> Append for (A, B) {
    +    fn append(&mut self, other: Self) {
    +        Append::append(&mut self.0, other.0);
    +        Append::append(&mut self.1, other.1);
    +    }
    +
    +    fn is_empty(&self) -> bool {
    +        Append::is_empty(&self.0) && Append::is_empty(&self.1)
    +    }
     }
     
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_graph.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_graph.rs.html index 69f346732b..50a0c502c4 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_graph.rs.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_chain/tx_graph.rs.html @@ -1077,6 +1077,108 @@ 1077 1078 1079 +1080 +1081 +1082 +1083 +1084 +1085 +1086 +1087 +1088 +1089 +1090 +1091 +1092 +1093 +1094 +1095 +1096 +1097 +1098 +1099 +1100 +1101 +1102 +1103 +1104 +1105 +1106 +1107 +1108 +1109 +1110 +1111 +1112 +1113 +1114 +1115 +1116 +1117 +1118 +1119 +1120 +1121 +1122 +1123 +1124 +1125 +1126 +1127 +1128 +1129 +1130 +1131 +1132 +1133 +1134 +1135 +1136 +1137 +1138 +1139 +1140 +1141 +1142 +1143 +1144 +1145 +1146 +1147 +1148 +1149 +1150 +1151 +1152 +1153 +1154 +1155 +1156 +1157 +1158 +1159 +1160 +1161 +1162 +1163 +1164 +1165 +1166 +1167 +1168 +1169 +1170 +1171 +1172 +1173 +1174 +1175 +1176 +1177 +1178 +1179 +1180 +1181
    //! Module for structures that store and traverse transactions.
     //!
     //! [`TxGraph`] is a monotone structure that inserts transactions and indexes the spends. The
    @@ -1135,10 +1237,11 @@
     //! ```
     
     use crate::{
    -    collections::*, Anchor, Append, BlockId, ChainOracle, ForEachTxOut, FullTxOut, ObservedAs,
    +    collections::*, keychain::Balance, Anchor, Append, BlockId, ChainOracle, ForEachTxOut,
    +    FullTxOut, ObservedAs,
     };
     use alloc::vec::Vec;
    -use bitcoin::{OutPoint, Transaction, TxOut, Txid};
    +use bitcoin::{OutPoint, Script, Transaction, TxOut, Txid};
     use core::{
         convert::Infallible,
         ops::{Deref, RangeInclusive},
    @@ -1841,107 +1944,201 @@
                 .map(|r| r.expect("oracle is infallible"))
         }
     
    -    /// List outputs that are in `chain` with `chain_tip`.
    +    /// Get a filtered list of outputs from the given `outpoints` that are in `chain` with
    +    /// `chain_tip`.
         ///
    -    /// Floating ouputs are not iterated over.
    +    /// `outpoints` is a list of outpoints we are interested in, coupled with an outpoint identifier
    +    /// (`OI`) for convenience. If `OI` is not necessary, the caller can use `()`, or
    +    /// [`Iterator::enumerate`] over a list of [`OutPoint`]s.
         ///
    -    /// The `filter_predicate` should return true for outputs that we wish to iterate over.
    +    /// Floating outputs are ignored.
         ///
         /// # Error
         ///
    -    /// A returned item can error if the [`ChainOracle`] implementation (`chain`) fails.
    +    /// An [`Iterator::Item`] can be an [`Err`] if the [`ChainOracle`] implementation (`chain`)
    +    /// fails.
         ///
    -    /// If the [`ChainOracle`] is infallible, [`list_chain_txouts`] can be used instead.
    +    /// If the [`ChainOracle`] implementation is infallible, [`filter_chain_txouts`] can be used
    +    /// instead.
         ///
    -    /// [`list_chain_txouts`]: Self::list_chain_txouts
    -    pub fn try_list_chain_txouts<'a, C: ChainOracle + 'a>(
    +    /// [`filter_chain_txouts`]: Self::filter_chain_txouts
    +    pub fn try_filter_chain_txouts<'a, C: ChainOracle + 'a, OI: Clone + 'a>(
             &'a self,
             chain: &'a C,
             chain_tip: BlockId,
    -    ) -> impl Iterator<Item = Result<FullTxOut<ObservedAs<A>>, C::Error>> + 'a {
    -        self.try_list_chain_txs(chain, chain_tip)
    -            .flat_map(move |tx_res| match tx_res {
    -                Ok(canonical_tx) => canonical_tx
    -                    .node
    -                    .output
    -                    .iter()
    -                    .enumerate()
    -                    .map(|(vout, txout)| {
    -                        let outpoint = OutPoint::new(canonical_tx.node.txid, vout as _);
    -                        Ok((outpoint, txout.clone(), canonical_tx.clone()))
    -                    })
    -                    .collect::<Vec<_>>(),
    -                Err(err) => vec![Err(err)],
    -            })
    -            .map(move |res| -> Result<_, C::Error> {
    -                let (
    -                    outpoint,
    -                    txout,
    -                    CanonicalTx {
    -                        observed_as,
    -                        node: tx_node,
    -                    },
    -                ) = res?;
    -                let chain_position = observed_as.cloned();
    -                let spent_by = self
    -                    .try_get_chain_spend(chain, chain_tip, outpoint)?
    -                    .map(|(obs_as, txid)| (obs_as.cloned(), txid));
    -                let is_on_coinbase = tx_node.tx.is_coin_base();
    -                Ok(FullTxOut {
    -                    outpoint,
    -                    txout,
    -                    chain_position,
    -                    spent_by,
    -                    is_on_coinbase,
    -                })
    -            })
    +        outpoints: impl IntoIterator<Item = (OI, OutPoint)> + 'a,
    +    ) -> impl Iterator<Item = Result<(OI, FullTxOut<ObservedAs<A>>), C::Error>> + 'a {
    +        outpoints
    +            .into_iter()
    +            .map(
    +                move |(spk_i, op)| -> Result<Option<(OI, FullTxOut<_>)>, C::Error> {
    +                    let tx_node = match self.get_tx_node(op.txid) {
    +                        Some(n) => n,
    +                        None => return Ok(None),
    +                    };
    +
    +                    let txout = match tx_node.tx.output.get(op.vout as usize) {
    +                        Some(txout) => txout.clone(),
    +                        None => return Ok(None),
    +                    };
    +
    +                    let chain_position =
    +                        match self.try_get_chain_position(chain, chain_tip, op.txid)? {
    +                            Some(pos) => pos.cloned(),
    +                            None => return Ok(None),
    +                        };
    +
    +                    let spent_by = self
    +                        .try_get_chain_spend(chain, chain_tip, op)?
    +                        .map(|(a, txid)| (a.cloned(), txid));
    +
    +                    Ok(Some((
    +                        spk_i,
    +                        FullTxOut {
    +                            outpoint: op,
    +                            txout,
    +                            chain_position,
    +                            spent_by,
    +                            is_on_coinbase: tx_node.tx.is_coin_base(),
    +                        },
    +                    )))
    +                },
    +            )
    +            .filter_map(Result::transpose)
         }
     
    -    /// List outputs that are in `chain` with `chain_tip`.
    +    /// Get a filtered list of outputs from the given `outpoints` that are in `chain` with
    +    /// `chain_tip`.
         ///
    -    /// This is the infallible version of [`try_list_chain_txouts`].
    +    /// This is the infallible version of [`try_filter_chain_txouts`].
         ///
    -    /// [`try_list_chain_txouts`]: Self::try_list_chain_txouts
    -    pub fn list_chain_txouts<'a, C: ChainOracle<Error = Infallible> + 'a>(
    +    /// [`try_filter_chain_txouts`]: Self::try_filter_chain_txouts
    +    pub fn filter_chain_txouts<'a, C: ChainOracle<Error = Infallible> + 'a, OI: Clone + 'a>(
             &'a self,
             chain: &'a C,
             chain_tip: BlockId,
    -    ) -> impl Iterator<Item = FullTxOut<ObservedAs<A>>> + 'a {
    -        self.try_list_chain_txouts(chain, chain_tip)
    -            .map(|r| r.expect("error in infallible"))
    +        outpoints: impl IntoIterator<Item = (OI, OutPoint)> + 'a,
    +    ) -> impl Iterator<Item = (OI, FullTxOut<ObservedAs<A>>)> + 'a {
    +        self.try_filter_chain_txouts(chain, chain_tip, outpoints)
    +            .map(|r| r.expect("oracle is infallible"))
         }
     
    -    /// List unspent outputs (UTXOs) that are in `chain` with `chain_tip`.
    +    /// Get a filtered list of unspent outputs (UTXOs) from the given `outpoints` that are in
    +    /// `chain` with `chain_tip`.
         ///
    -    /// Floating outputs are not iterated over.
    +    /// `outpoints` is a list of outpoints we are interested in, coupled with an outpoint identifier
    +    /// (`OI`) for convenience. If `OI` is not necessary, the caller can use `()`, or
    +    /// [`Iterator::enumerate`] over a list of [`OutPoint`]s.
    +    ///
    +    /// Floating outputs are ignored.
         ///
         /// # Error
         ///
    -    /// An item can be an error if the [`ChainOracle`] implementation fails. If the oracle is
    -    /// infallible, [`list_chain_unspents`] can be used instead.
    +    /// An [`Iterator::Item`] can be an [`Err`] if the [`ChainOracle`] implementation (`chain`)
    +    /// fails.
    +    ///
    +    /// If the [`ChainOracle`] implementation is infallible, [`filter_chain_unspents`] can be used
    +    /// instead.
         ///
    -    /// [`list_chain_unspents`]: Self::list_chain_unspents
    -    pub fn try_list_chain_unspents<'a, C: ChainOracle + 'a>(
    +    /// [`filter_chain_unspents`]: Self::filter_chain_unspents
    +    pub fn try_filter_chain_unspents<'a, C: ChainOracle + 'a, OI: Clone + 'a>(
             &'a self,
             chain: &'a C,
             chain_tip: BlockId,
    -    ) -> impl Iterator<Item = Result<FullTxOut<ObservedAs<A>>, C::Error>> + 'a {
    -        self.try_list_chain_txouts(chain, chain_tip)
    -            .filter(|r| matches!(r, Ok(txo) if txo.spent_by.is_none()))
    +        outpoints: impl IntoIterator<Item = (OI, OutPoint)> + 'a,
    +    ) -> impl Iterator<Item = Result<(OI, FullTxOut<ObservedAs<A>>), C::Error>> + 'a {
    +        self.try_filter_chain_txouts(chain, chain_tip, outpoints)
    +            .filter(|r| match r {
    +                // keep unspents, drop spents
    +                Ok((_, full_txo)) => full_txo.spent_by.is_none(),
    +                // keep errors
    +                Err(_) => true,
    +            })
         }
     
    -    /// List unspent outputs (UTXOs) that are in `chain` with `chain_tip`.
    +    /// Get a filtered list of unspent outputs (UTXOs) from the given `outpoints` that are in
    +    /// `chain` with `chain_tip`.
         ///
    -    /// This is the infallible version of [`try_list_chain_unspents`].
    +    /// This is the infallible version of [`try_filter_chain_unspents`].
         ///
    -    /// [`try_list_chain_unspents`]: Self::try_list_chain_unspents
    -    pub fn list_chain_unspents<'a, C: ChainOracle<Error = Infallible> + 'a>(
    +    /// [`try_filter_chain_unspents`]: Self::try_filter_chain_unspents
    +    pub fn filter_chain_unspents<'a, C: ChainOracle<Error = Infallible> + 'a, OI: Clone + 'a>(
             &'a self,
             chain: &'a C,
    -        static_block: BlockId,
    -    ) -> impl Iterator<Item = FullTxOut<ObservedAs<A>>> + 'a {
    -        self.try_list_chain_unspents(chain, static_block)
    -            .map(|r| r.expect("error is infallible"))
    +        chain_tip: BlockId,
    +        txouts: impl IntoIterator<Item = (OI, OutPoint)> + 'a,
    +    ) -> impl Iterator<Item = (OI, FullTxOut<ObservedAs<A>>)> + 'a {
    +        self.try_filter_chain_unspents(chain, chain_tip, txouts)
    +            .map(|r| r.expect("oracle is infallible"))
    +    }
    +
    +    /// Get the total balance of `outpoints` that are in `chain` of `chain_tip`.
    +    ///
    +    /// The output of `trust_predicate` should return `true` for scripts that we trust.
    +    ///
    +    /// `outpoints` is a list of outpoints we are interested in, coupled with an outpoint identifier
    +    /// (`OI`) for convenience. If `OI` is not necessary, the caller can use `()`, or
    +    /// [`Iterator::enumerate`] over a list of [`OutPoint`]s.
    +    ///
    +    /// If the provided [`ChainOracle`] implementation (`chain`) is infallible, [`balance`] can be
    +    /// used instead.
    +    ///
    +    /// [`balance`]: Self::balance
    +    pub fn try_balance<C: ChainOracle, OI: Clone>(
    +        &self,
    +        chain: &C,
    +        chain_tip: BlockId,
    +        outpoints: impl IntoIterator<Item = (OI, OutPoint)>,
    +        mut trust_predicate: impl FnMut(&OI, &Script) -> bool,
    +    ) -> Result<Balance, C::Error> {
    +        let mut immature = 0;
    +        let mut trusted_pending = 0;
    +        let mut untrusted_pending = 0;
    +        let mut confirmed = 0;
    +
    +        for res in self.try_filter_chain_unspents(chain, chain_tip, outpoints) {
    +            let (spk_i, txout) = res?;
    +
    +            match &txout.chain_position {
    +                ObservedAs::Confirmed(_) => {
    +                    if txout.is_confirmed_and_spendable(chain_tip.height) {
    +                        confirmed += txout.txout.value;
    +                    } else if !txout.is_mature(chain_tip.height) {
    +                        immature += txout.txout.value;
    +                    }
    +                }
    +                ObservedAs::Unconfirmed(_) => {
    +                    if trust_predicate(&spk_i, &txout.txout.script_pubkey) {
    +                        trusted_pending += txout.txout.value;
    +                    } else {
    +                        untrusted_pending += txout.txout.value;
    +                    }
    +                }
    +            }
    +        }
    +
    +        Ok(Balance {
    +            immature,
    +            trusted_pending,
    +            untrusted_pending,
    +            confirmed,
    +        })
    +    }
    +
    +    /// Get the total balance of `outpoints` that are in `chain` of `chain_tip`.
    +    ///
    +    /// This is the infallible version of [`try_balance`].
    +    ///
    +    /// [`try_balance`]: Self::try_balance
    +    pub fn balance<C: ChainOracle<Error = Infallible>, OI: Clone>(
    +        &self,
    +        chain: &C,
    +        chain_tip: BlockId,
    +        outpoints: impl IntoIterator<Item = (OI, OutPoint)>,
    +        trust_predicate: impl FnMut(&OI, &Script) -> bool,
    +    ) -> Balance {
    +        self.try_balance(chain, chain_tip, outpoints, trust_predicate)
    +            .expect("oracle is infallible")
         }
     }
     
    @@ -2019,6 +2216,13 @@
                     .collect::<Vec<_>>(),
             );
         }
    +
    +    fn is_empty(&self) -> bool {
    +        self.tx.is_empty()
    +            && self.txout.is_empty()
    +            && self.anchors.is_empty()
    +            && self.last_seen.is_empty()
    +    }
     }
     
     impl<A> AsRef<TxGraph<A>> for TxGraph<A> {
    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/entry_iter.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/entry_iter.rs.html
    new file mode 100644
    index 0000000000..0f09f5bca0
    --- /dev/null
    +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/entry_iter.rs.html
    @@ -0,0 +1,202 @@
    +entry_iter.rs - source
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +
    use bincode::Options;
    +use std::{
    +    fs::File,
    +    io::{self, Seek},
    +    marker::PhantomData,
    +};
    +
    +use crate::bincode_options;
    +
    +/// Iterator over entries in a file store.
    +///
    +/// Reads and returns an entry each time [`next`] is called. If an error occurs while reading the
    +/// iterator will yield a `Result::Err(_)` instead and then `None` for the next call to `next`.
    +///
    +/// [`next`]: Self::next
    +pub struct EntryIter<'t, T> {
    +    db_file: Option<&'t mut File>,
    +
    +    /// The file position for the first read of `db_file`.
    +    start_pos: Option<u64>,
    +    types: PhantomData<T>,
    +}
    +
    +impl<'t, T> EntryIter<'t, T> {
    +    pub fn new(start_pos: u64, db_file: &'t mut File) -> Self {
    +        Self {
    +            db_file: Some(db_file),
    +            start_pos: Some(start_pos),
    +            types: PhantomData,
    +        }
    +    }
    +}
    +
    +impl<'t, T> Iterator for EntryIter<'t, T>
    +where
    +    T: serde::de::DeserializeOwned,
    +{
    +    type Item = Result<T, IterError>;
    +
    +    fn next(&mut self) -> Option<Self::Item> {
    +        // closure which reads a single entry starting from `self.pos`
    +        let read_one = |f: &mut File, start_pos: Option<u64>| -> Result<Option<T>, IterError> {
    +            let pos = match start_pos {
    +                Some(pos) => f.seek(io::SeekFrom::Start(pos))?,
    +                None => f.stream_position()?,
    +            };
    +
    +            match bincode_options().deserialize_from(&*f) {
    +                Ok(changeset) => {
    +                    f.stream_position()?;
    +                    Ok(Some(changeset))
    +                }
    +                Err(e) => {
    +                    if let bincode::ErrorKind::Io(inner) = &*e {
    +                        if inner.kind() == io::ErrorKind::UnexpectedEof {
    +                            let eof = f.seek(io::SeekFrom::End(0))?;
    +                            if pos == eof {
    +                                return Ok(None);
    +                            }
    +                        }
    +                    }
    +                    f.seek(io::SeekFrom::Start(pos))?;
    +                    Err(IterError::Bincode(*e))
    +                }
    +            }
    +        };
    +
    +        let result = read_one(self.db_file.as_mut()?, self.start_pos.take());
    +        if result.is_err() {
    +            self.db_file = None;
    +        }
    +        result.transpose()
    +    }
    +}
    +
    +impl From<io::Error> for IterError {
    +    fn from(value: io::Error) -> Self {
    +        IterError::Io(value)
    +    }
    +}
    +
    +/// Error type for [`EntryIter`].
    +#[derive(Debug)]
    +pub enum IterError {
    +    /// Failure to read from the file.
    +    Io(io::Error),
    +    /// Failure to decode data from the file.
    +    Bincode(bincode::ErrorKind),
    +}
    +
    +impl core::fmt::Display for IterError {
    +    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
    +        match self {
    +            IterError::Io(e) => write!(f, "io error trying to read entry {}", e),
    +            IterError::Bincode(e) => write!(f, "bincode error while reading entry {}", e),
    +        }
    +    }
    +}
    +
    +impl std::error::Error for IterError {}
    +
    +
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/file_store.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/file_store.rs.html deleted file mode 100644 index bb493637a6..0000000000 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/file_store.rs.html +++ /dev/null @@ -1,810 +0,0 @@ -file_store.rs - source
    1
    -2
    -3
    -4
    -5
    -6
    -7
    -8
    -9
    -10
    -11
    -12
    -13
    -14
    -15
    -16
    -17
    -18
    -19
    -20
    -21
    -22
    -23
    -24
    -25
    -26
    -27
    -28
    -29
    -30
    -31
    -32
    -33
    -34
    -35
    -36
    -37
    -38
    -39
    -40
    -41
    -42
    -43
    -44
    -45
    -46
    -47
    -48
    -49
    -50
    -51
    -52
    -53
    -54
    -55
    -56
    -57
    -58
    -59
    -60
    -61
    -62
    -63
    -64
    -65
    -66
    -67
    -68
    -69
    -70
    -71
    -72
    -73
    -74
    -75
    -76
    -77
    -78
    -79
    -80
    -81
    -82
    -83
    -84
    -85
    -86
    -87
    -88
    -89
    -90
    -91
    -92
    -93
    -94
    -95
    -96
    -97
    -98
    -99
    -100
    -101
    -102
    -103
    -104
    -105
    -106
    -107
    -108
    -109
    -110
    -111
    -112
    -113
    -114
    -115
    -116
    -117
    -118
    -119
    -120
    -121
    -122
    -123
    -124
    -125
    -126
    -127
    -128
    -129
    -130
    -131
    -132
    -133
    -134
    -135
    -136
    -137
    -138
    -139
    -140
    -141
    -142
    -143
    -144
    -145
    -146
    -147
    -148
    -149
    -150
    -151
    -152
    -153
    -154
    -155
    -156
    -157
    -158
    -159
    -160
    -161
    -162
    -163
    -164
    -165
    -166
    -167
    -168
    -169
    -170
    -171
    -172
    -173
    -174
    -175
    -176
    -177
    -178
    -179
    -180
    -181
    -182
    -183
    -184
    -185
    -186
    -187
    -188
    -189
    -190
    -191
    -192
    -193
    -194
    -195
    -196
    -197
    -198
    -199
    -200
    -201
    -202
    -203
    -204
    -205
    -206
    -207
    -208
    -209
    -210
    -211
    -212
    -213
    -214
    -215
    -216
    -217
    -218
    -219
    -220
    -221
    -222
    -223
    -224
    -225
    -226
    -227
    -228
    -229
    -230
    -231
    -232
    -233
    -234
    -235
    -236
    -237
    -238
    -239
    -240
    -241
    -242
    -243
    -244
    -245
    -246
    -247
    -248
    -249
    -250
    -251
    -252
    -253
    -254
    -255
    -256
    -257
    -258
    -259
    -260
    -261
    -262
    -263
    -264
    -265
    -266
    -267
    -268
    -269
    -270
    -271
    -272
    -273
    -274
    -275
    -276
    -277
    -278
    -279
    -280
    -281
    -282
    -283
    -284
    -285
    -286
    -287
    -288
    -289
    -290
    -291
    -292
    -293
    -294
    -295
    -296
    -297
    -298
    -299
    -300
    -301
    -302
    -303
    -304
    -305
    -306
    -307
    -308
    -309
    -310
    -311
    -312
    -313
    -314
    -315
    -316
    -317
    -318
    -319
    -320
    -321
    -322
    -323
    -324
    -325
    -326
    -327
    -328
    -329
    -330
    -331
    -332
    -333
    -334
    -335
    -336
    -337
    -338
    -339
    -340
    -341
    -342
    -343
    -344
    -345
    -346
    -347
    -348
    -349
    -350
    -351
    -352
    -353
    -354
    -355
    -356
    -357
    -358
    -359
    -360
    -361
    -362
    -363
    -364
    -365
    -366
    -367
    -368
    -369
    -370
    -371
    -372
    -373
    -374
    -375
    -376
    -377
    -378
    -379
    -380
    -381
    -382
    -383
    -384
    -385
    -386
    -387
    -388
    -389
    -390
    -391
    -392
    -393
    -394
    -395
    -396
    -397
    -398
    -399
    -400
    -401
    -402
    -403
    -404
    -
    //! Module for persisting data on disk.
    -//!
    -//! The star of the show is [`KeychainStore`], which maintains an append-only file of
    -//! [`KeychainChangeSet`]s which can be used to restore a [`KeychainTracker`].
    -use bdk_chain::{
    -    keychain::{KeychainChangeSet, KeychainTracker},
    -    sparse_chain,
    -};
    -use bincode::{DefaultOptions, Options};
    -use core::marker::PhantomData;
    -use std::{
    -    fs::{File, OpenOptions},
    -    io::{self, Read, Seek, Write},
    -    path::Path,
    -};
    -
    -/// BDK File Store magic bytes length.
    -const MAGIC_BYTES_LEN: usize = 12;
    -
    -/// BDK File Store magic bytes.
    -const MAGIC_BYTES: [u8; MAGIC_BYTES_LEN] = [98, 100, 107, 102, 115, 48, 48, 48, 48, 48, 48, 48];
    -
    -/// Persists an append only list of `KeychainChangeSet<K,P>` to a single file.
    -/// [`KeychainChangeSet<K,P>`] record the changes made to a [`KeychainTracker<K,P>`].
    -#[derive(Debug)]
    -pub struct KeychainStore<K, P> {
    -    db_file: File,
    -    changeset_type_params: core::marker::PhantomData<(K, P)>,
    -}
    -
    -fn bincode() -> impl bincode::Options {
    -    DefaultOptions::new().with_varint_encoding()
    -}
    -
    -impl<K, P> KeychainStore<K, P>
    -where
    -    K: Ord + Clone + core::fmt::Debug,
    -    P: sparse_chain::ChainPosition,
    -    KeychainChangeSet<K, P>: serde::Serialize + serde::de::DeserializeOwned,
    -{
    -    /// Creates a new store from a [`File`].
    -    ///
    -    /// The file must have been opened with read and write permissions.
    -    ///
    -    /// [`File`]: std::fs::File
    -    pub fn new(mut file: File) -> Result<Self, FileError> {
    -        file.rewind()?;
    -
    -        let mut magic_bytes = [0_u8; MAGIC_BYTES_LEN];
    -        file.read_exact(&mut magic_bytes)?;
    -
    -        if magic_bytes != MAGIC_BYTES {
    -            return Err(FileError::InvalidMagicBytes(magic_bytes));
    -        }
    -
    -        Ok(Self {
    -            db_file: file,
    -            changeset_type_params: Default::default(),
    -        })
    -    }
    -
    -    /// Creates or loads a store from `db_path`. If no file exists there, it will be created.
    -    pub fn new_from_path<D: AsRef<Path>>(db_path: D) -> Result<Self, FileError> {
    -        let already_exists = db_path.as_ref().exists();
    -
    -        let mut db_file = OpenOptions::new()
    -            .read(true)
    -            .write(true)
    -            .create(true)
    -            .open(db_path)?;
    -
    -        if !already_exists {
    -            db_file.write_all(&MAGIC_BYTES)?;
    -        }
    -
    -        Self::new(db_file)
    -    }
    -
    -    /// Iterates over the stored changeset from first to last, changing the seek position at each
    -    /// iteration.
    -    ///
    -    /// The iterator may fail to read an entry and therefore return an error. However, the first time
    -    /// it returns an error will be the last. After doing so, the iterator will always yield `None`.
    -    ///
    -    /// **WARNING**: This method changes the write position in the underlying file. You should
    -    /// always iterate over all entries until `None` is returned if you want your next write to go
    -    /// at the end; otherwise, you will write over existing entries.
    -    pub fn iter_changesets(&mut self) -> Result<EntryIter<'_, KeychainChangeSet<K, P>>, io::Error> {
    -        self.db_file
    -            .seek(io::SeekFrom::Start(MAGIC_BYTES_LEN as _))?;
    -
    -        Ok(EntryIter::new(&mut self.db_file))
    -    }
    -
    -    /// Loads all the changesets that have been stored as one giant changeset.
    -    ///
    -    /// This function returns a tuple of the aggregate changeset and a result that indicates
    -    /// whether an error occurred while reading or deserializing one of the entries. If so the
    -    /// changeset will consist of all of those it was able to read.
    -    ///
    -    /// You should usually check the error. In many applications, it may make sense to do a full
    -    /// wallet scan with a stop-gap after getting an error, since it is likely that one of the
    -    /// changesets it was unable to read changed the derivation indices of the tracker.
    -    ///
    -    /// **WARNING**: This method changes the write position of the underlying file. The next
    -    /// changeset will be written over the erroring entry (or the end of the file if none existed).
    -    pub fn aggregate_changeset(&mut self) -> (KeychainChangeSet<K, P>, Result<(), IterError>) {
    -        let mut changeset = KeychainChangeSet::default();
    -        let result = (|| {
    -            let iter_changeset = self.iter_changesets()?;
    -            for next_changeset in iter_changeset {
    -                changeset.append(next_changeset?);
    -            }
    -            Ok(())
    -        })();
    -
    -        (changeset, result)
    -    }
    -
    -    /// Reads and applies all the changesets stored sequentially to the tracker, stopping when it fails
    -    /// to read the next one.
    -    ///
    -    /// **WARNING**: This method changes the write position of the underlying file. The next
    -    /// changeset will be written over the erroring entry (or the end of the file if none existed).
    -    pub fn load_into_keychain_tracker(
    -        &mut self,
    -        tracker: &mut KeychainTracker<K, P>,
    -    ) -> Result<(), IterError> {
    -        for changeset in self.iter_changesets()? {
    -            tracker.apply_changeset(changeset?)
    -        }
    -        Ok(())
    -    }
    -
    -    /// Append a new changeset to the file and truncate the file to the end of the appended changeset.
    -    ///
    -    /// The truncation is to avoid the possibility of having a valid but inconsistent changeset
    -    /// directly after the appended changeset.
    -    pub fn append_changeset(
    -        &mut self,
    -        changeset: &KeychainChangeSet<K, P>,
    -    ) -> Result<(), io::Error> {
    -        if changeset.is_empty() {
    -            return Ok(());
    -        }
    -
    -        bincode()
    -            .serialize_into(&mut self.db_file, changeset)
    -            .map_err(|e| match *e {
    -                bincode::ErrorKind::Io(inner) => inner,
    -                unexpected_err => panic!("unexpected bincode error: {}", unexpected_err),
    -            })?;
    -
    -        // truncate file after this changeset addition
    -        // if this is not done, data after this changeset may represent valid changesets, however
    -        // applying those changesets on top of this one may result in an inconsistent state
    -        let pos = self.db_file.stream_position()?;
    -        self.db_file.set_len(pos)?;
    -
    -        // We want to make sure that derivation indices changes are written to disk as soon as
    -        // possible, so you know about the write failure before you give out the address in the application.
    -        if !changeset.derivation_indices.is_empty() {
    -            self.db_file.sync_data()?;
    -        }
    -
    -        Ok(())
    -    }
    -}
    -
    -/// Error that occurs due to problems encountered with the file.
    -#[derive(Debug)]
    -pub enum FileError {
    -    /// IO error, this may mean that the file is too short.
    -    Io(io::Error),
    -    /// Magic bytes do not match what is expected.
    -    InvalidMagicBytes([u8; MAGIC_BYTES_LEN]),
    -}
    -
    -impl core::fmt::Display for FileError {
    -    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
    -        match self {
    -            Self::Io(e) => write!(f, "io error trying to read file: {}", e),
    -            Self::InvalidMagicBytes(b) => write!(
    -                f,
    -                "file has invalid magic bytes: expected={:?} got={:?}",
    -                MAGIC_BYTES, b
    -            ),
    -        }
    -    }
    -}
    -
    -impl From<io::Error> for FileError {
    -    fn from(value: io::Error) -> Self {
    -        Self::Io(value)
    -    }
    -}
    -
    -impl std::error::Error for FileError {}
    -
    -/// Error type for [`EntryIter`].
    -#[derive(Debug)]
    -pub enum IterError {
    -    /// Failure to read from the file.
    -    Io(io::Error),
    -    /// Failure to decode data from the file.
    -    Bincode(bincode::ErrorKind),
    -}
    -
    -impl core::fmt::Display for IterError {
    -    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
    -        match self {
    -            IterError::Io(e) => write!(f, "io error trying to read entry {}", e),
    -            IterError::Bincode(e) => write!(f, "bincode error while reading entry {}", e),
    -        }
    -    }
    -}
    -
    -impl std::error::Error for IterError {}
    -
    -/// Iterator over entries in a file store.
    -///
    -/// Reads and returns an entry each time [`next`] is called. If an error occurs while reading the
    -/// iterator will yield a `Result::Err(_)` instead and then `None` for the next call to `next`.
    -///
    -/// [`next`]: Self::next
    -pub struct EntryIter<'a, V> {
    -    db_file: &'a mut File,
    -    types: PhantomData<V>,
    -    error_exit: bool,
    -}
    -
    -impl<'a, V> EntryIter<'a, V> {
    -    pub fn new(db_file: &'a mut File) -> Self {
    -        Self {
    -            db_file,
    -            types: PhantomData,
    -            error_exit: false,
    -        }
    -    }
    -}
    -
    -impl<'a, V> Iterator for EntryIter<'a, V>
    -where
    -    V: serde::de::DeserializeOwned,
    -{
    -    type Item = Result<V, IterError>;
    -
    -    fn next(&mut self) -> Option<Self::Item> {
    -        let result = (|| {
    -            let pos = self.db_file.stream_position()?;
    -
    -            match bincode().deserialize_from(&mut self.db_file) {
    -                Ok(changeset) => Ok(Some(changeset)),
    -                Err(e) => {
    -                    if let bincode::ErrorKind::Io(inner) = &*e {
    -                        if inner.kind() == io::ErrorKind::UnexpectedEof {
    -                            let eof = self.db_file.seek(io::SeekFrom::End(0))?;
    -                            if pos == eof {
    -                                return Ok(None);
    -                            }
    -                        }
    -                    }
    -
    -                    self.db_file.seek(io::SeekFrom::Start(pos))?;
    -                    Err(IterError::Bincode(*e))
    -                }
    -            }
    -        })();
    -
    -        let result = result.transpose();
    -
    -        if let Some(Err(_)) = &result {
    -            self.error_exit = true;
    -        }
    -
    -        result
    -    }
    -}
    -
    -impl From<io::Error> for IterError {
    -    fn from(value: io::Error) -> Self {
    -        IterError::Io(value)
    -    }
    -}
    -
    -#[cfg(test)]
    -mod test {
    -    use super::*;
    -    use bdk_chain::{
    -        keychain::{DerivationAdditions, KeychainChangeSet},
    -        TxHeight,
    -    };
    -    use std::{
    -        io::{Read, Write},
    -        vec::Vec,
    -    };
    -    use tempfile::NamedTempFile;
    -    #[derive(
    -        Debug,
    -        Clone,
    -        Copy,
    -        PartialOrd,
    -        Ord,
    -        PartialEq,
    -        Eq,
    -        Hash,
    -        serde::Serialize,
    -        serde::Deserialize,
    -    )]
    -    enum TestKeychain {
    -        External,
    -        Internal,
    -    }
    -
    -    impl core::fmt::Display for TestKeychain {
    -        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    -            match self {
    -                Self::External => write!(f, "external"),
    -                Self::Internal => write!(f, "internal"),
    -            }
    -        }
    -    }
    -
    -    #[test]
    -    fn magic_bytes() {
    -        assert_eq!(&MAGIC_BYTES, "bdkfs0000000".as_bytes());
    -    }
    -
    -    #[test]
    -    fn new_fails_if_file_is_too_short() {
    -        let mut file = NamedTempFile::new().unwrap();
    -        file.write_all(&MAGIC_BYTES[..MAGIC_BYTES_LEN - 1])
    -            .expect("should write");
    -
    -        match KeychainStore::<TestKeychain, TxHeight>::new(file.reopen().unwrap()) {
    -            Err(FileError::Io(e)) => assert_eq!(e.kind(), std::io::ErrorKind::UnexpectedEof),
    -            unexpected => panic!("unexpected result: {:?}", unexpected),
    -        };
    -    }
    -
    -    #[test]
    -    fn new_fails_if_magic_bytes_are_invalid() {
    -        let invalid_magic_bytes = "ldkfs0000000";
    -
    -        let mut file = NamedTempFile::new().unwrap();
    -        file.write_all(invalid_magic_bytes.as_bytes())
    -            .expect("should write");
    -
    -        match KeychainStore::<TestKeychain, TxHeight>::new(file.reopen().unwrap()) {
    -            Err(FileError::InvalidMagicBytes(b)) => {
    -                assert_eq!(b, invalid_magic_bytes.as_bytes())
    -            }
    -            unexpected => panic!("unexpected result: {:?}", unexpected),
    -        };
    -    }
    -
    -    #[test]
    -    fn append_changeset_truncates_invalid_bytes() {
    -        // initial data to write to file (magic bytes + invalid data)
    -        let mut data = [255_u8; 2000];
    -        data[..MAGIC_BYTES_LEN].copy_from_slice(&MAGIC_BYTES);
    -
    -        let changeset = KeychainChangeSet {
    -            derivation_indices: DerivationAdditions(
    -                vec![(TestKeychain::External, 42)].into_iter().collect(),
    -            ),
    -            chain_graph: Default::default(),
    -        };
    -
    -        let mut file = NamedTempFile::new().unwrap();
    -        file.write_all(&data).expect("should write");
    -
    -        let mut store = KeychainStore::<TestKeychain, TxHeight>::new(file.reopen().unwrap())
    -            .expect("should open");
    -        match store.iter_changesets().expect("seek should succeed").next() {
    -            Some(Err(IterError::Bincode(_))) => {}
    -            unexpected_res => panic!("unexpected result: {:?}", unexpected_res),
    -        }
    -
    -        store.append_changeset(&changeset).expect("should append");
    -
    -        drop(store);
    -
    -        let got_bytes = {
    -            let mut buf = Vec::new();
    -            file.reopen()
    -                .unwrap()
    -                .read_to_end(&mut buf)
    -                .expect("should read");
    -            buf
    -        };
    -
    -        let expected_bytes = {
    -            let mut buf = MAGIC_BYTES.to_vec();
    -            DefaultOptions::new()
    -                .with_varint_encoding()
    -                .serialize_into(&mut buf, &changeset)
    -                .expect("should encode");
    -            buf
    -        };
    -
    -        assert_eq!(got_bytes, expected_bytes);
    -    }
    -}
    -
    -
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/keychain_store.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/keychain_store.rs.html new file mode 100644 index 0000000000..ee55b1bba4 --- /dev/null +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/keychain_store.rs.html @@ -0,0 +1,628 @@ +keychain_store.rs - source
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +256
    +257
    +258
    +259
    +260
    +261
    +262
    +263
    +264
    +265
    +266
    +267
    +268
    +269
    +270
    +271
    +272
    +273
    +274
    +275
    +276
    +277
    +278
    +279
    +280
    +281
    +282
    +283
    +284
    +285
    +286
    +287
    +288
    +289
    +290
    +291
    +292
    +293
    +294
    +295
    +296
    +297
    +298
    +299
    +300
    +301
    +302
    +303
    +304
    +305
    +306
    +307
    +308
    +309
    +310
    +311
    +312
    +313
    +
    //! Module for persisting data on disk.
    +//!
    +//! The star of the show is [`KeychainStore`], which maintains an append-only file of
    +//! [`KeychainChangeSet`]s which can be used to restore a [`KeychainTracker`].
    +use bdk_chain::{
    +    keychain::{KeychainChangeSet, KeychainTracker},
    +    sparse_chain,
    +};
    +use bincode::Options;
    +use std::{
    +    fs::{File, OpenOptions},
    +    io::{self, Read, Seek, Write},
    +    path::Path,
    +};
    +
    +use crate::{bincode_options, EntryIter, IterError};
    +
    +/// BDK File Store magic bytes length.
    +const MAGIC_BYTES_LEN: usize = 12;
    +
    +/// BDK File Store magic bytes.
    +const MAGIC_BYTES: [u8; MAGIC_BYTES_LEN] = [98, 100, 107, 102, 115, 48, 48, 48, 48, 48, 48, 48];
    +
    +/// Persists an append only list of `KeychainChangeSet<K,P>` to a single file.
    +/// [`KeychainChangeSet<K,P>`] record the changes made to a [`KeychainTracker<K,P>`].
    +#[derive(Debug)]
    +pub struct KeychainStore<K, P> {
    +    db_file: File,
    +    changeset_type_params: core::marker::PhantomData<(K, P)>,
    +}
    +
    +impl<K, P> KeychainStore<K, P>
    +where
    +    K: Ord + Clone + core::fmt::Debug,
    +    P: sparse_chain::ChainPosition,
    +    KeychainChangeSet<K, P>: serde::Serialize + serde::de::DeserializeOwned,
    +{
    +    /// Creates a new store from a [`File`].
    +    ///
    +    /// The file must have been opened with read and write permissions.
    +    ///
    +    /// [`File`]: std::fs::File
    +    pub fn new(mut file: File) -> Result<Self, FileError> {
    +        file.rewind()?;
    +
    +        let mut magic_bytes = [0_u8; MAGIC_BYTES_LEN];
    +        file.read_exact(&mut magic_bytes)?;
    +
    +        if magic_bytes != MAGIC_BYTES {
    +            return Err(FileError::InvalidMagicBytes(magic_bytes));
    +        }
    +
    +        Ok(Self {
    +            db_file: file,
    +            changeset_type_params: Default::default(),
    +        })
    +    }
    +
    +    /// Creates or loads a store from `db_path`. If no file exists there, it will be created.
    +    pub fn new_from_path<D: AsRef<Path>>(db_path: D) -> Result<Self, FileError> {
    +        let already_exists = db_path.as_ref().exists();
    +
    +        let mut db_file = OpenOptions::new()
    +            .read(true)
    +            .write(true)
    +            .create(true)
    +            .open(db_path)?;
    +
    +        if !already_exists {
    +            db_file.write_all(&MAGIC_BYTES)?;
    +        }
    +
    +        Self::new(db_file)
    +    }
    +
    +    /// Iterates over the stored changeset from first to last, changing the seek position at each
    +    /// iteration.
    +    ///
    +    /// The iterator may fail to read an entry and therefore return an error. However, the first time
    +    /// it returns an error will be the last. After doing so, the iterator will always yield `None`.
    +    ///
    +    /// **WARNING**: This method changes the write position in the underlying file. You should
    +    /// always iterate over all entries until `None` is returned if you want your next write to go
    +    /// at the end; otherwise, you will write over existing entries.
    +    pub fn iter_changesets(&mut self) -> Result<EntryIter<KeychainChangeSet<K, P>>, io::Error> {
    +        Ok(EntryIter::new(MAGIC_BYTES_LEN as u64, &mut self.db_file))
    +    }
    +
    +    /// Loads all the changesets that have been stored as one giant changeset.
    +    ///
    +    /// This function returns a tuple of the aggregate changeset and a result that indicates
    +    /// whether an error occurred while reading or deserializing one of the entries. If so the
    +    /// changeset will consist of all of those it was able to read.
    +    ///
    +    /// You should usually check the error. In many applications, it may make sense to do a full
    +    /// wallet scan with a stop-gap after getting an error, since it is likely that one of the
    +    /// changesets it was unable to read changed the derivation indices of the tracker.
    +    ///
    +    /// **WARNING**: This method changes the write position of the underlying file. The next
    +    /// changeset will be written over the erroring entry (or the end of the file if none existed).
    +    pub fn aggregate_changeset(&mut self) -> (KeychainChangeSet<K, P>, Result<(), IterError>) {
    +        let mut changeset = KeychainChangeSet::default();
    +        let result = (|| {
    +            let iter_changeset = self.iter_changesets()?;
    +            for next_changeset in iter_changeset {
    +                changeset.append(next_changeset?);
    +            }
    +            Ok(())
    +        })();
    +
    +        (changeset, result)
    +    }
    +
    +    /// Reads and applies all the changesets stored sequentially to the tracker, stopping when it fails
    +    /// to read the next one.
    +    ///
    +    /// **WARNING**: This method changes the write position of the underlying file. The next
    +    /// changeset will be written over the erroring entry (or the end of the file if none existed).
    +    pub fn load_into_keychain_tracker(
    +        &mut self,
    +        tracker: &mut KeychainTracker<K, P>,
    +    ) -> Result<(), IterError> {
    +        for changeset in self.iter_changesets()? {
    +            tracker.apply_changeset(changeset?)
    +        }
    +        Ok(())
    +    }
    +
    +    /// Append a new changeset to the file and truncate the file to the end of the appended changeset.
    +    ///
    +    /// The truncation is to avoid the possibility of having a valid but inconsistent changeset
    +    /// directly after the appended changeset.
    +    pub fn append_changeset(
    +        &mut self,
    +        changeset: &KeychainChangeSet<K, P>,
    +    ) -> Result<(), io::Error> {
    +        if changeset.is_empty() {
    +            return Ok(());
    +        }
    +
    +        bincode_options()
    +            .serialize_into(&mut self.db_file, changeset)
    +            .map_err(|e| match *e {
    +                bincode::ErrorKind::Io(inner) => inner,
    +                unexpected_err => panic!("unexpected bincode error: {}", unexpected_err),
    +            })?;
    +
    +        // truncate file after this changeset addition
    +        // if this is not done, data after this changeset may represent valid changesets, however
    +        // applying those changesets on top of this one may result in an inconsistent state
    +        let pos = self.db_file.stream_position()?;
    +        self.db_file.set_len(pos)?;
    +
    +        // We want to make sure that derivation indices changes are written to disk as soon as
    +        // possible, so you know about the write failure before you give out the address in the application.
    +        if !changeset.derivation_indices.is_empty() {
    +            self.db_file.sync_data()?;
    +        }
    +
    +        Ok(())
    +    }
    +}
    +
    +/// Error that occurs due to problems encountered with the file.
    +#[derive(Debug)]
    +pub enum FileError {
    +    /// IO error, this may mean that the file is too short.
    +    Io(io::Error),
    +    /// Magic bytes do not match what is expected.
    +    InvalidMagicBytes([u8; MAGIC_BYTES_LEN]),
    +}
    +
    +impl core::fmt::Display for FileError {
    +    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
    +        match self {
    +            Self::Io(e) => write!(f, "io error trying to read file: {}", e),
    +            Self::InvalidMagicBytes(b) => write!(
    +                f,
    +                "file has invalid magic bytes: expected={:?} got={:?}",
    +                MAGIC_BYTES, b
    +            ),
    +        }
    +    }
    +}
    +
    +impl From<io::Error> for FileError {
    +    fn from(value: io::Error) -> Self {
    +        Self::Io(value)
    +    }
    +}
    +
    +impl std::error::Error for FileError {}
    +
    +#[cfg(test)]
    +mod test {
    +    use super::*;
    +    use bdk_chain::{
    +        keychain::{DerivationAdditions, KeychainChangeSet},
    +        TxHeight,
    +    };
    +    use bincode::DefaultOptions;
    +    use std::{
    +        io::{Read, Write},
    +        vec::Vec,
    +    };
    +    use tempfile::NamedTempFile;
    +    #[derive(
    +        Debug,
    +        Clone,
    +        Copy,
    +        PartialOrd,
    +        Ord,
    +        PartialEq,
    +        Eq,
    +        Hash,
    +        serde::Serialize,
    +        serde::Deserialize,
    +    )]
    +    enum TestKeychain {
    +        External,
    +        Internal,
    +    }
    +
    +    impl core::fmt::Display for TestKeychain {
    +        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
    +            match self {
    +                Self::External => write!(f, "external"),
    +                Self::Internal => write!(f, "internal"),
    +            }
    +        }
    +    }
    +
    +    #[test]
    +    fn magic_bytes() {
    +        assert_eq!(&MAGIC_BYTES, "bdkfs0000000".as_bytes());
    +    }
    +
    +    #[test]
    +    fn new_fails_if_file_is_too_short() {
    +        let mut file = NamedTempFile::new().unwrap();
    +        file.write_all(&MAGIC_BYTES[..MAGIC_BYTES_LEN - 1])
    +            .expect("should write");
    +
    +        match KeychainStore::<TestKeychain, TxHeight>::new(file.reopen().unwrap()) {
    +            Err(FileError::Io(e)) => assert_eq!(e.kind(), std::io::ErrorKind::UnexpectedEof),
    +            unexpected => panic!("unexpected result: {:?}", unexpected),
    +        };
    +    }
    +
    +    #[test]
    +    fn new_fails_if_magic_bytes_are_invalid() {
    +        let invalid_magic_bytes = "ldkfs0000000";
    +
    +        let mut file = NamedTempFile::new().unwrap();
    +        file.write_all(invalid_magic_bytes.as_bytes())
    +            .expect("should write");
    +
    +        match KeychainStore::<TestKeychain, TxHeight>::new(file.reopen().unwrap()) {
    +            Err(FileError::InvalidMagicBytes(b)) => {
    +                assert_eq!(b, invalid_magic_bytes.as_bytes())
    +            }
    +            unexpected => panic!("unexpected result: {:?}", unexpected),
    +        };
    +    }
    +
    +    #[test]
    +    fn append_changeset_truncates_invalid_bytes() {
    +        // initial data to write to file (magic bytes + invalid data)
    +        let mut data = [255_u8; 2000];
    +        data[..MAGIC_BYTES_LEN].copy_from_slice(&MAGIC_BYTES);
    +
    +        let changeset = KeychainChangeSet {
    +            derivation_indices: DerivationAdditions(
    +                vec![(TestKeychain::External, 42)].into_iter().collect(),
    +            ),
    +            chain_graph: Default::default(),
    +        };
    +
    +        let mut file = NamedTempFile::new().unwrap();
    +        file.write_all(&data).expect("should write");
    +
    +        let mut store = KeychainStore::<TestKeychain, TxHeight>::new(file.reopen().unwrap())
    +            .expect("should open");
    +        match store.iter_changesets().expect("seek should succeed").next() {
    +            Some(Err(IterError::Bincode(_))) => {}
    +            unexpected_res => panic!("unexpected result: {:?}", unexpected_res),
    +        }
    +
    +        store.append_changeset(&changeset).expect("should append");
    +
    +        drop(store);
    +
    +        let got_bytes = {
    +            let mut buf = Vec::new();
    +            file.reopen()
    +                .unwrap()
    +                .read_to_end(&mut buf)
    +                .expect("should read");
    +            buf
    +        };
    +
    +        let expected_bytes = {
    +            let mut buf = MAGIC_BYTES.to_vec();
    +            DefaultOptions::new()
    +                .with_varint_encoding()
    +                .serialize_into(&mut buf, &changeset)
    +                .expect("should encode");
    +            buf
    +        };
    +
    +        assert_eq!(got_bytes, expected_bytes);
    +    }
    +}
    +
    +
    \ No newline at end of file diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/lib.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/lib.rs.html index 23c9fa4689..2e7ee42797 100644 --- a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/lib.rs.html +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/lib.rs.html @@ -30,13 +30,95 @@ 30 31 32 +33 +34 +35 +36 +37 +38 +39 +40 +41 +42 +43 +44 +45 +46 +47 +48 +49 +50 +51 +52 +53 +54 +55 +56 +57 +58 +59 +60 +61 +62 +63 +64 +65 +66 +67 +68 +69 +70 +71 +72 +73
    #![doc = include_str!("../README.md")]
    -mod file_store;
    +mod entry_iter;
    +mod keychain_store;
    +mod store;
    +use std::io;
    +
     use bdk_chain::{
         keychain::{KeychainChangeSet, KeychainTracker, PersistBackend},
         sparse_chain::ChainPosition,
     };
    -pub use file_store::*;
    +use bincode::{DefaultOptions, Options};
    +pub use entry_iter::*;
    +pub use keychain_store::*;
    +pub use store::*;
    +
    +pub(crate) fn bincode_options() -> impl bincode::Options {
    +    DefaultOptions::new().with_varint_encoding()
    +}
    +
    +/// Error that occurs due to problems encountered with the file.
    +#[derive(Debug)]
    +pub enum FileError<'a> {
    +    /// IO error, this may mean that the file is too short.
    +    Io(io::Error),
    +    /// Magic bytes do not match what is expected.
    +    InvalidMagicBytes { got: Vec<u8>, expected: &'a [u8] },
    +}
    +
    +impl<'a> core::fmt::Display for FileError<'a> {
    +    fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
    +        match self {
    +            Self::Io(e) => write!(f, "io error trying to read file: {}", e),
    +            Self::InvalidMagicBytes { got, expected } => write!(
    +                f,
    +                "file has invalid magic bytes: expected={:?} got={:?}",
    +                expected, got,
    +            ),
    +        }
    +    }
    +}
    +
    +impl<'a> From<io::Error> for FileError<'a> {
    +    fn from(value: io::Error) -> Self {
    +        Self::Io(value)
    +    }
    +}
    +
    +impl<'a> std::error::Error for FileError<'a> {}
     
     impl<K, P> PersistBackend<K, P> for KeychainStore<K, P>
     where
    diff --git a/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/store.rs.html b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/store.rs.html
    new file mode 100644
    index 0000000000..ae96fd75bb
    --- /dev/null
    +++ b/docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_file_store/store.rs.html
    @@ -0,0 +1,512 @@
    +store.rs - source
    1
    +2
    +3
    +4
    +5
    +6
    +7
    +8
    +9
    +10
    +11
    +12
    +13
    +14
    +15
    +16
    +17
    +18
    +19
    +20
    +21
    +22
    +23
    +24
    +25
    +26
    +27
    +28
    +29
    +30
    +31
    +32
    +33
    +34
    +35
    +36
    +37
    +38
    +39
    +40
    +41
    +42
    +43
    +44
    +45
    +46
    +47
    +48
    +49
    +50
    +51
    +52
    +53
    +54
    +55
    +56
    +57
    +58
    +59
    +60
    +61
    +62
    +63
    +64
    +65
    +66
    +67
    +68
    +69
    +70
    +71
    +72
    +73
    +74
    +75
    +76
    +77
    +78
    +79
    +80
    +81
    +82
    +83
    +84
    +85
    +86
    +87
    +88
    +89
    +90
    +91
    +92
    +93
    +94
    +95
    +96
    +97
    +98
    +99
    +100
    +101
    +102
    +103
    +104
    +105
    +106
    +107
    +108
    +109
    +110
    +111
    +112
    +113
    +114
    +115
    +116
    +117
    +118
    +119
    +120
    +121
    +122
    +123
    +124
    +125
    +126
    +127
    +128
    +129
    +130
    +131
    +132
    +133
    +134
    +135
    +136
    +137
    +138
    +139
    +140
    +141
    +142
    +143
    +144
    +145
    +146
    +147
    +148
    +149
    +150
    +151
    +152
    +153
    +154
    +155
    +156
    +157
    +158
    +159
    +160
    +161
    +162
    +163
    +164
    +165
    +166
    +167
    +168
    +169
    +170
    +171
    +172
    +173
    +174
    +175
    +176
    +177
    +178
    +179
    +180
    +181
    +182
    +183
    +184
    +185
    +186
    +187
    +188
    +189
    +190
    +191
    +192
    +193
    +194
    +195
    +196
    +197
    +198
    +199
    +200
    +201
    +202
    +203
    +204
    +205
    +206
    +207
    +208
    +209
    +210
    +211
    +212
    +213
    +214
    +215
    +216
    +217
    +218
    +219
    +220
    +221
    +222
    +223
    +224
    +225
    +226
    +227
    +228
    +229
    +230
    +231
    +232
    +233
    +234
    +235
    +236
    +237
    +238
    +239
    +240
    +241
    +242
    +243
    +244
    +245
    +246
    +247
    +248
    +249
    +250
    +251
    +252
    +253
    +254
    +255
    +
    use std::{
    +    fmt::Debug,
    +    fs::{File, OpenOptions},
    +    io::{self, Read, Seek, Write},
    +    marker::PhantomData,
    +    path::Path,
    +};
    +
    +use bdk_chain::{Append, PersistBackend};
    +use bincode::Options;
    +
    +use crate::{bincode_options, EntryIter, FileError, IterError};
    +
    +/// Persists an append-only list of changesets (`C`) to a single file.
    +///
    +/// The changesets are the results of altering a tracker implementation (`T`).
    +#[derive(Debug)]
    +pub struct Store<'a, C> {
    +    magic: &'a [u8],
    +    db_file: File,
    +    marker: PhantomData<C>,
    +}
    +
    +impl<'a, C> PersistBackend<C> for Store<'a, C>
    +where
    +    C: Default + Append + serde::Serialize + serde::de::DeserializeOwned,
    +{
    +    type WriteError = std::io::Error;
    +
    +    type LoadError = IterError;
    +
    +    fn write_changes(&mut self, changeset: &C) -> Result<(), Self::WriteError> {
    +        self.append_changeset(changeset)
    +    }
    +
    +    fn load_from_persistence(&mut self) -> Result<C, Self::LoadError> {
    +        let (changeset, result) = self.aggregate_changesets();
    +        result.map(|_| changeset)
    +    }
    +}
    +
    +impl<'a, C> Store<'a, C>
    +where
    +    C: Default + Append + serde::Serialize + serde::de::DeserializeOwned,
    +{
    +    /// Creates a new store from a [`File`].
    +    ///
    +    /// The file must have been opened with read and write permissions.
    +    ///
    +    /// `magic` is the expected prefixed bytes of the file. If this does not match, an error will be
    +    /// returned.
    +    ///
    +    /// [`File`]: std::fs::File
    +    pub fn new(magic: &'a [u8], mut db_file: File) -> Result<Self, FileError> {
    +        db_file.rewind()?;
    +
    +        let mut magic_buf = vec![0_u8; magic.len()];
    +        db_file.read_exact(magic_buf.as_mut())?;
    +
    +        if magic_buf != magic {
    +            return Err(FileError::InvalidMagicBytes {
    +                got: magic_buf,
    +                expected: magic,
    +            });
    +        }
    +
    +        Ok(Self {
    +            magic,
    +            db_file,
    +            marker: Default::default(),
    +        })
    +    }
    +
    +    /// Creates or loads a store from `db_path`.
    +    ///
    +    /// If no file exists there, it will be created.
    +    ///
    +    /// Refer to [`new`] for documentation on the `magic` input.
    +    ///
    +    /// [`new`]: Self::new
    +    pub fn new_from_path<P>(magic: &'a [u8], db_path: P) -> Result<Self, FileError>
    +    where
    +        P: AsRef<Path>,
    +    {
    +        let already_exists = db_path.as_ref().exists();
    +
    +        let mut db_file = OpenOptions::new()
    +            .read(true)
    +            .write(true)
    +            .create(true)
    +            .open(db_path)?;
    +
    +        if !already_exists {
    +            db_file.write_all(magic)?;
    +        }
    +
    +        Self::new(magic, db_file)
    +    }
    +
    +    /// Iterates over the stored changeset from first to last, changing the seek position at each
    +    /// iteration.
    +    ///
    +    /// The iterator may fail to read an entry and therefore return an error. However, the first time
    +    /// it returns an error will be the last. After doing so, the iterator will always yield `None`.
    +    ///
    +    /// **WARNING**: This method changes the write position in the underlying file. You should
    +    /// always iterate over all entries until `None` is returned if you want your next write to go
    +    /// at the end; otherwise, you will write over existing entries.
    +    pub fn iter_changesets(&mut self) -> EntryIter<C> {
    +        EntryIter::new(self.magic.len() as u64, &mut self.db_file)
    +    }
    +
    +    /// Loads all the changesets that have been stored as one giant changeset.
    +    ///
    +    /// This function returns a tuple of the aggregate changeset and a result that indicates
    +    /// whether an error occurred while reading or deserializing one of the entries. If so the
    +    /// changeset will consist of all of those it was able to read.
    +    ///
    +    /// You should usually check the error. In many applications, it may make sense to do a full
    +    /// wallet scan with a stop-gap after getting an error, since it is likely that one of the
    +    /// changesets it was unable to read changed the derivation indices of the tracker.
    +    ///
    +    /// **WARNING**: This method changes the write position of the underlying file. The next
    +    /// changeset will be written over the erroring entry (or the end of the file if none existed).
    +    pub fn aggregate_changesets(&mut self) -> (C, Result<(), IterError>) {
    +        let mut changeset = C::default();
    +        let result = (|| {
    +            for next_changeset in self.iter_changesets() {
    +                changeset.append(next_changeset?);
    +            }
    +            Ok(())
    +        })();
    +
    +        (changeset, result)
    +    }
    +
    +    /// Append a new changeset to the file and truncate the file to the end of the appended
    +    /// changeset.
    +    ///
    +    /// The truncation is to avoid the possibility of having a valid but inconsistent changeset
    +    /// directly after the appended changeset.
    +    pub fn append_changeset(&mut self, changeset: &C) -> Result<(), io::Error> {
    +        // no need to write anything if changeset is empty
    +        if changeset.is_empty() {
    +            return Ok(());
    +        }
    +
    +        bincode_options()
    +            .serialize_into(&mut self.db_file, changeset)
    +            .map_err(|e| match *e {
    +                bincode::ErrorKind::Io(inner) => inner,
    +                unexpected_err => panic!("unexpected bincode error: {}", unexpected_err),
    +            })?;
    +
    +        // truncate file after this changeset addition
    +        // if this is not done, data after this changeset may represent valid changesets, however
    +        // applying those changesets on top of this one may result in an inconsistent state
    +        let pos = self.db_file.stream_position()?;
    +        self.db_file.set_len(pos)?;
    +
    +        Ok(())
    +    }
    +}
    +
    +#[cfg(test)]
    +mod test {
    +    use super::*;
    +
    +    use bincode::DefaultOptions;
    +    use std::{
    +        io::{Read, Write},
    +        vec::Vec,
    +    };
    +    use tempfile::NamedTempFile;
    +
    +    const TEST_MAGIC_BYTES_LEN: usize = 12;
    +    const TEST_MAGIC_BYTES: [u8; TEST_MAGIC_BYTES_LEN] =
    +        [98, 100, 107, 102, 115, 49, 49, 49, 49, 49, 49, 49];
    +
    +    type TestChangeSet = Vec<String>;
    +
    +    #[derive(Debug)]
    +    struct TestTracker;
    +
    +    #[test]
    +    fn new_fails_if_file_is_too_short() {
    +        let mut file = NamedTempFile::new().unwrap();
    +        file.write_all(&TEST_MAGIC_BYTES[..TEST_MAGIC_BYTES_LEN - 1])
    +            .expect("should write");
    +
    +        match Store::<TestChangeSet>::new(&TEST_MAGIC_BYTES, file.reopen().unwrap()) {
    +            Err(FileError::Io(e)) => assert_eq!(e.kind(), std::io::ErrorKind::UnexpectedEof),
    +            unexpected => panic!("unexpected result: {:?}", unexpected),
    +        };
    +    }
    +
    +    #[test]
    +    fn new_fails_if_magic_bytes_are_invalid() {
    +        let invalid_magic_bytes = "ldkfs0000000";
    +
    +        let mut file = NamedTempFile::new().unwrap();
    +        file.write_all(invalid_magic_bytes.as_bytes())
    +            .expect("should write");
    +
    +        match Store::<TestChangeSet>::new(&TEST_MAGIC_BYTES, file.reopen().unwrap()) {
    +            Err(FileError::InvalidMagicBytes { got, .. }) => {
    +                assert_eq!(got, invalid_magic_bytes.as_bytes())
    +            }
    +            unexpected => panic!("unexpected result: {:?}", unexpected),
    +        };
    +    }
    +
    +    #[test]
    +    fn append_changeset_truncates_invalid_bytes() {
    +        // initial data to write to file (magic bytes + invalid data)
    +        let mut data = [255_u8; 2000];
    +        data[..TEST_MAGIC_BYTES_LEN].copy_from_slice(&TEST_MAGIC_BYTES);
    +
    +        let changeset = vec!["one".into(), "two".into(), "three!".into()];
    +
    +        let mut file = NamedTempFile::new().unwrap();
    +        file.write_all(&data).expect("should write");
    +
    +        let mut store = Store::<TestChangeSet>::new(&TEST_MAGIC_BYTES, file.reopen().unwrap())
    +            .expect("should open");
    +        match store.iter_changesets().next() {
    +            Some(Err(IterError::Bincode(_))) => {}
    +            unexpected_res => panic!("unexpected result: {:?}", unexpected_res),
    +        }
    +
    +        store.append_changeset(&changeset).expect("should append");
    +
    +        drop(store);
    +
    +        let got_bytes = {
    +            let mut buf = Vec::new();
    +            file.reopen()
    +                .unwrap()
    +                .read_to_end(&mut buf)
    +                .expect("should read");
    +            buf
    +        };
    +
    +        let expected_bytes = {
    +            let mut buf = TEST_MAGIC_BYTES.to_vec();
    +            DefaultOptions::new()
    +                .with_varint_encoding()
    +                .serialize_into(&mut buf, &changeset)
    +                .expect("should encode");
    +            buf
    +        };
    +
    +        assert_eq!(got_bytes, expected_bytes);
    +    }
    +}
    +
    +
    \ No newline at end of file