]> Untitled Git - bitcoindevkit.org/commitdiff
Publish autogenerated nightly docs
authorgithub-actions <github-actions@github.com>
Fri, 26 Feb 2021 09:16:28 +0000 (09:16 +0000)
committergithub-actions <github-actions@github.com>
Fri, 26 Feb 2021 09:16:28 +0000 (09:16 +0000)
35 files changed:
static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/enum.CompactFiltersError.html
static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/index.html
static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html
static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html
static/docs-rs/bdk/nightly/latest/bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html
static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.Blockchain.html
static/docs-rs/bdk/nightly/latest/bdk/blockchain/trait.ConfigurableBlockchain.html
static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabase.html
static/docs-rs/bdk/nightly/latest/bdk/database/any/enum.AnyDatabaseConfig.html
static/docs-rs/bdk/nightly/latest/bdk/database/any/index.html
static/docs-rs/bdk/nightly/latest/bdk/database/any/struct.SledDbConfiguration.html
static/docs-rs/bdk/nightly/latest/bdk/database/trait.BatchDatabase.html
static/docs-rs/bdk/nightly/latest/bdk/database/trait.ConfigurableDatabase.html
static/docs-rs/bdk/nightly/latest/bdk/enum.Error.html
static/docs-rs/bdk/nightly/latest/bdk/fn.version.html
static/docs-rs/bdk/nightly/latest/bdk/index.html
static/docs-rs/bdk/nightly/latest/bdk/macro.descriptor.html
static/docs-rs/bdk/nightly/latest/bdk/macro.fragment.html
static/docs-rs/bdk/nightly/latest/bdk/wallet/index.html
static/docs-rs/bdk/nightly/latest/bdk/wallet/signer/index.html
static/docs-rs/bdk/nightly/latest/search-index.js
static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/mod.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/blockchain/compact_filters/store.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/database/any.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/database/mod.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/dsl.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/policy.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/descriptor/template.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/keys/mod.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/lib.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/wallet/coin_selection.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/wallet/mod.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/wallet/signer.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/wallet/tx_builder.rs.html
static/docs-rs/bdk/nightly/latest/src/bdk/wallet/utils.rs.html

index 8229ec90bc6d2e0f90d92d15afbed0837cf6a85f..c8206c0781e372f05ce8b3f805a14bc228687523 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="An error that can occur during sync with a [`CompactFiltersBlockchain`]"><meta name="keywords" content="rust, rustlang, rust-lang, CompactFiltersError"><title>bdk::blockchain::compact_filters::CompactFiltersError - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Enum CompactFiltersError</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.BIP158">BIP158</a><a href="#variant.DB">DB</a><a href="#variant.DataCorruption">DataCorruption</a><a href="#variant.Global">Global</a><a href="#variant.IO">IO</a><a href="#variant.InvalidFilter">InvalidFilter</a><a href="#variant.InvalidFilterHeader">InvalidFilterHeader</a><a href="#variant.InvalidHeaders">InvalidHeaders</a><a href="#variant.InvalidResponse">InvalidResponse</a><a href="#variant.MissingBlock">MissingBlock</a><a href="#variant.NoPeers">NoPeers</a><a href="#variant.NotConnected">NotConnected</a><a href="#variant.PeerBloomDisabled">PeerBloomDisabled</a><a href="#variant.Time">Time</a><a href="#variant.Timeout">Timeout</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-Display">Display</a><a href="#impl-Error">Error</a><a href="#impl-From%3CCompactFiltersError%3E">From&lt;CompactFiltersError&gt;</a><a href="#impl-From%3CError%3E">From&lt;Error&gt;</a><a href="#impl-From%3CSystemTimeError%3E">From&lt;SystemTimeError&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">!RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">!UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Pointable">Pointable</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-ToString">ToString</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a><a href="#impl-VZip%3CV%3E">VZip&lt;V&gt;</a></div></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a></p><div id="sidebar-vars" data-name="CompactFiltersError" data-ty="enum" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a>::<wbr><a class="enum" href="">CompactFiltersError</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#527-562" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust enum">pub enum CompactFiltersError {
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a>::<wbr><a class="enum" href="">CompactFiltersError</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#528-563" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust enum">pub enum CompactFiltersError {
     InvalidResponse,
     InvalidHeaders,
     InvalidFilterHeader,
 </div><div id="variant.BIP158" class="variant small-section-header"><a href="#variant.BIP158" class="anchor field"></a><code>BIP158(Error)</code></div><div class="docblock"><p>Invalid BIP158 filter</p>
 </div><div id="variant.Time" class="variant small-section-header"><a href="#variant.Time" class="anchor field"></a><code>Time(<a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html" title="struct std::time::SystemTimeError">SystemTimeError</a>)</code></div><div class="docblock"><p>Internal system time error</p>
 </div><div id="variant.Global" class="variant small-section-header"><a href="#variant.Global" class="anchor field"></a><code>Global(<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/boxed/struct.Box.html" title="struct alloc::boxed::Box">Box</a>&lt;<a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;)</code></div><div class="docblock"><p>Wrapper for <a href="../../../bdk/enum.Error.html" title="crate::error::Error"><code>crate::error::Error</code></a></p>
-</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#526" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#526" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
-</div></div><h3 id="impl-Display" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Display" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#564-568" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt-1" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#565-567" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
-</div></div><h3 id="impl-Error" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Error" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#570" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.source" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.source" class="fnname">source</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a> + 'static)&gt;</code><span class="since" title="Stable since Rust version 1.30.0">1.30.0</span><a class="srclink" href="https://doc.rust-lang.org/nightly/src/std/error.rs.html#99" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>The lower-level source of this error, if any. <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.source">Read more</a></p>
+</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#527" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#527" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
+</div></div><h3 id="impl-Display" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html" title="trait core::fmt::Display">Display</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Display" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#565-569" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt-1" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#566-568" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Display.html#tymethod.fmt">Read more</a></p>
+</div></div><h3 id="impl-Error" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Error" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#571" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.source" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.source" class="fnname">source</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;(dyn <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a> + 'static)&gt;</code><span class="since" title="Stable since Rust version 1.30.0">1.30.0</span><a class="srclink" href="https://doc.rust-lang.org/nightly/src/std/error.rs.html#99" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>The lower-level source of this error, if any. <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.source">Read more</a></p>
 </div><h4 id="method.backtrace" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.backtrace" class="fnname">backtrace</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;<a class="struct" href="https://doc.rust-lang.org/nightly/std/backtrace/struct.Backtrace.html" title="struct std::backtrace::Backtrace">Backtrace</a>&gt;</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/std/error.rs.html#127" title="goto source code">[src]</a></h4><div class="item-info hidden"><div class="stab unstable"><span class="emoji">🔬</span> This is a nightly-only experimental API. (<code>backtrace</code>)</div></div><div class='docblock hidden'><p>Returns a stack backtrace, if available, of where this error occurred. <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.backtrace">Read more</a></p>
 </div><h4 id="method.description" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.description" class="fnname">description</a>(&amp;self) -&gt; &amp;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span><a class="srclink" href="https://doc.rust-lang.org/nightly/src/std/error.rs.html#139" title="goto source code">[src]</a></h4><div class="item-info hidden"><div class="stab deprecated"><span class="emoji">👎</span> Deprecated since 1.42.0: <p>use the Display impl or to_string()</p>
 </div></div><div class='docblock hidden'> <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.description">Read more</a></div><h4 id="method.cause" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html#method.cause" class="fnname">cause</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;&amp;dyn <a class="trait" href="https://doc.rust-lang.org/nightly/std/error/trait.Error.html" title="trait std::error::Error">Error</a>&gt;</code><span class="since" title="Stable since Rust version 1.0.0">1.0.0</span><a class="srclink" href="https://doc.rust-lang.org/nightly/src/std/error.rs.html#149" title="goto source code">[src]</a></h4><div class="item-info hidden"><div class="stab deprecated"><span class="emoji">👎</span> Deprecated since 1.33.0: <p>replaced by Error::source, which can support downcasting</p>
 </div></div></div><h3 id="impl-From%3CCompactFiltersError%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a>&gt; for <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a></code><a href="#impl-From%3CCompactFiltersError%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/error.rs.html#197-204" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(other: <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/error.rs.html#198-203" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-From%3CError%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#572" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-1" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#572" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-From%3CError%3E-1" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-1" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#573" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-2" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#573" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-From%3CError%3E-2" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-2" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#574" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-3" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#574" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-From%3CError%3E-3" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-3" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#577-581" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-5" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#578-580" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-From%3CSystemTimeError%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html" title="struct std::time::SystemTimeError">SystemTimeError</a>&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CSystemTimeError%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#575" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-4" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html" title="struct std::time::SystemTimeError">SystemTimeError</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#575" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-From%3CError%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#573" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-1" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#573" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-From%3CError%3E-1" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-1" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#574" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-2" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://doc.rust-lang.org/nightly/std/io/error/struct.Error.html" title="struct std::io::error::Error">Error</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#574" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-From%3CError%3E-2" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-2" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#575" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-3" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#575" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-From%3CError%3E-3" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-3" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#578-582" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-5" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#579-581" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-From%3CSystemTimeError%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html" title="struct std::time::SystemTimeError">SystemTimeError</a>&gt; for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CSystemTimeError%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#576" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-4" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="struct" href="https://doc.rust-lang.org/nightly/std/time/struct.SystemTimeError.html" title="struct std::time::SystemTimeError">SystemTimeError</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#576" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
 </div></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
 </div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
 </div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
index 2ecd5873971c882430341fc729cebaceb2adbbbe..4bcb1d1c7ca8f520aa1327d1752525439af67c01 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Compact Filters"><meta name="keywords" content="rust, rustlang, rust-lang, compact_filters"><title>bdk::blockchain::compact_filters - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module compact_filters</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a></p><div id="sidebar-vars" data-name="compact_filters" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a class="mod" href="">compact_filters</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#25-581" title="goto source code">[src]</a></span></h1><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="docblock"><p>Compact Filters</p>
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a class="mod" href="">compact_filters</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#25-582" title="goto source code">[src]</a></span></h1><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="docblock"><p>Compact Filters</p>
 <p>This module contains a multithreaded implementation of an <a href="../../../bdk/blockchain/trait.Blockchain.html" title="Blockchain"><code>Blockchain</code></a> backend that
 uses BIP157 (aka “Neutrino”) to populate the wallet’s <a href="../../../bdk/database/trait.Database.html">database</a>
 by downloading compact filters from the P2P network.</p>
index d102fed66618c960828ee0a5fd6fb429d8b937cb..8c2688a5ccd996a7088b2df44b276e07c7a15e20 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Data to connect to a Bitcoin P2P peer"><meta name="keywords" content="rust, rustlang, rust-lang, BitcoinPeerConfig"><title>bdk::blockchain::compact_filters::BitcoinPeerConfig - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Struct BitcoinPeerConfig</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.address">address</a><a href="#structfield.socks5">socks5</a><a href="#structfield.socks5_credentials">socks5_credentials</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-Deserialize%3C%27de%3E">Deserialize&lt;&#39;de&gt;</a><a href="#impl-Serialize">Serialize</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Pointable">Pointable</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a><a href="#impl-VZip%3CV%3E">VZip&lt;V&gt;</a></div></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a></p><div id="sidebar-vars" data-name="BitcoinPeerConfig" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a>::<wbr><a class="struct" href="">BitcoinPeerConfig</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#472-479" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct BitcoinPeerConfig {
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a>::<wbr><a class="struct" href="">BitcoinPeerConfig</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#473-480" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct BitcoinPeerConfig {
     pub address: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
     pub socks5: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;,
     pub socks5_credentials: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt;,
@@ -10,9 +10,9 @@
                        Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.address" class="structfield small-section-header"><a href="#structfield.address" class="anchor field"></a><code>address: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><div class="docblock"><p>Peer address such as 127.0.0.1:18333</p>
 </div><span id="structfield.socks5" class="structfield small-section-header"><a href="#structfield.socks5" class="anchor field"></a><code>socks5: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>&gt;</code></span><div class="docblock"><p>Optional socks5 proxy</p>
 </div><span id="structfield.socks5_credentials" class="structfield small-section-header"><a href="#structfield.socks5_credentials" class="anchor field"></a><code>socks5_credentials: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt;</code></span><div class="docblock"><p>Optional socks5 proxy credentials</p>
-</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#471" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#471" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
-</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#471" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#471" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
-</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#471" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#471" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
+</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#472" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#472" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
+</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#472" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#472" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
+</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#472" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#472" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
 </div></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
 </div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
 </div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
index 8b415b8b47f3269509a208b28bc460a26acbfdaa..1e613758cbbd92dc5bac11599c8270c1d774592d 100644 (file)
@@ -11,15 +11,15 @@ from the genesis while scanning for the wallet’s outputs.</p>
 in parallel. It’s currently recommended to only connect to a single peer to avoid
 inconsistencies in the data returned, optionally with multiple connections in parallel to
 speed-up the sync process.</p>
-</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Blockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Blockchain" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#237-468" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.get_capabilities" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.get_capabilities" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#238-240" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Return the set of <a href="../../../bdk/blockchain/enum.Capability.html" title="Capability"><code>Capability</code></a> supported by this backend</p>
-</div><h4 id="method.setup" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.setup" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#242-446" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Setup the backend and populate the internal database for the first time <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.setup">Read more</a></p>
-</div><h4 id="method.get_tx" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.get_tx" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#448-452" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Fetch a transaction from the blockchain given its txid</p>
-</div><h4 id="method.broadcast" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.broadcast" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#454-458" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Broadcast a transaction</p>
-</div><h4 id="method.get_height" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.get_height" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#460-462" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Return the current height</p>
-</div><h4 id="method.estimate_fee" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.estimate_fee" class="fnname">estimate_fee</a>(&amp;self, _target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#464-467" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Estimate the fee rate required to confirm a transaction in a given <code>target</code> of blocks</p>
+</div></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Blockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Blockchain" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#237-469" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.get_capabilities" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.get_capabilities" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#238-240" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Return the set of <a href="../../../bdk/blockchain/enum.Capability.html" title="Capability"><code>Capability</code></a> supported by this backend</p>
+</div><h4 id="method.setup" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.setup" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#243-447" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Setup the backend and populate the internal database for the first time <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.setup">Read more</a></p>
+</div><h4 id="method.get_tx" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.get_tx" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#449-453" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Fetch a transaction from the blockchain given its txid</p>
+</div><h4 id="method.broadcast" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.broadcast" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#455-459" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Broadcast a transaction</p>
+</div><h4 id="method.get_height" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.get_height" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#461-463" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Return the current height</p>
+</div><h4 id="method.estimate_fee" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#tymethod.estimate_fee" class="fnname">estimate_fee</a>(&amp;self, _target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#465-468" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Estimate the fee rate required to confirm a transaction in a given <code>target</code> of blocks</p>
 </div><h4 id="method.sync" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.Blockchain.html#method.sync" class="fnname">sync</a>&lt;D:&nbsp;<a class="trait" href="../../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/mod.rs.html#123-130" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Populate the internal database with transactions and UTXOs <a href="../../../bdk/blockchain/trait.Blockchain.html#method.sync">Read more</a></p>
-</div></div><h3 id="impl-ConfigurableBlockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-ConfigurableBlockchain" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#494-523" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config" class="type"><code>type <a href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" class="type">Config</a> = <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code></h4><div class='docblock'><p>Type that contains the configuration</p>
-</div><h4 id="method.from_config" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html#tymethod.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#497-522" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Create a new instance given a configuration</p>
+</div></div><h3 id="impl-ConfigurableBlockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-ConfigurableBlockchain" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#495-524" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config" class="type"><code>type <a href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" class="type">Config</a> = <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code></h4><div class='docblock'><p>Type that contains the configuration</p>
+</div><h4 id="method.from_config" class="method hidden"><code>fn <a href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html#tymethod.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#498-523" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Create a new instance given a configuration</p>
 </div></div><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#103" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#103" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
 </div></div><h3 id="impl-From%3CCompactFiltersBlockchain%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a>&gt; for <a class="enum" href="../../../bdk/blockchain/any/enum.AnyBlockchain.html" title="enum bdk::blockchain::any::AnyBlockchain">AnyBlockchain</a></code><a href="#impl-From%3CCompactFiltersBlockchain%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/any.rs.html#186" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/any.rs.html#186" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
 </div></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
index 5bc6ba7a687c50a9f0d4a0dcea2f081d80f0d7aa..7fabe9a8bcd0aa3fafcf5f8cbb217948affbd62f 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Configuration for a [`CompactFiltersBlockchain`]"><meta name="keywords" content="rust, rustlang, rust-lang, CompactFiltersBlockchainConfig"><title>bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Struct CompactFiltersBlockchainConfig</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.network">network</a><a href="#structfield.peers">peers</a><a href="#structfield.skip_blocks">skip_blocks</a><a href="#structfield.storage_dir">storage_dir</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-Deserialize%3C%27de%3E">Deserialize&lt;&#39;de&gt;</a><a href="#impl-From%3CCompactFiltersBlockchainConfig%3E">From&lt;CompactFiltersBlockchainConfig&gt;</a><a href="#impl-Serialize">Serialize</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Pointable">Pointable</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a><a href="#impl-VZip%3CV%3E">VZip&lt;V&gt;</a></div></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a></p><div id="sidebar-vars" data-name="CompactFiltersBlockchainConfig" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a>::<wbr><a class="struct" href="">CompactFiltersBlockchainConfig</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#483-492" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct CompactFiltersBlockchainConfig {
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">blockchain</a>::<wbr><a href="index.html">compact_filters</a>::<wbr><a class="struct" href="">CompactFiltersBlockchainConfig</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#484-493" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct CompactFiltersBlockchainConfig {
     pub peers: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../bdk/blockchain/compact_filters/struct.BitcoinPeerConfig.html" title="struct bdk::blockchain::compact_filters::BitcoinPeerConfig">BitcoinPeerConfig</a>&gt;,
     pub network: Network,
     pub storage_dir: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
 </div><span id="structfield.network" class="structfield small-section-header"><a href="#structfield.network" class="anchor field"></a><code>network: Network</code></span><div class="docblock"><p>Network used</p>
 </div><span id="structfield.storage_dir" class="structfield small-section-header"><a href="#structfield.storage_dir" class="anchor field"></a><code>storage_dir: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><div class="docblock"><p>Storage dir to save partially downloaded headers and full blocks</p>
 </div><span id="structfield.skip_blocks" class="structfield small-section-header"><a href="#structfield.skip_blocks" class="anchor field"></a><code>skip_blocks: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;</code></span><div class="docblock"><p>Optionally skip initial <code>skip_blocks</code> blocks (default: 0)</p>
-</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#482" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#482" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
-</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#482" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#482" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
+</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#483" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#483" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
+</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#483" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#483" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
 </div></div><h3 id="impl-From%3CCompactFiltersBlockchainConfig%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a>&gt; for <a class="enum" href="../../../bdk/blockchain/any/enum.AnyBlockchainConfig.html" title="enum bdk::blockchain::any::AnyBlockchainConfig">AnyBlockchainConfig</a></code><a href="#impl-From%3CCompactFiltersBlockchainConfig%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/any.rs.html#232" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/blockchain/any.rs.html#232" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#482" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#482" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
+</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#483" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/blockchain/compact_filters/mod.rs.html#483" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
 </div></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
 </div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
 </div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
index eada455d4595cb3eeff655acb66b55a8e9883571..29ada228f98956366f2416f9f4877194663890a7 100644 (file)
@@ -33,5 +33,5 @@ in the blockchain to populate the database with <a href="../../bdk/database/trai
 blockchain, using <a href="../../bdk/database/trait.BatchOperations.html#tymethod.del_utxo"><code>BatchOperations::del_utxo</code></a>.</p>
 <p>The <code>progress_update</code> object can be used to give the caller updates about the progress by using
 <a href="../../bdk/blockchain/trait.Progress.html#tymethod.update" title="Progress::update"><code>Progress::update</code></a>.</p>
-</div></div><span class="loading-content">Loading content...</span><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><h3 id="impl-Blockchain-for-Arc%3CT%3E" class="impl"><code class="in-band">impl&lt;T:&nbsp;<a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a>&gt; <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;T&gt;</code><a href="#impl-Blockchain-for-Arc%3CT%3E" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#218-254" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.get_capabilities" class="method hidden"><code>fn <a href="#method.get_capabilities" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#219-221" title="goto source code">[src]</a></h4><h4 id="method.setup" class="method hidden"><code>fn <a href="#method.setup" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#223-230" title="goto source code">[src]</a></h4><h4 id="method.sync-1" class="method hidden"><code>fn <a href="#method.sync" class="fnname">sync</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#232-239" title="goto source code">[src]</a></h4><h4 id="method.get_tx" class="method hidden"><code>fn <a href="#method.get_tx" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#241-243" title="goto source code">[src]</a></h4><h4 id="method.broadcast" class="method hidden"><code>fn <a href="#method.broadcast" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#244-246" title="goto source code">[src]</a></h4><h4 id="method.get_height" class="method hidden"><code>fn <a href="#method.get_height" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#248-250" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee" class="method hidden"><code>fn <a href="#method.estimate_fee" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#251-253" title="goto source code">[src]</a></h4></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-Blockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="enum" href="../../bdk/blockchain/any/enum.AnyBlockchain.html" title="enum bdk::blockchain::any::AnyBlockchain">AnyBlockchain</a></code><a href="#impl-Blockchain" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#135-182" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.get_capabilities-1" class="method hidden"><code>fn <a href="#method.get_capabilities-1" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#136-138" title="goto source code">[src]</a></h4><h4 id="method.setup-1" class="method hidden"><code>fn <a href="#method.setup-1" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#140-153" title="goto source code">[src]</a></h4><h4 id="method.sync-2" class="method hidden"><code>fn <a href="#method.sync-2" class="fnname">sync</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#154-167" title="goto source code">[src]</a></h4><h4 id="method.get_tx-1" class="method hidden"><code>fn <a href="#method.get_tx-1" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#169-171" title="goto source code">[src]</a></h4><h4 id="method.broadcast-1" class="method hidden"><code>fn <a href="#method.broadcast-1" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#172-174" title="goto source code">[src]</a></h4><h4 id="method.get_height-1" class="method hidden"><code>fn <a href="#method.get_height-1" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#176-178" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-1" class="method hidden"><code>fn <a href="#method.estimate_fee-1" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#179-181" title="goto source code">[src]</a></h4></div><h3 id="impl-Blockchain-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Blockchain-1" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#237-468" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="impl-items"><h4 id="method.get_capabilities-2" class="method hidden"><code>fn <a href="#method.get_capabilities-2" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#238-240" title="goto source code">[src]</a></h4><h4 id="method.setup-2" class="method hidden"><code>fn <a href="#method.setup-2" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#242-446" title="goto source code">[src]</a></h4><h4 id="method.get_tx-2" class="method hidden"><code>fn <a href="#method.get_tx-2" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#448-452" title="goto source code">[src]</a></h4><h4 id="method.broadcast-2" class="method hidden"><code>fn <a href="#method.broadcast-2" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#454-458" title="goto source code">[src]</a></h4><h4 id="method.get_height-2" class="method hidden"><code>fn <a href="#method.get_height-2" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#460-462" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-2" class="method hidden"><code>fn <a href="#method.estimate_fee-2" class="fnname">estimate_fee</a>(&amp;self, _target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#464-467" title="goto source code">[src]</a></h4></div><h3 id="impl-Blockchain-2" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../bdk/blockchain/electrum/struct.ElectrumBlockchain.html" title="struct bdk::blockchain::electrum::ElectrumBlockchain">ElectrumBlockchain</a></code><a href="#impl-Blockchain-2" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#74-117" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>electrum</code></strong> only.</div></div><div class="impl-items"><h4 id="method.get_capabilities-3" class="method hidden"><code>fn <a href="#method.get_capabilities-3" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#75-83" title="goto source code">[src]</a></h4><h4 id="method.setup-3" class="method hidden"><code>fn <a href="#method.setup-3" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;<a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#85-93" title="goto source code">[src]</a></h4><h4 id="method.get_tx-3" class="method hidden"><code>fn <a href="#method.get_tx-3" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#95-97" title="goto source code">[src]</a></h4><h4 id="method.broadcast-3" class="method hidden"><code>fn <a href="#method.broadcast-3" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#99-101" title="goto source code">[src]</a></h4><h4 id="method.get_height-3" class="method hidden"><code>fn <a href="#method.get_height-3" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#103-110" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-3" class="method hidden"><code>fn <a href="#method.estimate_fee-3" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#112-116" title="goto source code">[src]</a></h4></div><h3 id="impl-Blockchain-3" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../bdk/blockchain/esplora/struct.EsploraBlockchain.html" title="struct bdk::blockchain::esplora::EsploraBlockchain">EsploraBlockchain</a></code><a href="#impl-Blockchain-3" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#98-148" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>esplora</code></strong> only.</div></div><div class="impl-items"><h4 id="method.get_capabilities-4" class="method hidden"><code>fn <a href="#method.get_capabilities-4" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#99-107" title="goto source code">[src]</a></h4><h4 id="method.setup-4" class="method hidden"><code>fn <a href="#method.setup-4" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;<a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#109-118" title="goto source code">[src]</a></h4><h4 id="method.get_tx-4" class="method hidden"><code>fn <a href="#method.get_tx-4" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#120-122" title="goto source code">[src]</a></h4><h4 id="method.broadcast-4" class="method hidden"><code>fn <a href="#method.broadcast-4" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#124-126" title="goto source code">[src]</a></h4><h4 id="method.get_height-4" class="method hidden"><code>fn <a href="#method.get_height-4" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#128-130" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-4" class="method hidden"><code>fn <a href="#method.estimate_fee-4" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#132-147" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/blockchain/trait.Blockchain.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
+</div></div><span class="loading-content">Loading content...</span><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><h3 id="impl-Blockchain-for-Arc%3CT%3E" class="impl"><code class="in-band">impl&lt;T:&nbsp;<a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a>&gt; <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/sync/struct.Arc.html" title="struct alloc::sync::Arc">Arc</a>&lt;T&gt;</code><a href="#impl-Blockchain-for-Arc%3CT%3E" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#218-254" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.get_capabilities" class="method hidden"><code>fn <a href="#method.get_capabilities" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#219-221" title="goto source code">[src]</a></h4><h4 id="method.setup" class="method hidden"><code>fn <a href="#method.setup" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#223-230" title="goto source code">[src]</a></h4><h4 id="method.sync-1" class="method hidden"><code>fn <a href="#method.sync" class="fnname">sync</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#232-239" title="goto source code">[src]</a></h4><h4 id="method.get_tx" class="method hidden"><code>fn <a href="#method.get_tx" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#241-243" title="goto source code">[src]</a></h4><h4 id="method.broadcast" class="method hidden"><code>fn <a href="#method.broadcast" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#244-246" title="goto source code">[src]</a></h4><h4 id="method.get_height" class="method hidden"><code>fn <a href="#method.get_height" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#248-250" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee" class="method hidden"><code>fn <a href="#method.estimate_fee" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#251-253" title="goto source code">[src]</a></h4></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-Blockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="enum" href="../../bdk/blockchain/any/enum.AnyBlockchain.html" title="enum bdk::blockchain::any::AnyBlockchain">AnyBlockchain</a></code><a href="#impl-Blockchain" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#135-182" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.get_capabilities-1" class="method hidden"><code>fn <a href="#method.get_capabilities-1" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#136-138" title="goto source code">[src]</a></h4><h4 id="method.setup-1" class="method hidden"><code>fn <a href="#method.setup-1" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#140-153" title="goto source code">[src]</a></h4><h4 id="method.sync-2" class="method hidden"><code>fn <a href="#method.sync-2" class="fnname">sync</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#154-167" title="goto source code">[src]</a></h4><h4 id="method.get_tx-1" class="method hidden"><code>fn <a href="#method.get_tx-1" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#169-171" title="goto source code">[src]</a></h4><h4 id="method.broadcast-1" class="method hidden"><code>fn <a href="#method.broadcast-1" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#172-174" title="goto source code">[src]</a></h4><h4 id="method.get_height-1" class="method hidden"><code>fn <a href="#method.get_height-1" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#176-178" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-1" class="method hidden"><code>fn <a href="#method.estimate_fee-1" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#179-181" title="goto source code">[src]</a></h4></div><h3 id="impl-Blockchain-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-Blockchain-1" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#237-469" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="impl-items"><h4 id="method.get_capabilities-2" class="method hidden"><code>fn <a href="#method.get_capabilities-2" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#238-240" title="goto source code">[src]</a></h4><h4 id="method.setup-2" class="method hidden"><code>fn <a href="#method.setup-2" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;'static + <a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;_stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#243-447" title="goto source code">[src]</a></h4><h4 id="method.get_tx-2" class="method hidden"><code>fn <a href="#method.get_tx-2" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#449-453" title="goto source code">[src]</a></h4><h4 id="method.broadcast-2" class="method hidden"><code>fn <a href="#method.broadcast-2" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#455-459" title="goto source code">[src]</a></h4><h4 id="method.get_height-2" class="method hidden"><code>fn <a href="#method.get_height-2" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#461-463" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-2" class="method hidden"><code>fn <a href="#method.estimate_fee-2" class="fnname">estimate_fee</a>(&amp;self, _target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#465-468" title="goto source code">[src]</a></h4></div><h3 id="impl-Blockchain-2" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../bdk/blockchain/electrum/struct.ElectrumBlockchain.html" title="struct bdk::blockchain::electrum::ElectrumBlockchain">ElectrumBlockchain</a></code><a href="#impl-Blockchain-2" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#74-117" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>electrum</code></strong> only.</div></div><div class="impl-items"><h4 id="method.get_capabilities-3" class="method hidden"><code>fn <a href="#method.get_capabilities-3" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#75-83" title="goto source code">[src]</a></h4><h4 id="method.setup-3" class="method hidden"><code>fn <a href="#method.setup-3" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;<a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#85-93" title="goto source code">[src]</a></h4><h4 id="method.get_tx-3" class="method hidden"><code>fn <a href="#method.get_tx-3" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#95-97" title="goto source code">[src]</a></h4><h4 id="method.broadcast-3" class="method hidden"><code>fn <a href="#method.broadcast-3" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#99-101" title="goto source code">[src]</a></h4><h4 id="method.get_height-3" class="method hidden"><code>fn <a href="#method.get_height-3" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#103-110" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-3" class="method hidden"><code>fn <a href="#method.estimate_fee-3" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#112-116" title="goto source code">[src]</a></h4></div><h3 id="impl-Blockchain-3" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.Blockchain.html" title="trait bdk::blockchain::Blockchain">Blockchain</a> for <a class="struct" href="../../bdk/blockchain/esplora/struct.EsploraBlockchain.html" title="struct bdk::blockchain::esplora::EsploraBlockchain">EsploraBlockchain</a></code><a href="#impl-Blockchain-3" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#98-148" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>esplora</code></strong> only.</div></div><div class="impl-items"><h4 id="method.get_capabilities-4" class="method hidden"><code>fn <a href="#method.get_capabilities-4" class="fnname">get_capabilities</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/std/collections/hash/set/struct.HashSet.html" title="struct std::collections::hash::set::HashSet">HashSet</a>&lt;<a class="enum" href="../../bdk/blockchain/enum.Capability.html" title="enum bdk::blockchain::Capability">Capability</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#99-107" title="goto source code">[src]</a></h4><h4 id="method.setup-4" class="method hidden"><code>fn <a href="#method.setup-4" class="fnname">setup</a>&lt;D:&nbsp;<a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a>, P:&nbsp;<a class="trait" href="../../bdk/blockchain/trait.Progress.html" title="trait bdk::blockchain::Progress">Progress</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;stop_gap: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;database: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>D, <br>&nbsp;&nbsp;&nbsp;&nbsp;progress_update: P<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#109-118" title="goto source code">[src]</a></h4><h4 id="method.get_tx-4" class="method hidden"><code>fn <a href="#method.get_tx-4" class="fnname">get_tx</a>(&amp;self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#120-122" title="goto source code">[src]</a></h4><h4 id="method.broadcast-4" class="method hidden"><code>fn <a href="#method.broadcast-4" class="fnname">broadcast</a>(&amp;self, tx: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#124-126" title="goto source code">[src]</a></h4><h4 id="method.get_height-4" class="method hidden"><code>fn <a href="#method.get_height-4" class="fnname">get_height</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#128-130" title="goto source code">[src]</a></h4><h4 id="method.estimate_fee-4" class="method hidden"><code>fn <a href="#method.estimate_fee-4" class="fnname">estimate_fee</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="../../bdk/struct.FeeRate.html" title="struct bdk::FeeRate">FeeRate</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#132-147" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/blockchain/trait.Blockchain.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
     <script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
\ No newline at end of file
index 2abcbea76796a6f0221690ca40acd68b01eff873..b1b0eec2d5c4428f3a56c01ca4195471200dd946 100644 (file)
@@ -7,5 +7,5 @@
 }</pre></div><div class="docblock"><p>Trait for <a href="../../bdk/blockchain/trait.Blockchain.html" title="Blockchain"><code>Blockchain</code></a> types that can be created given a configuration</p>
 </div><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><h3 id="associatedtype.Config" class="method"><code>type <a href="#associatedtype.Config" class="type">Config</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a></code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#146" title="goto source code">[src]</a></h3><div class="docblock"><p>Type that contains the configuration</p>
 </div></div><span class="loading-content">Loading content...</span><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><h3 id="tymethod.from_config" class="method"><code>fn <a href="#tymethod.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/mod.rs.html#149" title="goto source code">[src]</a></h3><div class="docblock"><p>Create a new instance given a configuration</p>
-</div></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-ConfigurableBlockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="enum" href="../../bdk/blockchain/any/enum.AnyBlockchain.html" title="enum bdk::blockchain::any::AnyBlockchain">AnyBlockchain</a></code><a href="#impl-ConfigurableBlockchain" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#209-228" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-1" class="type"><code>type <a href="#associatedtype.Config-1" class="type">Config</a> = <a class="enum" href="../../bdk/blockchain/any/enum.AnyBlockchainConfig.html" title="enum bdk::blockchain::any::AnyBlockchainConfig">AnyBlockchainConfig</a></code></h4><h4 id="method.from_config" class="method hidden"><code>fn <a href="#method.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#212-227" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableBlockchain-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-ConfigurableBlockchain-1" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#494-523" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="impl-items"><h4 id="associatedtype.Config-2" class="type"><code>type <a href="#associatedtype.Config-2" class="type">Config</a> = <a class="struct" href="../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code></h4><h4 id="method.from_config-1" class="method hidden"><code>fn <a href="#method.from_config-1" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#497-522" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableBlockchain-2" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../bdk/blockchain/electrum/struct.ElectrumBlockchain.html" title="struct bdk::blockchain::electrum::ElectrumBlockchain">ElectrumBlockchain</a></code><a href="#impl-ConfigurableBlockchain-2" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#174-190" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>electrum</code></strong> only.</div></div><div class="impl-items"><h4 id="associatedtype.Config-3" class="type"><code>type <a href="#associatedtype.Config-3" class="type">Config</a> = <a class="struct" href="../../bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html" title="struct bdk::blockchain::electrum::ElectrumBlockchainConfig">ElectrumBlockchainConfig</a></code></h4><h4 id="method.from_config-2" class="method hidden"><code>fn <a href="#method.from_config-2" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#177-189" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableBlockchain-3" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../bdk/blockchain/esplora/struct.EsploraBlockchain.html" title="struct bdk::blockchain::esplora::EsploraBlockchain">EsploraBlockchain</a></code><a href="#impl-ConfigurableBlockchain-3" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#387-396" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>esplora</code></strong> only.</div></div><div class="impl-items"><h4 id="associatedtype.Config-4" class="type"><code>type <a href="#associatedtype.Config-4" class="type">Config</a> = <a class="struct" href="../../bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html" title="struct bdk::blockchain::esplora::EsploraBlockchainConfig">EsploraBlockchainConfig</a></code></h4><h4 id="method.from_config-3" class="method hidden"><code>fn <a href="#method.from_config-3" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#390-395" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/blockchain/trait.ConfigurableBlockchain.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
+</div></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-ConfigurableBlockchain" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="enum" href="../../bdk/blockchain/any/enum.AnyBlockchain.html" title="enum bdk::blockchain::any::AnyBlockchain">AnyBlockchain</a></code><a href="#impl-ConfigurableBlockchain" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#209-228" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-1" class="type"><code>type <a href="#associatedtype.Config-1" class="type">Config</a> = <a class="enum" href="../../bdk/blockchain/any/enum.AnyBlockchainConfig.html" title="enum bdk::blockchain::any::AnyBlockchainConfig">AnyBlockchainConfig</a></code></h4><h4 id="method.from_config" class="method hidden"><code>fn <a href="#method.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/any.rs.html#212-227" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableBlockchain-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchain.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchain">CompactFiltersBlockchain</a></code><a href="#impl-ConfigurableBlockchain-1" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#495-524" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="impl-items"><h4 id="associatedtype.Config-2" class="type"><code>type <a href="#associatedtype.Config-2" class="type">Config</a> = <a class="struct" href="../../bdk/blockchain/compact_filters/struct.CompactFiltersBlockchainConfig.html" title="struct bdk::blockchain::compact_filters::CompactFiltersBlockchainConfig">CompactFiltersBlockchainConfig</a></code></h4><h4 id="method.from_config-1" class="method hidden"><code>fn <a href="#method.from_config-1" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/compact_filters/mod.rs.html#498-523" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableBlockchain-2" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../bdk/blockchain/electrum/struct.ElectrumBlockchain.html" title="struct bdk::blockchain::electrum::ElectrumBlockchain">ElectrumBlockchain</a></code><a href="#impl-ConfigurableBlockchain-2" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#174-190" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>electrum</code></strong> only.</div></div><div class="impl-items"><h4 id="associatedtype.Config-3" class="type"><code>type <a href="#associatedtype.Config-3" class="type">Config</a> = <a class="struct" href="../../bdk/blockchain/electrum/struct.ElectrumBlockchainConfig.html" title="struct bdk::blockchain::electrum::ElectrumBlockchainConfig">ElectrumBlockchainConfig</a></code></h4><h4 id="method.from_config-2" class="method hidden"><code>fn <a href="#method.from_config-2" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/electrum.rs.html#177-189" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableBlockchain-3" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html" title="trait bdk::blockchain::ConfigurableBlockchain">ConfigurableBlockchain</a> for <a class="struct" href="../../bdk/blockchain/esplora/struct.EsploraBlockchain.html" title="struct bdk::blockchain::esplora::EsploraBlockchain">EsploraBlockchain</a></code><a href="#impl-ConfigurableBlockchain-3" class="anchor"></a><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#387-396" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>esplora</code></strong> only.</div></div><div class="impl-items"><h4 id="associatedtype.Config-4" class="type"><code>type <a href="#associatedtype.Config-4" class="type">Config</a> = <a class="struct" href="../../bdk/blockchain/esplora/struct.EsploraBlockchainConfig.html" title="struct bdk::blockchain::esplora::EsploraBlockchainConfig">EsploraBlockchainConfig</a></code></h4><h4 id="method.from_config-3" class="method hidden"><code>fn <a href="#method.from_config-3" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/blockchain/trait.ConfigurableBlockchain.html#associatedtype.Config" title="type bdk::blockchain::ConfigurableBlockchain::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/blockchain/esplora.rs.html#390-395" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/blockchain/trait.ConfigurableBlockchain.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
     <script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
\ No newline at end of file
index 833e50b03e40f815a3105b0fe80745771ceb6671..cb41ec2f66ecdf5ce77abf8c5e833aef6df57b72 100644 (file)
@@ -11,9 +11,9 @@
                    Variants<a href="#variants" class="anchor"></a></h2>
 <div id="variant.Memory" class="variant small-section-header"><a href="#variant.Memory" class="anchor field"></a><code>Memory(<a class="struct" href="../../../bdk/database/memory/struct.MemoryDatabase.html" title="struct bdk::database::memory::MemoryDatabase">MemoryDatabase</a>)</code></div><div class="docblock"><p>In-memory ephemeral database</p>
 </div><div id="variant.Sled" class="variant small-section-header"><a href="#variant.Sled" class="anchor field"></a><code>Sled(Tree)</code></div><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>key-value-db</code></strong> only.</div></div><div class="docblock"><p>Simple key-value embedded database based on [<code>sled</code>]</p>
-</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-BatchDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-BatchDatabase" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#304-335" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch" class="type"><code>type <a href="../../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" class="type">Batch</a> = <a class="enum" href="../../../bdk/database/any/enum.AnyBatch.html" title="enum bdk::database::any::AnyBatch">AnyBatch</a></code></h4><div class='docblock'><p>Container for the operations</p>
+</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-BatchDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-BatchDatabase" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#304-328" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch" class="type"><code>type <a href="../../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" class="type">Batch</a> = <a class="enum" href="../../../bdk/database/any/enum.AnyBatch.html" title="enum bdk::database::any::AnyBatch">AnyBatch</a></code></h4><div class='docblock'><p>Container for the operations</p>
 </div><h4 id="method.begin_batch" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchDatabase.html#tymethod.begin_batch" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#307-313" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Create a new batch container</p>
-</div><h4 id="method.commit_batch" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchDatabase.html#tymethod.commit_batch" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#314-334" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Consume and apply a batch of operations</p>
+</div><h4 id="method.commit_batch" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchDatabase.html#tymethod.commit_batch" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#314-327" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Consume and apply a batch of operations</p>
 </div></div><h3 id="impl-BatchOperations" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/database/trait.BatchOperations.html" title="trait bdk::database::BatchOperations">BatchOperations</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-BatchOperations" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#120-184" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.set_script_pubkey" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchOperations.html#tymethod.set_script_pubkey" class="fnname">set_script_pubkey</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;script: &amp;Script, <br>&nbsp;&nbsp;&nbsp;&nbsp;keychain: <a class="enum" href="../../../bdk/enum.KeychainKind.html" title="enum bdk::KeychainKind">KeychainKind</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;child: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#121-135" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Store a script_pubkey along with its keychain and child number.</p>
 </div><h4 id="method.set_utxo" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchOperations.html#tymethod.set_utxo" class="fnname">set_utxo</a>(&amp;mut self, utxo: &amp;<a class="struct" href="../../../bdk/struct.LocalUtxo.html" title="struct bdk::LocalUtxo">LocalUtxo</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#136-138" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Store a <a href="../../../bdk/struct.LocalUtxo.html" title="LocalUtxo"><code>LocalUtxo</code></a></p>
 </div><h4 id="method.set_raw_tx" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchOperations.html#tymethod.set_raw_tx" class="fnname">set_raw_tx</a>(&amp;mut self, transaction: &amp;Transaction) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#139-141" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Store a raw transaction</p>
@@ -26,8 +26,8 @@ number. <a href="../../../bdk/database/trait.BatchOperations.html#tymethod.del_p
 </div><h4 id="method.del_raw_tx" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchOperations.html#tymethod.del_raw_tx" class="fnname">del_raw_tx</a>(&amp;mut self, txid: &amp;Txid) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Transaction&gt;, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#171-173" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Delete a raw transaction given its [<code>Txid</code>]</p>
 </div><h4 id="method.del_tx" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchOperations.html#tymethod.del_tx" class="fnname">del_tx</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;txid: &amp;Txid, <br>&nbsp;&nbsp;&nbsp;&nbsp;include_raw: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../../bdk/struct.TransactionDetails.html" title="struct bdk::TransactionDetails">TransactionDetails</a>&gt;, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#174-180" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Delete the metadata of a transaction and optionally the raw transaction itself</p>
 </div><h4 id="method.del_last_index" class="method hidden"><code>fn <a href="../../../bdk/database/trait.BatchOperations.html#tymethod.del_last_index" class="fnname">del_last_index</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;keychain: <a class="enum" href="../../../bdk/enum.KeychainKind.html" title="enum bdk::KeychainKind">KeychainKind</a><br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u32.html">u32</a>&gt;, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#181-183" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Delete the last derivation index for a keychain.</p>
-</div></div><h3 id="impl-ConfigurableDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-ConfigurableDatabase" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#371-383" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config" class="type"><code>type <a href="../../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" class="type">Config</a> = <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code></h4><div class='docblock'><p>Type that contains the configuration</p>
-</div><h4 id="method.from_config" class="method hidden"><code>fn <a href="../../../bdk/database/trait.ConfigurableDatabase.html#tymethod.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#374-382" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Create a new instance given a configuration</p>
+</div></div><h3 id="impl-ConfigurableDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-ConfigurableDatabase" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#364-376" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config" class="type"><code>type <a href="../../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" class="type">Config</a> = <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code></h4><div class='docblock'><p>Type that contains the configuration</p>
+</div><h4 id="method.from_config" class="method hidden"><code>fn <a href="../../../bdk/database/trait.ConfigurableDatabase.html#tymethod.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#367-375" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Create a new instance given a configuration</p>
 </div></div><h3 id="impl-Database" class="impl"><code class="in-band">impl <a class="trait" href="../../../bdk/database/trait.Database.html" title="trait bdk::database::Database">Database</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-Database" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#186-249" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.check_descriptor_checksum" class="method hidden"><code>fn <a href="../../../bdk/database/trait.Database.html#tymethod.check_descriptor_checksum" class="fnname">check_descriptor_checksum</a>&lt;B:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.AsRef.html" title="trait core::convert::AsRef">AsRef</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">[</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a><a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">]</a>&gt;&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;mut self, <br>&nbsp;&nbsp;&nbsp;&nbsp;keychain: <a class="enum" href="../../../bdk/enum.KeychainKind.html" title="enum bdk::KeychainKind">KeychainKind</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;bytes: B<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#187-199" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Read and checks the descriptor checksum for a given keychain. <a href="../../../bdk/database/trait.Database.html#tymethod.check_descriptor_checksum">Read more</a></p>
 </div><h4 id="method.iter_script_pubkeys" class="method hidden"><code>fn <a href="../../../bdk/database/trait.Database.html#tymethod.iter_script_pubkeys" class="fnname">iter_script_pubkeys</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self, <br>&nbsp;&nbsp;&nbsp;&nbsp;keychain: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="../../../bdk/enum.KeychainKind.html" title="enum bdk::KeychainKind">KeychainKind</a>&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;Script&gt;, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#201-203" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Return the list of script_pubkeys</p>
 </div><h4 id="method.iter_utxos" class="method hidden"><code>fn <a href="../../../bdk/database/trait.Database.html#tymethod.iter_utxos" class="fnname">iter_utxos</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="struct" href="../../../bdk/struct.LocalUtxo.html" title="struct bdk::LocalUtxo">LocalUtxo</a>&gt;, <a class="enum" href="../../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#204-206" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Return the list of <a href="../../../bdk/struct.LocalUtxo.html" title="LocalUtxo"><code>LocalUtxo</code></a>s</p>
index 92920720e775215351ab5d93a3be09aefcbb6b16..83016793737c8ac2e981b76b06bf7326df5b04da 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Type that can contain any of the database configurations defined by the library"><meta name="keywords" content="rust, rustlang, rust-lang, AnyDatabaseConfig"><title>bdk::database::any::AnyDatabaseConfig - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Enum AnyDatabaseConfig</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#variants">Variants</a><div class="sidebar-links"><a href="#variant.Memory">Memory</a><a href="#variant.Sled">Sled</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-Deserialize%3C%27de%3E">Deserialize&lt;&#39;de&gt;</a><a href="#impl-From%3C()%3E">From&lt;()&gt;</a><a href="#impl-From%3CSledDbConfiguration%3E">From&lt;SledDbConfiguration&gt;</a><a href="#impl-Serialize">Serialize</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Pointable">Pointable</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a><a href="#impl-VZip%3CV%3E">VZip&lt;V&gt;</a></div></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a href="index.html">any</a></p><div id="sidebar-vars" data-name="AnyDatabaseConfig" data-ty="enum" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a href="index.html">any</a>::<wbr><a class="enum" href="">AnyDatabaseConfig</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/database/any.rs.html#362-369" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust enum">pub enum AnyDatabaseConfig {
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Enum <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a href="index.html">any</a>::<wbr><a class="enum" href="">AnyDatabaseConfig</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/database/any.rs.html#355-362" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust enum">pub enum AnyDatabaseConfig {
     Memory(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>),
     Sled(<a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>),
 }</pre></div><div class="docblock"><p>Type that can contain any of the database configurations defined by the library</p>
@@ -12,11 +12,11 @@ will find this particularly useful.</p>
                    Variants<a href="#variants" class="anchor"></a></h2>
 <div id="variant.Memory" class="variant small-section-header"><a href="#variant.Memory" class="anchor field"></a><code>Memory(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>)</code></div><div class="docblock"><p>Memory database has no config</p>
 </div><div id="variant.Sled" class="variant small-section-header"><a href="#variant.Sled" class="anchor field"></a><code>Sled(<a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>)</code></div><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>key-value-db</code></strong> only.</div></div><div class="docblock"><p>Simple key-value embedded database based on [<code>sled</code>]</p>
-</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#361" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#361" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
-</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#361" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#361" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
-</div></div><h3 id="impl-From%3C()%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-From%3C()%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#385" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#385" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-From%3CSledDbConfiguration%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-From%3CSledDbConfiguration%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#386" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-1" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#386" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#361" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#361" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
+</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#354" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#354" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
+</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#354" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#354" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
+</div></div><h3 id="impl-From%3C()%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-From%3C()%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#378" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#378" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-From%3CSledDbConfiguration%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-From%3CSledDbConfiguration%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#379" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-1" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#379" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#354" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#354" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
 </div></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
 </div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
 </div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
index 67e27705b55afb3d42bba53111a03cd82b059ffd..7f75edf29da5f94093f469f65a344c98a1731e66 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Runtime-checked database types"><meta name="keywords" content="rust, rustlang, rust-lang, any"><title>bdk::database::any - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module any</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li></ul></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a></p><div id="sidebar-vars" data-name="any" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a class="mod" href="">any</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/database/any.rs.html#25-386" title="goto source code">[src]</a></span></h1><div class="docblock"><p>Runtime-checked database types</p>
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a class="mod" href="">any</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/database/any.rs.html#25-379" title="goto source code">[src]</a></span></h1><div class="docblock"><p>Runtime-checked database types</p>
 <p>This module provides the implementation of <a href="../../../bdk/database/any/enum.AnyDatabase.html" title="AnyDatabase"><code>AnyDatabase</code></a> which allows switching the
 inner <a href="../../../bdk/database/trait.Database.html" title="Database"><code>Database</code></a> type at runtime.</p>
 <h2 id="example" class="section-header"><a href="#example">Example</a></h2>
index 5970a8bb6cc2e91c901dc8c0162fd546b6b9b2c9..a632d5e9b9a3f17622cec9ad8376349faaa69801 100644 (file)
@@ -1,17 +1,17 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Configuration type for a [`sled::Tree`] database"><meta name="keywords" content="rust, rustlang, rust-lang, SledDbConfiguration"><title>bdk::database::any::SledDbConfiguration - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc struct"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Struct SledDbConfiguration</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#fields">Fields</a><div class="sidebar-links"><a href="#structfield.path">path</a><a href="#structfield.tree_name">tree_name</a></div><a class="sidebar-title" href="#trait-implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Debug">Debug</a><a href="#impl-Deserialize%3C%27de%3E">Deserialize&lt;&#39;de&gt;</a><a href="#impl-From%3CSledDbConfiguration%3E">From&lt;SledDbConfiguration&gt;</a><a href="#impl-Serialize">Serialize</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-DeserializeOwned">DeserializeOwned</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Instrument">Instrument</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Pointable">Pointable</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a><a href="#impl-VZip%3CV%3E">VZip&lt;V&gt;</a></div></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a href="index.html">any</a></p><div id="sidebar-vars" data-name="SledDbConfiguration" data-ty="struct" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a href="index.html">any</a>::<wbr><a class="struct" href="">SledDbConfiguration</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/database/any.rs.html#340-345" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct SledDbConfiguration {
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Struct <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">database</a>::<wbr><a href="index.html">any</a>::<wbr><a class="struct" href="">SledDbConfiguration</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/database/any.rs.html#333-338" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class="rust struct">pub struct SledDbConfiguration {
     pub path: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
     pub tree_name: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a>,
 }</pre></div><div class="docblock"><p>Configuration type for a [<code>sled::Tree</code>] database</p>
 </div><h2 id="fields" class="fields small-section-header">
                        Fields<a href="#fields" class="anchor"></a></h2><span id="structfield.path" class="structfield small-section-header"><a href="#structfield.path" class="anchor field"></a><code>path: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><div class="docblock"><p>Main directory of the db</p>
 </div><span id="structfield.tree_name" class="structfield small-section-header"><a href="#structfield.tree_name" class="anchor field"></a><code>tree_name: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/string/struct.String.html" title="struct alloc::string::String">String</a></code></span><div class="docblock"><p>Name of the database tree, a separated namespace for the data</p>
-</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#339" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#339" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
-</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#339" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#339" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
-</div></div><h3 id="impl-From%3CSledDbConfiguration%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-From%3CSledDbConfiguration%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#386" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#386" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#339" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#339" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
+</div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><h3 id="impl-Debug" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Debug" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#332" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.fmt" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt" class="fnname">fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>&lt;'_&gt;) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#332" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
+</div></div><h3 id="impl-Deserialize%3C%27de%3E" class="impl"><code class="in-band">impl&lt;'de&gt; <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html" title="trait serde::de::Deserialize">Deserialize</a>&lt;'de&gt; for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Deserialize%3C%27de%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#332" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.deserialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize" class="fnname">deserialize</a>&lt;__D&gt;(__deserializer: __D) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, __D::<a class="type" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html#associatedtype.Error" title="type serde::de::Deserializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__D: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserializer.html" title="trait serde::de::Deserializer">Deserializer</a>&lt;'de&gt;,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#332" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Deserialize this value from the given Serde deserializer. <a href="https://docs.rs/serde/1.0.123/serde/de/trait.Deserialize.html#tymethod.deserialize">Read more</a></p>
+</div></div><h3 id="impl-From%3CSledDbConfiguration%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>&gt; for <a class="enum" href="../../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code><a href="#impl-From%3CSledDbConfiguration%3E" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#379" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(inner: <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a>) -&gt; Self</code><a class="srclink" href="../../../src/bdk/database/any.rs.html#379" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-Serialize" class="impl"><code class="in-band">impl <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html" title="trait serde::ser::Serialize">Serialize</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Serialize" class="anchor"></a><a class="srclink" href="../../../src/bdk/database/any.rs.html#332" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.serialize" class="method hidden"><code>fn <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize" class="fnname">serialize</a>&lt;__S&gt;(&amp;self, __serializer: __S) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;__S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Ok" title="type serde::ser::Serializer::Ok">Ok</a>, __S::<a class="type" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html#associatedtype.Error" title="type serde::ser::Serializer::Error">Error</a>&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;__S: <a class="trait" href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serializer.html" title="trait serde::ser::Serializer">Serializer</a>,&nbsp;</span></code><a class="srclink" href="../../../src/bdk/database/any.rs.html#332" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Serialize this value into the given Serde serializer. <a href="https://docs.rs/serde/1.0.123/serde/ser/trait.Serialize.html#tymethod.serialize">Read more</a></p>
 </div></div></div><h2 id="synthetic-implementations" class="small-section-header">Auto Trait Implementations<a href="#synthetic-implementations" class="anchor"></a></h2><div id="synthetic-implementations-list"><h3 id="impl-RefUnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-RefUnwindSafe" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Send" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Send" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Sync" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Sync" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-Unpin" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-Unpin" class="anchor"></a></h3><div class="impl-items"></div><h3 id="impl-UnwindSafe" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="struct" href="../../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code><a href="#impl-UnwindSafe" class="anchor"></a></h3><div class="impl-items"></div></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor"></a></h2><div id="blanket-implementations-list"><h3 id="impl-Any" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Any" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#131-135" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.type_id" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fnname">type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#132" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
 </div></div><h3 id="impl-Borrow%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-Borrow%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#207-211" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fnname">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#208" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
 </div></div><h3 id="impl-BorrowMut%3CT%3E" class="impl"><code class="in-band">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href="#impl-BorrowMut%3CT%3E" class="anchor"></a><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214-218" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.borrow_mut" class="method hidden"><code>pub fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fnname">borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#215" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
index cdd23cd3af07e3e1d03ae168f813d495f572964e..0feb9ea6dc4e16a2cc1872f211f2d74c127932fe 100644 (file)
@@ -10,5 +10,5 @@
 </div><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><h3 id="associatedtype.Batch" class="method"><code>type <a href="#associatedtype.Batch" class="type">Batch</a>: <a class="trait" href="../../bdk/database/trait.BatchOperations.html" title="trait bdk::database::BatchOperations">BatchOperations</a></code><a class="srclink" href="../../src/bdk/database/mod.rs.html#157" title="goto source code">[src]</a></h3><div class="docblock"><p>Container for the operations</p>
 </div></div><span class="loading-content">Loading content...</span><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><h3 id="tymethod.begin_batch" class="method"><code>fn <a href="#tymethod.begin_batch" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../src/bdk/database/mod.rs.html#160" title="goto source code">[src]</a></h3><div class="docblock"><p>Create a new batch container</p>
 </div><h3 id="tymethod.commit_batch" class="method"><code>fn <a href="#tymethod.commit_batch" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/mod.rs.html#162" title="goto source code">[src]</a></h3><div class="docblock"><p>Consume and apply a batch of operations</p>
-</div></div><span class="loading-content">Loading content...</span><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><h3 id="impl-BatchDatabase-for-Tree" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for Tree</code><a href="#impl-BatchDatabase-for-Tree" class="anchor"></a><a class="srclink" href="../../src/bdk/database/keyvalue.rs.html#385-395" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch-1" class="type"><code>type <a href="#associatedtype.Batch" class="type">Batch</a> = Batch</code></h4><h4 id="method.begin_batch" class="method hidden"><code>fn <a href="#method.begin_batch" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../src/bdk/database/keyvalue.rs.html#388-390" title="goto source code">[src]</a></h4><h4 id="method.commit_batch" class="method hidden"><code>fn <a href="#method.commit_batch" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/keyvalue.rs.html#392-394" title="goto source code">[src]</a></h4></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-BatchDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for <a class="enum" href="../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-BatchDatabase" class="anchor"></a><a class="srclink" href="../../src/bdk/database/any.rs.html#304-335" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch-2" class="type"><code>type <a href="#associatedtype.Batch-2" class="type">Batch</a> = <a class="enum" href="../../bdk/database/any/enum.AnyBatch.html" title="enum bdk::database::any::AnyBatch">AnyBatch</a></code></h4><h4 id="method.begin_batch-1" class="method hidden"><code>fn <a href="#method.begin_batch-1" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../src/bdk/database/any.rs.html#307-313" title="goto source code">[src]</a></h4><h4 id="method.commit_batch-1" class="method hidden"><code>fn <a href="#method.commit_batch-1" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/any.rs.html#314-334" title="goto source code">[src]</a></h4></div><h3 id="impl-BatchDatabase-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for <a class="struct" href="../../bdk/database/memory/struct.MemoryDatabase.html" title="struct bdk::database::memory::MemoryDatabase">MemoryDatabase</a></code><a href="#impl-BatchDatabase-1" class="anchor"></a><a class="srclink" href="../../src/bdk/database/memory.rs.html#437-451" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch-3" class="type"><code>type <a href="#associatedtype.Batch-3" class="type">Batch</a> = Self</code></h4><h4 id="method.begin_batch-2" class="method hidden"><code>fn <a href="#method.begin_batch-2" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../src/bdk/database/memory.rs.html#440-442" title="goto source code">[src]</a></h4><h4 id="method.commit_batch-2" class="method hidden"><code>fn <a href="#method.commit_batch-2" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/memory.rs.html#444-450" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/database/trait.BatchDatabase.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
+</div></div><span class="loading-content">Loading content...</span><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><h3 id="impl-BatchDatabase-for-Tree" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for Tree</code><a href="#impl-BatchDatabase-for-Tree" class="anchor"></a><a class="srclink" href="../../src/bdk/database/keyvalue.rs.html#385-395" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch-1" class="type"><code>type <a href="#associatedtype.Batch" class="type">Batch</a> = Batch</code></h4><h4 id="method.begin_batch" class="method hidden"><code>fn <a href="#method.begin_batch" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../src/bdk/database/keyvalue.rs.html#388-390" title="goto source code">[src]</a></h4><h4 id="method.commit_batch" class="method hidden"><code>fn <a href="#method.commit_batch" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/keyvalue.rs.html#392-394" title="goto source code">[src]</a></h4></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-BatchDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for <a class="enum" href="../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-BatchDatabase" class="anchor"></a><a class="srclink" href="../../src/bdk/database/any.rs.html#304-328" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch-2" class="type"><code>type <a href="#associatedtype.Batch-2" class="type">Batch</a> = <a class="enum" href="../../bdk/database/any/enum.AnyBatch.html" title="enum bdk::database::any::AnyBatch">AnyBatch</a></code></h4><h4 id="method.begin_batch-1" class="method hidden"><code>fn <a href="#method.begin_batch-1" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../src/bdk/database/any.rs.html#307-313" title="goto source code">[src]</a></h4><h4 id="method.commit_batch-1" class="method hidden"><code>fn <a href="#method.commit_batch-1" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/any.rs.html#314-327" title="goto source code">[src]</a></h4></div><h3 id="impl-BatchDatabase-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.BatchDatabase.html" title="trait bdk::database::BatchDatabase">BatchDatabase</a> for <a class="struct" href="../../bdk/database/memory/struct.MemoryDatabase.html" title="struct bdk::database::memory::MemoryDatabase">MemoryDatabase</a></code><a href="#impl-BatchDatabase-1" class="anchor"></a><a class="srclink" href="../../src/bdk/database/memory.rs.html#437-451" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Batch-3" class="type"><code>type <a href="#associatedtype.Batch-3" class="type">Batch</a> = Self</code></h4><h4 id="method.begin_batch-2" class="method hidden"><code>fn <a href="#method.begin_batch-2" class="fnname">begin_batch</a>(&amp;self) -&gt; Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a></code><a class="srclink" href="../../src/bdk/database/memory.rs.html#440-442" title="goto source code">[src]</a></h4><h4 id="method.commit_batch-2" class="method hidden"><code>fn <a href="#method.commit_batch-2" class="fnname">commit_batch</a>(&amp;mut self, batch: Self::<a class="type" href="../../bdk/database/trait.BatchDatabase.html#associatedtype.Batch" title="type bdk::database::BatchDatabase::Batch">Batch</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/memory.rs.html#444-450" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/database/trait.BatchDatabase.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
     <script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
\ No newline at end of file
index f35796d7b766692386501badb2ebe442478db862..e48868e05859bcab6f6b40213f081ea204003405 100644 (file)
@@ -7,5 +7,5 @@
 }</pre></div><div class="docblock"><p>Trait for <a href="../../bdk/database/trait.Database.html" title="Database"><code>Database</code></a> types that can be created given a configuration</p>
 </div><h2 id="associated-types" class="small-section-header">Associated Types<a href="#associated-types" class="anchor"></a></h2><div class="methods"><h3 id="associatedtype.Config" class="method"><code>type <a href="#associatedtype.Config" class="type">Config</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a></code><a class="srclink" href="../../src/bdk/database/mod.rs.html#168" title="goto source code">[src]</a></h3><div class="docblock"><p>Type that contains the configuration</p>
 </div></div><span class="loading-content">Loading content...</span><h2 id="required-methods" class="small-section-header">Required methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><h3 id="tymethod.from_config" class="method"><code>fn <a href="#tymethod.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/mod.rs.html#171" title="goto source code">[src]</a></h3><div class="docblock"><p>Create a new instance given a configuration</p>
-</div></div><span class="loading-content">Loading content...</span><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><h3 id="impl-ConfigurableDatabase-for-Tree" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for Tree</code><a href="#impl-ConfigurableDatabase-for-Tree" class="anchor"></a><a class="srclink" href="../../src/bdk/database/any.rs.html#348-354" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-1" class="type"><code>type <a href="#associatedtype.Config" class="type">Config</a> = <a class="struct" href="../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code></h4><h4 id="method.from_config" class="method hidden"><code>fn <a href="#method.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/any.rs.html#351-353" title="goto source code">[src]</a></h4></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-ConfigurableDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for <a class="enum" href="../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-ConfigurableDatabase" class="anchor"></a><a class="srclink" href="../../src/bdk/database/any.rs.html#371-383" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-2" class="type"><code>type <a href="#associatedtype.Config-2" class="type">Config</a> = <a class="enum" href="../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code></h4><h4 id="method.from_config-1" class="method hidden"><code>fn <a href="#method.from_config-1" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/any.rs.html#374-382" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableDatabase-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for <a class="struct" href="../../bdk/database/memory/struct.MemoryDatabase.html" title="struct bdk::database::memory::MemoryDatabase">MemoryDatabase</a></code><a href="#impl-ConfigurableDatabase-1" class="anchor"></a><a class="srclink" href="../../src/bdk/database/memory.rs.html#453-459" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-3" class="type"><code>type <a href="#associatedtype.Config-3" class="type">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></h4><h4 id="method.from_config-2" class="method hidden"><code>fn <a href="#method.from_config-2" class="fnname">from_config</a>(_config: &amp;Self::<a class="type" href="../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/memory.rs.html#456-458" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/database/trait.ConfigurableDatabase.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
+</div></div><span class="loading-content">Loading content...</span><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><h3 id="impl-ConfigurableDatabase-for-Tree" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for Tree</code><a href="#impl-ConfigurableDatabase-for-Tree" class="anchor"></a><a class="srclink" href="../../src/bdk/database/any.rs.html#341-347" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-1" class="type"><code>type <a href="#associatedtype.Config" class="type">Config</a> = <a class="struct" href="../../bdk/database/any/struct.SledDbConfiguration.html" title="struct bdk::database::any::SledDbConfiguration">SledDbConfiguration</a></code></h4><h4 id="method.from_config" class="method hidden"><code>fn <a href="#method.from_config" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/any.rs.html#344-346" title="goto source code">[src]</a></h4></div><span class="loading-content">Loading content...</span><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div class="item-list" id="implementors-list"><h3 id="impl-ConfigurableDatabase" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for <a class="enum" href="../../bdk/database/any/enum.AnyDatabase.html" title="enum bdk::database::any::AnyDatabase">AnyDatabase</a></code><a href="#impl-ConfigurableDatabase" class="anchor"></a><a class="srclink" href="../../src/bdk/database/any.rs.html#364-376" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-2" class="type"><code>type <a href="#associatedtype.Config-2" class="type">Config</a> = <a class="enum" href="../../bdk/database/any/enum.AnyDatabaseConfig.html" title="enum bdk::database::any::AnyDatabaseConfig">AnyDatabaseConfig</a></code></h4><h4 id="method.from_config-1" class="method hidden"><code>fn <a href="#method.from_config-1" class="fnname">from_config</a>(config: &amp;Self::<a class="type" href="../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/any.rs.html#367-375" title="goto source code">[src]</a></h4></div><h3 id="impl-ConfigurableDatabase-1" class="impl"><code class="in-band">impl <a class="trait" href="../../bdk/database/trait.ConfigurableDatabase.html" title="trait bdk::database::ConfigurableDatabase">ConfigurableDatabase</a> for <a class="struct" href="../../bdk/database/memory/struct.MemoryDatabase.html" title="struct bdk::database::memory::MemoryDatabase">MemoryDatabase</a></code><a href="#impl-ConfigurableDatabase-1" class="anchor"></a><a class="srclink" href="../../src/bdk/database/memory.rs.html#453-459" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="associatedtype.Config-3" class="type"><code>type <a href="#associatedtype.Config-3" class="type">Config</a> = <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a></code></h4><h4 id="method.from_config-2" class="method hidden"><code>fn <a href="#method.from_config-2" class="fnname">from_config</a>(_config: &amp;Self::<a class="type" href="../../bdk/database/trait.ConfigurableDatabase.html#associatedtype.Config" title="type bdk::database::ConfigurableDatabase::Config">Config</a>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Self, <a class="enum" href="../../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt;</code><a class="srclink" href="../../src/bdk/database/memory.rs.html#456-458" title="goto source code">[src]</a></h4></div></div><span class="loading-content">Loading content...</span><script type="text/javascript" src="../../implementors/bdk/database/trait.ConfigurableDatabase.js" async></script></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../../" data-current-crate="bdk"></div>
     <script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>
\ No newline at end of file
index 61a468f40716824e63d1eee2a2c8b1e98b54f6b6..a185654d64c4ddb8e104a27258238417f7e3be06 100644 (file)
@@ -108,7 +108,7 @@ explicit origin provided</p>
 </div></div><h3 id="impl-From%3CCompactFiltersError%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a>&gt; for <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a></code><a href="#impl-From%3CCompactFiltersError%3E" class="anchor"></a><a class="srclink" href="../src/bdk/error.rs.html#197-204" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-15" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(other: <a class="enum" href="../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a>) -&gt; Self</code><a class="srclink" href="../src/bdk/error.rs.html#198-203" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
 </div></div><h3 id="impl-From%3CError%3E" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../bdk/descriptor/error/enum.Error.html" title="enum bdk::descriptor::error::Error">Error</a>&gt; for <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a></code><a href="#impl-From%3CError%3E" class="anchor"></a><a class="srclink" href="../src/bdk/error.rs.html#165" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="enum" href="../bdk/descriptor/error/enum.Error.html" title="enum bdk::descriptor::error::Error">Error</a>) -&gt; Self</code><a class="srclink" href="../src/bdk/error.rs.html#165" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
 </div></div><h3 id="impl-From%3CError%3E-1" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a></code><a href="#impl-From%3CError%3E-1" class="anchor"></a><a class="srclink" href="../src/bdk/error.rs.html#181" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-5" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../src/bdk/error.rs.html#181" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
-</div></div><h3 id="impl-From%3CError%3E-10" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt; for <a class="enum" href="../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-10" class="anchor"></a><a class="srclink" href="../src/bdk/blockchain/compact_filters/mod.rs.html#577-581" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="impl-items"><h4 id="method.from-16" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a>) -&gt; Self</code><a class="srclink" href="../src/bdk/blockchain/compact_filters/mod.rs.html#578-580" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
+</div></div><h3 id="impl-From%3CError%3E-10" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a>&gt; for <a class="enum" href="../bdk/blockchain/compact_filters/enum.CompactFiltersError.html" title="enum bdk::blockchain::compact_filters::CompactFiltersError">CompactFiltersError</a></code><a href="#impl-From%3CError%3E-10" class="anchor"></a><a class="srclink" href="../src/bdk/blockchain/compact_filters/mod.rs.html#578-582" title="goto source code">[src]</a></h3><div class="item-info"><div class="stab portability">This is supported on <strong>crate feature <code>compact_filters</code></strong> only.</div></div><div class="impl-items"><h4 id="method.from-16" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a>) -&gt; Self</code><a class="srclink" href="../src/bdk/blockchain/compact_filters/mod.rs.html#579-581" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
 </div></div><h3 id="impl-From%3CError%3E-2" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a></code><a href="#impl-From%3CError%3E-2" class="anchor"></a><a class="srclink" href="../src/bdk/error.rs.html#182" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-6" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../src/bdk/error.rs.html#182" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
 </div></div><h3 id="impl-From%3CError%3E-3" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a></code><a href="#impl-From%3CError%3E-3" class="anchor"></a><a class="srclink" href="../src/bdk/error.rs.html#183" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-7" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../src/bdk/error.rs.html#183" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
 </div></div><h3 id="impl-From%3CError%3E-4" class="impl"><code class="in-band">impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;Error&gt; for <a class="enum" href="../bdk/enum.Error.html" title="enum bdk::Error">Error</a></code><a href="#impl-From%3CError%3E-4" class="anchor"></a><a class="srclink" href="../src/bdk/error.rs.html#184" title="goto source code">[src]</a></h3><div class="impl-items"><h4 id="method.from-8" class="method hidden"><code>fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fnname">from</a>(err: Error) -&gt; Self</code><a class="srclink" href="../src/bdk/error.rs.html#184" title="goto source code">[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
index 2d6a9073b9624b07bee2ddcc73ca747a3e589baf..90864292f333d781b64a6b5df0558a7a34c86e2e 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Get the version of BDK at runtime"><meta name="keywords" content="rust, rustlang, rust-lang, version"><title>bdk::version - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings"></script><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc fn"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../bdk/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="index.html">bdk</a></p><div id="sidebar-vars" data-name="version" data-ty="fn" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">bdk</a>::<wbr><a class="fn" href="">version</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/lib.rs.html#275-277" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn version() -&gt; &amp;'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></pre><div class="docblock"><p>Get the version of BDK at runtime</p>
+                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Function <a href="index.html">bdk</a>::<wbr><a class="fn" href="">version</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/lib.rs.html#274-276" title="goto source code">[src]</a></span></h1><pre class="rust fn">pub fn version() -&gt; &amp;'static <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></pre><div class="docblock"><p>Get the version of BDK at runtime</p>
 </div></section><section id="search" class="content hidden"></section><section class="footer"></section><div id="rustdoc-vars" data-root-path="../" data-current-crate="bdk"></div>
     <script src="../main.js"></script><script defer src="../search-index.js"></script></body></html>
\ No newline at end of file
index 01912d8cec8ba86f1ea4e31ccec1cb97e9eb0e65..78b3eb016e70a7fd5ff1f28177b61925419200f3 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="A modern, lightweight, descriptor-based wallet library written in Rust."><meta name="keywords" content="rust, rustlang, rust-lang, bdk"><title>bdk - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings"></script><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../bdk/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><p class="location">Crate bdk</p><div class="block version"><p>Version 0.4.1-dev</p></div><div class="sidebar-elems"><a id="all-types" href="all.html"><p>See all bdk's items</p></a><div class="block items"><ul><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li></ul></div><p class="location"></p><div id="sidebar-vars" data-name="bdk" data-ty="mod" data-relpath="../"></div></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="">bdk</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/lib.rs.html#26-277" title="goto source code">[src]</a></span></h1><div class="docblock"><p>A modern, lightweight, descriptor-based wallet library written in Rust.</p>
+                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Crate <a class="mod" href="">bdk</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/lib.rs.html#26-276" title="goto source code">[src]</a></span></h1><div class="docblock"><p>A modern, lightweight, descriptor-based wallet library written in Rust.</p>
 <h1 id="about" class="section-header"><a href="#about">About</a></h1>
 <p>The BDK library aims to be the core building block for Bitcoin wallets of any kind.</p>
 <ul>
index 5e70aa2a7e1e84d8995646b70a8f1c16ef8cc284..c5ce0b227dec87cb562162dda7e65ab0a2c66d71 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Macro to write full descriptors with code"><meta name="keywords" content="rust, rustlang, rust-lang, descriptor"><title>bdk::descriptor - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings"></script><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc macro"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../bdk/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="index.html">bdk</a></p><div id="sidebar-vars" data-name="descriptor" data-ty="macro" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Macro <a href="index.html">bdk</a>::<wbr><a class="macro" href="">descriptor</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/descriptor/dsl.rs.html#413-456" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><div class="example-wrap"><pre class="rust macro">
+                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Macro <a href="index.html">bdk</a>::<wbr><a class="macro" href="">descriptor</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/descriptor/dsl.rs.html#414-457" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><div class="example-wrap"><pre class="rust macro">
 <span class="macro">macro_rules</span><span class="macro">!</span> <span class="ident">descriptor</span> {
     ( <span class="ident">bare</span> ( $( <span class="macro-nonterminal">$</span><span class="macro-nonterminal">minisc</span>:<span class="ident">tt</span> )<span class="op">*</span> ) ) <span class="op">=</span><span class="op">&gt;</span> { ... };
     ( <span class="ident">sh</span> ( <span class="ident">wsh</span> ( $( <span class="macro-nonterminal">$</span><span class="macro-nonterminal">minisc</span>:<span class="ident">tt</span> )<span class="op">*</span> ) ) ) <span class="op">=</span><span class="op">&gt;</span> { ... };
index 0c93f6ad77e6219e34672a65bf911aa6d7e6f1d7..930e59babd28269109412dce36afaaf79e9eb60b 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Macro to write descriptor fragments with code"><meta name="keywords" content="rust, rustlang, rust-lang, fragment"><title>bdk::fragment - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../ayu.css" disabled ><script id="default-settings"></script><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc macro"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../bdk/index.html'><div class='logo-container rust-logo'><img src='../rust-logo.png' alt='logo'></div></a><div class="sidebar-elems"><p class="location"><a href="index.html">bdk</a></p><div id="sidebar-vars" data-name="fragment" data-ty="macro" data-relpath=""></div><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Macro <a href="index.html">bdk</a>::<wbr><a class="macro" href="">fragment</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/descriptor/dsl.rs.html#567-676" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><div class="example-wrap"><pre class="rust macro">
+                <a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Macro <a href="index.html">bdk</a>::<wbr><a class="macro" href="">fragment</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../src/bdk/descriptor/dsl.rs.html#568-678" title="goto source code">[src]</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><div class="example-wrap"><pre class="rust macro">
 <span class="macro">macro_rules</span><span class="macro">!</span> <span class="ident">fragment</span> {
     ( <span class="macro-nonterminal">$</span><span class="macro-nonterminal">modif</span>:<span class="ident">tt</span> : $( <span class="macro-nonterminal">$</span><span class="macro-nonterminal">tail</span>:<span class="ident">tt</span> )<span class="op">*</span> ) <span class="op">=</span><span class="op">&gt;</span> { ... };
     ( <span class="bool-val">true</span> ) <span class="op">=</span><span class="op">&gt;</span> { ... };
index 59fa7c00796fb488b53c6f613679c29ea8ed3d60..f8d5b50939bd7484875ca40ddbf0bed8972e1154 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Wallet"><meta name="keywords" content="rust, rustlang, rust-lang, wallet"><title>bdk::wallet - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../ayu.css" disabled ><script id="default-settings"></script><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../rust-logo.png' alt='logo'></div></a><p class="location">Module wallet</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../index.html">bdk</a></p><div id="sidebar-vars" data-name="wallet" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">bdk</a>::<wbr><a class="mod" href="">wallet</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/bdk/wallet/mod.rs.html#25-3453" title="goto source code">[src]</a></span></h1><div class="docblock"><p>Wallet</p>
+                <a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../index.html">bdk</a>::<wbr><a class="mod" href="">wallet</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../src/bdk/wallet/mod.rs.html#25-3456" title="goto source code">[src]</a></span></h1><div class="docblock"><p>Wallet</p>
 <p>This module defines the <a href="../../bdk/wallet/struct.Wallet.html" title="Wallet"><code>Wallet</code></a> structure.</p>
 </div><h2 id="modules" class="section-header"><a href="#modules">Modules</a></h2>
 <table><tr class="module-item"><td><a class="mod" href="address_validator/index.html" title="bdk::wallet::address_validator mod">address_validator</a></td><td class="docblock-short"><p>Address validation callbacks</p>
index f12590e8e1d107ebce13724ad6c08c91b2b30a4d..0de3189eb5726aaf35d7e1dee2ab0d05ed7575c9 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Generalized signers"><meta name="keywords" content="rust, rustlang, rust-lang, signer"><title>bdk::wallet::signer - Rust</title><link rel="stylesheet" type="text/css" href="../../../normalize.css"><link rel="stylesheet" type="text/css" href="../../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../../light.css"  id="themeStyle"><link rel="stylesheet" type="text/css" href="../../../dark.css" disabled ><link rel="stylesheet" type="text/css" href="../../../ayu.css" disabled ><script id="default-settings"></script><script src="../../../storage.js"></script><noscript><link rel="stylesheet" href="../../../noscript.css"></noscript><link rel="icon" type="image/svg+xml" href="../../../favicon.svg">
 <link rel="alternate icon" type="image/png" href="../../../favicon-16x16.png">
 <link rel="alternate icon" type="image/png" href="../../../favicon-32x32.png"><style type="text/css">#crate-search{background-image:url("../../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../../bdk/index.html'><div class='logo-container rust-logo'><img src='../../../rust-logo.png' alt='logo'></div></a><p class="location">Module signer</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li></ul></div><p class="location"><a href="../../index.html">bdk</a>::<wbr><a href="../index.html">wallet</a></p><div id="sidebar-vars" data-name="signer" data-ty="mod" data-relpath="../"></div><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!" aria-haspopup="menu"><img src="../../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices" role="menu"></div></div><script src="../../../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><button type="button" class="help-button">?</button>
-                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">wallet</a>::<wbr><a class="mod" href="">signer</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/wallet/signer.rs.html#25-700" title="goto source code">[src]</a></span></h1><div class="docblock"><p>Generalized signers</p>
+                <a id="settings-menu" href="../../../settings.html"><img src="../../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class="fqn"><span class="in-band">Module <a href="../../index.html">bdk</a>::<wbr><a href="../index.html">wallet</a>::<wbr><a class="mod" href="">signer</a></span><span class="out-of-band"><span id="render-detail"><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span><a class="srclink" href="../../../src/bdk/wallet/signer.rs.html#25-690" title="goto source code">[src]</a></span></h1><div class="docblock"><p>Generalized signers</p>
 <p>This module provides the ability to add customized signers to a <a href="../../../bdk/wallet/struct.Wallet.html"><code>Wallet</code></a>
 through the <a href="../../../bdk/wallet/struct.Wallet.html#method.add_signer"><code>Wallet::add_signer</code></a> function.</p>
 
index 8c39e7d1a071fd1d4f22e74aa9204ff928b59d5f..2b47263ddc1482224cdb158eeddd4eab7925869b 100644 (file)
@@ -1,4 +1,4 @@
 var searchIndex = JSON.parse('{\
-"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","i":[[0,"blockchain","bdk","Blockchain backends",null,null],[0,"any","bdk::blockchain","Runtime-checked blockchain types",null,null],[4,"AnyBlockchain","bdk::blockchain::any","Type that can contain any of the [<code>Blockchain</code>] types …",null,null],[13,"Electrum","","Electrum client",0,null],[13,"Esplora","","Esplora client",0,null],[13,"CompactFilters","","Compact filters client",0,null],[4,"AnyBlockchainConfig","","Type that can contain any of the blockchain …",null,null],[13,"Electrum","","Electrum client",1,null],[13,"Esplora","","Esplora client",1,null],[13,"CompactFilters","","Compact filters client",1,null],[0,"electrum","bdk::blockchain","Electrum",null,null],[3,"ElectrumBlockchain","bdk::blockchain::electrum","Wrapper over an Electrum Client that implements the …",null,null],[3,"ElectrumBlockchainConfig","","Configuration for an [<code>ElectrumBlockchain</code>]",null,null],[12,"url","","URL of the Electrum server (such as ElectrumX, Esplora, …",2,null],[12,"socks5","","URL of the socks5 proxy server or a Tor service",2,null],[12,"retry","","Request retry count",2,null],[12,"timeout","","Request timeout (seconds)",2,null],[0,"esplora","bdk::blockchain","Esplora",null,null],[3,"EsploraBlockchain","bdk::blockchain::esplora","Structure that implements the logic to sync with Esplora",null,null],[11,"new","","Create a new instance of the client from a base URL",3,[[["u8",15],["option",4],["str",15]]]],[3,"EsploraBlockchainConfig","","Configuration for an [<code>EsploraBlockchain</code>]",null,null],[12,"base_url","","Base URL of the esplora service",4,null],[12,"concurrency","","Number of parallel requests sent to the esplora service …",4,null],[4,"EsploraError","","Errors that can happen during a sync with […",null,null],[13,"Reqwest","","Error with the HTTP call",5,null],[13,"Parsing","","Invalid number returned",5,null],[13,"BitcoinEncoding","","Invalid Bitcoin data returned",5,null],[13,"Hex","","Invalid Hex data returned",5,null],[13,"TransactionNotFound","","Transaction not found",5,null],[13,"HeaderHeightNotFound","","Header height not found",5,null],[13,"HeaderHashNotFound","","Header hash not found",5,null],[0,"compact_filters","bdk::blockchain","Compact Filters",null,null],[3,"Mempool","bdk::blockchain::compact_filters","Container for unconfirmed, but valid Bitcoin transactions",null,null],[3,"Peer","","A Bitcoin peer",null,null],[3,"CompactFiltersBlockchain","","Structure implementing the required blockchain traits",null,null],[11,"new","","Construct a new instance given a list of peers, a path to …",6,[[["peer",3],["asref",8],["usize",15],["path",3],["option",4],["vec",3]],[["compactfilterserror",4],["result",4]]]],[3,"BitcoinPeerConfig","","Data to connect to a Bitcoin P2P peer",null,null],[12,"address","","Peer address such as 127.0.0.1:18333",7,null],[12,"socks5","","Optional socks5 proxy",7,null],[12,"socks5_credentials","","Optional socks5 proxy credentials",7,null],[3,"CompactFiltersBlockchainConfig","","Configuration for a [<code>CompactFiltersBlockchain</code>]",null,null],[12,"peers","","List of peers to try to connect to for asking headers and …",8,null],[12,"network","","Network used",8,null],[12,"storage_dir","","Storage dir to save partially downloaded headers and full …",8,null],[12,"skip_blocks","","Optionally skip initial <code>skip_blocks</code> blocks (default: 0)",8,null],[4,"CompactFiltersError","","An error that can occur during sync with a […",null,null],[13,"InvalidResponse","","A peer sent an invalid or unexpected response",9,null],[13,"InvalidHeaders","","The headers returned are invalid",9,null],[13,"InvalidFilterHeader","","The compact filter headers returned are invalid",9,null],[13,"InvalidFilter","","The compact filter returned is invalid",9,null],[13,"MissingBlock","","The peer is missing a block in the valid chain",9,null],[13,"DataCorruption","","The data stored in the block filters storage are corrupted",9,null],[13,"NotConnected","","A peer is not connected",9,null],[13,"Timeout","","A peer took too long to reply to one of our messages",9,null],[13,"PeerBloomDisabled","","The peer doesn’t advertise the <code>BLOOM</code> service flag",9,null],[13,"NoPeers","","No peers have been specified",9,null],[13,"DB","","Internal database error",9,null],[13,"IO","","Internal I/O error",9,null],[13,"BIP158","","Invalid BIP158 filter",9,null],[13,"Time","","Internal system time error",9,null],[13,"Global","","Wrapper for [<code>crate::error::Error</code>]",9,null],[4,"Capability","bdk::blockchain","Capabilities that can be supported by a [<code>Blockchain</code>] …",null,null],[13,"FullHistory","","Can recover the full history of a wallet and not only the …",10,null],[13,"GetAnyTx","","Can fetch any historical transaction given its txid",10,null],[13,"AccurateFees","","Can compute accurate fees for the transactions found …",10,null],[8,"Blockchain","","Trait that defines the actions that must be supported by …",null,null],[10,"get_capabilities","","Return the set of [<code>Capability</code>] supported by this backend",11,[[],[["hashset",3],["capability",4]]]],[10,"setup","","Setup the backend and populate the internal database for …",11,[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]]],[11,"sync","","Populate the internal database with transactions and UTXOs",11,[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]]],[10,"get_tx","","Fetch a transaction from the blockchain given its txid",11,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[10,"broadcast","","Broadcast a transaction",11,[[["transaction",3]],[["error",4],["result",4]]]],[10,"get_height","","Return the current height",11,[[],[["u32",15],["error",4],["result",4]]]],[10,"estimate_fee","","Estimate the fee rate required to confirm a transaction …",11,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[8,"ConfigurableBlockchain","","Trait for [<code>Blockchain</code>] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",12,null],[10,"from_config","","Create a new instance given a configuration",12,[[],[["error",4],["result",4]]]],[6,"ProgressData","","Data sent with a progress update over a [<code>channel</code>]",null,null],[8,"Progress","","Trait for types that can receive and process progress …",null,null],[10,"update","","Send a new progress update",13,[[["string",3],["f32",15],["option",4]],[["error",4],["result",4]]]],[5,"progress","","Shortcut to create a [<code>channel</code>] (pair of [<code>Sender</code>] and […",null,[[]]],[3,"NoopProgress","","Type that implements [<code>Progress</code>] and drops every update …",null,null],[5,"noop_progress","","Create a new instance of [<code>NoopProgress</code>]",null,[[],["noopprogress",3]]],[3,"LogProgress","","Type that implements [<code>Progress</code>] and logs at level <code>INFO</code> …",null,null],[5,"log_progress","","Create a nwe instance of [<code>LogProgress</code>]",null,[[],["logprogress",3]]],[0,"database","bdk","Database types",null,null],[0,"any","bdk::database","Runtime-checked database types",null,null],[4,"AnyDatabase","bdk::database::any","Type that can contain any of the [<code>Database</code>] types defined …",null,null],[13,"Memory","","In-memory ephemeral database",14,null],[13,"Sled","","Simple key-value embedded database based on [<code>sled</code>]",14,null],[4,"AnyBatch","","Type that contains any of the [<code>BatchDatabase::Batch</code>] …",null,null],[13,"Memory","","In-memory ephemeral database",15,null],[13,"Sled","","Simple key-value embedded database based on [<code>sled</code>]",15,null],[3,"SledDbConfiguration","","Configuration type for a [<code>sled::Tree</code>] database",null,null],[12,"path","","Main directory of the db",16,null],[12,"tree_name","","Name of the database tree, a separated namespace for the …",16,null],[4,"AnyDatabaseConfig","","Type that can contain any of the database configurations …",null,null],[13,"Memory","","Memory database has no config",17,null],[13,"Sled","","Simple key-value embedded database based on [<code>sled</code>]",17,null],[0,"memory","bdk::database","In-memory ephemeral database",null,null],[3,"MemoryDatabase","bdk::database::memory","In-memory ephemeral database",null,null],[11,"new","","Create a new empty database",18,[[]]],[8,"BatchOperations","bdk::database","Trait for operations that can be batched",null,null],[10,"set_script_pubkey","","Store a script_pubkey along with its keychain and child …",19,[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]]],[10,"set_utxo","","Store a [<code>LocalUtxo</code>]",19,[[["localutxo",3]],[["error",4],["result",4]]]],[10,"set_raw_tx","","Store a raw transaction",19,[[["transaction",3]],[["error",4],["result",4]]]],[10,"set_tx","","Store the metadata of a transaction",19,[[["transactiondetails",3]],[["error",4],["result",4]]]],[10,"set_last_index","","Store the last derivation index for a given keychain.",19,[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]]],[10,"del_script_pubkey_from_path","","Delete a script_pubkey given the keychain and its child …",19,[[["keychainkind",4],["u32",15]],[["option",4],["error",4],["result",4]]]],[10,"del_path_from_script_pubkey","","Delete the data related to a specific script_pubkey, …",19,[[["script",3]],[["result",4],["error",4],["option",4]]]],[10,"del_utxo","","Delete a [<code>LocalUtxo</code>] given its [<code>OutPoint</code>]",19,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[10,"del_raw_tx","","Delete a raw transaction given its [<code>Txid</code>]",19,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[10,"del_tx","","Delete the metadata of a transaction and optionally the …",19,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[10,"del_last_index","","Delete the last derivation index for a keychain.",19,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[8,"Database","","Trait for reading data from a database",null,null],[10,"check_descriptor_checksum","","Read and checks the descriptor checksum for a given …",20,[[["keychainkind",4],["asref",8]],[["error",4],["result",4]]]],[10,"iter_script_pubkeys","","Return the list of script_pubkeys",20,[[["keychainkind",4],["option",4]],[["error",4],["result",4],["vec",3]]]],[10,"iter_utxos","","Return the list of [<code>LocalUtxo</code>]s",20,[[],[["error",4],["result",4],["vec",3]]]],[10,"iter_raw_txs","","Return the list of raw transactions",20,[[],[["error",4],["result",4],["vec",3]]]],[10,"iter_txs","","Return the list of transactions metadata",20,[[["bool",15]],[["result",4],["vec",3],["error",4]]]],[10,"get_script_pubkey_from_path","","Fetch a script_pubkey given the child number of a …",20,[[["keychainkind",4],["u32",15]],[["option",4],["error",4],["result",4]]]],[10,"get_path_from_script_pubkey","","Fetch the keychain and child number of a given …",20,[[["script",3]],[["result",4],["error",4],["option",4]]]],[10,"get_utxo","","Fetch a [<code>LocalUtxo</code>] given its [<code>OutPoint</code>]",20,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[10,"get_raw_tx","","Fetch a raw transaction given its [<code>Txid</code>]",20,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[10,"get_tx","","Fetch the transaction metadata and optionally also the …",20,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[10,"get_last_index","","Return the last defivation index for a keychain.",20,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[10,"increment_last_index","","Increment the last derivation index for a keychain and …",20,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[8,"BatchDatabase","","Trait for a database that supports batch operations",null,null],[16,"Batch","","Container for the operations",21,null],[10,"begin_batch","","Create a new batch container",21,[[]]],[10,"commit_batch","","Consume and apply a batch of operations",21,[[],[["error",4],["result",4]]]],[8,"ConfigurableDatabase","","Trait for [<code>Database</code>] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",22,null],[10,"from_config","","Create a new instance given a configuration",22,[[],[["error",4],["result",4]]]],[0,"descriptor","bdk","Descriptors",null,null],[0,"checksum","bdk::descriptor","Descriptor checksum",null,null],[5,"get_checksum","bdk::descriptor::checksum","Compute the checksum of a descriptor",null,[[["str",15]],[["string",3],["descriptorerror",4],["result",4]]]],[0,"error","bdk::descriptor","Descriptor errors",null,null],[4,"Error","bdk::descriptor::error","Errors related to the parsing and usage of descriptors",null,null],[13,"InvalidHDKeyPath","","Invalid HD Key path, such as having a wildcard but a …",23,null],[13,"InvalidDescriptorChecksum","","The provided descriptor doesn’t match its checksum",23,null],[13,"HardenedDerivationXpub","","The descriptor contains hardened derivation steps on …",23,null],[13,"DuplicatedKeys","","The descriptor contains multiple keys with the same BIP32 …",23,null],[13,"Key","","Error thrown while working with <code>keys</code>",23,null],[13,"Policy","","Error while extracting and manipulating policies",23,null],[13,"InvalidDescriptorCharacter","","Invalid character found in the descriptor checksum",23,null],[13,"BIP32","","BIP32 error",23,null],[13,"Base58","","Error during base58 decoding",23,null],[13,"PK","","Key-related error",23,null],[13,"Miniscript","","Miniscript error",23,null],[13,"Hex","","Hex decoding error",23,null],[0,"policy","bdk::descriptor","Descriptor policy",null,null],[3,"PKOrF","bdk::descriptor::policy","Raw public key or extended key fingerprint",null,null],[4,"SatisfiableItem","","An item that needs to be satisfied",null,null],[13,"Signature","","Signature for a raw public key",24,null],[13,"SignatureKey","","Signature for an extended key fingerprint",24,null],[13,"SHA256Preimage","","SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",25,null],[13,"HASH256Preimage","bdk::descriptor::policy","Double SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",26,null],[13,"RIPEMD160Preimage","bdk::descriptor::policy","RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",27,null],[13,"HASH160Preimage","bdk::descriptor::policy","SHA256 then RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",28,null],[13,"AbsoluteTimelock","bdk::descriptor::policy","Absolute timeclock timestamp",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The timestamp value",29,null],[13,"RelativeTimelock","bdk::descriptor::policy","Relative timelock locktime",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The locktime value",30,null],[13,"Multisig","bdk::descriptor::policy","Multi-signature public keys with threshold count",24,null],[12,"keys","bdk::descriptor::policy::SatisfiableItem","The raw public key or extended key fingerprint",31,null],[12,"threshold","","The required threshold count",31,null],[13,"Thresh","bdk::descriptor::policy","Threshold items with threshold count",24,null],[12,"items","bdk::descriptor::policy::SatisfiableItem","The policy items",32,null],[12,"threshold","","The required threshold count",32,null],[11,"is_leaf","bdk::descriptor::policy","Returns whether the [<code>SatisfiableItem</code>] is a leaf item",24,[[],["bool",15]]],[11,"id","","Returns a unique id for the [<code>SatisfiableItem</code>]",24,[[],["string",3]]],[6,"ConditionMap","","Type for a map of sets of [<code>Condition</code>] items keyed by each …",null,null],[6,"FoldedConditionMap","","Type for a map of folded sets of [<code>Condition</code>] items keyed …",null,null],[4,"Satisfaction","","Represent if and how much a policy item is satisfied by …",null,null],[13,"Partial","","Only a partial satisfaction of some kind of threshold …",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",34,null],[12,"m","","Threshold",34,null],[12,"items","","The items that can be satisfied by the descriptor",34,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",34,null],[12,"conditions","","Extra conditions that also need to be satisfied",34,null],[13,"PartialComplete","bdk::descriptor::policy","Can reach the threshold of some kind of threshold policy",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",35,null],[12,"m","","Threshold",35,null],[12,"items","","The items that can be satisfied by the descriptor",35,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",35,null],[12,"conditions","","Extra conditions that also need to be satisfied",35,null],[13,"Complete","bdk::descriptor::policy","Can satisfy the policy item",33,null],[12,"condition","bdk::descriptor::policy::Satisfaction","Extra conditions that also need to be satisfied",36,null],[13,"None","bdk::descriptor::policy","Cannot satisfy or contribute to the policy item",33,null],[11,"is_leaf","","Returns whether the [<code>Satisfaction</code>] is a leaf item",33,[[],["bool",15]]],[3,"Policy","","Descriptor spending policy",null,null],[12,"id","","Identifier for this policy node",37,null],[12,"item","","Type of this policy node",37,null],[12,"satisfaction","","How a much given PSBT already satisfies this polcy node <strong>…",37,null],[12,"contribution","","How the wallet’s descriptor can satisfy this policy node",37,null],[3,"Condition","","An extra condition that must be satisfied but that is out …",null,null],[12,"csv","","Optional CheckSequenceVerify condition",38,null],[12,"timelock","","Optional timelock condition",38,null],[11,"is_null","","Returns <code>true</code> if there are no extra conditions to verify",38,[[],["bool",15]]],[4,"PolicyError","","Errors that can happen while extracting and manipulating …",null,null],[13,"NotEnoughItemsSelected","","Not enough items are selected to satisfy a […",39,null],[13,"IndexOutOfRange","","Index out of range for an item to satisfy a […",39,null],[13,"AddOnLeaf","","Can not add to an item that is [<code>Satisfaction::None</code>] or […",39,null],[13,"AddOnPartialComplete","","Can not add to an item that is […",39,null],[13,"MixedTimelockUnits","","Can not merge CSV or timelock values unless both are less …",39,null],[13,"IncompatibleConditions","","Incompatible conditions (not currently used)",39,null],[11,"requires_path","","Return whether or not a specific path in the policy tree …",37,[[],["bool",15]]],[11,"get_condition","","Return the conditions that are set by the spending policy …",37,[[["btreemap",3]],[["policyerror",4],["condition",3],["result",4]]]],[0,"template","bdk::descriptor","Descriptor templates",null,null],[6,"DescriptorTemplateOut","bdk::descriptor::template","Type alias for the return type of [<code>DescriptorTemplate</code>], …",null,null],[8,"DescriptorTemplate","","Trait for descriptor templates that can be built into a …",null,null],[10,"build","","Build the complete descriptor",40,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[3,"P2PKH","","P2PKH template. Expands to a descriptor <code>pkh(key)</code>",null,null],[12,"0","","",41,null],[3,"P2WPKH_P2SH","","P2WPKH-P2SH template. Expands to a descriptor …",null,null],[12,"0","","",42,null],[3,"P2WPKH","","P2WPKH template. Expands to a descriptor <code>wpkh(key)</code>",null,null],[12,"0","","",43,null],[3,"BIP44","","BIP44 template. Expands to <code>pkh(key/44\'/0\'/0\'/{0,1}/*)</code>",null,null],[12,"0","","",44,null],[12,"1","","",44,null],[3,"BIP44Public","","BIP44 public template. Expands to <code>pkh(key/{0,1}/*)</code>",null,null],[12,"0","","",45,null],[12,"1","","",45,null],[12,"2","","",45,null],[3,"BIP49","","BIP49 template. Expands to <code>sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))</code>",null,null],[12,"0","","",46,null],[12,"1","","",46,null],[3,"BIP49Public","","BIP49 public template. Expands to <code>sh(wpkh(key/{0,1}/*))</code>",null,null],[12,"0","","",47,null],[12,"1","","",47,null],[12,"2","","",47,null],[3,"BIP84","","BIP84 template. Expands to <code>wpkh(key/84\'/0\'/0\'/{0,1}/*)</code>",null,null],[12,"0","","",48,null],[12,"1","","",48,null],[3,"BIP84Public","","BIP84 public template. Expands to <code>wpkh(key/{0,1}/*)</code>",null,null],[12,"0","","",49,null],[12,"1","","",49,null],[12,"2","","",49,null],[6,"KeyMap","bdk::descriptor","Alias type for a map of public key to secret key",null,null],[4,"Descriptor","","Script descriptor",null,null],[13,"Bare","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …",50,null],[13,"Pkh","","Pay-to-PubKey-Hash",50,null],[13,"Wpkh","","Pay-to-Witness-PubKey-Hash",50,null],[13,"Sh","","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)",50,null],[13,"Wsh","","Pay-to-Witness-ScriptHash with Segwitv0 context",50,null],[4,"Legacy","","Legacy ScriptContext To be used as P2SH scripts For …",null,null],[3,"Miniscript","","Top-level script AST type",null,null],[12,"node","","A node in the Abstract Syntax Tree(",51,null],[12,"ty","","The correctness and malleability type information for the …",51,null],[12,"ext","","Additional information helpful for extra analysis.",51,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[4,"Segwitv0","","Segwitv0 ScriptContext",null,null],[3,"DerivedDescriptorKey","","Extended [<code>DescriptorPublicKey</code>] that has been derived",null,null],[6,"ExtendedDescriptor","","Alias for a [<code>Descriptor</code>] that can contain extended keys …",null,null],[6,"DerivedDescriptor","","Alias for a [<code>Descriptor</code>] that contains extended <strong>derived</strong> …",null,null],[6,"HDKeyPaths","","Alias for the type of maps that represent derivation …",null,null],[8,"IntoWalletDescriptor","","Trait for types which can be converted into an […",null,null],[10,"into_wallet_descriptor","","Convert to wallet descriptor",53,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[8,"ExtractPolicy","","Trait implemented on [<code>Descriptor</code>]s to add a method to …",null,null],[10,"extract_policy","","Extract the spending [<code>policy</code>]",54,[[["signerscontainer",3],["secp256k1",3]],[["option",4],["result",4],["descriptorerror",4]]]],[0,"keys","bdk","Key formats",null,null],[0,"bip39","bdk::keys","BIP-0039",null,null],[4,"Language","bdk::keys::bip39","The language determines which words will be used in a …",null,null],[13,"English","","",55,null],[13,"ChineseSimplified","","",55,null],[13,"ChineseTraditional","","",55,null],[13,"French","","",55,null],[13,"Italian","","",55,null],[13,"Japanese","","",55,null],[13,"Korean","","",55,null],[13,"Spanish","","",55,null],[3,"Mnemonic","","The primary type in this crate, most tasks require …",null,null],[4,"MnemonicType","","Determines the number of words that will be present in a …",null,null],[13,"Words12","","",56,null],[13,"Words15","","",56,null],[13,"Words18","","",56,null],[13,"Words21","","",56,null],[13,"Words24","","",56,null],[3,"Seed","","The secret value used to derive HD wallet addresses from …",null,null],[6,"MnemonicWithPassphrase","","Type for a BIP39 mnemonic with an optional passphrase",null,null],[4,"DescriptorPublicKey","bdk::keys","The MiniscriptKey corresponding to Descriptors. This can …",null,null],[13,"SinglePub","","Single Public Key",57,null],[13,"XPub","","Xpub",57,null],[4,"DescriptorSecretKey","","A Secret Key that can be either a single key or an Xprv",null,null],[13,"SinglePriv","","Single Secret Key",58,null],[13,"XPrv","","Xprv",58,null],[3,"DescriptorSinglePriv","","A Single Descriptor Secret Key with optional origin …",null,null],[12,"origin","","Origin information",59,null],[12,"key","","The key",59,null],[3,"DescriptorSinglePub","","A Single Descriptor Key with optional origin information",null,null],[12,"origin","","Origin information",60,null],[12,"key","","The key",60,null],[6,"KeyMap","","Alias type for a map of public key to secret key",null,null],[3,"SortedMultiVec","","Contents of a “sortedmulti” descriptor",null,null],[12,"k","","signatures required",61,null],[12,"pks","","public keys inside sorted Multi",61,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[6,"ValidNetworks","","Set of valid networks for a key",null,null],[5,"any_network","","Create a set containing mainnet, testnet and regtest",null,[[],["validnetworks",6]]],[5,"mainnet_network","","Create a set only containing mainnet",null,[[],["validnetworks",6]]],[5,"test_networks","","Create a set containing testnet and regtest",null,[[],["validnetworks",6]]],[5,"merge_networks","","Compute the intersection of two sets",null,[[["validnetworks",6]],["validnetworks",6]]],[4,"DescriptorKey","","Container for public or secret keys",null,null],[11,"from_public","","Create an instance given a public key and a set of valid …",62,[[["validnetworks",6],["descriptorpublickey",4]]]],[11,"from_secret","","Create an instance given a secret key and a set of valid …",62,[[["descriptorsecretkey",4],["validnetworks",6]]]],[11,"override_valid_networks","","Override the computed set of valid networks",62,[[["validnetworks",6]]]],[4,"ScriptContextEnum","","Enum representation of the known valid [<code>ScriptContext</code>]s",null,null],[13,"Legacy","","Legacy scripts",63,null],[13,"Segwitv0","","Segwitv0 scripts",63,null],[11,"is_legacy","","Returns whether the script context is […",63,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is […",63,[[],["bool",15]]],[8,"ExtScriptContext","","Trait that adds extra useful methods to [<code>ScriptContext</code>]s",null,null],[10,"as_enum","","Returns the [<code>ScriptContext</code>] as a [<code>ScriptContextEnum</code>]",64,[[],["scriptcontextenum",4]]],[11,"is_legacy","","Returns whether the script context is <code>Legacy</code>",64,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is <code>Segwitv0</code>",64,[[],["bool",15]]],[8,"IntoDescriptorKey","","Trait for objects that can be turned into a public or …",null,null],[10,"into_descriptor_key","","Turn the key into a [<code>DescriptorKey</code>] within the requested […",65,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[4,"ExtendedKey","","Enum for extended keys that can be either <code>xprv</code> or <code>xpub</code>",null,null],[13,"Private","","A private extended key, aka an <code>xprv</code>",66,null],[13,"Public","","A public extended key, aka an <code>xpub</code>",66,null],[11,"has_secret","","Return whether or not the key contains the private data",66,[[],["bool",15]]],[11,"into_xprv","","Transform the [<code>ExtendedKey</code>] into an <code>ExtendedPrivKey</code> for …",66,[[["network",4]],[["extendedprivkey",3],["option",4]]]],[11,"into_xpub","","Transform the [<code>ExtendedKey</code>] into an <code>ExtendedPubKey</code> for the…",66,[[["network",4],["secp256k1",3]],["extendedpubkey",3]]],[8,"DerivableKey","","Trait for keys that can be derived.",null,null],[10,"into_extended_key","","Consume <code>self</code> and turn it into an [<code>ExtendedKey</code>]",67,[[],[["result",4],["keyerror",4],["extendedkey",4]]]],[11,"into_descriptor_key","","Consume <code>self</code> and turn it into a [<code>DescriptorKey</code>] by adding …",67,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[3,"GeneratedKey","","Output of a [<code>GeneratableKey</code>] key generation",null,null],[11,"into_key","","Consumes <code>self</code> and returns the key",68,[[]]],[8,"GeneratableKey","","Trait for keys that can be generated",null,null],[16,"Entropy","","Type specifying the amount of entropy required e.g. …",69,null],[16,"Options","","Extra options required by the <code>generate_with_entropy</code>",69,null],[16,"Error","","Returned error in case of failure",69,null],[10,"generate_with_entropy","","Generate a key given the extra options and the entropy",69,[[],[["result",4],["generatedkey",3]]]],[11,"generate","","Generate a key given the options with a random entropy",69,[[],[["result",4],["generatedkey",3]]]],[8,"GeneratableDefaultOptions","","Trait that allows generating a key with the default …",null,null],[11,"generate_with_entropy_default","","Generate a key with the default options and a given …",70,[[],[["result",4],["generatedkey",3]]]],[11,"generate_default","","Generate a key with the default options and a random …",70,[[],[["result",4],["generatedkey",3]]]],[3,"PrivateKeyGenerateOptions","","Options for generating a [<code>PrivateKey</code>]",null,null],[12,"compressed","","Whether the generated key should be “compressed” or …",71,null],[4,"KeyError","","Errors thrown while working with <code>keys</code>",null,null],[13,"InvalidScriptContext","","The key cannot exist in the given script context",72,null],[13,"InvalidNetwork","","The key is not valid for the given network",72,null],[13,"InvalidChecksum","","The key has an invalid checksum",72,null],[13,"Message","","Custom error message",72,null],[13,"BIP32","","BIP32 error",72,null],[13,"Miniscript","","Miniscript error",72,null],[0,"wallet","bdk","Wallet",null,null],[0,"address_validator","bdk::wallet","Address validation callbacks",null,null],[4,"AddressValidatorError","bdk::wallet::address_validator","Errors that can be returned to fail the validation of an …",null,null],[13,"UserRejected","","User rejected the address",73,null],[13,"ConnectionError","","Network connection error",73,null],[13,"TimeoutError","","Network request timeout error",73,null],[13,"InvalidScript","","Invalid script",73,null],[13,"Message","","A custom error message",73,null],[8,"AddressValidator","","Trait to build address validators",null,null],[10,"validate","","Validate or inspect an address",74,[[["keychainkind",4],["hdkeypaths",6],["script",3]],[["result",4],["addressvalidatorerror",4]]]],[0,"coin_selection","bdk::wallet","Coin selection",null,null],[6,"DefaultCoinSelectionAlgorithm","bdk::wallet::coin_selection","Default coin selection algorithm used by <code>TxBuilder</code> if not …",null,null],[3,"CoinSelectionResult","","Result of a successful coin selection",null,null],[12,"selected","","List of outputs selected for use as inputs",75,null],[12,"fee_amount","","Total fee amount in satoshi",75,null],[11,"selected_amount","","The total value of the inputs selected.",75,[[],["u64",15]]],[11,"local_selected_amount","","The total value of the inputs selected from the local …",75,[[],["u64",15]]],[8,"CoinSelectionAlgorithm","","Trait for generalized coin selection algorithms",null,null],[10,"coin_select","","Perform the coin selection",76,[[["f32",15],["vec",3],["feerate",3],["weightedutxo",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]]],[3,"LargestFirstCoinSelection","","Simple and dumb coin selection",null,null],[3,"BranchAndBoundCoinSelection","","Branch and bound coin selection",null,null],[11,"new","","Create new instance with target size for change output",77,[[["u64",15]]]],[0,"export","bdk::wallet","Wallet export",null,null],[3,"WalletExport","bdk::wallet::export","Structure that contains the export of a wallet",null,null],[12,"blockheight","","Earliest block to rescan when looking for the wallet’s …",78,null],[12,"label","","Arbitrary label for the wallet",78,null],[11,"export_wallet","","Export a wallet",78,[[["bool",15],["wallet",3],["str",15]],[["str",15],["result",4]]]],[11,"descriptor","","Return the external descriptor",78,[[],["string",3]]],[11,"change_descriptor","","Return the internal descriptor, if present",78,[[],[["string",3],["option",4]]]],[0,"signer","bdk::wallet","Generalized signers",null,null],[4,"SignerId","bdk::wallet::signer","Identifier of a signer in the <code>SignersContainers</code>. Used as …",null,null],[13,"PkHash","","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …",79,null],[13,"Fingerprint","","The fingerprint of a BIP32 extended key",79,null],[13,"Dummy","","Dummy identifier",79,null],[4,"SignerError","","Signing error",null,null],[13,"MissingKey","","The private key is missing for the required public key",80,null],[13,"InvalidKey","","The private key in use has the right fingerprint but …",80,null],[13,"UserCanceled","","The user canceled the operation",80,null],[13,"InputIndexOutOfRange","","Input index is out of range",80,null],[13,"MissingNonWitnessUtxo","","The <code>non_witness_utxo</code> field of the transaction is required …",80,null],[13,"InvalidNonWitnessUtxo","","The <code>non_witness_utxo</code> specified is invalid",80,null],[13,"MissingWitnessUtxo","","The <code>witness_utxo</code> field of the transaction is required to …",80,null],[13,"MissingWitnessScript","","The <code>witness_script</code> field of the transaction is requied to …",80,null],[13,"MissingHDKeypath","","The fingerprint and derivation path are missing from the …",80,null],[8,"Signer","","Trait for signers",null,null],[10,"sign","","Sign a PSBT",81,[[["usize",15],["secp256k1",3],["option",4],["partiallysignedtransaction",3]],[["result",4],["signererror",4]]]],[10,"sign_whole_tx","","Return whether or not the signer signs the whole …",81,[[],["bool",15]]],[10,"id","","Return the [<code>SignerId</code>] for this signer",81,[[["secp256k1",3]],["signerid",4]]],[11,"descriptor_secret_key","","Return the secret key for the signer",81,[[],[["descriptorsecretkey",4],["option",4]]]],[3,"SignerOrdering","","Defines the order in which signers are called",null,null],[12,"0","","",82,null],[3,"SignersContainer","","Container for multiple signers",null,null],[11,"as_key_map","","Create a map of public keys to secret keys",83,[[["secp256k1",3]],["keymap",6]]],[11,"new","","Default constructor",83,[[]]],[11,"add_external","","Adds an external signer to the container for the …",83,[[["signer",8],["signerordering",3],["arc",3],["signerid",4]],[["option",4],["arc",3]]]],[11,"remove","","Removes a signer from the container and returns it",83,[[["signerid",4],["signerordering",3]],[["option",4],["arc",3]]]],[11,"ids","","Returns the list of identifiers of all the signers in the …",83,[[],[["signerid",4],["vec",3]]]],[11,"signers","","Returns the list of signers in the container, sorted by …",83,[[],[["vec",3],["arc",3]]]],[11,"find","","Finds the signer with lowest ordering for a given id in …",83,[[["signerid",4]],[["option",4],["arc",3]]]],[0,"time","bdk::wallet","Cross-platform time",null,null],[5,"get_timestamp","bdk::wallet::time","Return the current timestamp in seconds",null,[[],["u64",15]]],[0,"tx_builder","bdk::wallet","Transaction builder",null,null],[8,"TxBuilderContext","bdk::wallet::tx_builder","Context in which the [<code>TxBuilder</code>] is valid",null,null],[3,"CreateTx","","Marker type to indicate the [<code>TxBuilder</code>] is being used to …",null,null],[3,"BumpFee","","Marker type to indicate the [<code>TxBuilder</code>] is being used to …",null,null],[3,"TxBuilder","","A transaction builder",null,null],[11,"fee_rate","","Set a custom fee rate",84,[[["feerate",3]]]],[11,"fee_absolute","","Set an absolute fee",84,[[["u64",15]]]],[11,"policy_path","","Set the policy path to use while creating the transaction …",84,[[["string",3],["vec",3],["keychainkind",4],["btreemap",3]]]],[11,"add_utxos","","Add the list of outpoints to the internal list of UTXOs …",84,[[],[["result",4],["error",4]]]],[11,"add_utxo","","Add a utxo to the internal list of utxos that <strong>must</strong> be …",84,[[["outpoint",3]],[["result",4],["error",4]]]],[11,"add_foreign_utxo","","Add a foreign UTXO i.e. a UTXO not owned by this wallet.",84,[[["usize",15],["outpoint",3],["input",3]],[["result",4],["error",4]]]],[11,"manually_selected_only","","Only spend utxos added by <code>add_utxo</code>.",84,[[]]],[11,"unspendable","","Replace the internal list of unspendable utxos with a new …",84,[[["outpoint",3],["vec",3]]]],[11,"add_unspendable","","Add a utxo to the internal list of unspendable utxos",84,[[["outpoint",3]]]],[11,"sighash","","Sign with a specific sig hash",84,[[["sighashtype",4]]]],[11,"ordering","","Choose the ordering for inputs and outputs of the …",84,[[["txordering",4]]]],[11,"nlocktime","","Use a specific nLockTime while creating the transaction",84,[[["u32",15]]]],[11,"version","","Build a transaction with a specific version",84,[[["i32",15]]]],[11,"do_not_spend_change","","Do not spend change outputs",84,[[]]],[11,"only_spend_change","","Only spend change outputs",84,[[]]],[11,"change_policy","","Set a specific [<code>ChangeSpendPolicy</code>]. See […",84,[[["changespendpolicy",4]]]],[11,"force_non_witness_utxo","","Fill-in the <code>psbt::Input::non_witness_utxo</code> field even if …",84,[[]]],[11,"include_output_redeem_witness_script","","Fill-in the <code>psbt::Output::redeem_script</code> and …",84,[[]]],[11,"add_global_xpubs","","Fill-in the <code>PSBT_GLOBAL_XPUB</code> field with the extended keys …",84,[[]]],[11,"drain_wallet","","Spend all the available inputs. This respects filters …",84,[[]]],[11,"coin_selection","","Choose the coin selection algorithm",84,[[["coinselectionalgorithm",8]],[["txbuilder",3],["coinselectionalgorithm",8]]]],[11,"finish","","Finish the building the transaction.",84,[[],[["error",4],["result",4]]]],[11,"set_recipients","","Replace the recipients already added with a new list",84,[[["vec",3]]]],[11,"add_recipient","","Add a recipient to the internal list",84,[[["u64",15],["script",3]]]],[11,"set_single_recipient","","Set a single recipient that will get all the selected …",84,[[["script",3]]]],[11,"enable_rbf","","Enable signaling RBF",84,[[]]],[11,"enable_rbf_with_sequence","","Enable signaling RBF with a specific nSequence value",84,[[["u32",15]]]],[11,"maintain_single_recipient","","Bump the fees of a transaction made with …",84,[[],[["result",4],["error",4]]]],[4,"TxOrdering","","Ordering of the transaction’s inputs and outputs",null,null],[13,"Shuffle","","Randomized (default)",85,null],[13,"Untouched","","Unchanged",85,null],[13,"BIP69Lexicographic","","BIP69 / Lexicographic",85,null],[11,"sort_tx","","Sort transaction inputs and outputs by [<code>TxOrdering</code>] …",85,[[["transaction",3]]]],[4,"ChangeSpendPolicy","","Policy regarding the use of change outputs when creating …",null,null],[13,"ChangeAllowed","","Use both change and non-change outputs (default)",86,null],[13,"OnlyChange","","Only use change outputs (see [<code>TxBuilder::only_spend_change</code>…",86,null],[13,"ChangeForbidden","","Only use non-change outputs (see […",86,null],[8,"IsDust","bdk::wallet","Trait to check if a value is below the dust limit",null,null],[10,"is_dust","","Check whether or not a value is below dust limit",87,[[],["bool",15]]],[3,"Wallet","","A Bitcoin wallet",null,null],[11,"new_offline","","Create a new “offline” wallet",88,[[["network",4],["intowalletdescriptor",8],["option",4]],[["error",4],["result",4]]]],[11,"get_new_address","","Return a newly generated address using the external …",88,[[],[["error",4],["result",4],["address",3]]]],[11,"is_mine","","Return whether or not a <code>script</code> is part of this wallet …",88,[[["script",3]],[["bool",15],["error",4],["result",4]]]],[11,"list_unspent","","Return the list of unspent outputs of this wallet",88,[[],[["error",4],["result",4],["vec",3]]]],[11,"get_utxo","","Returns the <code>UTXO</code> owned by this wallet corresponding to …",88,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"list_transactions","","Return the list of transactions made and received by the …",88,[[["bool",15]],[["result",4],["vec",3],["error",4]]]],[11,"get_balance","","Return the balance, meaning the sum of this wallet’s …",88,[[],[["error",4],["result",4],["u64",15]]]],[11,"add_signer","","Add an external signer",88,[[["signer",8],["signerordering",3],["arc",3],["keychainkind",4]]]],[11,"add_address_validator","","Add an address validator",88,[[["arc",3],["addressvalidator",8]]]],[11,"build_tx","","Start building a transaction.",88,[[],[["txbuilder",3],["defaultcoinselectionalgorithm",6],["createtx",3]]]],[11,"build_fee_bump","","Bump the fee of a transaction previously created with …",88,[[["txid",3]],[["result",4],["error",4],["txbuilder",3]]]],[11,"sign","","Sign a transaction with all the wallet’s signers, in …",88,[[["option",4],["psbt",3],["u32",15]],[["error",4],["result",4]]]],[11,"policies","","Return the spending policies for the wallet’s descriptor",88,[[["keychainkind",4]],[["error",4],["option",4],["result",4]]]],[11,"public_descriptor","","Return the “public” version of the wallet’s …",88,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"finalize_psbt","","Try to finalize a PSBT",88,[[["option",4],["psbt",3],["u32",15]],[["error",4],["result",4]]]],[11,"secp_ctx","","Return the secp256k1 context used for all signing …",88,[[],["secp256k1",3]]],[11,"get_descriptor_for_keychain","","Returns the descriptor used to create adddresses for a …",88,[[["keychainkind",4]],["extendeddescriptor",6]]],[11,"new","","Create a new “online” wallet",88,[[["network",4],["intowalletdescriptor",8],["option",4]],[["error",4],["result",4]]]],[11,"sync","","Sync the internal database with the blockchain",88,[[["option",4],["progress",8],["u32",15]],[["error",4],["result",4]]]],[11,"client","","Return a reference to the internal blockchain client",88,[[]]],[11,"network","","Get the Bitcoin network the wallet is using.",88,[[],["network",4]]],[11,"broadcast","","Broadcast a transaction to the network",88,[[["transaction",3]],[["error",4],["result",4],["txid",3]]]],[4,"Error","bdk","Errors that can be thrown by the <code>Wallet</code>",null,null],[13,"InvalidU32Bytes","","Wrong number of bytes found when trying to convert to u32",89,null],[13,"Generic","","Generic error",89,null],[13,"ScriptDoesntHaveAddressForm","","This error is thrown when trying to convert Bare and …",89,null],[13,"SingleRecipientMultipleOutputs","","Found multiple outputs when <code>single_recipient</code> option has …",89,null],[13,"SingleRecipientNoInputs","","<code>single_recipient</code> option is selected but neither …",89,null],[13,"NoRecipients","","Cannot build a tx without recipients",89,null],[13,"NoUtxosSelected","","<code>manually_selected_only</code> option is selected but no utxo has …",89,null],[13,"OutputBelowDustLimit","","Output created is under the dust limit, 546 satoshis",89,null],[13,"InsufficientFunds","","Wallet’s UTXO set is not enough to cover recipient’s …",89,null],[12,"needed","bdk::Error","Sats needed for some transaction",90,null],[12,"available","","Sats available for spending",90,null],[13,"BnBTotalTriesExceeded","bdk","Branch and bound coin selection possible attempts with …",89,null],[13,"BnBNoExactMatch","","Branch and bound coin selection tries to avoid needing a …",89,null],[13,"UnknownUTXO","","Happens when trying to spend an UTXO that is not in the …",89,null],[13,"TransactionNotFound","","Thrown when a tx is not found in the internal database",89,null],[13,"TransactionConfirmed","","Happens when trying to bump a transaction that is already …",89,null],[13,"IrreplaceableTransaction","","Trying to replace a tx that has a sequence >= <code>0xFFFFFFFE</code>",89,null],[13,"FeeRateTooLow","","When bumping a tx the fee rate requested is lower than …",89,null],[12,"required","bdk::Error","Required fee rate (satoshi/vbyte)",91,null],[13,"FeeTooLow","bdk","When bumping a tx the absolute fee requested is lower …",89,null],[12,"required","bdk::Error","Required fee absolute value (satoshi)",92,null],[13,"MissingKeyOrigin","bdk","In order to use the <code>TxBuilder::add_global_xpubs</code> option …",89,null],[13,"Key","","Error while working with <code>keys</code>",89,null],[13,"ChecksumMismatch","","Descriptor checksum mismatch",89,null],[13,"SpendingPolicyRequired","","Spending policy is not compatible with this <code>KeychainKind</code>",89,null],[13,"InvalidPolicyPathError","","Error while extracting and manipulating policies",89,null],[13,"Signer","","Signing error",89,null],[13,"InvalidProgressValue","","Progress value must be between <code>0.0</code> (included) and <code>100.0</code> …",89,null],[13,"ProgressUpdateError","","Progress update error (maybe the channel has been closed)",89,null],[13,"InvalidOutpoint","","Requested outpoint doesn’t exist in the tx (vout …",89,null],[13,"Descriptor","","Error related to the parsing and usage of descriptors",89,null],[13,"AddressValidator","","Error that can be returned to fail the validation of an …",89,null],[13,"Encode","","Encoding error",89,null],[13,"Miniscript","","Miniscript error",89,null],[13,"BIP32","","BIP32 error",89,null],[13,"Secp256k1","","An ECDSA error",89,null],[13,"JSON","","Error serializing or deserializing JSON data",89,null],[13,"Hex","","Hex decoding error",89,null],[13,"PSBT","","Partially signed bitcoin transaction error",89,null],[13,"Electrum","","Electrum client error",89,null],[13,"Esplora","","Esplora client error",89,null],[13,"CompactFilters","","Compact filters client error)",89,null],[13,"Sled","","Sled database error",89,null],[4,"KeychainKind","","Types of keychains",null,null],[13,"External","","External",93,null],[13,"Internal","","Internal, usually used for change outputs",93,null],[3,"FeeRate","","Fee rate",null,null],[3,"LocalUtxo","","An unspent output owned by a <code>Wallet</code>.",null,null],[12,"outpoint","","Reference to a transaction output",94,null],[12,"txout","","Transaction output",94,null],[12,"keychain","","Type of keychain",94,null],[3,"WeightedUtxo","","A [<code>Utxo</code>] with its <code>satisfaction_weight</code>.",null,null],[12,"satisfaction_weight","","The weight of the witness data and <code>scriptSig</code> expressed in …",95,null],[12,"utxo","","The UTXO",95,null],[4,"Utxo","","An unspent transaction output (UTXO).",null,null],[13,"Local","","A UTXO owned by the local wallet.",96,null],[13,"Foreign","","A UTXO owned by another wallet.",96,null],[12,"outpoint","bdk::Utxo","The location of the output.",97,null],[12,"psbt_input","","The information about the input we require to add it to a …",97,null],[3,"TransactionDetails","bdk","A wallet transaction",null,null],[12,"transaction","","Optional transaction",98,null],[12,"txid","","Transaction id",98,null],[12,"timestamp","","Timestamp",98,null],[12,"received","","Received value (sats)",98,null],[12,"sent","","Sent value (sats)",98,null],[12,"fees","","Fee value (sats)",98,null],[12,"height","","Confirmed in block height, <code>None</code> means unconfirmed",98,null],[5,"version","","Get the version of BDK at runtime",null,[[],["str",15]]],[14,"descriptor","","Macro to write full descriptors with code",null,null],[14,"fragment","","Macro to write descriptor fragments with code",null,null],[11,"from","","",89,[[]]],[11,"into","","",89,[[]]],[11,"to_string","","",89,[[],["string",3]]],[11,"borrow","","",89,[[]]],[11,"borrow_mut","","",89,[[]]],[11,"try_from","","",89,[[],["result",4]]],[11,"try_into","","",89,[[],["result",4]]],[11,"type_id","","",89,[[],["typeid",3]]],[11,"vzip","","",89,[[]]],[11,"init","","",89,[[],["usize",15]]],[11,"deref","","",89,[[["usize",15]]]],[11,"deref_mut","","",89,[[["usize",15]]]],[11,"drop","","",89,[[["usize",15]]]],[11,"from","bdk::blockchain::any","",0,[[]]],[11,"into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"init","","",0,[[],["usize",15]]],[11,"deref","","",0,[[["usize",15]]]],[11,"deref_mut","","",0,[[["usize",15]]]],[11,"drop","","",0,[[["usize",15]]]],[11,"from","","",1,[[]]],[11,"into","","",1,[[]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"vzip","","",1,[[]]],[11,"init","","",1,[[],["usize",15]]],[11,"deref","","",1,[[["usize",15]]]],[11,"deref_mut","","",1,[[["usize",15]]]],[11,"drop","","",1,[[["usize",15]]]],[11,"from","bdk::blockchain::electrum","",99,[[]]],[11,"into","","",99,[[]]],[11,"borrow","","",99,[[]]],[11,"borrow_mut","","",99,[[]]],[11,"try_from","","",99,[[],["result",4]]],[11,"try_into","","",99,[[],["result",4]]],[11,"type_id","","",99,[[],["typeid",3]]],[11,"vzip","","",99,[[]]],[11,"init","","",99,[[],["usize",15]]],[11,"deref","","",99,[[["usize",15]]]],[11,"deref_mut","","",99,[[["usize",15]]]],[11,"drop","","",99,[[["usize",15]]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"vzip","","",2,[[]]],[11,"init","","",2,[[],["usize",15]]],[11,"deref","","",2,[[["usize",15]]]],[11,"deref_mut","","",2,[[["usize",15]]]],[11,"drop","","",2,[[["usize",15]]]],[11,"from","bdk::blockchain::esplora","",3,[[]]],[11,"into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"vzip","","",3,[[]]],[11,"init","","",3,[[],["usize",15]]],[11,"deref","","",3,[[["usize",15]]]],[11,"deref_mut","","",3,[[["usize",15]]]],[11,"drop","","",3,[[["usize",15]]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"vzip","","",4,[[]]],[11,"init","","",4,[[],["usize",15]]],[11,"deref","","",4,[[["usize",15]]]],[11,"deref_mut","","",4,[[["usize",15]]]],[11,"drop","","",4,[[["usize",15]]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"to_string","","",5,[[],["string",3]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"vzip","","",5,[[]]],[11,"init","","",5,[[],["usize",15]]],[11,"deref","","",5,[[["usize",15]]]],[11,"deref_mut","","",5,[[["usize",15]]]],[11,"drop","","",5,[[["usize",15]]]],[11,"from","bdk::blockchain::compact_filters","",100,[[]]],[11,"into","","",100,[[]]],[11,"borrow","","",100,[[]]],[11,"borrow_mut","","",100,[[]]],[11,"try_from","","",100,[[],["result",4]]],[11,"try_into","","",100,[[],["result",4]]],[11,"type_id","","",100,[[],["typeid",3]]],[11,"vzip","","",100,[[]]],[11,"init","","",100,[[],["usize",15]]],[11,"deref","","",100,[[["usize",15]]]],[11,"deref_mut","","",100,[[["usize",15]]]],[11,"drop","","",100,[[["usize",15]]]],[11,"from","","",101,[[]]],[11,"into","","",101,[[]]],[11,"borrow","","",101,[[]]],[11,"borrow_mut","","",101,[[]]],[11,"try_from","","",101,[[],["result",4]]],[11,"try_into","","",101,[[],["result",4]]],[11,"type_id","","",101,[[],["typeid",3]]],[11,"vzip","","",101,[[]]],[11,"init","","",101,[[],["usize",15]]],[11,"deref","","",101,[[["usize",15]]]],[11,"deref_mut","","",101,[[["usize",15]]]],[11,"drop","","",101,[[["usize",15]]]],[11,"from","","",6,[[]]],[11,"into","","",6,[[]]],[11,"borrow","","",6,[[]]],[11,"borrow_mut","","",6,[[]]],[11,"try_from","","",6,[[],["result",4]]],[11,"try_into","","",6,[[],["result",4]]],[11,"type_id","","",6,[[],["typeid",3]]],[11,"vzip","","",6,[[]]],[11,"init","","",6,[[],["usize",15]]],[11,"deref","","",6,[[["usize",15]]]],[11,"deref_mut","","",6,[[["usize",15]]]],[11,"drop","","",6,[[["usize",15]]]],[11,"from","","",7,[[]]],[11,"into","","",7,[[]]],[11,"borrow","","",7,[[]]],[11,"borrow_mut","","",7,[[]]],[11,"try_from","","",7,[[],["result",4]]],[11,"try_into","","",7,[[],["result",4]]],[11,"type_id","","",7,[[],["typeid",3]]],[11,"vzip","","",7,[[]]],[11,"init","","",7,[[],["usize",15]]],[11,"deref","","",7,[[["usize",15]]]],[11,"deref_mut","","",7,[[["usize",15]]]],[11,"drop","","",7,[[["usize",15]]]],[11,"from","","",8,[[]]],[11,"into","","",8,[[]]],[11,"borrow","","",8,[[]]],[11,"borrow_mut","","",8,[[]]],[11,"try_from","","",8,[[],["result",4]]],[11,"try_into","","",8,[[],["result",4]]],[11,"type_id","","",8,[[],["typeid",3]]],[11,"vzip","","",8,[[]]],[11,"init","","",8,[[],["usize",15]]],[11,"deref","","",8,[[["usize",15]]]],[11,"deref_mut","","",8,[[["usize",15]]]],[11,"drop","","",8,[[["usize",15]]]],[11,"from","","",9,[[]]],[11,"into","","",9,[[]]],[11,"to_string","","",9,[[],["string",3]]],[11,"borrow","","",9,[[]]],[11,"borrow_mut","","",9,[[]]],[11,"try_from","","",9,[[],["result",4]]],[11,"try_into","","",9,[[],["result",4]]],[11,"type_id","","",9,[[],["typeid",3]]],[11,"vzip","","",9,[[]]],[11,"init","","",9,[[],["usize",15]]],[11,"deref","","",9,[[["usize",15]]]],[11,"deref_mut","","",9,[[["usize",15]]]],[11,"drop","","",9,[[["usize",15]]]],[11,"from","bdk::blockchain","",10,[[]]],[11,"into","","",10,[[]]],[11,"to_owned","","",10,[[]]],[11,"clone_into","","",10,[[]]],[11,"borrow","","",10,[[]]],[11,"borrow_mut","","",10,[[]]],[11,"try_from","","",10,[[],["result",4]]],[11,"try_into","","",10,[[],["result",4]]],[11,"type_id","","",10,[[],["typeid",3]]],[11,"vzip","","",10,[[]]],[11,"equivalent","","",10,[[],["bool",15]]],[11,"init","","",10,[[],["usize",15]]],[11,"deref","","",10,[[["usize",15]]]],[11,"deref_mut","","",10,[[["usize",15]]]],[11,"drop","","",10,[[["usize",15]]]],[11,"from","","",102,[[]]],[11,"into","","",102,[[]]],[11,"to_owned","","",102,[[]]],[11,"clone_into","","",102,[[]]],[11,"borrow","","",102,[[]]],[11,"borrow_mut","","",102,[[]]],[11,"try_from","","",102,[[],["result",4]]],[11,"try_into","","",102,[[],["result",4]]],[11,"type_id","","",102,[[],["typeid",3]]],[11,"vzip","","",102,[[]]],[11,"init","","",102,[[],["usize",15]]],[11,"deref","","",102,[[["usize",15]]]],[11,"deref_mut","","",102,[[["usize",15]]]],[11,"drop","","",102,[[["usize",15]]]],[11,"from","","",103,[[]]],[11,"into","","",103,[[]]],[11,"to_owned","","",103,[[]]],[11,"clone_into","","",103,[[]]],[11,"borrow","","",103,[[]]],[11,"borrow_mut","","",103,[[]]],[11,"try_from","","",103,[[],["result",4]]],[11,"try_into","","",103,[[],["result",4]]],[11,"type_id","","",103,[[],["typeid",3]]],[11,"vzip","","",103,[[]]],[11,"init","","",103,[[],["usize",15]]],[11,"deref","","",103,[[["usize",15]]]],[11,"deref_mut","","",103,[[["usize",15]]]],[11,"drop","","",103,[[["usize",15]]]],[11,"from","bdk::database::any","",14,[[]]],[11,"into","","",14,[[]]],[11,"borrow","","",14,[[]]],[11,"borrow_mut","","",14,[[]]],[11,"try_from","","",14,[[],["result",4]]],[11,"try_into","","",14,[[],["result",4]]],[11,"type_id","","",14,[[],["typeid",3]]],[11,"vzip","","",14,[[]]],[11,"init","","",14,[[],["usize",15]]],[11,"deref","","",14,[[["usize",15]]]],[11,"deref_mut","","",14,[[["usize",15]]]],[11,"drop","","",14,[[["usize",15]]]],[11,"from","","",15,[[]]],[11,"into","","",15,[[]]],[11,"borrow","","",15,[[]]],[11,"borrow_mut","","",15,[[]]],[11,"try_from","","",15,[[],["result",4]]],[11,"try_into","","",15,[[],["result",4]]],[11,"type_id","","",15,[[],["typeid",3]]],[11,"vzip","","",15,[[]]],[11,"init","","",15,[[],["usize",15]]],[11,"deref","","",15,[[["usize",15]]]],[11,"deref_mut","","",15,[[["usize",15]]]],[11,"drop","","",15,[[["usize",15]]]],[11,"from","","",16,[[]]],[11,"into","","",16,[[]]],[11,"borrow","","",16,[[]]],[11,"borrow_mut","","",16,[[]]],[11,"try_from","","",16,[[],["result",4]]],[11,"try_into","","",16,[[],["result",4]]],[11,"type_id","","",16,[[],["typeid",3]]],[11,"vzip","","",16,[[]]],[11,"init","","",16,[[],["usize",15]]],[11,"deref","","",16,[[["usize",15]]]],[11,"deref_mut","","",16,[[["usize",15]]]],[11,"drop","","",16,[[["usize",15]]]],[11,"from","","",17,[[]]],[11,"into","","",17,[[]]],[11,"borrow","","",17,[[]]],[11,"borrow_mut","","",17,[[]]],[11,"try_from","","",17,[[],["result",4]]],[11,"try_into","","",17,[[],["result",4]]],[11,"type_id","","",17,[[],["typeid",3]]],[11,"vzip","","",17,[[]]],[11,"init","","",17,[[],["usize",15]]],[11,"deref","","",17,[[["usize",15]]]],[11,"deref_mut","","",17,[[["usize",15]]]],[11,"drop","","",17,[[["usize",15]]]],[11,"from","bdk::database::memory","",18,[[]]],[11,"into","","",18,[[]]],[11,"borrow","","",18,[[]]],[11,"borrow_mut","","",18,[[]]],[11,"try_from","","",18,[[],["result",4]]],[11,"try_into","","",18,[[],["result",4]]],[11,"type_id","","",18,[[],["typeid",3]]],[11,"vzip","","",18,[[]]],[11,"init","","",18,[[],["usize",15]]],[11,"deref","","",18,[[["usize",15]]]],[11,"deref_mut","","",18,[[["usize",15]]]],[11,"drop","","",18,[[["usize",15]]]],[11,"from","bdk::descriptor","",50,[[]]],[11,"into","","",50,[[]]],[11,"to_owned","","",50,[[]]],[11,"clone_into","","",50,[[]]],[11,"to_string","","",50,[[],["string",3]]],[11,"borrow","","",50,[[]]],[11,"borrow_mut","","",50,[[]]],[11,"try_from","","",50,[[],["result",4]]],[11,"try_into","","",50,[[],["result",4]]],[11,"type_id","","",50,[[],["typeid",3]]],[11,"vzip","","",50,[[]]],[11,"equivalent","","",50,[[],["bool",15]]],[11,"init","","",50,[[],["usize",15]]],[11,"deref","","",50,[[["usize",15]]]],[11,"deref_mut","","",50,[[["usize",15]]]],[11,"drop","","",50,[[["usize",15]]]],[11,"from","bdk::keys","",57,[[]]],[11,"into","","",57,[[]]],[11,"to_owned","","",57,[[]]],[11,"clone_into","","",57,[[]]],[11,"to_string","","",57,[[],["string",3]]],[11,"borrow","","",57,[[]]],[11,"borrow_mut","","",57,[[]]],[11,"try_from","","",57,[[],["result",4]]],[11,"try_into","","",57,[[],["result",4]]],[11,"type_id","","",57,[[],["typeid",3]]],[11,"vzip","","",57,[[]]],[11,"equivalent","","",57,[[],["bool",15]]],[11,"init","","",57,[[],["usize",15]]],[11,"deref","","",57,[[["usize",15]]]],[11,"deref_mut","","",57,[[["usize",15]]]],[11,"drop","","",57,[[["usize",15]]]],[11,"as_enum","bdk::descriptor","",104,[[],["scriptcontextenum",4]]],[11,"from","","",104,[[]]],[11,"into","","",104,[[]]],[11,"to_owned","","",104,[[]]],[11,"clone_into","","",104,[[]]],[11,"borrow","","",104,[[]]],[11,"borrow_mut","","",104,[[]]],[11,"try_from","","",104,[[],["result",4]]],[11,"try_into","","",104,[[],["result",4]]],[11,"type_id","","",104,[[],["typeid",3]]],[11,"vzip","","",104,[[]]],[11,"equivalent","","",104,[[],["bool",15]]],[11,"init","","",104,[[],["usize",15]]],[11,"deref","","",104,[[["usize",15]]]],[11,"deref_mut","","",104,[[["usize",15]]]],[11,"drop","","",104,[[["usize",15]]]],[11,"from","","",51,[[]]],[11,"into","","",51,[[]]],[11,"to_owned","","",51,[[]]],[11,"clone_into","","",51,[[]]],[11,"to_string","","",51,[[],["string",3]]],[11,"borrow","","",51,[[]]],[11,"borrow_mut","","",51,[[]]],[11,"try_from","","",51,[[],["result",4]]],[11,"try_into","","",51,[[],["result",4]]],[11,"type_id","","",51,[[],["typeid",3]]],[11,"vzip","","",51,[[]]],[11,"equivalent","","",51,[[],["bool",15]]],[11,"init","","",51,[[],["usize",15]]],[11,"deref","","",51,[[["usize",15]]]],[11,"deref_mut","","",51,[[["usize",15]]]],[11,"drop","","",51,[[["usize",15]]]],[11,"as_enum","","",105,[[],["scriptcontextenum",4]]],[11,"from","","",105,[[]]],[11,"into","","",105,[[]]],[11,"to_owned","","",105,[[]]],[11,"clone_into","","",105,[[]]],[11,"borrow","","",105,[[]]],[11,"borrow_mut","","",105,[[]]],[11,"try_from","","",105,[[],["result",4]]],[11,"try_into","","",105,[[],["result",4]]],[11,"type_id","","",105,[[],["typeid",3]]],[11,"vzip","","",105,[[]]],[11,"equivalent","","",105,[[],["bool",15]]],[11,"init","","",105,[[],["usize",15]]],[11,"deref","","",105,[[["usize",15]]]],[11,"deref_mut","","",105,[[["usize",15]]]],[11,"drop","","",105,[[["usize",15]]]],[11,"from","","",106,[[]]],[11,"into","","",106,[[]]],[11,"to_owned","","",106,[[]]],[11,"clone_into","","",106,[[]]],[11,"to_string","","",106,[[],["string",3]]],[11,"borrow","","",106,[[]]],[11,"borrow_mut","","",106,[[]]],[11,"try_from","","",106,[[],["result",4]]],[11,"try_into","","",106,[[],["result",4]]],[11,"type_id","","",106,[[],["typeid",3]]],[11,"vzip","","",106,[[]]],[11,"equivalent","","",106,[[],["bool",15]]],[11,"init","","",106,[[],["usize",15]]],[11,"deref","","",106,[[["usize",15]]]],[11,"deref_mut","","",106,[[["usize",15]]]],[11,"drop","","",106,[[["usize",15]]]],[11,"from","bdk::descriptor::error","",23,[[]]],[11,"into","","",23,[[]]],[11,"to_string","","",23,[[],["string",3]]],[11,"borrow","","",23,[[]]],[11,"borrow_mut","","",23,[[]]],[11,"try_from","","",23,[[],["result",4]]],[11,"try_into","","",23,[[],["result",4]]],[11,"type_id","","",23,[[],["typeid",3]]],[11,"vzip","","",23,[[]]],[11,"init","","",23,[[],["usize",15]]],[11,"deref","","",23,[[["usize",15]]]],[11,"deref_mut","","",23,[[["usize",15]]]],[11,"drop","","",23,[[["usize",15]]]],[11,"from","bdk::descriptor::policy","",107,[[]]],[11,"into","","",107,[[]]],[11,"to_owned","","",107,[[]]],[11,"clone_into","","",107,[[]]],[11,"borrow","","",107,[[]]],[11,"borrow_mut","","",107,[[]]],[11,"try_from","","",107,[[],["result",4]]],[11,"try_into","","",107,[[],["result",4]]],[11,"type_id","","",107,[[],["typeid",3]]],[11,"vzip","","",107,[[]]],[11,"init","","",107,[[],["usize",15]]],[11,"deref","","",107,[[["usize",15]]]],[11,"deref_mut","","",107,[[["usize",15]]]],[11,"drop","","",107,[[["usize",15]]]],[11,"from","","",24,[[]]],[11,"into","","",24,[[]]],[11,"to_owned","","",24,[[]]],[11,"clone_into","","",24,[[]]],[11,"borrow","","",24,[[]]],[11,"borrow_mut","","",24,[[]]],[11,"try_from","","",24,[[],["result",4]]],[11,"try_into","","",24,[[],["result",4]]],[11,"type_id","","",24,[[],["typeid",3]]],[11,"vzip","","",24,[[]]],[11,"init","","",24,[[],["usize",15]]],[11,"deref","","",24,[[["usize",15]]]],[11,"deref_mut","","",24,[[["usize",15]]]],[11,"drop","","",24,[[["usize",15]]]],[11,"from","","",33,[[]]],[11,"into","","",33,[[]]],[11,"to_owned","","",33,[[]]],[11,"clone_into","","",33,[[]]],[11,"borrow","","",33,[[]]],[11,"borrow_mut","","",33,[[]]],[11,"try_from","","",33,[[],["result",4]]],[11,"try_into","","",33,[[],["result",4]]],[11,"type_id","","",33,[[],["typeid",3]]],[11,"vzip","","",33,[[]]],[11,"init","","",33,[[],["usize",15]]],[11,"deref","","",33,[[["usize",15]]]],[11,"deref_mut","","",33,[[["usize",15]]]],[11,"drop","","",33,[[["usize",15]]]],[11,"from","","",37,[[]]],[11,"into","","",37,[[]]],[11,"to_owned","","",37,[[]]],[11,"clone_into","","",37,[[]]],[11,"borrow","","",37,[[]]],[11,"borrow_mut","","",37,[[]]],[11,"try_from","","",37,[[],["result",4]]],[11,"try_into","","",37,[[],["result",4]]],[11,"type_id","","",37,[[],["typeid",3]]],[11,"vzip","","",37,[[]]],[11,"init","","",37,[[],["usize",15]]],[11,"deref","","",37,[[["usize",15]]]],[11,"deref_mut","","",37,[[["usize",15]]]],[11,"drop","","",37,[[["usize",15]]]],[11,"from","","",38,[[]]],[11,"into","","",38,[[]]],[11,"to_owned","","",38,[[]]],[11,"clone_into","","",38,[[]]],[11,"borrow","","",38,[[]]],[11,"borrow_mut","","",38,[[]]],[11,"try_from","","",38,[[],["result",4]]],[11,"try_into","","",38,[[],["result",4]]],[11,"type_id","","",38,[[],["typeid",3]]],[11,"vzip","","",38,[[]]],[11,"equivalent","","",38,[[],["bool",15]]],[11,"init","","",38,[[],["usize",15]]],[11,"deref","","",38,[[["usize",15]]]],[11,"deref_mut","","",38,[[["usize",15]]]],[11,"drop","","",38,[[["usize",15]]]],[11,"from","","",39,[[]]],[11,"into","","",39,[[]]],[11,"to_string","","",39,[[],["string",3]]],[11,"borrow","","",39,[[]]],[11,"borrow_mut","","",39,[[]]],[11,"try_from","","",39,[[],["result",4]]],[11,"try_into","","",39,[[],["result",4]]],[11,"type_id","","",39,[[],["typeid",3]]],[11,"vzip","","",39,[[]]],[11,"equivalent","","",39,[[],["bool",15]]],[11,"init","","",39,[[],["usize",15]]],[11,"deref","","",39,[[["usize",15]]]],[11,"deref_mut","","",39,[[["usize",15]]]],[11,"drop","","",39,[[["usize",15]]]],[11,"into_wallet_descriptor","bdk::descriptor::template","",41,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",41,[[]]],[11,"into","","",41,[[]]],[11,"borrow","","",41,[[]]],[11,"borrow_mut","","",41,[[]]],[11,"try_from","","",41,[[],["result",4]]],[11,"try_into","","",41,[[],["result",4]]],[11,"type_id","","",41,[[],["typeid",3]]],[11,"vzip","","",41,[[]]],[11,"init","","",41,[[],["usize",15]]],[11,"deref","","",41,[[["usize",15]]]],[11,"deref_mut","","",41,[[["usize",15]]]],[11,"drop","","",41,[[["usize",15]]]],[11,"into_wallet_descriptor","","",42,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",42,[[]]],[11,"into","","",42,[[]]],[11,"borrow","","",42,[[]]],[11,"borrow_mut","","",42,[[]]],[11,"try_from","","",42,[[],["result",4]]],[11,"try_into","","",42,[[],["result",4]]],[11,"type_id","","",42,[[],["typeid",3]]],[11,"vzip","","",42,[[]]],[11,"init","","",42,[[],["usize",15]]],[11,"deref","","",42,[[["usize",15]]]],[11,"deref_mut","","",42,[[["usize",15]]]],[11,"drop","","",42,[[["usize",15]]]],[11,"into_wallet_descriptor","","",43,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",43,[[]]],[11,"into","","",43,[[]]],[11,"borrow","","",43,[[]]],[11,"borrow_mut","","",43,[[]]],[11,"try_from","","",43,[[],["result",4]]],[11,"try_into","","",43,[[],["result",4]]],[11,"type_id","","",43,[[],["typeid",3]]],[11,"vzip","","",43,[[]]],[11,"init","","",43,[[],["usize",15]]],[11,"deref","","",43,[[["usize",15]]]],[11,"deref_mut","","",43,[[["usize",15]]]],[11,"drop","","",43,[[["usize",15]]]],[11,"into_wallet_descriptor","","",44,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",44,[[]]],[11,"into","","",44,[[]]],[11,"borrow","","",44,[[]]],[11,"borrow_mut","","",44,[[]]],[11,"try_from","","",44,[[],["result",4]]],[11,"try_into","","",44,[[],["result",4]]],[11,"type_id","","",44,[[],["typeid",3]]],[11,"vzip","","",44,[[]]],[11,"init","","",44,[[],["usize",15]]],[11,"deref","","",44,[[["usize",15]]]],[11,"deref_mut","","",44,[[["usize",15]]]],[11,"drop","","",44,[[["usize",15]]]],[11,"into_wallet_descriptor","","",45,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",45,[[]]],[11,"into","","",45,[[]]],[11,"borrow","","",45,[[]]],[11,"borrow_mut","","",45,[[]]],[11,"try_from","","",45,[[],["result",4]]],[11,"try_into","","",45,[[],["result",4]]],[11,"type_id","","",45,[[],["typeid",3]]],[11,"vzip","","",45,[[]]],[11,"init","","",45,[[],["usize",15]]],[11,"deref","","",45,[[["usize",15]]]],[11,"deref_mut","","",45,[[["usize",15]]]],[11,"drop","","",45,[[["usize",15]]]],[11,"into_wallet_descriptor","","",46,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",46,[[]]],[11,"into","","",46,[[]]],[11,"borrow","","",46,[[]]],[11,"borrow_mut","","",46,[[]]],[11,"try_from","","",46,[[],["result",4]]],[11,"try_into","","",46,[[],["result",4]]],[11,"type_id","","",46,[[],["typeid",3]]],[11,"vzip","","",46,[[]]],[11,"init","","",46,[[],["usize",15]]],[11,"deref","","",46,[[["usize",15]]]],[11,"deref_mut","","",46,[[["usize",15]]]],[11,"drop","","",46,[[["usize",15]]]],[11,"into_wallet_descriptor","","",47,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",47,[[]]],[11,"into","","",47,[[]]],[11,"borrow","","",47,[[]]],[11,"borrow_mut","","",47,[[]]],[11,"try_from","","",47,[[],["result",4]]],[11,"try_into","","",47,[[],["result",4]]],[11,"type_id","","",47,[[],["typeid",3]]],[11,"vzip","","",47,[[]]],[11,"init","","",47,[[],["usize",15]]],[11,"deref","","",47,[[["usize",15]]]],[11,"deref_mut","","",47,[[["usize",15]]]],[11,"drop","","",47,[[["usize",15]]]],[11,"into_wallet_descriptor","","",48,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",48,[[]]],[11,"into","","",48,[[]]],[11,"borrow","","",48,[[]]],[11,"borrow_mut","","",48,[[]]],[11,"try_from","","",48,[[],["result",4]]],[11,"try_into","","",48,[[],["result",4]]],[11,"type_id","","",48,[[],["typeid",3]]],[11,"vzip","","",48,[[]]],[11,"init","","",48,[[],["usize",15]]],[11,"deref","","",48,[[["usize",15]]]],[11,"deref_mut","","",48,[[["usize",15]]]],[11,"drop","","",48,[[["usize",15]]]],[11,"into_wallet_descriptor","","",49,[[["network",4],["secp256k1",3]],[["result",4],["error",4]]]],[11,"from","","",49,[[]]],[11,"into","","",49,[[]]],[11,"borrow","","",49,[[]]],[11,"borrow_mut","","",49,[[]]],[11,"try_from","","",49,[[],["result",4]]],[11,"try_into","","",49,[[],["result",4]]],[11,"type_id","","",49,[[],["typeid",3]]],[11,"vzip","","",49,[[]]],[11,"init","","",49,[[],["usize",15]]],[11,"deref","","",49,[[["usize",15]]]],[11,"deref_mut","","",49,[[["usize",15]]]],[11,"drop","","",49,[[["usize",15]]]],[11,"from","bdk::keys::bip39","",55,[[]]],[11,"into","","",55,[[]]],[11,"to_owned","","",55,[[]]],[11,"clone_into","","",55,[[]]],[11,"borrow","","",55,[[]]],[11,"borrow_mut","","",55,[[]]],[11,"try_from","","",55,[[],["result",4]]],[11,"try_into","","",55,[[],["result",4]]],[11,"type_id","","",55,[[],["typeid",3]]],[11,"vzip","","",55,[[]]],[11,"init","","",55,[[],["usize",15]]],[11,"deref","","",55,[[["usize",15]]]],[11,"deref_mut","","",55,[[["usize",15]]]],[11,"drop","","",55,[[["usize",15]]]],[11,"from","","",108,[[]]],[11,"into","","",108,[[]]],[11,"to_owned","","",108,[[]]],[11,"clone_into","","",108,[[]]],[11,"to_string","","",108,[[],["string",3]]],[11,"borrow","","",108,[[]]],[11,"borrow_mut","","",108,[[]]],[11,"try_from","","",108,[[],["result",4]]],[11,"try_into","","",108,[[],["result",4]]],[11,"type_id","","",108,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",108,[[],["string",3]]],[11,"vzip","","",108,[[]]],[11,"init","","",108,[[],["usize",15]]],[11,"deref","","",108,[[["usize",15]]]],[11,"deref_mut","","",108,[[["usize",15]]]],[11,"drop","","",108,[[["usize",15]]]],[11,"from","","",56,[[]]],[11,"into","","",56,[[]]],[11,"to_owned","","",56,[[]]],[11,"clone_into","","",56,[[]]],[11,"to_string","","",56,[[],["string",3]]],[11,"borrow","","",56,[[]]],[11,"borrow_mut","","",56,[[]]],[11,"try_from","","",56,[[],["result",4]]],[11,"try_into","","",56,[[],["result",4]]],[11,"type_id","","",56,[[],["typeid",3]]],[11,"vzip","","",56,[[]]],[11,"init","","",56,[[],["usize",15]]],[11,"deref","","",56,[[["usize",15]]]],[11,"deref_mut","","",56,[[["usize",15]]]],[11,"drop","","",56,[[["usize",15]]]],[11,"from","","",109,[[]]],[11,"into","","",109,[[]]],[11,"to_owned","","",109,[[]]],[11,"clone_into","","",109,[[]]],[11,"borrow","","",109,[[]]],[11,"borrow_mut","","",109,[[]]],[11,"try_from","","",109,[[],["result",4]]],[11,"try_into","","",109,[[],["result",4]]],[11,"type_id","","",109,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",109,[[],["string",3]]],[11,"write_base32","","",109,[[],["result",4]]],[11,"base32_len","","",109,[[],["usize",15]]],[11,"check_base32","","",109,[[],[["result",4],["vec",3]]]],[11,"vzip","","",109,[[]]],[11,"init","","",109,[[],["usize",15]]],[11,"deref","","",109,[[["usize",15]]]],[11,"deref_mut","","",109,[[["usize",15]]]],[11,"drop","","",109,[[["usize",15]]]],[11,"from","bdk::keys","",58,[[]]],[11,"into","","",58,[[]]],[11,"to_string","","",58,[[],["string",3]]],[11,"borrow","","",58,[[]]],[11,"borrow_mut","","",58,[[]]],[11,"try_from","","",58,[[],["result",4]]],[11,"try_into","","",58,[[],["result",4]]],[11,"type_id","","",58,[[],["typeid",3]]],[11,"vzip","","",58,[[]]],[11,"init","","",58,[[],["usize",15]]],[11,"deref","","",58,[[["usize",15]]]],[11,"deref_mut","","",58,[[["usize",15]]]],[11,"drop","","",58,[[["usize",15]]]],[11,"from","","",59,[[]]],[11,"into","","",59,[[]]],[11,"borrow","","",59,[[]]],[11,"borrow_mut","","",59,[[]]],[11,"try_from","","",59,[[],["result",4]]],[11,"try_into","","",59,[[],["result",4]]],[11,"type_id","","",59,[[],["typeid",3]]],[11,"vzip","","",59,[[]]],[11,"init","","",59,[[],["usize",15]]],[11,"deref","","",59,[[["usize",15]]]],[11,"deref_mut","","",59,[[["usize",15]]]],[11,"drop","","",59,[[["usize",15]]]],[11,"from","","",60,[[]]],[11,"into","","",60,[[]]],[11,"to_owned","","",60,[[]]],[11,"clone_into","","",60,[[]]],[11,"borrow","","",60,[[]]],[11,"borrow_mut","","",60,[[]]],[11,"try_from","","",60,[[],["result",4]]],[11,"try_into","","",60,[[],["result",4]]],[11,"type_id","","",60,[[],["typeid",3]]],[11,"vzip","","",60,[[]]],[11,"equivalent","","",60,[[],["bool",15]]],[11,"init","","",60,[[],["usize",15]]],[11,"deref","","",60,[[["usize",15]]]],[11,"deref_mut","","",60,[[["usize",15]]]],[11,"drop","","",60,[[["usize",15]]]],[11,"from","","",61,[[]]],[11,"into","","",61,[[]]],[11,"to_owned","","",61,[[]]],[11,"clone_into","","",61,[[]]],[11,"to_string","","",61,[[],["string",3]]],[11,"borrow","","",61,[[]]],[11,"borrow_mut","","",61,[[]]],[11,"try_from","","",61,[[],["result",4]]],[11,"try_into","","",61,[[],["result",4]]],[11,"type_id","","",61,[[],["typeid",3]]],[11,"vzip","","",61,[[]]],[11,"equivalent","","",61,[[],["bool",15]]],[11,"init","","",61,[[],["usize",15]]],[11,"deref","","",61,[[["usize",15]]]],[11,"deref_mut","","",61,[[["usize",15]]]],[11,"drop","","",61,[[["usize",15]]]],[11,"from","","",62,[[]]],[11,"into","","",62,[[]]],[11,"borrow","","",62,[[]]],[11,"borrow_mut","","",62,[[]]],[11,"try_from","","",62,[[],["result",4]]],[11,"try_into","","",62,[[],["result",4]]],[11,"type_id","","",62,[[],["typeid",3]]],[11,"vzip","","",62,[[]]],[11,"init","","",62,[[],["usize",15]]],[11,"deref","","",62,[[["usize",15]]]],[11,"deref_mut","","",62,[[["usize",15]]]],[11,"drop","","",62,[[["usize",15]]]],[11,"from","","",63,[[]]],[11,"into","","",63,[[]]],[11,"to_owned","","",63,[[]]],[11,"clone_into","","",63,[[]]],[11,"borrow","","",63,[[]]],[11,"borrow_mut","","",63,[[]]],[11,"try_from","","",63,[[],["result",4]]],[11,"try_into","","",63,[[],["result",4]]],[11,"type_id","","",63,[[],["typeid",3]]],[11,"vzip","","",63,[[]]],[11,"equivalent","","",63,[[],["bool",15]]],[11,"init","","",63,[[],["usize",15]]],[11,"deref","","",63,[[["usize",15]]]],[11,"deref_mut","","",63,[[["usize",15]]]],[11,"drop","","",63,[[["usize",15]]]],[11,"from","","",66,[[]]],[11,"into","","",66,[[]]],[11,"borrow","","",66,[[]]],[11,"borrow_mut","","",66,[[]]],[11,"try_from","","",66,[[],["result",4]]],[11,"try_into","","",66,[[],["result",4]]],[11,"type_id","","",66,[[],["typeid",3]]],[11,"vzip","","",66,[[]]],[11,"init","","",66,[[],["usize",15]]],[11,"deref","","",66,[[["usize",15]]]],[11,"deref_mut","","",66,[[["usize",15]]]],[11,"drop","","",66,[[["usize",15]]]],[11,"from","","",68,[[]]],[11,"into","","",68,[[]]],[11,"borrow","","",68,[[]]],[11,"borrow_mut","","",68,[[]]],[11,"try_from","","",68,[[],["result",4]]],[11,"try_into","","",68,[[],["result",4]]],[11,"type_id","","",68,[[],["typeid",3]]],[11,"vzip","","",68,[[]]],[11,"init","","",68,[[],["usize",15]]],[11,"deref","","",68,[[["usize",15]]]],[11,"deref_mut","","",68,[[["usize",15]]]],[11,"drop","","",68,[[["usize",15]]]],[11,"from","","",71,[[]]],[11,"into","","",71,[[]]],[11,"to_owned","","",71,[[]]],[11,"clone_into","","",71,[[]]],[11,"borrow","","",71,[[]]],[11,"borrow_mut","","",71,[[]]],[11,"try_from","","",71,[[],["result",4]]],[11,"try_into","","",71,[[],["result",4]]],[11,"type_id","","",71,[[],["typeid",3]]],[11,"vzip","","",71,[[]]],[11,"init","","",71,[[],["usize",15]]],[11,"deref","","",71,[[["usize",15]]]],[11,"deref_mut","","",71,[[["usize",15]]]],[11,"drop","","",71,[[["usize",15]]]],[11,"from","","",72,[[]]],[11,"into","","",72,[[]]],[11,"to_string","","",72,[[],["string",3]]],[11,"borrow","","",72,[[]]],[11,"borrow_mut","","",72,[[]]],[11,"try_from","","",72,[[],["result",4]]],[11,"try_into","","",72,[[],["result",4]]],[11,"type_id","","",72,[[],["typeid",3]]],[11,"vzip","","",72,[[]]],[11,"init","","",72,[[],["usize",15]]],[11,"deref","","",72,[[["usize",15]]]],[11,"deref_mut","","",72,[[["usize",15]]]],[11,"drop","","",72,[[["usize",15]]]],[11,"from","bdk","",93,[[]]],[11,"into","","",93,[[]]],[11,"to_owned","","",93,[[]]],[11,"clone_into","","",93,[[]]],[11,"borrow","","",93,[[]]],[11,"borrow_mut","","",93,[[]]],[11,"try_from","","",93,[[],["result",4]]],[11,"try_into","","",93,[[],["result",4]]],[11,"type_id","","",93,[[],["typeid",3]]],[11,"write_base32","","",93,[[],["result",4]]],[11,"base32_len","","",93,[[],["usize",15]]],[11,"check_base32","","",93,[[],[["result",4],["vec",3]]]],[11,"vzip","","",93,[[]]],[11,"equivalent","","",93,[[],["bool",15]]],[11,"init","","",93,[[],["usize",15]]],[11,"deref","","",93,[[["usize",15]]]],[11,"deref_mut","","",93,[[["usize",15]]]],[11,"drop","","",93,[[["usize",15]]]],[11,"from","","",110,[[]]],[11,"into","","",110,[[]]],[11,"to_owned","","",110,[[]]],[11,"clone_into","","",110,[[]]],[11,"borrow","","",110,[[]]],[11,"borrow_mut","","",110,[[]]],[11,"try_from","","",110,[[],["result",4]]],[11,"try_into","","",110,[[],["result",4]]],[11,"type_id","","",110,[[],["typeid",3]]],[11,"vzip","","",110,[[]]],[11,"init","","",110,[[],["usize",15]]],[11,"deref","","",110,[[["usize",15]]]],[11,"deref_mut","","",110,[[["usize",15]]]],[11,"drop","","",110,[[["usize",15]]]],[11,"from","","",94,[[]]],[11,"into","","",94,[[]]],[11,"to_owned","","",94,[[]]],[11,"clone_into","","",94,[[]]],[11,"borrow","","",94,[[]]],[11,"borrow_mut","","",94,[[]]],[11,"try_from","","",94,[[],["result",4]]],[11,"try_into","","",94,[[],["result",4]]],[11,"type_id","","",94,[[],["typeid",3]]],[11,"vzip","","",94,[[]]],[11,"equivalent","","",94,[[],["bool",15]]],[11,"init","","",94,[[],["usize",15]]],[11,"deref","","",94,[[["usize",15]]]],[11,"deref_mut","","",94,[[["usize",15]]]],[11,"drop","","",94,[[["usize",15]]]],[11,"from","","",95,[[]]],[11,"into","","",95,[[]]],[11,"to_owned","","",95,[[]]],[11,"clone_into","","",95,[[]]],[11,"borrow","","",95,[[]]],[11,"borrow_mut","","",95,[[]]],[11,"try_from","","",95,[[],["result",4]]],[11,"try_into","","",95,[[],["result",4]]],[11,"type_id","","",95,[[],["typeid",3]]],[11,"vzip","","",95,[[]]],[11,"init","","",95,[[],["usize",15]]],[11,"deref","","",95,[[["usize",15]]]],[11,"deref_mut","","",95,[[["usize",15]]]],[11,"drop","","",95,[[["usize",15]]]],[11,"from","","",96,[[]]],[11,"into","","",96,[[]]],[11,"to_owned","","",96,[[]]],[11,"clone_into","","",96,[[]]],[11,"borrow","","",96,[[]]],[11,"borrow_mut","","",96,[[]]],[11,"try_from","","",96,[[],["result",4]]],[11,"try_into","","",96,[[],["result",4]]],[11,"type_id","","",96,[[],["typeid",3]]],[11,"vzip","","",96,[[]]],[11,"init","","",96,[[],["usize",15]]],[11,"deref","","",96,[[["usize",15]]]],[11,"deref_mut","","",96,[[["usize",15]]]],[11,"drop","","",96,[[["usize",15]]]],[11,"from","","",98,[[]]],[11,"into","","",98,[[]]],[11,"to_owned","","",98,[[]]],[11,"clone_into","","",98,[[]]],[11,"borrow","","",98,[[]]],[11,"borrow_mut","","",98,[[]]],[11,"try_from","","",98,[[],["result",4]]],[11,"try_into","","",98,[[],["result",4]]],[11,"type_id","","",98,[[],["typeid",3]]],[11,"vzip","","",98,[[]]],[11,"equivalent","","",98,[[],["bool",15]]],[11,"init","","",98,[[],["usize",15]]],[11,"deref","","",98,[[["usize",15]]]],[11,"deref_mut","","",98,[[["usize",15]]]],[11,"drop","","",98,[[["usize",15]]]],[11,"from","bdk::wallet::address_validator","",73,[[]]],[11,"into","","",73,[[]]],[11,"to_owned","","",73,[[]]],[11,"clone_into","","",73,[[]]],[11,"to_string","","",73,[[],["string",3]]],[11,"borrow","","",73,[[]]],[11,"borrow_mut","","",73,[[]]],[11,"try_from","","",73,[[],["result",4]]],[11,"try_into","","",73,[[],["result",4]]],[11,"type_id","","",73,[[],["typeid",3]]],[11,"vzip","","",73,[[]]],[11,"equivalent","","",73,[[],["bool",15]]],[11,"init","","",73,[[],["usize",15]]],[11,"deref","","",73,[[["usize",15]]]],[11,"deref_mut","","",73,[[["usize",15]]]],[11,"drop","","",73,[[["usize",15]]]],[11,"from","bdk::wallet::coin_selection","",75,[[]]],[11,"into","","",75,[[]]],[11,"borrow","","",75,[[]]],[11,"borrow_mut","","",75,[[]]],[11,"try_from","","",75,[[],["result",4]]],[11,"try_into","","",75,[[],["result",4]]],[11,"type_id","","",75,[[],["typeid",3]]],[11,"vzip","","",75,[[]]],[11,"init","","",75,[[],["usize",15]]],[11,"deref","","",75,[[["usize",15]]]],[11,"deref_mut","","",75,[[["usize",15]]]],[11,"drop","","",75,[[["usize",15]]]],[11,"from","","",111,[[]]],[11,"into","","",111,[[]]],[11,"to_owned","","",111,[[]]],[11,"clone_into","","",111,[[]]],[11,"borrow","","",111,[[]]],[11,"borrow_mut","","",111,[[]]],[11,"try_from","","",111,[[],["result",4]]],[11,"try_into","","",111,[[],["result",4]]],[11,"type_id","","",111,[[],["typeid",3]]],[11,"vzip","","",111,[[]]],[11,"init","","",111,[[],["usize",15]]],[11,"deref","","",111,[[["usize",15]]]],[11,"deref_mut","","",111,[[["usize",15]]]],[11,"drop","","",111,[[["usize",15]]]],[11,"from","","",77,[[]]],[11,"into","","",77,[[]]],[11,"borrow","","",77,[[]]],[11,"borrow_mut","","",77,[[]]],[11,"try_from","","",77,[[],["result",4]]],[11,"try_into","","",77,[[],["result",4]]],[11,"type_id","","",77,[[],["typeid",3]]],[11,"vzip","","",77,[[]]],[11,"init","","",77,[[],["usize",15]]],[11,"deref","","",77,[[["usize",15]]]],[11,"deref_mut","","",77,[[["usize",15]]]],[11,"drop","","",77,[[["usize",15]]]],[11,"from","bdk::wallet::export","",78,[[]]],[11,"into","","",78,[[]]],[11,"borrow","","",78,[[]]],[11,"borrow_mut","","",78,[[]]],[11,"try_from","","",78,[[],["result",4]]],[11,"try_into","","",78,[[],["result",4]]],[11,"type_id","","",78,[[],["typeid",3]]],[11,"vzip","","",78,[[]]],[11,"init","","",78,[[],["usize",15]]],[11,"deref","","",78,[[["usize",15]]]],[11,"deref_mut","","",78,[[["usize",15]]]],[11,"drop","","",78,[[["usize",15]]]],[11,"from","bdk::wallet::signer","",79,[[]]],[11,"into","","",79,[[]]],[11,"to_owned","","",79,[[]]],[11,"clone_into","","",79,[[]]],[11,"borrow","","",79,[[]]],[11,"borrow_mut","","",79,[[]]],[11,"try_from","","",79,[[],["result",4]]],[11,"try_into","","",79,[[],["result",4]]],[11,"type_id","","",79,[[],["typeid",3]]],[11,"vzip","","",79,[[]]],[11,"equivalent","","",79,[[],["bool",15]]],[11,"init","","",79,[[],["usize",15]]],[11,"deref","","",79,[[["usize",15]]]],[11,"deref_mut","","",79,[[["usize",15]]]],[11,"drop","","",79,[[["usize",15]]]],[11,"from","","",80,[[]]],[11,"into","","",80,[[]]],[11,"to_owned","","",80,[[]]],[11,"clone_into","","",80,[[]]],[11,"to_string","","",80,[[],["string",3]]],[11,"borrow","","",80,[[]]],[11,"borrow_mut","","",80,[[]]],[11,"try_from","","",80,[[],["result",4]]],[11,"try_into","","",80,[[],["result",4]]],[11,"type_id","","",80,[[],["typeid",3]]],[11,"vzip","","",80,[[]]],[11,"equivalent","","",80,[[],["bool",15]]],[11,"init","","",80,[[],["usize",15]]],[11,"deref","","",80,[[["usize",15]]]],[11,"deref_mut","","",80,[[["usize",15]]]],[11,"drop","","",80,[[["usize",15]]]],[11,"from","","",82,[[]]],[11,"into","","",82,[[]]],[11,"to_owned","","",82,[[]]],[11,"clone_into","","",82,[[]]],[11,"borrow","","",82,[[]]],[11,"borrow_mut","","",82,[[]]],[11,"try_from","","",82,[[],["result",4]]],[11,"try_into","","",82,[[],["result",4]]],[11,"type_id","","",82,[[],["typeid",3]]],[11,"vzip","","",82,[[]]],[11,"equivalent","","",82,[[],["bool",15]]],[11,"init","","",82,[[],["usize",15]]],[11,"deref","","",82,[[["usize",15]]]],[11,"deref_mut","","",82,[[["usize",15]]]],[11,"drop","","",82,[[["usize",15]]]],[11,"from","","",83,[[]]],[11,"into","","",83,[[]]],[11,"to_owned","","",83,[[]]],[11,"clone_into","","",83,[[]]],[11,"borrow","","",83,[[]]],[11,"borrow_mut","","",83,[[]]],[11,"try_from","","",83,[[],["result",4]]],[11,"try_into","","",83,[[],["result",4]]],[11,"type_id","","",83,[[],["typeid",3]]],[11,"vzip","","",83,[[]]],[11,"init","","",83,[[],["usize",15]]],[11,"deref","","",83,[[["usize",15]]]],[11,"deref_mut","","",83,[[["usize",15]]]],[11,"drop","","",83,[[["usize",15]]]],[11,"from","bdk::wallet::tx_builder","",112,[[]]],[11,"into","","",112,[[]]],[11,"to_owned","","",112,[[]]],[11,"clone_into","","",112,[[]]],[11,"borrow","","",112,[[]]],[11,"borrow_mut","","",112,[[]]],[11,"try_from","","",112,[[],["result",4]]],[11,"try_into","","",112,[[],["result",4]]],[11,"type_id","","",112,[[],["typeid",3]]],[11,"vzip","","",112,[[]]],[11,"init","","",112,[[],["usize",15]]],[11,"deref","","",112,[[["usize",15]]]],[11,"deref_mut","","",112,[[["usize",15]]]],[11,"drop","","",112,[[["usize",15]]]],[11,"from","","",113,[[]]],[11,"into","","",113,[[]]],[11,"to_owned","","",113,[[]]],[11,"clone_into","","",113,[[]]],[11,"borrow","","",113,[[]]],[11,"borrow_mut","","",113,[[]]],[11,"try_from","","",113,[[],["result",4]]],[11,"try_into","","",113,[[],["result",4]]],[11,"type_id","","",113,[[],["typeid",3]]],[11,"vzip","","",113,[[]]],[11,"init","","",113,[[],["usize",15]]],[11,"deref","","",113,[[["usize",15]]]],[11,"deref_mut","","",113,[[["usize",15]]]],[11,"drop","","",113,[[["usize",15]]]],[11,"from","","",84,[[]]],[11,"into","","",84,[[]]],[11,"to_owned","","",84,[[]]],[11,"clone_into","","",84,[[]]],[11,"borrow","","",84,[[]]],[11,"borrow_mut","","",84,[[]]],[11,"try_from","","",84,[[],["result",4]]],[11,"try_into","","",84,[[],["result",4]]],[11,"type_id","","",84,[[],["typeid",3]]],[11,"vzip","","",84,[[]]],[11,"init","","",84,[[],["usize",15]]],[11,"deref","","",84,[[["usize",15]]]],[11,"deref_mut","","",84,[[["usize",15]]]],[11,"drop","","",84,[[["usize",15]]]],[11,"from","","",85,[[]]],[11,"into","","",85,[[]]],[11,"to_owned","","",85,[[]]],[11,"clone_into","","",85,[[]]],[11,"borrow","","",85,[[]]],[11,"borrow_mut","","",85,[[]]],[11,"try_from","","",85,[[],["result",4]]],[11,"try_into","","",85,[[],["result",4]]],[11,"type_id","","",85,[[],["typeid",3]]],[11,"vzip","","",85,[[]]],[11,"equivalent","","",85,[[],["bool",15]]],[11,"init","","",85,[[],["usize",15]]],[11,"deref","","",85,[[["usize",15]]]],[11,"deref_mut","","",85,[[["usize",15]]]],[11,"drop","","",85,[[["usize",15]]]],[11,"from","","",86,[[]]],[11,"into","","",86,[[]]],[11,"to_owned","","",86,[[]]],[11,"clone_into","","",86,[[]]],[11,"borrow","","",86,[[]]],[11,"borrow_mut","","",86,[[]]],[11,"try_from","","",86,[[],["result",4]]],[11,"try_into","","",86,[[],["result",4]]],[11,"type_id","","",86,[[],["typeid",3]]],[11,"vzip","","",86,[[]]],[11,"equivalent","","",86,[[],["bool",15]]],[11,"init","","",86,[[],["usize",15]]],[11,"deref","","",86,[[["usize",15]]]],[11,"deref_mut","","",86,[[["usize",15]]]],[11,"drop","","",86,[[["usize",15]]]],[11,"from","bdk::wallet","",88,[[]]],[11,"into","","",88,[[]]],[11,"borrow","","",88,[[]]],[11,"borrow_mut","","",88,[[]]],[11,"try_from","","",88,[[],["result",4]]],[11,"try_into","","",88,[[],["result",4]]],[11,"type_id","","",88,[[],["typeid",3]]],[11,"vzip","","",88,[[]]],[11,"init","","",88,[[],["usize",15]]],[11,"deref","","",88,[[["usize",15]]]],[11,"deref_mut","","",88,[[["usize",15]]]],[11,"drop","","",88,[[["usize",15]]]],[11,"check_terminal_non_malleable","bdk::descriptor","",104,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",104,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",104,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_terminal_non_malleable","","",105,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",105,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",105,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"fmt","bdk::keys","",61,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",58,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",50,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",51,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",57,[[["formatter",3]],[["result",4],["error",3]]]],[11,"partial_cmp","bdk::descriptor","",51,[[["miniscript",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",104,[[["legacy",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::keys","",61,[[["sortedmultivec",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor","",105,[[["segwitv0",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::keys","",57,[[["descriptorpublickey",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",60,[[["descriptorsinglepub",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor","",50,[[["descriptor",4]],[["option",4],["ordering",4]]]],[11,"from_tree","","Parse an expression tree into a descriptor",50,[[["tree",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"from_tree","","Parse an expression tree into a Miniscript. As a general …",51,[[["tree",3]],[["error",4],["result",4],["miniscript",3]]]],[11,"clone","","",51,[[],["miniscript",3]]],[11,"clone","","",105,[[],["segwitv0",4]]],[11,"clone","bdk::keys","",61,[[],["sortedmultivec",3]]],[11,"clone","bdk::descriptor","",50,[[],["descriptor",4]]],[11,"clone","bdk::keys","",60,[[],["descriptorsinglepub",3]]],[11,"clone","bdk::descriptor","",104,[[],["legacy",4]]],[11,"clone","bdk::keys","",57,[[],["descriptorpublickey",4]]],[11,"fmt","","",57,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",50,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",104,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",59,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",60,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",58,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",105,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",51,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",61,[[["formatter",3]],[["result",4],["error",3]]]],[11,"cmp","","",61,[[["sortedmultivec",3]],["ordering",4]]],[11,"cmp","bdk::descriptor","",50,[[["descriptor",4]],["ordering",4]]],[11,"cmp","","",105,[[["segwitv0",4]],["ordering",4]]],[11,"cmp","bdk::keys","",60,[[["descriptorsinglepub",3]],["ordering",4]]],[11,"cmp","","",57,[[["descriptorpublickey",4]],["ordering",4]]],[11,"cmp","bdk::descriptor","",51,[[["miniscript",3]],["ordering",4]]],[11,"cmp","","",104,[[["legacy",4]],["ordering",4]]],[11,"is_uncompressed","bdk::keys","",57,[[],["bool",15]]],[11,"to_pubkeyhash","","",57,[[],["descriptorpublickey",4]]],[11,"hash","","",57,[[]]],[11,"hash","","",60,[[]]],[11,"hash","bdk::descriptor","",104,[[]]],[11,"hash","","",105,[[]]],[11,"hash","","",51,[[]]],[11,"for_each_key","","",50,[[],["bool",15]]],[11,"for_each_key","","",51,[[],["bool",15]]],[11,"for_each_key","bdk::keys","",61,[[],["bool",15]]],[11,"translate_pk","bdk::descriptor","Convert a descriptor using abstract keys to one using …",50,[[],[["descriptor",4],["result",4]]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",51,[[],["result",4]]],[11,"sanity_check","","Whether the descriptor is safe Checks whether all the …",50,[[],[["error",4],["result",4]]]],[11,"address","","Computes the Bitcoin address of the descriptor, if one …",50,[[["network",4]],[["error",4],["result",4],["address",3]]]],[11,"script_pubkey","","Computes the scriptpubkey of the descriptor",50,[[],["script",3]]],[11,"unsigned_script_sig","","Computes the scriptSig that will be in place for an …",50,[[],["script",3]]],[11,"explicit_script","","Computes the “witness script” of the descriptor, i.e. …",50,[[],["script",3]]],[11,"get_satisfaction","","Returns satisfying witness and scriptSig to spend an …",50,[[],[["error",4],["result",4]]]],[11,"max_satisfaction_weight","","Computes an upper bound on the weight of a satisfying …",50,[[],[["result",4],["usize",15],["error",4]]]],[11,"script_code","","Get the <code>scriptCode</code> of a transaction output.",50,[[],["script",3]]],[11,"lift","","",51,[[],[["error",4],["result",4],["policy",4]]]],[11,"lift","","",50,[[],[["error",4],["result",4],["policy",4]]]],[11,"lift","bdk::keys","",61,[[],[["error",4],["result",4],["policy",4]]]],[11,"from_str","","",58,[[["str",15]],[["result",4],["descriptorsecretkey",4]]]],[11,"from_str","","",57,[[["str",15]],[["result",4],["descriptorpublickey",4]]]],[11,"from_str","bdk::descriptor","",50,[[["str",15]],[["descriptor",4],["error",4],["result",4]]]],[11,"from_str","","",51,[[["str",15]],[["error",4],["result",4],["miniscript",3]]]],[11,"eq","","",105,[[["segwitv0",4]],["bool",15]]],[11,"eq","bdk::keys","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"ne","","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"eq","","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"ne","","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"eq","bdk::descriptor","",50,[[["descriptor",4]],["bool",15]]],[11,"ne","","",50,[[["descriptor",4]],["bool",15]]],[11,"eq","","",104,[[["legacy",4]],["bool",15]]],[11,"eq","","",51,[[["miniscript",3]],["bool",15]]],[11,"eq","bdk::keys","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"ne","","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"zeroize","bdk::keys::bip39","",108,[[]]],[11,"zeroize","","",55,[[]]],[11,"zeroize","","",109,[[]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",56,[[["formatter",3]],[["result",4],["error",3]]]],[11,"as_ref","","",108,[[],["str",15]]],[11,"as_ref","","",109,[[]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"default","","",55,[[],["language",4]]],[11,"default","","",56,[[],["mnemonictype",4]]],[11,"clone","","",56,[[],["mnemonictype",4]]],[11,"clone","","",109,[[],["seed",3]]],[11,"clone","","",108,[[],["mnemonic",3]]],[11,"clone","","",55,[[],["language",4]]],[11,"fmt","","",56,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",55,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"drop","","",108,[[]]],[11,"drop","","",109,[[]]],[11,"eq","","",55,[[["language",4]],["bool",15]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"from_config","bdk::blockchain::any","",0,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::blockchain::electrum","",99,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::blockchain::esplora","",3,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::blockchain::compact_filters","",6,[[],[["error",4],["result",4]]]],[11,"update","bdk::blockchain","",102,[[["string",3],["f32",15],["option",4]],[["error",4],["result",4]]]],[11,"update","","",103,[[["string",3],["f32",15],["option",4]],[["error",4],["result",4]]]],[11,"set_script_pubkey","bdk::database::any","",14,[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]]],[11,"set_utxo","","",14,[[["localutxo",3]],[["error",4],["result",4]]]],[11,"set_raw_tx","","",14,[[["transaction",3]],[["error",4],["result",4]]]],[11,"set_tx","","",14,[[["transactiondetails",3]],[["error",4],["result",4]]]],[11,"set_last_index","","",14,[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]]],[11,"del_script_pubkey_from_path","","",14,[[["keychainkind",4],["u32",15]],[["option",4],["error",4],["result",4]]]],[11,"del_path_from_script_pubkey","","",14,[[["script",3]],[["result",4],["error",4],["option",4]]]],[11,"del_utxo","","",14,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"del_raw_tx","","",14,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"del_tx","","",14,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"del_last_index","","",14,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"set_script_pubkey","","",15,[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]]],[11,"set_utxo","","",15,[[["localutxo",3]],[["error",4],["result",4]]]],[11,"set_raw_tx","","",15,[[["transaction",3]],[["error",4],["result",4]]]],[11,"set_tx","","",15,[[["transactiondetails",3]],[["error",4],["result",4]]]],[11,"set_last_index","","",15,[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]]],[11,"del_script_pubkey_from_path","","",15,[[["keychainkind",4],["u32",15]],[["option",4],["error",4],["result",4]]]],[11,"del_path_from_script_pubkey","","",15,[[["script",3]],[["result",4],["error",4],["option",4]]]],[11,"del_utxo","","",15,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"del_raw_tx","","",15,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"del_tx","","",15,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"del_last_index","","",15,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"set_script_pubkey","bdk::database::memory","",18,[[["keychainkind",4],["u32",15],["script",3]],[["error",4],["result",4]]]],[11,"set_utxo","","",18,[[["localutxo",3]],[["error",4],["result",4]]]],[11,"set_raw_tx","","",18,[[["transaction",3]],[["error",4],["result",4]]]],[11,"set_tx","","",18,[[["transactiondetails",3]],[["error",4],["result",4]]]],[11,"set_last_index","","",18,[[["keychainkind",4],["u32",15]],[["error",4],["result",4]]]],[11,"del_script_pubkey_from_path","","",18,[[["keychainkind",4],["u32",15]],[["option",4],["error",4],["result",4]]]],[11,"del_path_from_script_pubkey","","",18,[[["script",3]],[["result",4],["error",4],["option",4]]]],[11,"del_utxo","","",18,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"del_raw_tx","","",18,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"del_tx","","",18,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"del_last_index","","",18,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"check_descriptor_checksum","bdk::database::any","",14,[[["keychainkind",4],["asref",8]],[["error",4],["result",4]]]],[11,"iter_script_pubkeys","","",14,[[["keychainkind",4],["option",4]],[["error",4],["result",4],["vec",3]]]],[11,"iter_utxos","","",14,[[],[["error",4],["result",4],["vec",3]]]],[11,"iter_raw_txs","","",14,[[],[["error",4],["result",4],["vec",3]]]],[11,"iter_txs","","",14,[[["bool",15]],[["result",4],["vec",3],["error",4]]]],[11,"get_script_pubkey_from_path","","",14,[[["keychainkind",4],["u32",15]],[["option",4],["error",4],["result",4]]]],[11,"get_path_from_script_pubkey","","",14,[[["script",3]],[["result",4],["error",4],["option",4]]]],[11,"get_utxo","","",14,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"get_raw_tx","","",14,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"get_tx","","",14,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"get_last_index","","",14,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"increment_last_index","","",14,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[11,"check_descriptor_checksum","bdk::database::memory","",18,[[["keychainkind",4],["asref",8]],[["error",4],["result",4]]]],[11,"iter_script_pubkeys","","",18,[[["keychainkind",4],["option",4]],[["error",4],["result",4],["vec",3]]]],[11,"iter_utxos","","",18,[[],[["error",4],["result",4],["vec",3]]]],[11,"iter_raw_txs","","",18,[[],[["error",4],["result",4],["vec",3]]]],[11,"iter_txs","","",18,[[["bool",15]],[["result",4],["vec",3],["error",4]]]],[11,"get_script_pubkey_from_path","","",18,[[["keychainkind",4],["u32",15]],[["option",4],["error",4],["result",4]]]],[11,"get_path_from_script_pubkey","","",18,[[["script",3]],[["result",4],["error",4],["option",4]]]],[11,"get_utxo","","",18,[[["outpoint",3]],[["option",4],["error",4],["result",4]]]],[11,"get_raw_tx","","",18,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"get_tx","","",18,[[["bool",15],["txid",3]],[["error",4],["result",4],["option",4]]]],[11,"get_last_index","","",18,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"increment_last_index","","",18,[[["keychainkind",4]],[["u32",15],["error",4],["result",4]]]],[11,"begin_batch","bdk::database::any","",14,[[]]],[11,"commit_batch","","",14,[[],[["error",4],["result",4]]]],[11,"begin_batch","bdk::database::memory","",18,[[]]],[11,"commit_batch","","",18,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::database::any","",14,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::database::memory","",18,[[],[["error",4],["result",4]]]],[11,"build","bdk::descriptor::template","",41,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",42,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",43,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",44,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",45,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",46,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",47,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",48,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",49,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"into_wallet_descriptor","bdk","",114,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[11,"into_wallet_descriptor","","",115,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[11,"extract_policy","bdk::descriptor","",51,[[["signerscontainer",3],["secp256k1",3]],[["option",4],["error",4],["result",4]]]],[11,"extract_policy","","",50,[[["signerscontainer",3],["secp256k1",3]],[["option",4],["error",4],["result",4]]]],[11,"into_descriptor_key","bdk::keys","",68,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",62,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",57,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",58,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys::bip39","",109,[[],[["result",4],["keyerror",4],["extendedkey",4]]]],[11,"into_descriptor_key","","",109,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk","",116,[[],[["result",4],["keyerror",4],["extendedkey",4]]]],[11,"into_descriptor_key","","",116,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys::bip39","",108,[[],[["result",4],["keyerror",4],["extendedkey",4]]]],[11,"into_descriptor_key","","",108,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys","",66,[[],[["result",4],["keyerror",4],["extendedkey",4]]]],[11,"into_extended_key","","",68,[[],[["result",4],["keyerror",4],["extendedkey",4]]]],[11,"into_descriptor_key","","",68,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"generate_with_entropy","bdk::keys::bip39","",108,[[],[["result",4],["generatedkey",3]]]],[11,"coin_select","bdk::wallet::coin_selection","",111,[[["f32",15],["vec",3],["feerate",3],["weightedutxo",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]]],[11,"coin_select","","",77,[[["f32",15],["vec",3],["feerate",3],["weightedutxo",3],["u64",15]],[["coinselectionresult",3],["error",4],["result",4]]]],[11,"get_capabilities","bdk::blockchain::any","",0,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",0,[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]]],[11,"sync","","",0,[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]]],[11,"get_tx","","",0,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",0,[[["transaction",3]],[["error",4],["result",4]]]],[11,"get_height","","",0,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",0,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::electrum","",99,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",99,[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]]],[11,"get_tx","","",99,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",99,[[["transaction",3]],[["error",4],["result",4]]]],[11,"get_height","","",99,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",99,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::esplora","",3,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",3,[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]]],[11,"get_tx","","",3,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",3,[[["transaction",3]],[["error",4],["result",4]]]],[11,"get_height","","",3,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",3,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::compact_filters","",6,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",6,[[["usize",15],["option",4],["progress",8]],[["error",4],["result",4]]]],[11,"get_tx","","",6,[[["txid",3]],[["result",4],["error",4],["option",4]]]],[11,"broadcast","","",6,[[["transaction",3]],[["error",4],["result",4]]]],[11,"get_height","","",6,[[],[["u32",15],["error",4],["result",4]]]],[11,"estimate_fee","","",6,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"as_ref","bdk","",93,[[]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["addressvalidatorerror",4]]]],[11,"from","","",89,[[["policyerror",4]]]],[11,"from","","",89,[[["signererror",4]]]],[11,"from","","",89,[[["keyerror",4]],["error",4]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",3]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["esploraerror",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["compactfilterserror",4]]]],[11,"from","bdk::blockchain::any","",0,[[["electrumblockchain",3]]]],[11,"from","","",0,[[["esplorablockchain",3]]]],[11,"from","","",0,[[["compactfiltersblockchain",3]]]],[11,"from","","",1,[[["electrumblockchainconfig",3]]]],[11,"from","","",1,[[["esplorablockchainconfig",3]]]],[11,"from","","",1,[[["compactfiltersblockchainconfig",3]]]],[11,"from","bdk::blockchain::electrum","",99,[[["client",3]]]],[11,"from","bdk::blockchain::esplora","",5,[[["error",3]]]],[11,"from","","",5,[[["parseinterror",3]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","bdk::blockchain::compact_filters","",9,[[["error",3]]]],[11,"from","","",9,[[["error",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","","",9,[[["systemtimeerror",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","bdk::database::any","",14,[[["memorydatabase",3]]]],[11,"from","","",14,[[["tree",3]]]],[11,"from","","",15,[[]]],[11,"from","","",15,[[]]],[11,"from","","",17,[[]]],[11,"from","","",17,[[["sleddbconfiguration",3]]]],[11,"from","bdk::descriptor::error","",23,[[["keyerror",4]],["error",4]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["policyerror",4]]]],[11,"from","bdk::descriptor::policy","",33,[[["bool",15]]]],[11,"from","","",37,[[["satisfiableitem",4]]]],[11,"from","bdk::keys","",66,[[["extendedpubkey",3]]]],[11,"from","","",66,[[["extendedprivkey",3]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","bdk::wallet::signer","",79,[[["hash",3]],["signerid",4]]],[11,"from","","",79,[[["fingerprint",3]],["signerid",4]]],[11,"from","","",83,[[["keymap",6]],["signerscontainer",3]]],[11,"clone","bdk::blockchain","",10,[[],["capability",4]]],[11,"clone","","",102,[[],["noopprogress",3]]],[11,"clone","","",103,[[],["logprogress",3]]],[11,"clone","bdk::descriptor","",106,[[],["deriveddescriptorkey",3]]],[11,"clone","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"clone","","",24,[[],["satisfiableitem",4]]],[11,"clone","","",33,[[],["satisfaction",4]]],[11,"clone","","",37,[[],["policy",3]]],[11,"clone","","",38,[[],["condition",3]]],[11,"clone","bdk::keys","",63,[[],["scriptcontextenum",4]]],[11,"clone","","",71,[[],["privatekeygenerateoptions",3]]],[11,"clone","bdk","",93,[[],["keychainkind",4]]],[11,"clone","","",110,[[],["feerate",3]]],[11,"clone","","",94,[[],["localutxo",3]]],[11,"clone","","",95,[[],["weightedutxo",3]]],[11,"clone","","",96,[[],["utxo",4]]],[11,"clone","","",98,[[],["transactiondetails",3]]],[11,"clone","bdk::wallet::address_validator","",73,[[],["addressvalidatorerror",4]]],[11,"clone","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"clone","bdk::wallet::signer","",79,[[],["signerid",4]]],[11,"clone","","",80,[[],["signererror",4]]],[11,"clone","","",82,[[],["signerordering",3]]],[11,"clone","","",83,[[],["signerscontainer",3]]],[11,"clone","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"clone","","",113,[[],["bumpfee",3]]],[11,"clone","","",84,[[]]],[11,"clone","","",85,[[],["txordering",4]]],[11,"clone","","",86,[[],["changespendpolicy",4]]],[11,"default","bdk::blockchain::compact_filters","",100,[[],["mempool",3]]],[11,"default","bdk::database::memory","",18,[[],["memorydatabase",3]]],[11,"default","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"default","","",38,[[],["condition",3]]],[11,"default","bdk::keys","",71,[[]]],[11,"default","bdk","",110,[[]]],[11,"default","","",98,[[],["transactiondetails",3]]],[11,"default","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"default","","",77,[[]]],[11,"default","bdk::wallet::signer","",82,[[]]],[11,"default","","",83,[[],["signerscontainer",3]]],[11,"default","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"default","","",113,[[],["bumpfee",3]]],[11,"default","","",85,[[]]],[11,"default","","",86,[[]]],[11,"cmp","bdk::descriptor","",106,[[],["ordering",4]]],[11,"cmp","bdk::descriptor::policy","",38,[[["condition",3]],["ordering",4]]],[11,"cmp","bdk::wallet::signer","",79,[[["signerid",4]],["ordering",4]]],[11,"cmp","","",82,[[["signerordering",3]],["ordering",4]]],[11,"cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],["ordering",4]]],[11,"cmp","","",86,[[["changespendpolicy",4]],["ordering",4]]],[11,"eq","bdk::blockchain","",10,[[["capability",4]],["bool",15]]],[11,"eq","bdk::descriptor","",106,[[],["bool",15]]],[11,"eq","bdk::descriptor::policy","",38,[[["condition",3]],["bool",15]]],[11,"ne","","",38,[[["condition",3]],["bool",15]]],[11,"eq","","",39,[[["policyerror",4]],["bool",15]]],[11,"ne","","",39,[[["policyerror",4]],["bool",15]]],[11,"eq","bdk::keys","",63,[[["scriptcontextenum",4]],["bool",15]]],[11,"eq","bdk","",93,[[["keychainkind",4]],["bool",15]]],[11,"eq","","",110,[[["feerate",3]],["bool",15]]],[11,"ne","","",110,[[["feerate",3]],["bool",15]]],[11,"eq","","",94,[[["localutxo",3]],["bool",15]]],[11,"ne","","",94,[[["localutxo",3]],["bool",15]]],[11,"eq","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"ne","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"eq","","",96,[[["utxo",4]],["bool",15]]],[11,"ne","","",96,[[["utxo",4]],["bool",15]]],[11,"eq","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"ne","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"eq","bdk::wallet::address_validator","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"ne","","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"eq","bdk::wallet::signer","",79,[[["signerid",4]],["bool",15]]],[11,"ne","","",79,[[["signerid",4]],["bool",15]]],[11,"eq","","",80,[[["signererror",4]],["bool",15]]],[11,"eq","","",82,[[["signerordering",3]],["bool",15]]],[11,"ne","","",82,[[["signerordering",3]],["bool",15]]],[11,"eq","bdk::wallet::tx_builder","",85,[[["txordering",4]],["bool",15]]],[11,"eq","","",86,[[["changespendpolicy",4]],["bool",15]]],[11,"partial_cmp","bdk::descriptor","",106,[[],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::descriptor::policy","",38,[[["condition",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk","",110,[[["feerate",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::wallet::signer","",79,[[["signerid",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","","",82,[[["signerordering",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","","",86,[[["changespendpolicy",4]],[["ordering",4],["option",4]]]],[11,"to_string","bdk::wallet::export","",78,[[],["string",3]]],[11,"deref","bdk::descriptor","",106,[[]]],[11,"deref","bdk::keys","",68,[[]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::any","",1,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::electrum","",2,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",4,[[["formatter",3]],["result",6]]],[11,"fmt","","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",100,[[["formatter",3]],["result",6]]],[11,"fmt","","",101,[[["formatter",3]],["result",6]]],[11,"fmt","","",6,[[["formatter",3]],["result",6]]],[11,"fmt","","",7,[[["formatter",3]],["result",6]]],[11,"fmt","","",8,[[["formatter",3]],["result",6]]],[11,"fmt","","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain","",10,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::any","",14,[[["formatter",3]],["result",6]]],[11,"fmt","","",16,[[["formatter",3]],["result",6]]],[11,"fmt","","",17,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::memory","",18,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",107,[[["formatter",3]],["result",6]]],[11,"fmt","","",24,[[["formatter",3]],["result",6]]],[11,"fmt","","",33,[[["formatter",3]],["result",6]]],[11,"fmt","","",37,[[["formatter",3]],["result",6]]],[11,"fmt","","",38,[[["formatter",3]],["result",6]]],[11,"fmt","","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",62,[[["formatter",3]],["result",6]]],[11,"fmt","","",63,[[["formatter",3]],["result",6]]],[11,"fmt","","",71,[[["formatter",3]],["result",6]]],[11,"fmt","","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",93,[[["formatter",3]],["result",6]]],[11,"fmt","","",110,[[["formatter",3]],["result",6]]],[11,"fmt","","",94,[[["formatter",3]],["result",6]]],[11,"fmt","","",95,[[["formatter",3]],["result",6]]],[11,"fmt","","",96,[[["formatter",3]],["result",6]]],[11,"fmt","","",98,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::coin_selection","",75,[[["formatter",3]],["result",6]]],[11,"fmt","","",111,[[["formatter",3]],["result",6]]],[11,"fmt","","",77,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::export","",78,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",79,[[["formatter",3]],["result",6]]],[11,"fmt","","",80,[[["formatter",3]],["result",6]]],[11,"fmt","","",82,[[["formatter",3]],["result",6]]],[11,"fmt","","",83,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::tx_builder","",112,[[["formatter",3]],["result",6]]],[11,"fmt","","",113,[[["formatter",3]],["result",6]]],[11,"fmt","","",84,[[["formatter",3]],["result",6]]],[11,"fmt","","",85,[[["formatter",3]],["result",6]]],[11,"fmt","","",86,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet","",88,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",80,[[["formatter",3]],["result",6]]],[11,"hash","bdk::blockchain","",10,[[]]],[11,"hash","bdk::descriptor","",106,[[]]],[11,"hash","bdk::descriptor::policy","",38,[[]]],[11,"hash","bdk","",93,[[]]],[11,"hash","bdk::wallet::signer","",79,[[]]],[11,"hash","bdk::wallet::tx_builder","",85,[[]]],[11,"hash","","",86,[[]]],[11,"from_str","bdk::wallet::export","",78,[[["str",15]],["result",4]]],[11,"serialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"serialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"serialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"serialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"serialize","","",8,[[],["result",4]]],[11,"serialize","bdk::database::any","",16,[[],["result",4]]],[11,"serialize","","",17,[[],["result",4]]],[11,"serialize","bdk::descriptor::policy","",107,[[],["result",4]]],[11,"serialize","","",24,[[],["result",4]]],[11,"serialize","","",33,[[],["result",4]]],[11,"serialize","","",37,[[],["result",4]]],[11,"serialize","","",38,[[],["result",4]]],[11,"serialize","bdk","",93,[[],["result",4]]],[11,"serialize","","",94,[[],["result",4]]],[11,"serialize","","",98,[[],["result",4]]],[11,"serialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"deserialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"deserialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"deserialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"deserialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"deserialize","","",8,[[],["result",4]]],[11,"deserialize","bdk::database::any","",16,[[],["result",4]]],[11,"deserialize","","",17,[[],["result",4]]],[11,"deserialize","bdk","",93,[[],["result",4]]],[11,"deserialize","","",94,[[],["result",4]]],[11,"deserialize","","",98,[[],["result",4]]],[11,"deserialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"to_pubkeyhash","bdk::descriptor","",106,[[]]],[11,"is_uncompressed","","",106,[[],["bool",15]]],[11,"serialized_len","","",106,[[],["usize",15]]],[11,"to_public_key","","",106,[[],["publickey",3]]],[11,"hash_to_hash160","","",106,[[],["hash",3]]],[11,"new","bdk::blockchain::compact_filters","Create a new empty mempool",100,[[]]],[11,"add_tx","","Add a transaction to the mempool",100,[[["transaction",3]]]],[11,"get_tx","","Look-up a transaction in the mempool given an [<code>Inventory</code>] …",100,[[["inventory",4]],[["transaction",3],["option",4]]]],[11,"has_tx","","Return whether or not the mempool contains a transaction …",100,[[["txid",3]],["bool",15]]],[11,"iter_txs","","Return the list of transactions contained in the mempool",100,[[],[["transaction",3],["vec",3]]]],[11,"connect","","Connect to a peer over a plaintext TCP connection",101,[[["mempool",3],["network",4],["tosocketaddrs",8],["arc",3]],[["compactfilterserror",4],["result",4]]]],[11,"connect_proxy","","Connect to a peer through a SOCKS5 proxy, optionally by …",101,[[["option",4],["totargetaddr",8],["mempool",3],["network",4],["tosocketaddrs",8],["arc",3]],[["compactfilterserror",4],["result",4]]]],[11,"get_version","","Return the [<code>VersionMessage</code>] sent by the peer",101,[[],["versionmessage",3]]],[11,"get_network","","Return the Bitcoin [<code>Network</code>] in use",101,[[],["network",4]]],[11,"get_mempool","","Return the mempool used by this peer",101,[[],[["mempool",3],["arc",3]]]],[11,"is_connected","","Return whether or not the peer is still connected",101,[[],["bool",15]]],[11,"send","","Send a raw Bitcoin message to the peer",101,[[["networkmessage",4]],[["compactfilterserror",4],["result",4]]]],[11,"recv","","Waits for a specific incoming Bitcoin message, optionally …",101,[[["option",4],["str",15],["duration",3]],[["result",4],["option",4],["compactfilterserror",4]]]],[11,"new_pk","bdk::descriptor","Create a new pk descriptor",50,[[],["descriptor",4]]],[11,"new_pkh","","Create a new PkH descriptor",50,[[],["descriptor",4]]],[11,"new_wpkh","","Create a new Wpkh descriptor Will return Err if …",50,[[],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wpkh","","Create a new sh wrapped wpkh from <code>Pk</code>. Errors when …",50,[[],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh","","Create a new sh for a given redeem script Errors when …",50,[[["miniscript",3],["legacy",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_wsh","","Create a new wsh descriptor from witness script Errors …",50,[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wsh","","Create a new sh wrapped wsh descriptor with witness script…",50,[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_bare","","Create a new bare descriptor from witness script Errors …",50,[[["barectx",4],["miniscript",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_sortedmulti","","Create a new sh sortedmulti descriptor with threshold <code>k</code> …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wsh_sortedmulti","","Create a new sh wrapped wsh sortedmulti descriptor from …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_wsh_sortedmulti","","Create a new wsh sorted multi descriptor Errors when …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"desc_type","","Get the [DescriptorType] of [Descriptor]",50,[[],["descriptortype",4]]],[11,"is_deriveable","","Whether or not the descriptor has any wildcards",50,[[],["bool",15]]],[11,"derive","","Derives all wildcard keys in the descriptor using the …",50,[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]]],[11,"parse_descriptor","","Parse a descriptor that may contain secret keys",50,[[["secp256k1",3],["str",15]],[["result",4],["error",4]]]],[11,"to_string_with_secret","","Serialize a descriptor to string with its secret keys",50,[[["hashmap",3]],["string",3]]],[11,"master_fingerprint","bdk::keys","The fingerprint of the master key associated with this key",57,[[],["fingerprint",3]]],[11,"full_derivation_path","","Full path, from the master key",57,[[],["derivationpath",3]]],[11,"is_deriveable","","Whether or not the key has a wildcards",57,[[],["bool",15]]],[11,"derive","","If this public key has a wildcard, replace it by the …",57,[[["u32",15]],["descriptorpublickey",4]]],[11,"derive_public_key","","Computes the public key corresponding to this descriptor …",57,[[["secp256k1",3]],[["result",4],["publickey",3],["conversionerror",4]]]],[11,"requires_sig","bdk::descriptor","Whether all spend paths of miniscript require a signature",51,[[],["bool",15]]],[11,"is_non_malleable","","Whether the miniscript is malleable",51,[[],["bool",15]]],[11,"within_resource_limits","","Whether the miniscript can exceed the resource …",51,[[],["bool",15]]],[11,"has_mixed_timelocks","","Whether the miniscript contains a combination of timelocks",51,[[],["bool",15]]],[11,"has_repeated_keys","","Whether the miniscript has repeated Pk or Pkh",51,[[],["bool",15]]],[11,"sanity_check","","Check whether the underlying Miniscript is safe under the …",51,[[],[["result",4],["analysiserror",4]]]],[11,"iter","","Creates a new [Iter] iterator that will iterate over all […",51,[[],["iter",3]]],[11,"iter_pk","","Creates a new [PkIter] iterator that will iterate over …",51,[[],["pkiter",3]]],[11,"iter_pkh","","Creates a new [PkhIter] iterator that will iterate over …",51,[[],["pkhiter",3]]],[11,"iter_pk_pkh","","Creates a new [PkPkhIter] iterator that will iterate over …",51,[[],["pkpkhiter",3]]],[11,"branches","","Enumerates all child nodes of the current AST node (<code>self</code>) …",51,[[],[["global",3],["vec",3],["miniscript",3]]]],[11,"get_nth_child","","Returns child node with given index, if any",51,[[["usize",15]],[["miniscript",3],["option",4]]]],[11,"get_leaf_pk","","Returns <code>Vec</code> with cloned version of all public keys from …",51,[[],[["global",3],["vec",3]]]],[11,"get_leaf_pkh","","Returns <code>Vec</code> with hashes of all public keys from the …",51,[[],[["global",3],["vec",3]]]],[11,"get_leaf_pk_pkh","","Returns <code>Vec</code> of [PkPkh] entries, representing either …",51,[[],[["global",3],["pkpkh",4],["vec",3]]]],[11,"get_nth_pk","","Returns <code>Option::Some</code> with cloned n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pkh","","Returns <code>Option::Some</code> with hash of n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pk_pkh","","Returns <code>Option::Some</code> with hash of n’th public key or …",51,[[["usize",15]],[["option",4],["pkpkh",4]]]],[11,"from_ast","","Add type information(Type and Extdata) to Miniscript …",51,[[["terminal",4]],[["error",4],["result",4],["miniscript",3]]]],[11,"into_inner","","Extracts the <code>AstElem</code> representing the root of the …",51,[[],["terminal",4]]],[11,"as_inner","","Get a reference to the inner <code>AstElem</code> representing the …",51,[[],["terminal",4]]],[11,"parse_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["script",3]],[["error",4],["miniscript",3],["result",4]]]],[11,"parse","","Attempt to parse a Script into Miniscript representation. …",51,[[["script",3]],[["error",4],["miniscript",3],["result",4]]]],[11,"encode","","Encode as a Bitcoin script",51,[[],["script",3]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",51,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",51,[[],[["result",4],["usize",15],["error",4]]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. For …",51,[[],[["result",4],["usize",15],["error",4]]]],[11,"from_str_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["str",15]],[["error",4],["result",4],["miniscript",3]]]],[11,"satisfy","","Attempt to produce non-malleable satisfying witness for …",51,[[],[["error",4],["result",4],["vec",3]]]],[11,"satisfy_malleable","","Attempt to produce a malleable satisfying witness for the …",51,[[],[["error",4],["result",4],["vec",3]]]],[11,"lift_check","","Lifting corresponds conversion of miniscript into Policy […",51,[[],[["lifterror",4],["result",4]]]],[11,"check_witness","bdk::keys","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"new","bdk::descriptor","Construct a new derived key",106,[[["secp256k1",3],["descriptorpublickey",4]],["deriveddescriptorkey",3]]],[11,"from_language_code","bdk::keys::bip39","Construct a word list from its language code. Returns None…",55,[[["str",15]],[["option",4],["language",4]]]],[11,"wordlist","","Get the word list for this language",55,[[],["wordlist",3]]],[11,"wordmap","","Get a [<code>WordMap</code>][WordMap] that allows word -> index …",55,[[],["wordmap",3]]],[11,"new","","Generates a new <code>Mnemonic</code>",108,[[["mnemonictype",4],["language",4]],["mnemonic",3]]],[11,"from_entropy","","Create a <code>Mnemonic</code> from pre-generated entropy",108,[[["language",4]],[["error",3],["mnemonic",3],["result",4]]]],[11,"from_phrase","","Create a <code>Mnemonic</code> from an existing mnemonic phrase",108,[[["language",4],["str",15]],[["error",3],["mnemonic",3],["result",4]]]],[11,"validate","","Validate a mnemonic phrase",108,[[["language",4],["str",15]],[["error",3],["result",4]]]],[11,"phrase","","Get the mnemonic phrase as a string reference.",108,[[],["str",15]]],[11,"into_phrase","","Consume the <code>Mnemonic</code> and return the phrase as a <code>String</code>.",108,[[],["string",3]]],[11,"entropy","","Get the original entropy value of the mnemonic phrase as …",108,[[]]],[11,"language","","Get the <code>Language</code>",108,[[],["language",4]]],[11,"for_word_count","","Get a <code>MnemonicType</code> for a mnemonic phrase with a specific …",56,[[["usize",15]],[["mnemonictype",4],["error",3],["result",4]]]],[11,"for_key_size","","Get a <code>MnemonicType</code> for a mnemonic phrase representing the …",56,[[["usize",15]],[["mnemonictype",4],["error",3],["result",4]]]],[11,"for_phrase","","Get a <code>MnemonicType</code> for an existing mnemonic phrase",56,[[["str",15]],[["mnemonictype",4],["error",3],["result",4]]]],[11,"total_bits","","Return the number of entropy+checksum bits",56,[[],["usize",15]]],[11,"entropy_bits","","Return the number of entropy bits",56,[[],["usize",15]]],[11,"checksum_bits","","Return the number of checksum bits",56,[[],["u8",15]]],[11,"word_count","","Return the number of words",56,[[],["usize",15]]],[11,"new","","Generates the seed from the <code>Mnemonic</code> and the password.",109,[[["str",15],["mnemonic",3]],["seed",3]]],[11,"as_bytes","","Get the seed value as a byte slice",109,[[]]],[11,"as_public","bdk::keys","Return the public version of this key, by applying either …",58,[[["secp256k1",3]],[["descriptorkeyparseerror",3],["result",4],["descriptorpublickey",4]]]],[11,"new","","Create a new instance of <code>SortedMultiVec</code> given a list of …",61,[[["usize",15],["global",3],["vec",3]],[["error",4],["sortedmultivec",3],["result",4]]]],[11,"from_tree","","Parse an expression tree into a SortedMultiVec",61,[[["tree",3]],[["error",4],["sortedmultivec",3],["result",4]]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",61,[[],[["result",4],["sortedmultivec",3]]]],[11,"sanity_check","","utility function to sanity a sorted multi vec",61,[[],[["error",4],["result",4]]]],[11,"sorted_node","","Create Terminal::Multi containing sorted pubkeys",61,[[],["terminal",4]]],[11,"encode","","Encode as a Bitcoin script",61,[[],["script",3]]],[11,"satisfy","","Attempt to produce a satisfying witness for the witness …",61,[[],[["error",4],["result",4],["vec",3]]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",61,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",61,[[],["usize",15]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. In …",61,[[],["usize",15]]],[11,"as_byte","bdk","Return [<code>KeychainKind</code>] as a byte",93,[[],["u8",15]]],[11,"from_btc_per_kvb","","Create a new instance of [<code>FeeRate</code>] given a float fee rate …",110,[[["f32",15]]]],[11,"from_sat_per_vb","","Create a new instance of [<code>FeeRate</code>] given a float fee rate …",110,[[["f32",15]]]],[11,"default_min_relay_fee","","Create a new [<code>FeeRate</code>] with the default min relay fee …",110,[[]]],[11,"as_sat_vb","","Return the value as satoshi/vbyte",110,[[],["f32",15]]],[11,"outpoint","","Get the location of the UTXO",96,[[],["outpoint",3]]],[11,"txout","","Get the <code>TxOut</code> of the UTXO",96,[[],["txout",3]]]],"p":[[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[3,"ElectrumBlockchainConfig"],[3,"EsploraBlockchain"],[3,"EsploraBlockchainConfig"],[4,"EsploraError"],[3,"CompactFiltersBlockchain"],[3,"BitcoinPeerConfig"],[3,"CompactFiltersBlockchainConfig"],[4,"CompactFiltersError"],[4,"Capability"],[8,"Blockchain"],[8,"ConfigurableBlockchain"],[8,"Progress"],[4,"AnyDatabase"],[4,"AnyBatch"],[3,"SledDbConfiguration"],[4,"AnyDatabaseConfig"],[3,"MemoryDatabase"],[8,"BatchOperations"],[8,"Database"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[4,"Error"],[4,"SatisfiableItem"],[13,"SHA256Preimage"],[13,"HASH256Preimage"],[13,"RIPEMD160Preimage"],[13,"HASH160Preimage"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[13,"Multisig"],[13,"Thresh"],[4,"Satisfaction"],[13,"Partial"],[13,"PartialComplete"],[13,"Complete"],[3,"Policy"],[3,"Condition"],[4,"PolicyError"],[8,"DescriptorTemplate"],[3,"P2PKH"],[3,"P2WPKH_P2SH"],[3,"P2WPKH"],[3,"BIP44"],[3,"BIP44Public"],[3,"BIP49"],[3,"BIP49Public"],[3,"BIP84"],[3,"BIP84Public"],[4,"Descriptor"],[3,"Miniscript"],[8,"ScriptContext"],[8,"IntoWalletDescriptor"],[8,"ExtractPolicy"],[4,"Language"],[4,"MnemonicType"],[4,"DescriptorPublicKey"],[4,"DescriptorSecretKey"],[3,"DescriptorSinglePriv"],[3,"DescriptorSinglePub"],[3,"SortedMultiVec"],[4,"DescriptorKey"],[4,"ScriptContextEnum"],[8,"ExtScriptContext"],[8,"IntoDescriptorKey"],[4,"ExtendedKey"],[8,"DerivableKey"],[3,"GeneratedKey"],[8,"GeneratableKey"],[8,"GeneratableDefaultOptions"],[3,"PrivateKeyGenerateOptions"],[4,"KeyError"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[8,"CoinSelectionAlgorithm"],[3,"BranchAndBoundCoinSelection"],[3,"WalletExport"],[4,"SignerId"],[4,"SignerError"],[8,"Signer"],[3,"SignerOrdering"],[3,"SignersContainer"],[3,"TxBuilder"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[8,"IsDust"],[3,"Wallet"],[4,"Error"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[4,"KeychainKind"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[4,"Utxo"],[13,"Foreign"],[3,"TransactionDetails"],[3,"ElectrumBlockchain"],[3,"Mempool"],[3,"Peer"],[3,"NoopProgress"],[3,"LogProgress"],[4,"Legacy"],[4,"Segwitv0"],[3,"DerivedDescriptorKey"],[3,"PKOrF"],[3,"Mnemonic"],[3,"Seed"],[3,"FeeRate"],[3,"LargestFirstCoinSelection"],[3,"CreateTx"],[3,"BumpFee"],[6,"ExtendedDescriptor"],[6,"DescriptorTemplateOut"],[6,"MnemonicWithPassphrase"]]}\
+"bdk":{"doc":"A modern, lightweight, descriptor-based wallet library …","i":[[0,"blockchain","bdk","Blockchain backends",null,null],[0,"any","bdk::blockchain","Runtime-checked blockchain types",null,null],[4,"AnyBlockchain","bdk::blockchain::any","Type that can contain any of the [<code>Blockchain</code>] types …",null,null],[13,"Electrum","","Electrum client",0,null],[13,"Esplora","","Esplora client",0,null],[13,"CompactFilters","","Compact filters client",0,null],[4,"AnyBlockchainConfig","","Type that can contain any of the blockchain …",null,null],[13,"Electrum","","Electrum client",1,null],[13,"Esplora","","Esplora client",1,null],[13,"CompactFilters","","Compact filters client",1,null],[0,"electrum","bdk::blockchain","Electrum",null,null],[3,"ElectrumBlockchain","bdk::blockchain::electrum","Wrapper over an Electrum Client that implements the …",null,null],[3,"ElectrumBlockchainConfig","","Configuration for an [<code>ElectrumBlockchain</code>]",null,null],[12,"url","","URL of the Electrum server (such as ElectrumX, Esplora, …",2,null],[12,"socks5","","URL of the socks5 proxy server or a Tor service",2,null],[12,"retry","","Request retry count",2,null],[12,"timeout","","Request timeout (seconds)",2,null],[0,"esplora","bdk::blockchain","Esplora",null,null],[3,"EsploraBlockchain","bdk::blockchain::esplora","Structure that implements the logic to sync with Esplora",null,null],[11,"new","","Create a new instance of the client from a base URL",3,[[["u8",15],["option",4],["str",15]]]],[3,"EsploraBlockchainConfig","","Configuration for an [<code>EsploraBlockchain</code>]",null,null],[12,"base_url","","Base URL of the esplora service",4,null],[12,"concurrency","","Number of parallel requests sent to the esplora service …",4,null],[4,"EsploraError","","Errors that can happen during a sync with […",null,null],[13,"Reqwest","","Error with the HTTP call",5,null],[13,"Parsing","","Invalid number returned",5,null],[13,"BitcoinEncoding","","Invalid Bitcoin data returned",5,null],[13,"Hex","","Invalid Hex data returned",5,null],[13,"TransactionNotFound","","Transaction not found",5,null],[13,"HeaderHeightNotFound","","Header height not found",5,null],[13,"HeaderHashNotFound","","Header hash not found",5,null],[0,"compact_filters","bdk::blockchain","Compact Filters",null,null],[3,"Mempool","bdk::blockchain::compact_filters","Container for unconfirmed, but valid Bitcoin transactions",null,null],[3,"Peer","","A Bitcoin peer",null,null],[3,"CompactFiltersBlockchain","","Structure implementing the required blockchain traits",null,null],[11,"new","","Construct a new instance given a list of peers, a path to …",6,[[["peer",3],["asref",8],["usize",15],["path",3],["option",4],["vec",3]],[["result",4],["compactfilterserror",4]]]],[3,"BitcoinPeerConfig","","Data to connect to a Bitcoin P2P peer",null,null],[12,"address","","Peer address such as 127.0.0.1:18333",7,null],[12,"socks5","","Optional socks5 proxy",7,null],[12,"socks5_credentials","","Optional socks5 proxy credentials",7,null],[3,"CompactFiltersBlockchainConfig","","Configuration for a [<code>CompactFiltersBlockchain</code>]",null,null],[12,"peers","","List of peers to try to connect to for asking headers and …",8,null],[12,"network","","Network used",8,null],[12,"storage_dir","","Storage dir to save partially downloaded headers and full …",8,null],[12,"skip_blocks","","Optionally skip initial <code>skip_blocks</code> blocks (default: 0)",8,null],[4,"CompactFiltersError","","An error that can occur during sync with a […",null,null],[13,"InvalidResponse","","A peer sent an invalid or unexpected response",9,null],[13,"InvalidHeaders","","The headers returned are invalid",9,null],[13,"InvalidFilterHeader","","The compact filter headers returned are invalid",9,null],[13,"InvalidFilter","","The compact filter returned is invalid",9,null],[13,"MissingBlock","","The peer is missing a block in the valid chain",9,null],[13,"DataCorruption","","The data stored in the block filters storage are corrupted",9,null],[13,"NotConnected","","A peer is not connected",9,null],[13,"Timeout","","A peer took too long to reply to one of our messages",9,null],[13,"PeerBloomDisabled","","The peer doesn’t advertise the <code>BLOOM</code> service flag",9,null],[13,"NoPeers","","No peers have been specified",9,null],[13,"DB","","Internal database error",9,null],[13,"IO","","Internal I/O error",9,null],[13,"BIP158","","Invalid BIP158 filter",9,null],[13,"Time","","Internal system time error",9,null],[13,"Global","","Wrapper for [<code>crate::error::Error</code>]",9,null],[4,"Capability","bdk::blockchain","Capabilities that can be supported by a [<code>Blockchain</code>] …",null,null],[13,"FullHistory","","Can recover the full history of a wallet and not only the …",10,null],[13,"GetAnyTx","","Can fetch any historical transaction given its txid",10,null],[13,"AccurateFees","","Can compute accurate fees for the transactions found …",10,null],[8,"Blockchain","","Trait that defines the actions that must be supported by …",null,null],[10,"get_capabilities","","Return the set of [<code>Capability</code>] supported by this backend",11,[[],[["hashset",3],["capability",4]]]],[10,"setup","","Setup the backend and populate the internal database for …",11,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"sync","","Populate the internal database with transactions and UTXOs",11,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[10,"get_tx","","Fetch a transaction from the blockchain given its txid",11,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[10,"broadcast","","Broadcast a transaction",11,[[["transaction",3]],[["result",4],["error",4]]]],[10,"get_height","","Return the current height",11,[[],[["result",4],["u32",15],["error",4]]]],[10,"estimate_fee","","Estimate the fee rate required to confirm a transaction …",11,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[8,"ConfigurableBlockchain","","Trait for [<code>Blockchain</code>] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",12,null],[10,"from_config","","Create a new instance given a configuration",12,[[],[["error",4],["result",4]]]],[6,"ProgressData","","Data sent with a progress update over a [<code>channel</code>]",null,null],[8,"Progress","","Trait for types that can receive and process progress …",null,null],[10,"update","","Send a new progress update",13,[[["string",3],["f32",15],["option",4]],[["result",4],["error",4]]]],[5,"progress","","Shortcut to create a [<code>channel</code>] (pair of [<code>Sender</code>] and […",null,[[]]],[3,"NoopProgress","","Type that implements [<code>Progress</code>] and drops every update …",null,null],[5,"noop_progress","","Create a new instance of [<code>NoopProgress</code>]",null,[[],["noopprogress",3]]],[3,"LogProgress","","Type that implements [<code>Progress</code>] and logs at level <code>INFO</code> …",null,null],[5,"log_progress","","Create a nwe instance of [<code>LogProgress</code>]",null,[[],["logprogress",3]]],[0,"database","bdk","Database types",null,null],[0,"any","bdk::database","Runtime-checked database types",null,null],[4,"AnyDatabase","bdk::database::any","Type that can contain any of the [<code>Database</code>] types defined …",null,null],[13,"Memory","","In-memory ephemeral database",14,null],[13,"Sled","","Simple key-value embedded database based on [<code>sled</code>]",14,null],[4,"AnyBatch","","Type that contains any of the [<code>BatchDatabase::Batch</code>] …",null,null],[13,"Memory","","In-memory ephemeral database",15,null],[13,"Sled","","Simple key-value embedded database based on [<code>sled</code>]",15,null],[3,"SledDbConfiguration","","Configuration type for a [<code>sled::Tree</code>] database",null,null],[12,"path","","Main directory of the db",16,null],[12,"tree_name","","Name of the database tree, a separated namespace for the …",16,null],[4,"AnyDatabaseConfig","","Type that can contain any of the database configurations …",null,null],[13,"Memory","","Memory database has no config",17,null],[13,"Sled","","Simple key-value embedded database based on [<code>sled</code>]",17,null],[0,"memory","bdk::database","In-memory ephemeral database",null,null],[3,"MemoryDatabase","bdk::database::memory","In-memory ephemeral database",null,null],[11,"new","","Create a new empty database",18,[[]]],[8,"BatchOperations","bdk::database","Trait for operations that can be batched",null,null],[10,"set_script_pubkey","","Store a script_pubkey along with its keychain and child …",19,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[10,"set_utxo","","Store a [<code>LocalUtxo</code>]",19,[[["localutxo",3]],[["result",4],["error",4]]]],[10,"set_raw_tx","","Store a raw transaction",19,[[["transaction",3]],[["result",4],["error",4]]]],[10,"set_tx","","Store the metadata of a transaction",19,[[["transactiondetails",3]],[["result",4],["error",4]]]],[10,"set_last_index","","Store the last derivation index for a given keychain.",19,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[10,"del_script_pubkey_from_path","","Delete a script_pubkey given the keychain and its child …",19,[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[10,"del_path_from_script_pubkey","","Delete the data related to a specific script_pubkey, …",19,[[["script",3]],[["result",4],["option",4],["error",4]]]],[10,"del_utxo","","Delete a [<code>LocalUtxo</code>] given its [<code>OutPoint</code>]",19,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[10,"del_raw_tx","","Delete a raw transaction given its [<code>Txid</code>]",19,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[10,"del_tx","","Delete the metadata of a transaction and optionally the …",19,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[10,"del_last_index","","Delete the last derivation index for a keychain.",19,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[8,"Database","","Trait for reading data from a database",null,null],[10,"check_descriptor_checksum","","Read and checks the descriptor checksum for a given …",20,[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]]],[10,"iter_script_pubkeys","","Return the list of script_pubkeys",20,[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]]],[10,"iter_utxos","","Return the list of [<code>LocalUtxo</code>]s",20,[[],[["vec",3],["error",4],["result",4]]]],[10,"iter_raw_txs","","Return the list of raw transactions",20,[[],[["result",4],["vec",3],["error",4]]]],[10,"iter_txs","","Return the list of transactions metadata",20,[[["bool",15]],[["error",4],["vec",3],["result",4]]]],[10,"get_script_pubkey_from_path","","Fetch a script_pubkey given the child number of a …",20,[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[10,"get_path_from_script_pubkey","","Fetch the keychain and child number of a given …",20,[[["script",3]],[["result",4],["option",4],["error",4]]]],[10,"get_utxo","","Fetch a [<code>LocalUtxo</code>] given its [<code>OutPoint</code>]",20,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[10,"get_raw_tx","","Fetch a raw transaction given its [<code>Txid</code>]",20,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[10,"get_tx","","Fetch the transaction metadata and optionally also the …",20,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[10,"get_last_index","","Return the last defivation index for a keychain.",20,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[10,"increment_last_index","","Increment the last derivation index for a keychain and …",20,[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]]],[8,"BatchDatabase","","Trait for a database that supports batch operations",null,null],[16,"Batch","","Container for the operations",21,null],[10,"begin_batch","","Create a new batch container",21,[[]]],[10,"commit_batch","","Consume and apply a batch of operations",21,[[],[["result",4],["error",4]]]],[8,"ConfigurableDatabase","","Trait for [<code>Database</code>] types that can be created given a …",null,null],[16,"Config","","Type that contains the configuration",22,null],[10,"from_config","","Create a new instance given a configuration",22,[[],[["error",4],["result",4]]]],[0,"descriptor","bdk","Descriptors",null,null],[0,"checksum","bdk::descriptor","Descriptor checksum",null,null],[5,"get_checksum","bdk::descriptor::checksum","Compute the checksum of a descriptor",null,[[["str",15]],[["string",3],["result",4],["descriptorerror",4]]]],[0,"error","bdk::descriptor","Descriptor errors",null,null],[4,"Error","bdk::descriptor::error","Errors related to the parsing and usage of descriptors",null,null],[13,"InvalidHDKeyPath","","Invalid HD Key path, such as having a wildcard but a …",23,null],[13,"InvalidDescriptorChecksum","","The provided descriptor doesn’t match its checksum",23,null],[13,"HardenedDerivationXpub","","The descriptor contains hardened derivation steps on …",23,null],[13,"DuplicatedKeys","","The descriptor contains multiple keys with the same BIP32 …",23,null],[13,"Key","","Error thrown while working with <code>keys</code>",23,null],[13,"Policy","","Error while extracting and manipulating policies",23,null],[13,"InvalidDescriptorCharacter","","Invalid character found in the descriptor checksum",23,null],[13,"BIP32","","BIP32 error",23,null],[13,"Base58","","Error during base58 decoding",23,null],[13,"PK","","Key-related error",23,null],[13,"Miniscript","","Miniscript error",23,null],[13,"Hex","","Hex decoding error",23,null],[0,"policy","bdk::descriptor","Descriptor policy",null,null],[3,"PKOrF","bdk::descriptor::policy","Raw public key or extended key fingerprint",null,null],[4,"SatisfiableItem","","An item that needs to be satisfied",null,null],[13,"Signature","","Signature for a raw public key",24,null],[13,"SignatureKey","","Signature for an extended key fingerprint",24,null],[13,"SHA256Preimage","","SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",25,null],[13,"HASH256Preimage","bdk::descriptor::policy","Double SHA256 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",26,null],[13,"RIPEMD160Preimage","bdk::descriptor::policy","RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",27,null],[13,"HASH160Preimage","bdk::descriptor::policy","SHA256 then RIPEMD160 preimage hash",24,null],[12,"hash","bdk::descriptor::policy::SatisfiableItem","The digest value",28,null],[13,"AbsoluteTimelock","bdk::descriptor::policy","Absolute timeclock timestamp",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The timestamp value",29,null],[13,"RelativeTimelock","bdk::descriptor::policy","Relative timelock locktime",24,null],[12,"value","bdk::descriptor::policy::SatisfiableItem","The locktime value",30,null],[13,"Multisig","bdk::descriptor::policy","Multi-signature public keys with threshold count",24,null],[12,"keys","bdk::descriptor::policy::SatisfiableItem","The raw public key or extended key fingerprint",31,null],[12,"threshold","","The required threshold count",31,null],[13,"Thresh","bdk::descriptor::policy","Threshold items with threshold count",24,null],[12,"items","bdk::descriptor::policy::SatisfiableItem","The policy items",32,null],[12,"threshold","","The required threshold count",32,null],[11,"is_leaf","bdk::descriptor::policy","Returns whether the [<code>SatisfiableItem</code>] is a leaf item",24,[[],["bool",15]]],[11,"id","","Returns a unique id for the [<code>SatisfiableItem</code>]",24,[[],["string",3]]],[6,"ConditionMap","","Type for a map of sets of [<code>Condition</code>] items keyed by each …",null,null],[6,"FoldedConditionMap","","Type for a map of folded sets of [<code>Condition</code>] items keyed …",null,null],[4,"Satisfaction","","Represent if and how much a policy item is satisfied by …",null,null],[13,"Partial","","Only a partial satisfaction of some kind of threshold …",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",34,null],[12,"m","","Threshold",34,null],[12,"items","","The items that can be satisfied by the descriptor",34,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",34,null],[12,"conditions","","Extra conditions that also need to be satisfied",34,null],[13,"PartialComplete","bdk::descriptor::policy","Can reach the threshold of some kind of threshold policy",33,null],[12,"n","bdk::descriptor::policy::Satisfaction","Total number of items",35,null],[12,"m","","Threshold",35,null],[12,"items","","The items that can be satisfied by the descriptor",35,null],[12,"sorted","","Whether the items are sorted in lexicographic order (used …",35,null],[12,"conditions","","Extra conditions that also need to be satisfied",35,null],[13,"Complete","bdk::descriptor::policy","Can satisfy the policy item",33,null],[12,"condition","bdk::descriptor::policy::Satisfaction","Extra conditions that also need to be satisfied",36,null],[13,"None","bdk::descriptor::policy","Cannot satisfy or contribute to the policy item",33,null],[11,"is_leaf","","Returns whether the [<code>Satisfaction</code>] is a leaf item",33,[[],["bool",15]]],[3,"Policy","","Descriptor spending policy",null,null],[12,"id","","Identifier for this policy node",37,null],[12,"item","","Type of this policy node",37,null],[12,"satisfaction","","How a much given PSBT already satisfies this polcy node <strong>…",37,null],[12,"contribution","","How the wallet’s descriptor can satisfy this policy node",37,null],[3,"Condition","","An extra condition that must be satisfied but that is out …",null,null],[12,"csv","","Optional CheckSequenceVerify condition",38,null],[12,"timelock","","Optional timelock condition",38,null],[11,"is_null","","Returns <code>true</code> if there are no extra conditions to verify",38,[[],["bool",15]]],[4,"PolicyError","","Errors that can happen while extracting and manipulating …",null,null],[13,"NotEnoughItemsSelected","","Not enough items are selected to satisfy a […",39,null],[13,"IndexOutOfRange","","Index out of range for an item to satisfy a […",39,null],[13,"AddOnLeaf","","Can not add to an item that is [<code>Satisfaction::None</code>] or […",39,null],[13,"AddOnPartialComplete","","Can not add to an item that is […",39,null],[13,"MixedTimelockUnits","","Can not merge CSV or timelock values unless both are less …",39,null],[13,"IncompatibleConditions","","Incompatible conditions (not currently used)",39,null],[11,"requires_path","","Return whether or not a specific path in the policy tree …",37,[[],["bool",15]]],[11,"get_condition","","Return the conditions that are set by the spending policy …",37,[[["btreemap",3]],[["condition",3],["policyerror",4],["result",4]]]],[0,"template","bdk::descriptor","Descriptor templates",null,null],[6,"DescriptorTemplateOut","bdk::descriptor::template","Type alias for the return type of [<code>DescriptorTemplate</code>], …",null,null],[8,"DescriptorTemplate","","Trait for descriptor templates that can be built into a …",null,null],[10,"build","","Build the complete descriptor",40,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[3,"P2PKH","","P2PKH template. Expands to a descriptor <code>pkh(key)</code>",null,null],[12,"0","","",41,null],[3,"P2WPKH_P2SH","","P2WPKH-P2SH template. Expands to a descriptor …",null,null],[12,"0","","",42,null],[3,"P2WPKH","","P2WPKH template. Expands to a descriptor <code>wpkh(key)</code>",null,null],[12,"0","","",43,null],[3,"BIP44","","BIP44 template. Expands to <code>pkh(key/44\'/0\'/0\'/{0,1}/*)</code>",null,null],[12,"0","","",44,null],[12,"1","","",44,null],[3,"BIP44Public","","BIP44 public template. Expands to <code>pkh(key/{0,1}/*)</code>",null,null],[12,"0","","",45,null],[12,"1","","",45,null],[12,"2","","",45,null],[3,"BIP49","","BIP49 template. Expands to <code>sh(wpkh(key/49\'/0\'/0\'/{0,1}/*))</code>",null,null],[12,"0","","",46,null],[12,"1","","",46,null],[3,"BIP49Public","","BIP49 public template. Expands to <code>sh(wpkh(key/{0,1}/*))</code>",null,null],[12,"0","","",47,null],[12,"1","","",47,null],[12,"2","","",47,null],[3,"BIP84","","BIP84 template. Expands to <code>wpkh(key/84\'/0\'/0\'/{0,1}/*)</code>",null,null],[12,"0","","",48,null],[12,"1","","",48,null],[3,"BIP84Public","","BIP84 public template. Expands to <code>wpkh(key/{0,1}/*)</code>",null,null],[12,"0","","",49,null],[12,"1","","",49,null],[12,"2","","",49,null],[6,"KeyMap","bdk::descriptor","Alias type for a map of public key to secret key",null,null],[4,"Descriptor","","Script descriptor",null,null],[13,"Bare","","A raw scriptpubkey (including pay-to-pubkey) under Legacy …",50,null],[13,"Pkh","","Pay-to-PubKey-Hash",50,null],[13,"Wpkh","","Pay-to-Witness-PubKey-Hash",50,null],[13,"Sh","","Pay-to-ScriptHash(includes nested wsh/wpkh/sorted multi)",50,null],[13,"Wsh","","Pay-to-Witness-ScriptHash with Segwitv0 context",50,null],[4,"Legacy","","Legacy ScriptContext To be used as P2SH scripts For …",null,null],[3,"Miniscript","","Top-level script AST type",null,null],[12,"node","","A node in the Abstract Syntax Tree(",51,null],[12,"ty","","The correctness and malleability type information for the …",51,null],[12,"ext","","Additional information helpful for extra analysis.",51,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[4,"Segwitv0","","Segwitv0 ScriptContext",null,null],[3,"DerivedDescriptorKey","","Extended [<code>DescriptorPublicKey</code>] that has been derived",null,null],[6,"ExtendedDescriptor","","Alias for a [<code>Descriptor</code>] that can contain extended keys …",null,null],[6,"DerivedDescriptor","","Alias for a [<code>Descriptor</code>] that contains extended <strong>derived</strong> …",null,null],[6,"HDKeyPaths","","Alias for the type of maps that represent derivation …",null,null],[8,"IntoWalletDescriptor","","Trait for types which can be converted into an […",null,null],[10,"into_wallet_descriptor","","Convert to wallet descriptor",53,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[8,"ExtractPolicy","","Trait implemented on [<code>Descriptor</code>]s to add a method to …",null,null],[10,"extract_policy","","Extract the spending [<code>policy</code>]",54,[[["secp256k1",3],["signerscontainer",3]],[["option",4],["result",4],["descriptorerror",4]]]],[0,"keys","bdk","Key formats",null,null],[0,"bip39","bdk::keys","BIP-0039",null,null],[4,"Language","bdk::keys::bip39","The language determines which words will be used in a …",null,null],[13,"English","","",55,null],[13,"ChineseSimplified","","",55,null],[13,"ChineseTraditional","","",55,null],[13,"French","","",55,null],[13,"Italian","","",55,null],[13,"Japanese","","",55,null],[13,"Korean","","",55,null],[13,"Spanish","","",55,null],[3,"Mnemonic","","The primary type in this crate, most tasks require …",null,null],[4,"MnemonicType","","Determines the number of words that will be present in a …",null,null],[13,"Words12","","",56,null],[13,"Words15","","",56,null],[13,"Words18","","",56,null],[13,"Words21","","",56,null],[13,"Words24","","",56,null],[3,"Seed","","The secret value used to derive HD wallet addresses from …",null,null],[6,"MnemonicWithPassphrase","","Type for a BIP39 mnemonic with an optional passphrase",null,null],[4,"DescriptorPublicKey","bdk::keys","The MiniscriptKey corresponding to Descriptors. This can …",null,null],[13,"SinglePub","","Single Public Key",57,null],[13,"XPub","","Xpub",57,null],[4,"DescriptorSecretKey","","A Secret Key that can be either a single key or an Xprv",null,null],[13,"SinglePriv","","Single Secret Key",58,null],[13,"XPrv","","Xprv",58,null],[3,"DescriptorSinglePriv","","A Single Descriptor Secret Key with optional origin …",null,null],[12,"origin","","Origin information",59,null],[12,"key","","The key",59,null],[3,"DescriptorSinglePub","","A Single Descriptor Key with optional origin information",null,null],[12,"origin","","Origin information",60,null],[12,"key","","The key",60,null],[6,"KeyMap","","Alias type for a map of public key to secret key",null,null],[3,"SortedMultiVec","","Contents of a “sortedmulti” descriptor",null,null],[12,"k","","signatures required",61,null],[12,"pks","","public keys inside sorted Multi",61,null],[8,"ScriptContext","","The ScriptContext for Miniscript. Additional type …",null,null],[10,"check_terminal_non_malleable","","Depending on ScriptContext, fragments can be malleable. …",52,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[10,"max_satisfaction_size","","Depending on script context, the size of a satifaction …",52,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[6,"ValidNetworks","","Set of valid networks for a key",null,null],[5,"any_network","","Create a set containing mainnet, testnet and regtest",null,[[],["validnetworks",6]]],[5,"mainnet_network","","Create a set only containing mainnet",null,[[],["validnetworks",6]]],[5,"test_networks","","Create a set containing testnet and regtest",null,[[],["validnetworks",6]]],[5,"merge_networks","","Compute the intersection of two sets",null,[[["validnetworks",6]],["validnetworks",6]]],[4,"DescriptorKey","","Container for public or secret keys",null,null],[11,"from_public","","Create an instance given a public key and a set of valid …",62,[[["validnetworks",6],["descriptorpublickey",4]]]],[11,"from_secret","","Create an instance given a secret key and a set of valid …",62,[[["descriptorsecretkey",4],["validnetworks",6]]]],[11,"override_valid_networks","","Override the computed set of valid networks",62,[[["validnetworks",6]]]],[4,"ScriptContextEnum","","Enum representation of the known valid [<code>ScriptContext</code>]s",null,null],[13,"Legacy","","Legacy scripts",63,null],[13,"Segwitv0","","Segwitv0 scripts",63,null],[11,"is_legacy","","Returns whether the script context is […",63,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is […",63,[[],["bool",15]]],[8,"ExtScriptContext","","Trait that adds extra useful methods to [<code>ScriptContext</code>]s",null,null],[10,"as_enum","","Returns the [<code>ScriptContext</code>] as a [<code>ScriptContextEnum</code>]",64,[[],["scriptcontextenum",4]]],[11,"is_legacy","","Returns whether the script context is <code>Legacy</code>",64,[[],["bool",15]]],[11,"is_segwit_v0","","Returns whether the script context is <code>Segwitv0</code>",64,[[],["bool",15]]],[8,"IntoDescriptorKey","","Trait for objects that can be turned into a public or …",null,null],[10,"into_descriptor_key","","Turn the key into a [<code>DescriptorKey</code>] within the requested […",65,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[4,"ExtendedKey","","Enum for extended keys that can be either <code>xprv</code> or <code>xpub</code>",null,null],[13,"Private","","A private extended key, aka an <code>xprv</code>",66,null],[13,"Public","","A public extended key, aka an <code>xpub</code>",66,null],[11,"has_secret","","Return whether or not the key contains the private data",66,[[],["bool",15]]],[11,"into_xprv","","Transform the [<code>ExtendedKey</code>] into an <code>ExtendedPrivKey</code> for …",66,[[["network",4]],[["option",4],["extendedprivkey",3]]]],[11,"into_xpub","","Transform the [<code>ExtendedKey</code>] into an <code>ExtendedPubKey</code> for the…",66,[[["network",4],["secp256k1",3]],["extendedpubkey",3]]],[8,"DerivableKey","","Trait for keys that can be derived.",null,null],[10,"into_extended_key","","Consume <code>self</code> and turn it into an [<code>ExtendedKey</code>]",67,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","Consume <code>self</code> and turn it into a [<code>DescriptorKey</code>] by adding …",67,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[3,"GeneratedKey","","Output of a [<code>GeneratableKey</code>] key generation",null,null],[11,"into_key","","Consumes <code>self</code> and returns the key",68,[[]]],[8,"GeneratableKey","","Trait for keys that can be generated",null,null],[16,"Entropy","","Type specifying the amount of entropy required e.g. …",69,null],[16,"Options","","Extra options required by the <code>generate_with_entropy</code>",69,null],[16,"Error","","Returned error in case of failure",69,null],[10,"generate_with_entropy","","Generate a key given the extra options and the entropy",69,[[],[["generatedkey",3],["result",4]]]],[11,"generate","","Generate a key given the options with a random entropy",69,[[],[["generatedkey",3],["result",4]]]],[8,"GeneratableDefaultOptions","","Trait that allows generating a key with the default …",null,null],[11,"generate_with_entropy_default","","Generate a key with the default options and a given …",70,[[],[["generatedkey",3],["result",4]]]],[11,"generate_default","","Generate a key with the default options and a random …",70,[[],[["generatedkey",3],["result",4]]]],[3,"PrivateKeyGenerateOptions","","Options for generating a [<code>PrivateKey</code>]",null,null],[12,"compressed","","Whether the generated key should be “compressed” or …",71,null],[4,"KeyError","","Errors thrown while working with <code>keys</code>",null,null],[13,"InvalidScriptContext","","The key cannot exist in the given script context",72,null],[13,"InvalidNetwork","","The key is not valid for the given network",72,null],[13,"InvalidChecksum","","The key has an invalid checksum",72,null],[13,"Message","","Custom error message",72,null],[13,"BIP32","","BIP32 error",72,null],[13,"Miniscript","","Miniscript error",72,null],[0,"wallet","bdk","Wallet",null,null],[0,"address_validator","bdk::wallet","Address validation callbacks",null,null],[4,"AddressValidatorError","bdk::wallet::address_validator","Errors that can be returned to fail the validation of an …",null,null],[13,"UserRejected","","User rejected the address",73,null],[13,"ConnectionError","","Network connection error",73,null],[13,"TimeoutError","","Network request timeout error",73,null],[13,"InvalidScript","","Invalid script",73,null],[13,"Message","","A custom error message",73,null],[8,"AddressValidator","","Trait to build address validators",null,null],[10,"validate","","Validate or inspect an address",74,[[["script",3],["keychainkind",4],["hdkeypaths",6]],[["result",4],["addressvalidatorerror",4]]]],[0,"coin_selection","bdk::wallet","Coin selection",null,null],[6,"DefaultCoinSelectionAlgorithm","bdk::wallet::coin_selection","Default coin selection algorithm used by <code>TxBuilder</code> if not …",null,null],[3,"CoinSelectionResult","","Result of a successful coin selection",null,null],[12,"selected","","List of outputs selected for use as inputs",75,null],[12,"fee_amount","","Total fee amount in satoshi",75,null],[11,"selected_amount","","The total value of the inputs selected.",75,[[],["u64",15]]],[11,"local_selected_amount","","The total value of the inputs selected from the local …",75,[[],["u64",15]]],[8,"CoinSelectionAlgorithm","","Trait for generalized coin selection algorithms",null,null],[10,"coin_select","","Perform the coin selection",76,[[["feerate",3],["f32",15],["u64",15],["weightedutxo",3],["vec",3]],[["coinselectionresult",3],["error",4],["result",4]]]],[3,"LargestFirstCoinSelection","","Simple and dumb coin selection",null,null],[3,"BranchAndBoundCoinSelection","","Branch and bound coin selection",null,null],[11,"new","","Create new instance with target size for change output",77,[[["u64",15]]]],[0,"export","bdk::wallet","Wallet export",null,null],[3,"WalletExport","bdk::wallet::export","Structure that contains the export of a wallet",null,null],[12,"blockheight","","Earliest block to rescan when looking for the wallet’s …",78,null],[12,"label","","Arbitrary label for the wallet",78,null],[11,"export_wallet","","Export a wallet",78,[[["bool",15],["wallet",3],["str",15]],[["str",15],["result",4]]]],[11,"descriptor","","Return the external descriptor",78,[[],["string",3]]],[11,"change_descriptor","","Return the internal descriptor, if present",78,[[],[["string",3],["option",4]]]],[0,"signer","bdk::wallet","Generalized signers",null,null],[4,"SignerId","bdk::wallet::signer","Identifier of a signer in the <code>SignersContainers</code>. Used as …",null,null],[13,"PkHash","","Bitcoin HASH160 (RIPEMD160 after SHA256) hash of an ECDSA …",79,null],[13,"Fingerprint","","The fingerprint of a BIP32 extended key",79,null],[13,"Dummy","","Dummy identifier",79,null],[4,"SignerError","","Signing error",null,null],[13,"MissingKey","","The private key is missing for the required public key",80,null],[13,"InvalidKey","","The private key in use has the right fingerprint but …",80,null],[13,"UserCanceled","","The user canceled the operation",80,null],[13,"InputIndexOutOfRange","","Input index is out of range",80,null],[13,"MissingNonWitnessUtxo","","The <code>non_witness_utxo</code> field of the transaction is required …",80,null],[13,"InvalidNonWitnessUtxo","","The <code>non_witness_utxo</code> specified is invalid",80,null],[13,"MissingWitnessUtxo","","The <code>witness_utxo</code> field of the transaction is required to …",80,null],[13,"MissingWitnessScript","","The <code>witness_script</code> field of the transaction is requied to …",80,null],[13,"MissingHDKeypath","","The fingerprint and derivation path are missing from the …",80,null],[8,"Signer","","Trait for signers",null,null],[10,"sign","","Sign a PSBT",81,[[["usize",15],["secp256k1",3],["option",4],["partiallysignedtransaction",3]],[["signererror",4],["result",4]]]],[10,"sign_whole_tx","","Return whether or not the signer signs the whole …",81,[[],["bool",15]]],[10,"id","","Return the [<code>SignerId</code>] for this signer",81,[[["secp256k1",3]],["signerid",4]]],[11,"descriptor_secret_key","","Return the secret key for the signer",81,[[],[["descriptorsecretkey",4],["option",4]]]],[3,"SignerOrdering","","Defines the order in which signers are called",null,null],[12,"0","","",82,null],[3,"SignersContainer","","Container for multiple signers",null,null],[11,"as_key_map","","Create a map of public keys to secret keys",83,[[["secp256k1",3]],["keymap",6]]],[11,"new","","Default constructor",83,[[]]],[11,"add_external","","Adds an external signer to the container for the …",83,[[["signerid",4],["signerordering",3],["arc",3],["signer",8]],[["arc",3],["option",4]]]],[11,"remove","","Removes a signer from the container and returns it",83,[[["signerid",4],["signerordering",3]],[["arc",3],["option",4]]]],[11,"ids","","Returns the list of identifiers of all the signers in the …",83,[[],[["signerid",4],["vec",3]]]],[11,"signers","","Returns the list of signers in the container, sorted by …",83,[[],[["vec",3],["arc",3]]]],[11,"find","","Finds the signer with lowest ordering for a given id in …",83,[[["signerid",4]],[["option",4],["arc",3]]]],[0,"time","bdk::wallet","Cross-platform time",null,null],[5,"get_timestamp","bdk::wallet::time","Return the current timestamp in seconds",null,[[],["u64",15]]],[0,"tx_builder","bdk::wallet","Transaction builder",null,null],[8,"TxBuilderContext","bdk::wallet::tx_builder","Context in which the [<code>TxBuilder</code>] is valid",null,null],[3,"CreateTx","","Marker type to indicate the [<code>TxBuilder</code>] is being used to …",null,null],[3,"BumpFee","","Marker type to indicate the [<code>TxBuilder</code>] is being used to …",null,null],[3,"TxBuilder","","A transaction builder",null,null],[11,"fee_rate","","Set a custom fee rate",84,[[["feerate",3]]]],[11,"fee_absolute","","Set an absolute fee",84,[[["u64",15]]]],[11,"policy_path","","Set the policy path to use while creating the transaction …",84,[[["keychainkind",4],["string",3],["vec",3],["btreemap",3]]]],[11,"add_utxos","","Add the list of outpoints to the internal list of UTXOs …",84,[[],[["result",4],["error",4]]]],[11,"add_utxo","","Add a utxo to the internal list of utxos that <strong>must</strong> be …",84,[[["outpoint",3]],[["result",4],["error",4]]]],[11,"add_foreign_utxo","","Add a foreign UTXO i.e. a UTXO not owned by this wallet.",84,[[["usize",15],["outpoint",3],["input",3]],[["result",4],["error",4]]]],[11,"manually_selected_only","","Only spend utxos added by <code>add_utxo</code>.",84,[[]]],[11,"unspendable","","Replace the internal list of unspendable utxos with a new …",84,[[["outpoint",3],["vec",3]]]],[11,"add_unspendable","","Add a utxo to the internal list of unspendable utxos",84,[[["outpoint",3]]]],[11,"sighash","","Sign with a specific sig hash",84,[[["sighashtype",4]]]],[11,"ordering","","Choose the ordering for inputs and outputs of the …",84,[[["txordering",4]]]],[11,"nlocktime","","Use a specific nLockTime while creating the transaction",84,[[["u32",15]]]],[11,"version","","Build a transaction with a specific version",84,[[["i32",15]]]],[11,"do_not_spend_change","","Do not spend change outputs",84,[[]]],[11,"only_spend_change","","Only spend change outputs",84,[[]]],[11,"change_policy","","Set a specific [<code>ChangeSpendPolicy</code>]. See […",84,[[["changespendpolicy",4]]]],[11,"force_non_witness_utxo","","Fill-in the <code>psbt::Input::non_witness_utxo</code> field even if …",84,[[]]],[11,"include_output_redeem_witness_script","","Fill-in the <code>psbt::Output::redeem_script</code> and …",84,[[]]],[11,"add_global_xpubs","","Fill-in the <code>PSBT_GLOBAL_XPUB</code> field with the extended keys …",84,[[]]],[11,"drain_wallet","","Spend all the available inputs. This respects filters …",84,[[]]],[11,"coin_selection","","Choose the coin selection algorithm",84,[[["coinselectionalgorithm",8]],[["coinselectionalgorithm",8],["txbuilder",3]]]],[11,"finish","","Finish the building the transaction.",84,[[],[["error",4],["result",4]]]],[11,"set_recipients","","Replace the recipients already added with a new list",84,[[["vec",3]]]],[11,"add_recipient","","Add a recipient to the internal list",84,[[["u64",15],["script",3]]]],[11,"set_single_recipient","","Set a single recipient that will get all the selected …",84,[[["script",3]]]],[11,"enable_rbf","","Enable signaling RBF",84,[[]]],[11,"enable_rbf_with_sequence","","Enable signaling RBF with a specific nSequence value",84,[[["u32",15]]]],[11,"maintain_single_recipient","","Bump the fees of a transaction made with …",84,[[],[["result",4],["error",4]]]],[4,"TxOrdering","","Ordering of the transaction’s inputs and outputs",null,null],[13,"Shuffle","","Randomized (default)",85,null],[13,"Untouched","","Unchanged",85,null],[13,"BIP69Lexicographic","","BIP69 / Lexicographic",85,null],[11,"sort_tx","","Sort transaction inputs and outputs by [<code>TxOrdering</code>] …",85,[[["transaction",3]]]],[4,"ChangeSpendPolicy","","Policy regarding the use of change outputs when creating …",null,null],[13,"ChangeAllowed","","Use both change and non-change outputs (default)",86,null],[13,"OnlyChange","","Only use change outputs (see [<code>TxBuilder::only_spend_change</code>…",86,null],[13,"ChangeForbidden","","Only use non-change outputs (see […",86,null],[8,"IsDust","bdk::wallet","Trait to check if a value is below the dust limit",null,null],[10,"is_dust","","Check whether or not a value is below dust limit",87,[[],["bool",15]]],[3,"Wallet","","A Bitcoin wallet",null,null],[11,"new_offline","","Create a new “offline” wallet",88,[[["network",4],["intowalletdescriptor",8],["option",4]],[["error",4],["result",4]]]],[11,"get_new_address","","Return a newly generated address using the external …",88,[[],[["address",3],["result",4],["error",4]]]],[11,"is_mine","","Return whether or not a <code>script</code> is part of this wallet …",88,[[["script",3]],[["bool",15],["result",4],["error",4]]]],[11,"list_unspent","","Return the list of unspent outputs of this wallet",88,[[],[["vec",3],["error",4],["result",4]]]],[11,"get_utxo","","Returns the <code>UTXO</code> owned by this wallet corresponding to …",88,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[11,"list_transactions","","Return the list of transactions made and received by the …",88,[[["bool",15]],[["error",4],["vec",3],["result",4]]]],[11,"get_balance","","Return the balance, meaning the sum of this wallet’s …",88,[[],[["result",4],["error",4],["u64",15]]]],[11,"add_signer","","Add an external signer",88,[[["keychainkind",4],["signerordering",3],["arc",3],["signer",8]]]],[11,"add_address_validator","","Add an address validator",88,[[["addressvalidator",8],["arc",3]]]],[11,"build_tx","","Start building a transaction.",88,[[],[["createtx",3],["txbuilder",3],["defaultcoinselectionalgorithm",6]]]],[11,"build_fee_bump","","Bump the fee of a transaction previously created with …",88,[[["txid",3]],[["result",4],["txbuilder",3],["error",4]]]],[11,"sign","","Sign a transaction with all the wallet’s signers, in …",88,[[["option",4],["psbt",3],["u32",15]],[["error",4],["result",4]]]],[11,"policies","","Return the spending policies for the wallet’s descriptor",88,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"public_descriptor","","Return the “public” version of the wallet’s …",88,[[["keychainkind",4]],[["result",4],["option",4],["error",4]]]],[11,"finalize_psbt","","Try to finalize a PSBT",88,[[["option",4],["psbt",3],["u32",15]],[["error",4],["result",4]]]],[11,"secp_ctx","","Return the secp256k1 context used for all signing …",88,[[],["secp256k1",3]]],[11,"get_descriptor_for_keychain","","Returns the descriptor used to create adddresses for a …",88,[[["keychainkind",4]],["extendeddescriptor",6]]],[11,"new","","Create a new “online” wallet",88,[[["network",4],["intowalletdescriptor",8],["option",4]],[["error",4],["result",4]]]],[11,"sync","","Sync the internal database with the blockchain",88,[[["option",4],["progress",8],["u32",15]],[["result",4],["error",4]]]],[11,"client","","Return a reference to the internal blockchain client",88,[[]]],[11,"network","","Get the Bitcoin network the wallet is using.",88,[[],["network",4]]],[11,"broadcast","","Broadcast a transaction to the network",88,[[["transaction",3]],[["result",4],["error",4],["txid",3]]]],[4,"Error","bdk","Errors that can be thrown by the <code>Wallet</code>",null,null],[13,"InvalidU32Bytes","","Wrong number of bytes found when trying to convert to u32",89,null],[13,"Generic","","Generic error",89,null],[13,"ScriptDoesntHaveAddressForm","","This error is thrown when trying to convert Bare and …",89,null],[13,"SingleRecipientMultipleOutputs","","Found multiple outputs when <code>single_recipient</code> option has …",89,null],[13,"SingleRecipientNoInputs","","<code>single_recipient</code> option is selected but neither …",89,null],[13,"NoRecipients","","Cannot build a tx without recipients",89,null],[13,"NoUtxosSelected","","<code>manually_selected_only</code> option is selected but no utxo has …",89,null],[13,"OutputBelowDustLimit","","Output created is under the dust limit, 546 satoshis",89,null],[13,"InsufficientFunds","","Wallet’s UTXO set is not enough to cover recipient’s …",89,null],[12,"needed","bdk::Error","Sats needed for some transaction",90,null],[12,"available","","Sats available for spending",90,null],[13,"BnBTotalTriesExceeded","bdk","Branch and bound coin selection possible attempts with …",89,null],[13,"BnBNoExactMatch","","Branch and bound coin selection tries to avoid needing a …",89,null],[13,"UnknownUTXO","","Happens when trying to spend an UTXO that is not in the …",89,null],[13,"TransactionNotFound","","Thrown when a tx is not found in the internal database",89,null],[13,"TransactionConfirmed","","Happens when trying to bump a transaction that is already …",89,null],[13,"IrreplaceableTransaction","","Trying to replace a tx that has a sequence >= <code>0xFFFFFFFE</code>",89,null],[13,"FeeRateTooLow","","When bumping a tx the fee rate requested is lower than …",89,null],[12,"required","bdk::Error","Required fee rate (satoshi/vbyte)",91,null],[13,"FeeTooLow","bdk","When bumping a tx the absolute fee requested is lower …",89,null],[12,"required","bdk::Error","Required fee absolute value (satoshi)",92,null],[13,"MissingKeyOrigin","bdk","In order to use the <code>TxBuilder::add_global_xpubs</code> option …",89,null],[13,"Key","","Error while working with <code>keys</code>",89,null],[13,"ChecksumMismatch","","Descriptor checksum mismatch",89,null],[13,"SpendingPolicyRequired","","Spending policy is not compatible with this <code>KeychainKind</code>",89,null],[13,"InvalidPolicyPathError","","Error while extracting and manipulating policies",89,null],[13,"Signer","","Signing error",89,null],[13,"InvalidProgressValue","","Progress value must be between <code>0.0</code> (included) and <code>100.0</code> …",89,null],[13,"ProgressUpdateError","","Progress update error (maybe the channel has been closed)",89,null],[13,"InvalidOutpoint","","Requested outpoint doesn’t exist in the tx (vout …",89,null],[13,"Descriptor","","Error related to the parsing and usage of descriptors",89,null],[13,"AddressValidator","","Error that can be returned to fail the validation of an …",89,null],[13,"Encode","","Encoding error",89,null],[13,"Miniscript","","Miniscript error",89,null],[13,"BIP32","","BIP32 error",89,null],[13,"Secp256k1","","An ECDSA error",89,null],[13,"JSON","","Error serializing or deserializing JSON data",89,null],[13,"Hex","","Hex decoding error",89,null],[13,"PSBT","","Partially signed bitcoin transaction error",89,null],[13,"Electrum","","Electrum client error",89,null],[13,"Esplora","","Esplora client error",89,null],[13,"CompactFilters","","Compact filters client error)",89,null],[13,"Sled","","Sled database error",89,null],[4,"KeychainKind","","Types of keychains",null,null],[13,"External","","External",93,null],[13,"Internal","","Internal, usually used for change outputs",93,null],[3,"FeeRate","","Fee rate",null,null],[3,"LocalUtxo","","An unspent output owned by a <code>Wallet</code>.",null,null],[12,"outpoint","","Reference to a transaction output",94,null],[12,"txout","","Transaction output",94,null],[12,"keychain","","Type of keychain",94,null],[3,"WeightedUtxo","","A [<code>Utxo</code>] with its <code>satisfaction_weight</code>.",null,null],[12,"satisfaction_weight","","The weight of the witness data and <code>scriptSig</code> expressed in …",95,null],[12,"utxo","","The UTXO",95,null],[4,"Utxo","","An unspent transaction output (UTXO).",null,null],[13,"Local","","A UTXO owned by the local wallet.",96,null],[13,"Foreign","","A UTXO owned by another wallet.",96,null],[12,"outpoint","bdk::Utxo","The location of the output.",97,null],[12,"psbt_input","","The information about the input we require to add it to a …",97,null],[3,"TransactionDetails","bdk","A wallet transaction",null,null],[12,"transaction","","Optional transaction",98,null],[12,"txid","","Transaction id",98,null],[12,"timestamp","","Timestamp",98,null],[12,"received","","Received value (sats)",98,null],[12,"sent","","Sent value (sats)",98,null],[12,"fees","","Fee value (sats)",98,null],[12,"height","","Confirmed in block height, <code>None</code> means unconfirmed",98,null],[5,"version","","Get the version of BDK at runtime",null,[[],["str",15]]],[14,"descriptor","","Macro to write full descriptors with code",null,null],[14,"fragment","","Macro to write descriptor fragments with code",null,null],[11,"from","","",89,[[]]],[11,"into","","",89,[[]]],[11,"to_string","","",89,[[],["string",3]]],[11,"borrow","","",89,[[]]],[11,"borrow_mut","","",89,[[]]],[11,"try_from","","",89,[[],["result",4]]],[11,"try_into","","",89,[[],["result",4]]],[11,"type_id","","",89,[[],["typeid",3]]],[11,"vzip","","",89,[[]]],[11,"init","","",89,[[],["usize",15]]],[11,"deref","","",89,[[["usize",15]]]],[11,"deref_mut","","",89,[[["usize",15]]]],[11,"drop","","",89,[[["usize",15]]]],[11,"from","bdk::blockchain::any","",0,[[]]],[11,"into","","",0,[[]]],[11,"borrow","","",0,[[]]],[11,"borrow_mut","","",0,[[]]],[11,"try_from","","",0,[[],["result",4]]],[11,"try_into","","",0,[[],["result",4]]],[11,"type_id","","",0,[[],["typeid",3]]],[11,"vzip","","",0,[[]]],[11,"init","","",0,[[],["usize",15]]],[11,"deref","","",0,[[["usize",15]]]],[11,"deref_mut","","",0,[[["usize",15]]]],[11,"drop","","",0,[[["usize",15]]]],[11,"from","","",1,[[]]],[11,"into","","",1,[[]]],[11,"borrow","","",1,[[]]],[11,"borrow_mut","","",1,[[]]],[11,"try_from","","",1,[[],["result",4]]],[11,"try_into","","",1,[[],["result",4]]],[11,"type_id","","",1,[[],["typeid",3]]],[11,"vzip","","",1,[[]]],[11,"init","","",1,[[],["usize",15]]],[11,"deref","","",1,[[["usize",15]]]],[11,"deref_mut","","",1,[[["usize",15]]]],[11,"drop","","",1,[[["usize",15]]]],[11,"from","bdk::blockchain::electrum","",99,[[]]],[11,"into","","",99,[[]]],[11,"borrow","","",99,[[]]],[11,"borrow_mut","","",99,[[]]],[11,"try_from","","",99,[[],["result",4]]],[11,"try_into","","",99,[[],["result",4]]],[11,"type_id","","",99,[[],["typeid",3]]],[11,"vzip","","",99,[[]]],[11,"init","","",99,[[],["usize",15]]],[11,"deref","","",99,[[["usize",15]]]],[11,"deref_mut","","",99,[[["usize",15]]]],[11,"drop","","",99,[[["usize",15]]]],[11,"from","","",2,[[]]],[11,"into","","",2,[[]]],[11,"borrow","","",2,[[]]],[11,"borrow_mut","","",2,[[]]],[11,"try_from","","",2,[[],["result",4]]],[11,"try_into","","",2,[[],["result",4]]],[11,"type_id","","",2,[[],["typeid",3]]],[11,"vzip","","",2,[[]]],[11,"init","","",2,[[],["usize",15]]],[11,"deref","","",2,[[["usize",15]]]],[11,"deref_mut","","",2,[[["usize",15]]]],[11,"drop","","",2,[[["usize",15]]]],[11,"from","bdk::blockchain::esplora","",3,[[]]],[11,"into","","",3,[[]]],[11,"borrow","","",3,[[]]],[11,"borrow_mut","","",3,[[]]],[11,"try_from","","",3,[[],["result",4]]],[11,"try_into","","",3,[[],["result",4]]],[11,"type_id","","",3,[[],["typeid",3]]],[11,"vzip","","",3,[[]]],[11,"init","","",3,[[],["usize",15]]],[11,"deref","","",3,[[["usize",15]]]],[11,"deref_mut","","",3,[[["usize",15]]]],[11,"drop","","",3,[[["usize",15]]]],[11,"from","","",4,[[]]],[11,"into","","",4,[[]]],[11,"borrow","","",4,[[]]],[11,"borrow_mut","","",4,[[]]],[11,"try_from","","",4,[[],["result",4]]],[11,"try_into","","",4,[[],["result",4]]],[11,"type_id","","",4,[[],["typeid",3]]],[11,"vzip","","",4,[[]]],[11,"init","","",4,[[],["usize",15]]],[11,"deref","","",4,[[["usize",15]]]],[11,"deref_mut","","",4,[[["usize",15]]]],[11,"drop","","",4,[[["usize",15]]]],[11,"from","","",5,[[]]],[11,"into","","",5,[[]]],[11,"to_string","","",5,[[],["string",3]]],[11,"borrow","","",5,[[]]],[11,"borrow_mut","","",5,[[]]],[11,"try_from","","",5,[[],["result",4]]],[11,"try_into","","",5,[[],["result",4]]],[11,"type_id","","",5,[[],["typeid",3]]],[11,"vzip","","",5,[[]]],[11,"init","","",5,[[],["usize",15]]],[11,"deref","","",5,[[["usize",15]]]],[11,"deref_mut","","",5,[[["usize",15]]]],[11,"drop","","",5,[[["usize",15]]]],[11,"from","bdk::blockchain::compact_filters","",100,[[]]],[11,"into","","",100,[[]]],[11,"borrow","","",100,[[]]],[11,"borrow_mut","","",100,[[]]],[11,"try_from","","",100,[[],["result",4]]],[11,"try_into","","",100,[[],["result",4]]],[11,"type_id","","",100,[[],["typeid",3]]],[11,"vzip","","",100,[[]]],[11,"init","","",100,[[],["usize",15]]],[11,"deref","","",100,[[["usize",15]]]],[11,"deref_mut","","",100,[[["usize",15]]]],[11,"drop","","",100,[[["usize",15]]]],[11,"from","","",101,[[]]],[11,"into","","",101,[[]]],[11,"borrow","","",101,[[]]],[11,"borrow_mut","","",101,[[]]],[11,"try_from","","",101,[[],["result",4]]],[11,"try_into","","",101,[[],["result",4]]],[11,"type_id","","",101,[[],["typeid",3]]],[11,"vzip","","",101,[[]]],[11,"init","","",101,[[],["usize",15]]],[11,"deref","","",101,[[["usize",15]]]],[11,"deref_mut","","",101,[[["usize",15]]]],[11,"drop","","",101,[[["usize",15]]]],[11,"from","","",6,[[]]],[11,"into","","",6,[[]]],[11,"borrow","","",6,[[]]],[11,"borrow_mut","","",6,[[]]],[11,"try_from","","",6,[[],["result",4]]],[11,"try_into","","",6,[[],["result",4]]],[11,"type_id","","",6,[[],["typeid",3]]],[11,"vzip","","",6,[[]]],[11,"init","","",6,[[],["usize",15]]],[11,"deref","","",6,[[["usize",15]]]],[11,"deref_mut","","",6,[[["usize",15]]]],[11,"drop","","",6,[[["usize",15]]]],[11,"from","","",7,[[]]],[11,"into","","",7,[[]]],[11,"borrow","","",7,[[]]],[11,"borrow_mut","","",7,[[]]],[11,"try_from","","",7,[[],["result",4]]],[11,"try_into","","",7,[[],["result",4]]],[11,"type_id","","",7,[[],["typeid",3]]],[11,"vzip","","",7,[[]]],[11,"init","","",7,[[],["usize",15]]],[11,"deref","","",7,[[["usize",15]]]],[11,"deref_mut","","",7,[[["usize",15]]]],[11,"drop","","",7,[[["usize",15]]]],[11,"from","","",8,[[]]],[11,"into","","",8,[[]]],[11,"borrow","","",8,[[]]],[11,"borrow_mut","","",8,[[]]],[11,"try_from","","",8,[[],["result",4]]],[11,"try_into","","",8,[[],["result",4]]],[11,"type_id","","",8,[[],["typeid",3]]],[11,"vzip","","",8,[[]]],[11,"init","","",8,[[],["usize",15]]],[11,"deref","","",8,[[["usize",15]]]],[11,"deref_mut","","",8,[[["usize",15]]]],[11,"drop","","",8,[[["usize",15]]]],[11,"from","","",9,[[]]],[11,"into","","",9,[[]]],[11,"to_string","","",9,[[],["string",3]]],[11,"borrow","","",9,[[]]],[11,"borrow_mut","","",9,[[]]],[11,"try_from","","",9,[[],["result",4]]],[11,"try_into","","",9,[[],["result",4]]],[11,"type_id","","",9,[[],["typeid",3]]],[11,"vzip","","",9,[[]]],[11,"init","","",9,[[],["usize",15]]],[11,"deref","","",9,[[["usize",15]]]],[11,"deref_mut","","",9,[[["usize",15]]]],[11,"drop","","",9,[[["usize",15]]]],[11,"from","bdk::blockchain","",10,[[]]],[11,"into","","",10,[[]]],[11,"to_owned","","",10,[[]]],[11,"clone_into","","",10,[[]]],[11,"borrow","","",10,[[]]],[11,"borrow_mut","","",10,[[]]],[11,"try_from","","",10,[[],["result",4]]],[11,"try_into","","",10,[[],["result",4]]],[11,"type_id","","",10,[[],["typeid",3]]],[11,"vzip","","",10,[[]]],[11,"equivalent","","",10,[[],["bool",15]]],[11,"init","","",10,[[],["usize",15]]],[11,"deref","","",10,[[["usize",15]]]],[11,"deref_mut","","",10,[[["usize",15]]]],[11,"drop","","",10,[[["usize",15]]]],[11,"from","","",102,[[]]],[11,"into","","",102,[[]]],[11,"to_owned","","",102,[[]]],[11,"clone_into","","",102,[[]]],[11,"borrow","","",102,[[]]],[11,"borrow_mut","","",102,[[]]],[11,"try_from","","",102,[[],["result",4]]],[11,"try_into","","",102,[[],["result",4]]],[11,"type_id","","",102,[[],["typeid",3]]],[11,"vzip","","",102,[[]]],[11,"init","","",102,[[],["usize",15]]],[11,"deref","","",102,[[["usize",15]]]],[11,"deref_mut","","",102,[[["usize",15]]]],[11,"drop","","",102,[[["usize",15]]]],[11,"from","","",103,[[]]],[11,"into","","",103,[[]]],[11,"to_owned","","",103,[[]]],[11,"clone_into","","",103,[[]]],[11,"borrow","","",103,[[]]],[11,"borrow_mut","","",103,[[]]],[11,"try_from","","",103,[[],["result",4]]],[11,"try_into","","",103,[[],["result",4]]],[11,"type_id","","",103,[[],["typeid",3]]],[11,"vzip","","",103,[[]]],[11,"init","","",103,[[],["usize",15]]],[11,"deref","","",103,[[["usize",15]]]],[11,"deref_mut","","",103,[[["usize",15]]]],[11,"drop","","",103,[[["usize",15]]]],[11,"from","bdk::database::any","",14,[[]]],[11,"into","","",14,[[]]],[11,"borrow","","",14,[[]]],[11,"borrow_mut","","",14,[[]]],[11,"try_from","","",14,[[],["result",4]]],[11,"try_into","","",14,[[],["result",4]]],[11,"type_id","","",14,[[],["typeid",3]]],[11,"vzip","","",14,[[]]],[11,"init","","",14,[[],["usize",15]]],[11,"deref","","",14,[[["usize",15]]]],[11,"deref_mut","","",14,[[["usize",15]]]],[11,"drop","","",14,[[["usize",15]]]],[11,"from","","",15,[[]]],[11,"into","","",15,[[]]],[11,"borrow","","",15,[[]]],[11,"borrow_mut","","",15,[[]]],[11,"try_from","","",15,[[],["result",4]]],[11,"try_into","","",15,[[],["result",4]]],[11,"type_id","","",15,[[],["typeid",3]]],[11,"vzip","","",15,[[]]],[11,"init","","",15,[[],["usize",15]]],[11,"deref","","",15,[[["usize",15]]]],[11,"deref_mut","","",15,[[["usize",15]]]],[11,"drop","","",15,[[["usize",15]]]],[11,"from","","",16,[[]]],[11,"into","","",16,[[]]],[11,"borrow","","",16,[[]]],[11,"borrow_mut","","",16,[[]]],[11,"try_from","","",16,[[],["result",4]]],[11,"try_into","","",16,[[],["result",4]]],[11,"type_id","","",16,[[],["typeid",3]]],[11,"vzip","","",16,[[]]],[11,"init","","",16,[[],["usize",15]]],[11,"deref","","",16,[[["usize",15]]]],[11,"deref_mut","","",16,[[["usize",15]]]],[11,"drop","","",16,[[["usize",15]]]],[11,"from","","",17,[[]]],[11,"into","","",17,[[]]],[11,"borrow","","",17,[[]]],[11,"borrow_mut","","",17,[[]]],[11,"try_from","","",17,[[],["result",4]]],[11,"try_into","","",17,[[],["result",4]]],[11,"type_id","","",17,[[],["typeid",3]]],[11,"vzip","","",17,[[]]],[11,"init","","",17,[[],["usize",15]]],[11,"deref","","",17,[[["usize",15]]]],[11,"deref_mut","","",17,[[["usize",15]]]],[11,"drop","","",17,[[["usize",15]]]],[11,"from","bdk::database::memory","",18,[[]]],[11,"into","","",18,[[]]],[11,"borrow","","",18,[[]]],[11,"borrow_mut","","",18,[[]]],[11,"try_from","","",18,[[],["result",4]]],[11,"try_into","","",18,[[],["result",4]]],[11,"type_id","","",18,[[],["typeid",3]]],[11,"vzip","","",18,[[]]],[11,"init","","",18,[[],["usize",15]]],[11,"deref","","",18,[[["usize",15]]]],[11,"deref_mut","","",18,[[["usize",15]]]],[11,"drop","","",18,[[["usize",15]]]],[11,"from","bdk::descriptor","",50,[[]]],[11,"into","","",50,[[]]],[11,"to_owned","","",50,[[]]],[11,"clone_into","","",50,[[]]],[11,"to_string","","",50,[[],["string",3]]],[11,"borrow","","",50,[[]]],[11,"borrow_mut","","",50,[[]]],[11,"try_from","","",50,[[],["result",4]]],[11,"try_into","","",50,[[],["result",4]]],[11,"type_id","","",50,[[],["typeid",3]]],[11,"vzip","","",50,[[]]],[11,"equivalent","","",50,[[],["bool",15]]],[11,"init","","",50,[[],["usize",15]]],[11,"deref","","",50,[[["usize",15]]]],[11,"deref_mut","","",50,[[["usize",15]]]],[11,"drop","","",50,[[["usize",15]]]],[11,"from","bdk::keys","",57,[[]]],[11,"into","","",57,[[]]],[11,"to_owned","","",57,[[]]],[11,"clone_into","","",57,[[]]],[11,"to_string","","",57,[[],["string",3]]],[11,"borrow","","",57,[[]]],[11,"borrow_mut","","",57,[[]]],[11,"try_from","","",57,[[],["result",4]]],[11,"try_into","","",57,[[],["result",4]]],[11,"type_id","","",57,[[],["typeid",3]]],[11,"vzip","","",57,[[]]],[11,"equivalent","","",57,[[],["bool",15]]],[11,"init","","",57,[[],["usize",15]]],[11,"deref","","",57,[[["usize",15]]]],[11,"deref_mut","","",57,[[["usize",15]]]],[11,"drop","","",57,[[["usize",15]]]],[11,"as_enum","bdk::descriptor","",104,[[],["scriptcontextenum",4]]],[11,"from","","",104,[[]]],[11,"into","","",104,[[]]],[11,"to_owned","","",104,[[]]],[11,"clone_into","","",104,[[]]],[11,"borrow","","",104,[[]]],[11,"borrow_mut","","",104,[[]]],[11,"try_from","","",104,[[],["result",4]]],[11,"try_into","","",104,[[],["result",4]]],[11,"type_id","","",104,[[],["typeid",3]]],[11,"vzip","","",104,[[]]],[11,"equivalent","","",104,[[],["bool",15]]],[11,"init","","",104,[[],["usize",15]]],[11,"deref","","",104,[[["usize",15]]]],[11,"deref_mut","","",104,[[["usize",15]]]],[11,"drop","","",104,[[["usize",15]]]],[11,"from","","",51,[[]]],[11,"into","","",51,[[]]],[11,"to_owned","","",51,[[]]],[11,"clone_into","","",51,[[]]],[11,"to_string","","",51,[[],["string",3]]],[11,"borrow","","",51,[[]]],[11,"borrow_mut","","",51,[[]]],[11,"try_from","","",51,[[],["result",4]]],[11,"try_into","","",51,[[],["result",4]]],[11,"type_id","","",51,[[],["typeid",3]]],[11,"vzip","","",51,[[]]],[11,"equivalent","","",51,[[],["bool",15]]],[11,"init","","",51,[[],["usize",15]]],[11,"deref","","",51,[[["usize",15]]]],[11,"deref_mut","","",51,[[["usize",15]]]],[11,"drop","","",51,[[["usize",15]]]],[11,"as_enum","","",105,[[],["scriptcontextenum",4]]],[11,"from","","",105,[[]]],[11,"into","","",105,[[]]],[11,"to_owned","","",105,[[]]],[11,"clone_into","","",105,[[]]],[11,"borrow","","",105,[[]]],[11,"borrow_mut","","",105,[[]]],[11,"try_from","","",105,[[],["result",4]]],[11,"try_into","","",105,[[],["result",4]]],[11,"type_id","","",105,[[],["typeid",3]]],[11,"vzip","","",105,[[]]],[11,"equivalent","","",105,[[],["bool",15]]],[11,"init","","",105,[[],["usize",15]]],[11,"deref","","",105,[[["usize",15]]]],[11,"deref_mut","","",105,[[["usize",15]]]],[11,"drop","","",105,[[["usize",15]]]],[11,"from","","",106,[[]]],[11,"into","","",106,[[]]],[11,"to_owned","","",106,[[]]],[11,"clone_into","","",106,[[]]],[11,"to_string","","",106,[[],["string",3]]],[11,"borrow","","",106,[[]]],[11,"borrow_mut","","",106,[[]]],[11,"try_from","","",106,[[],["result",4]]],[11,"try_into","","",106,[[],["result",4]]],[11,"type_id","","",106,[[],["typeid",3]]],[11,"vzip","","",106,[[]]],[11,"equivalent","","",106,[[],["bool",15]]],[11,"init","","",106,[[],["usize",15]]],[11,"deref","","",106,[[["usize",15]]]],[11,"deref_mut","","",106,[[["usize",15]]]],[11,"drop","","",106,[[["usize",15]]]],[11,"from","bdk::descriptor::error","",23,[[]]],[11,"into","","",23,[[]]],[11,"to_string","","",23,[[],["string",3]]],[11,"borrow","","",23,[[]]],[11,"borrow_mut","","",23,[[]]],[11,"try_from","","",23,[[],["result",4]]],[11,"try_into","","",23,[[],["result",4]]],[11,"type_id","","",23,[[],["typeid",3]]],[11,"vzip","","",23,[[]]],[11,"init","","",23,[[],["usize",15]]],[11,"deref","","",23,[[["usize",15]]]],[11,"deref_mut","","",23,[[["usize",15]]]],[11,"drop","","",23,[[["usize",15]]]],[11,"from","bdk::descriptor::policy","",107,[[]]],[11,"into","","",107,[[]]],[11,"to_owned","","",107,[[]]],[11,"clone_into","","",107,[[]]],[11,"borrow","","",107,[[]]],[11,"borrow_mut","","",107,[[]]],[11,"try_from","","",107,[[],["result",4]]],[11,"try_into","","",107,[[],["result",4]]],[11,"type_id","","",107,[[],["typeid",3]]],[11,"vzip","","",107,[[]]],[11,"init","","",107,[[],["usize",15]]],[11,"deref","","",107,[[["usize",15]]]],[11,"deref_mut","","",107,[[["usize",15]]]],[11,"drop","","",107,[[["usize",15]]]],[11,"from","","",24,[[]]],[11,"into","","",24,[[]]],[11,"to_owned","","",24,[[]]],[11,"clone_into","","",24,[[]]],[11,"borrow","","",24,[[]]],[11,"borrow_mut","","",24,[[]]],[11,"try_from","","",24,[[],["result",4]]],[11,"try_into","","",24,[[],["result",4]]],[11,"type_id","","",24,[[],["typeid",3]]],[11,"vzip","","",24,[[]]],[11,"init","","",24,[[],["usize",15]]],[11,"deref","","",24,[[["usize",15]]]],[11,"deref_mut","","",24,[[["usize",15]]]],[11,"drop","","",24,[[["usize",15]]]],[11,"from","","",33,[[]]],[11,"into","","",33,[[]]],[11,"to_owned","","",33,[[]]],[11,"clone_into","","",33,[[]]],[11,"borrow","","",33,[[]]],[11,"borrow_mut","","",33,[[]]],[11,"try_from","","",33,[[],["result",4]]],[11,"try_into","","",33,[[],["result",4]]],[11,"type_id","","",33,[[],["typeid",3]]],[11,"vzip","","",33,[[]]],[11,"init","","",33,[[],["usize",15]]],[11,"deref","","",33,[[["usize",15]]]],[11,"deref_mut","","",33,[[["usize",15]]]],[11,"drop","","",33,[[["usize",15]]]],[11,"from","","",37,[[]]],[11,"into","","",37,[[]]],[11,"to_owned","","",37,[[]]],[11,"clone_into","","",37,[[]]],[11,"borrow","","",37,[[]]],[11,"borrow_mut","","",37,[[]]],[11,"try_from","","",37,[[],["result",4]]],[11,"try_into","","",37,[[],["result",4]]],[11,"type_id","","",37,[[],["typeid",3]]],[11,"vzip","","",37,[[]]],[11,"init","","",37,[[],["usize",15]]],[11,"deref","","",37,[[["usize",15]]]],[11,"deref_mut","","",37,[[["usize",15]]]],[11,"drop","","",37,[[["usize",15]]]],[11,"from","","",38,[[]]],[11,"into","","",38,[[]]],[11,"to_owned","","",38,[[]]],[11,"clone_into","","",38,[[]]],[11,"borrow","","",38,[[]]],[11,"borrow_mut","","",38,[[]]],[11,"try_from","","",38,[[],["result",4]]],[11,"try_into","","",38,[[],["result",4]]],[11,"type_id","","",38,[[],["typeid",3]]],[11,"vzip","","",38,[[]]],[11,"equivalent","","",38,[[],["bool",15]]],[11,"init","","",38,[[],["usize",15]]],[11,"deref","","",38,[[["usize",15]]]],[11,"deref_mut","","",38,[[["usize",15]]]],[11,"drop","","",38,[[["usize",15]]]],[11,"from","","",39,[[]]],[11,"into","","",39,[[]]],[11,"to_string","","",39,[[],["string",3]]],[11,"borrow","","",39,[[]]],[11,"borrow_mut","","",39,[[]]],[11,"try_from","","",39,[[],["result",4]]],[11,"try_into","","",39,[[],["result",4]]],[11,"type_id","","",39,[[],["typeid",3]]],[11,"vzip","","",39,[[]]],[11,"equivalent","","",39,[[],["bool",15]]],[11,"init","","",39,[[],["usize",15]]],[11,"deref","","",39,[[["usize",15]]]],[11,"deref_mut","","",39,[[["usize",15]]]],[11,"drop","","",39,[[["usize",15]]]],[11,"into_wallet_descriptor","bdk::descriptor::template","",41,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",41,[[]]],[11,"into","","",41,[[]]],[11,"borrow","","",41,[[]]],[11,"borrow_mut","","",41,[[]]],[11,"try_from","","",41,[[],["result",4]]],[11,"try_into","","",41,[[],["result",4]]],[11,"type_id","","",41,[[],["typeid",3]]],[11,"vzip","","",41,[[]]],[11,"init","","",41,[[],["usize",15]]],[11,"deref","","",41,[[["usize",15]]]],[11,"deref_mut","","",41,[[["usize",15]]]],[11,"drop","","",41,[[["usize",15]]]],[11,"into_wallet_descriptor","","",42,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",42,[[]]],[11,"into","","",42,[[]]],[11,"borrow","","",42,[[]]],[11,"borrow_mut","","",42,[[]]],[11,"try_from","","",42,[[],["result",4]]],[11,"try_into","","",42,[[],["result",4]]],[11,"type_id","","",42,[[],["typeid",3]]],[11,"vzip","","",42,[[]]],[11,"init","","",42,[[],["usize",15]]],[11,"deref","","",42,[[["usize",15]]]],[11,"deref_mut","","",42,[[["usize",15]]]],[11,"drop","","",42,[[["usize",15]]]],[11,"into_wallet_descriptor","","",43,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",43,[[]]],[11,"into","","",43,[[]]],[11,"borrow","","",43,[[]]],[11,"borrow_mut","","",43,[[]]],[11,"try_from","","",43,[[],["result",4]]],[11,"try_into","","",43,[[],["result",4]]],[11,"type_id","","",43,[[],["typeid",3]]],[11,"vzip","","",43,[[]]],[11,"init","","",43,[[],["usize",15]]],[11,"deref","","",43,[[["usize",15]]]],[11,"deref_mut","","",43,[[["usize",15]]]],[11,"drop","","",43,[[["usize",15]]]],[11,"into_wallet_descriptor","","",44,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",44,[[]]],[11,"into","","",44,[[]]],[11,"borrow","","",44,[[]]],[11,"borrow_mut","","",44,[[]]],[11,"try_from","","",44,[[],["result",4]]],[11,"try_into","","",44,[[],["result",4]]],[11,"type_id","","",44,[[],["typeid",3]]],[11,"vzip","","",44,[[]]],[11,"init","","",44,[[],["usize",15]]],[11,"deref","","",44,[[["usize",15]]]],[11,"deref_mut","","",44,[[["usize",15]]]],[11,"drop","","",44,[[["usize",15]]]],[11,"into_wallet_descriptor","","",45,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",45,[[]]],[11,"into","","",45,[[]]],[11,"borrow","","",45,[[]]],[11,"borrow_mut","","",45,[[]]],[11,"try_from","","",45,[[],["result",4]]],[11,"try_into","","",45,[[],["result",4]]],[11,"type_id","","",45,[[],["typeid",3]]],[11,"vzip","","",45,[[]]],[11,"init","","",45,[[],["usize",15]]],[11,"deref","","",45,[[["usize",15]]]],[11,"deref_mut","","",45,[[["usize",15]]]],[11,"drop","","",45,[[["usize",15]]]],[11,"into_wallet_descriptor","","",46,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",46,[[]]],[11,"into","","",46,[[]]],[11,"borrow","","",46,[[]]],[11,"borrow_mut","","",46,[[]]],[11,"try_from","","",46,[[],["result",4]]],[11,"try_into","","",46,[[],["result",4]]],[11,"type_id","","",46,[[],["typeid",3]]],[11,"vzip","","",46,[[]]],[11,"init","","",46,[[],["usize",15]]],[11,"deref","","",46,[[["usize",15]]]],[11,"deref_mut","","",46,[[["usize",15]]]],[11,"drop","","",46,[[["usize",15]]]],[11,"into_wallet_descriptor","","",47,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",47,[[]]],[11,"into","","",47,[[]]],[11,"borrow","","",47,[[]]],[11,"borrow_mut","","",47,[[]]],[11,"try_from","","",47,[[],["result",4]]],[11,"try_into","","",47,[[],["result",4]]],[11,"type_id","","",47,[[],["typeid",3]]],[11,"vzip","","",47,[[]]],[11,"init","","",47,[[],["usize",15]]],[11,"deref","","",47,[[["usize",15]]]],[11,"deref_mut","","",47,[[["usize",15]]]],[11,"drop","","",47,[[["usize",15]]]],[11,"into_wallet_descriptor","","",48,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",48,[[]]],[11,"into","","",48,[[]]],[11,"borrow","","",48,[[]]],[11,"borrow_mut","","",48,[[]]],[11,"try_from","","",48,[[],["result",4]]],[11,"try_into","","",48,[[],["result",4]]],[11,"type_id","","",48,[[],["typeid",3]]],[11,"vzip","","",48,[[]]],[11,"init","","",48,[[],["usize",15]]],[11,"deref","","",48,[[["usize",15]]]],[11,"deref_mut","","",48,[[["usize",15]]]],[11,"drop","","",48,[[["usize",15]]]],[11,"into_wallet_descriptor","","",49,[[["secp256k1",3],["network",4]],[["result",4],["error",4]]]],[11,"from","","",49,[[]]],[11,"into","","",49,[[]]],[11,"borrow","","",49,[[]]],[11,"borrow_mut","","",49,[[]]],[11,"try_from","","",49,[[],["result",4]]],[11,"try_into","","",49,[[],["result",4]]],[11,"type_id","","",49,[[],["typeid",3]]],[11,"vzip","","",49,[[]]],[11,"init","","",49,[[],["usize",15]]],[11,"deref","","",49,[[["usize",15]]]],[11,"deref_mut","","",49,[[["usize",15]]]],[11,"drop","","",49,[[["usize",15]]]],[11,"from","bdk::keys::bip39","",55,[[]]],[11,"into","","",55,[[]]],[11,"to_owned","","",55,[[]]],[11,"clone_into","","",55,[[]]],[11,"borrow","","",55,[[]]],[11,"borrow_mut","","",55,[[]]],[11,"try_from","","",55,[[],["result",4]]],[11,"try_into","","",55,[[],["result",4]]],[11,"type_id","","",55,[[],["typeid",3]]],[11,"vzip","","",55,[[]]],[11,"init","","",55,[[],["usize",15]]],[11,"deref","","",55,[[["usize",15]]]],[11,"deref_mut","","",55,[[["usize",15]]]],[11,"drop","","",55,[[["usize",15]]]],[11,"from","","",108,[[]]],[11,"into","","",108,[[]]],[11,"to_owned","","",108,[[]]],[11,"clone_into","","",108,[[]]],[11,"to_string","","",108,[[],["string",3]]],[11,"borrow","","",108,[[]]],[11,"borrow_mut","","",108,[[]]],[11,"try_from","","",108,[[],["result",4]]],[11,"try_into","","",108,[[],["result",4]]],[11,"type_id","","",108,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",108,[[],["string",3]]],[11,"vzip","","",108,[[]]],[11,"init","","",108,[[],["usize",15]]],[11,"deref","","",108,[[["usize",15]]]],[11,"deref_mut","","",108,[[["usize",15]]]],[11,"drop","","",108,[[["usize",15]]]],[11,"from","","",56,[[]]],[11,"into","","",56,[[]]],[11,"to_owned","","",56,[[]]],[11,"clone_into","","",56,[[]]],[11,"to_string","","",56,[[],["string",3]]],[11,"borrow","","",56,[[]]],[11,"borrow_mut","","",56,[[]]],[11,"try_from","","",56,[[],["result",4]]],[11,"try_into","","",56,[[],["result",4]]],[11,"type_id","","",56,[[],["typeid",3]]],[11,"vzip","","",56,[[]]],[11,"init","","",56,[[],["usize",15]]],[11,"deref","","",56,[[["usize",15]]]],[11,"deref_mut","","",56,[[["usize",15]]]],[11,"drop","","",56,[[["usize",15]]]],[11,"from","","",109,[[]]],[11,"into","","",109,[[]]],[11,"to_owned","","",109,[[]]],[11,"clone_into","","",109,[[]]],[11,"borrow","","",109,[[]]],[11,"borrow_mut","","",109,[[]]],[11,"try_from","","",109,[[],["result",4]]],[11,"try_into","","",109,[[],["result",4]]],[11,"type_id","","",109,[[],["typeid",3]]],[11,"to_hex","","Outputs the hash in hexadecimal form",109,[[],["string",3]]],[11,"write_base32","","",109,[[],["result",4]]],[11,"base32_len","","",109,[[],["usize",15]]],[11,"check_base32","","",109,[[],[["result",4],["vec",3]]]],[11,"vzip","","",109,[[]]],[11,"init","","",109,[[],["usize",15]]],[11,"deref","","",109,[[["usize",15]]]],[11,"deref_mut","","",109,[[["usize",15]]]],[11,"drop","","",109,[[["usize",15]]]],[11,"from","bdk::keys","",58,[[]]],[11,"into","","",58,[[]]],[11,"to_string","","",58,[[],["string",3]]],[11,"borrow","","",58,[[]]],[11,"borrow_mut","","",58,[[]]],[11,"try_from","","",58,[[],["result",4]]],[11,"try_into","","",58,[[],["result",4]]],[11,"type_id","","",58,[[],["typeid",3]]],[11,"vzip","","",58,[[]]],[11,"init","","",58,[[],["usize",15]]],[11,"deref","","",58,[[["usize",15]]]],[11,"deref_mut","","",58,[[["usize",15]]]],[11,"drop","","",58,[[["usize",15]]]],[11,"from","","",59,[[]]],[11,"into","","",59,[[]]],[11,"borrow","","",59,[[]]],[11,"borrow_mut","","",59,[[]]],[11,"try_from","","",59,[[],["result",4]]],[11,"try_into","","",59,[[],["result",4]]],[11,"type_id","","",59,[[],["typeid",3]]],[11,"vzip","","",59,[[]]],[11,"init","","",59,[[],["usize",15]]],[11,"deref","","",59,[[["usize",15]]]],[11,"deref_mut","","",59,[[["usize",15]]]],[11,"drop","","",59,[[["usize",15]]]],[11,"from","","",60,[[]]],[11,"into","","",60,[[]]],[11,"to_owned","","",60,[[]]],[11,"clone_into","","",60,[[]]],[11,"borrow","","",60,[[]]],[11,"borrow_mut","","",60,[[]]],[11,"try_from","","",60,[[],["result",4]]],[11,"try_into","","",60,[[],["result",4]]],[11,"type_id","","",60,[[],["typeid",3]]],[11,"vzip","","",60,[[]]],[11,"equivalent","","",60,[[],["bool",15]]],[11,"init","","",60,[[],["usize",15]]],[11,"deref","","",60,[[["usize",15]]]],[11,"deref_mut","","",60,[[["usize",15]]]],[11,"drop","","",60,[[["usize",15]]]],[11,"from","","",61,[[]]],[11,"into","","",61,[[]]],[11,"to_owned","","",61,[[]]],[11,"clone_into","","",61,[[]]],[11,"to_string","","",61,[[],["string",3]]],[11,"borrow","","",61,[[]]],[11,"borrow_mut","","",61,[[]]],[11,"try_from","","",61,[[],["result",4]]],[11,"try_into","","",61,[[],["result",4]]],[11,"type_id","","",61,[[],["typeid",3]]],[11,"vzip","","",61,[[]]],[11,"equivalent","","",61,[[],["bool",15]]],[11,"init","","",61,[[],["usize",15]]],[11,"deref","","",61,[[["usize",15]]]],[11,"deref_mut","","",61,[[["usize",15]]]],[11,"drop","","",61,[[["usize",15]]]],[11,"from","","",62,[[]]],[11,"into","","",62,[[]]],[11,"borrow","","",62,[[]]],[11,"borrow_mut","","",62,[[]]],[11,"try_from","","",62,[[],["result",4]]],[11,"try_into","","",62,[[],["result",4]]],[11,"type_id","","",62,[[],["typeid",3]]],[11,"vzip","","",62,[[]]],[11,"init","","",62,[[],["usize",15]]],[11,"deref","","",62,[[["usize",15]]]],[11,"deref_mut","","",62,[[["usize",15]]]],[11,"drop","","",62,[[["usize",15]]]],[11,"from","","",63,[[]]],[11,"into","","",63,[[]]],[11,"to_owned","","",63,[[]]],[11,"clone_into","","",63,[[]]],[11,"borrow","","",63,[[]]],[11,"borrow_mut","","",63,[[]]],[11,"try_from","","",63,[[],["result",4]]],[11,"try_into","","",63,[[],["result",4]]],[11,"type_id","","",63,[[],["typeid",3]]],[11,"vzip","","",63,[[]]],[11,"equivalent","","",63,[[],["bool",15]]],[11,"init","","",63,[[],["usize",15]]],[11,"deref","","",63,[[["usize",15]]]],[11,"deref_mut","","",63,[[["usize",15]]]],[11,"drop","","",63,[[["usize",15]]]],[11,"from","","",66,[[]]],[11,"into","","",66,[[]]],[11,"borrow","","",66,[[]]],[11,"borrow_mut","","",66,[[]]],[11,"try_from","","",66,[[],["result",4]]],[11,"try_into","","",66,[[],["result",4]]],[11,"type_id","","",66,[[],["typeid",3]]],[11,"vzip","","",66,[[]]],[11,"init","","",66,[[],["usize",15]]],[11,"deref","","",66,[[["usize",15]]]],[11,"deref_mut","","",66,[[["usize",15]]]],[11,"drop","","",66,[[["usize",15]]]],[11,"from","","",68,[[]]],[11,"into","","",68,[[]]],[11,"borrow","","",68,[[]]],[11,"borrow_mut","","",68,[[]]],[11,"try_from","","",68,[[],["result",4]]],[11,"try_into","","",68,[[],["result",4]]],[11,"type_id","","",68,[[],["typeid",3]]],[11,"vzip","","",68,[[]]],[11,"init","","",68,[[],["usize",15]]],[11,"deref","","",68,[[["usize",15]]]],[11,"deref_mut","","",68,[[["usize",15]]]],[11,"drop","","",68,[[["usize",15]]]],[11,"from","","",71,[[]]],[11,"into","","",71,[[]]],[11,"to_owned","","",71,[[]]],[11,"clone_into","","",71,[[]]],[11,"borrow","","",71,[[]]],[11,"borrow_mut","","",71,[[]]],[11,"try_from","","",71,[[],["result",4]]],[11,"try_into","","",71,[[],["result",4]]],[11,"type_id","","",71,[[],["typeid",3]]],[11,"vzip","","",71,[[]]],[11,"init","","",71,[[],["usize",15]]],[11,"deref","","",71,[[["usize",15]]]],[11,"deref_mut","","",71,[[["usize",15]]]],[11,"drop","","",71,[[["usize",15]]]],[11,"from","","",72,[[]]],[11,"into","","",72,[[]]],[11,"to_string","","",72,[[],["string",3]]],[11,"borrow","","",72,[[]]],[11,"borrow_mut","","",72,[[]]],[11,"try_from","","",72,[[],["result",4]]],[11,"try_into","","",72,[[],["result",4]]],[11,"type_id","","",72,[[],["typeid",3]]],[11,"vzip","","",72,[[]]],[11,"init","","",72,[[],["usize",15]]],[11,"deref","","",72,[[["usize",15]]]],[11,"deref_mut","","",72,[[["usize",15]]]],[11,"drop","","",72,[[["usize",15]]]],[11,"from","bdk","",93,[[]]],[11,"into","","",93,[[]]],[11,"to_owned","","",93,[[]]],[11,"clone_into","","",93,[[]]],[11,"borrow","","",93,[[]]],[11,"borrow_mut","","",93,[[]]],[11,"try_from","","",93,[[],["result",4]]],[11,"try_into","","",93,[[],["result",4]]],[11,"type_id","","",93,[[],["typeid",3]]],[11,"write_base32","","",93,[[],["result",4]]],[11,"base32_len","","",93,[[],["usize",15]]],[11,"check_base32","","",93,[[],[["result",4],["vec",3]]]],[11,"vzip","","",93,[[]]],[11,"equivalent","","",93,[[],["bool",15]]],[11,"init","","",93,[[],["usize",15]]],[11,"deref","","",93,[[["usize",15]]]],[11,"deref_mut","","",93,[[["usize",15]]]],[11,"drop","","",93,[[["usize",15]]]],[11,"from","","",110,[[]]],[11,"into","","",110,[[]]],[11,"to_owned","","",110,[[]]],[11,"clone_into","","",110,[[]]],[11,"borrow","","",110,[[]]],[11,"borrow_mut","","",110,[[]]],[11,"try_from","","",110,[[],["result",4]]],[11,"try_into","","",110,[[],["result",4]]],[11,"type_id","","",110,[[],["typeid",3]]],[11,"vzip","","",110,[[]]],[11,"init","","",110,[[],["usize",15]]],[11,"deref","","",110,[[["usize",15]]]],[11,"deref_mut","","",110,[[["usize",15]]]],[11,"drop","","",110,[[["usize",15]]]],[11,"from","","",94,[[]]],[11,"into","","",94,[[]]],[11,"to_owned","","",94,[[]]],[11,"clone_into","","",94,[[]]],[11,"borrow","","",94,[[]]],[11,"borrow_mut","","",94,[[]]],[11,"try_from","","",94,[[],["result",4]]],[11,"try_into","","",94,[[],["result",4]]],[11,"type_id","","",94,[[],["typeid",3]]],[11,"vzip","","",94,[[]]],[11,"equivalent","","",94,[[],["bool",15]]],[11,"init","","",94,[[],["usize",15]]],[11,"deref","","",94,[[["usize",15]]]],[11,"deref_mut","","",94,[[["usize",15]]]],[11,"drop","","",94,[[["usize",15]]]],[11,"from","","",95,[[]]],[11,"into","","",95,[[]]],[11,"to_owned","","",95,[[]]],[11,"clone_into","","",95,[[]]],[11,"borrow","","",95,[[]]],[11,"borrow_mut","","",95,[[]]],[11,"try_from","","",95,[[],["result",4]]],[11,"try_into","","",95,[[],["result",4]]],[11,"type_id","","",95,[[],["typeid",3]]],[11,"vzip","","",95,[[]]],[11,"init","","",95,[[],["usize",15]]],[11,"deref","","",95,[[["usize",15]]]],[11,"deref_mut","","",95,[[["usize",15]]]],[11,"drop","","",95,[[["usize",15]]]],[11,"from","","",96,[[]]],[11,"into","","",96,[[]]],[11,"to_owned","","",96,[[]]],[11,"clone_into","","",96,[[]]],[11,"borrow","","",96,[[]]],[11,"borrow_mut","","",96,[[]]],[11,"try_from","","",96,[[],["result",4]]],[11,"try_into","","",96,[[],["result",4]]],[11,"type_id","","",96,[[],["typeid",3]]],[11,"vzip","","",96,[[]]],[11,"init","","",96,[[],["usize",15]]],[11,"deref","","",96,[[["usize",15]]]],[11,"deref_mut","","",96,[[["usize",15]]]],[11,"drop","","",96,[[["usize",15]]]],[11,"from","","",98,[[]]],[11,"into","","",98,[[]]],[11,"to_owned","","",98,[[]]],[11,"clone_into","","",98,[[]]],[11,"borrow","","",98,[[]]],[11,"borrow_mut","","",98,[[]]],[11,"try_from","","",98,[[],["result",4]]],[11,"try_into","","",98,[[],["result",4]]],[11,"type_id","","",98,[[],["typeid",3]]],[11,"vzip","","",98,[[]]],[11,"equivalent","","",98,[[],["bool",15]]],[11,"init","","",98,[[],["usize",15]]],[11,"deref","","",98,[[["usize",15]]]],[11,"deref_mut","","",98,[[["usize",15]]]],[11,"drop","","",98,[[["usize",15]]]],[11,"from","bdk::wallet::address_validator","",73,[[]]],[11,"into","","",73,[[]]],[11,"to_owned","","",73,[[]]],[11,"clone_into","","",73,[[]]],[11,"to_string","","",73,[[],["string",3]]],[11,"borrow","","",73,[[]]],[11,"borrow_mut","","",73,[[]]],[11,"try_from","","",73,[[],["result",4]]],[11,"try_into","","",73,[[],["result",4]]],[11,"type_id","","",73,[[],["typeid",3]]],[11,"vzip","","",73,[[]]],[11,"equivalent","","",73,[[],["bool",15]]],[11,"init","","",73,[[],["usize",15]]],[11,"deref","","",73,[[["usize",15]]]],[11,"deref_mut","","",73,[[["usize",15]]]],[11,"drop","","",73,[[["usize",15]]]],[11,"from","bdk::wallet::coin_selection","",75,[[]]],[11,"into","","",75,[[]]],[11,"borrow","","",75,[[]]],[11,"borrow_mut","","",75,[[]]],[11,"try_from","","",75,[[],["result",4]]],[11,"try_into","","",75,[[],["result",4]]],[11,"type_id","","",75,[[],["typeid",3]]],[11,"vzip","","",75,[[]]],[11,"init","","",75,[[],["usize",15]]],[11,"deref","","",75,[[["usize",15]]]],[11,"deref_mut","","",75,[[["usize",15]]]],[11,"drop","","",75,[[["usize",15]]]],[11,"from","","",111,[[]]],[11,"into","","",111,[[]]],[11,"to_owned","","",111,[[]]],[11,"clone_into","","",111,[[]]],[11,"borrow","","",111,[[]]],[11,"borrow_mut","","",111,[[]]],[11,"try_from","","",111,[[],["result",4]]],[11,"try_into","","",111,[[],["result",4]]],[11,"type_id","","",111,[[],["typeid",3]]],[11,"vzip","","",111,[[]]],[11,"init","","",111,[[],["usize",15]]],[11,"deref","","",111,[[["usize",15]]]],[11,"deref_mut","","",111,[[["usize",15]]]],[11,"drop","","",111,[[["usize",15]]]],[11,"from","","",77,[[]]],[11,"into","","",77,[[]]],[11,"borrow","","",77,[[]]],[11,"borrow_mut","","",77,[[]]],[11,"try_from","","",77,[[],["result",4]]],[11,"try_into","","",77,[[],["result",4]]],[11,"type_id","","",77,[[],["typeid",3]]],[11,"vzip","","",77,[[]]],[11,"init","","",77,[[],["usize",15]]],[11,"deref","","",77,[[["usize",15]]]],[11,"deref_mut","","",77,[[["usize",15]]]],[11,"drop","","",77,[[["usize",15]]]],[11,"from","bdk::wallet::export","",78,[[]]],[11,"into","","",78,[[]]],[11,"borrow","","",78,[[]]],[11,"borrow_mut","","",78,[[]]],[11,"try_from","","",78,[[],["result",4]]],[11,"try_into","","",78,[[],["result",4]]],[11,"type_id","","",78,[[],["typeid",3]]],[11,"vzip","","",78,[[]]],[11,"init","","",78,[[],["usize",15]]],[11,"deref","","",78,[[["usize",15]]]],[11,"deref_mut","","",78,[[["usize",15]]]],[11,"drop","","",78,[[["usize",15]]]],[11,"from","bdk::wallet::signer","",79,[[]]],[11,"into","","",79,[[]]],[11,"to_owned","","",79,[[]]],[11,"clone_into","","",79,[[]]],[11,"borrow","","",79,[[]]],[11,"borrow_mut","","",79,[[]]],[11,"try_from","","",79,[[],["result",4]]],[11,"try_into","","",79,[[],["result",4]]],[11,"type_id","","",79,[[],["typeid",3]]],[11,"vzip","","",79,[[]]],[11,"equivalent","","",79,[[],["bool",15]]],[11,"init","","",79,[[],["usize",15]]],[11,"deref","","",79,[[["usize",15]]]],[11,"deref_mut","","",79,[[["usize",15]]]],[11,"drop","","",79,[[["usize",15]]]],[11,"from","","",80,[[]]],[11,"into","","",80,[[]]],[11,"to_owned","","",80,[[]]],[11,"clone_into","","",80,[[]]],[11,"to_string","","",80,[[],["string",3]]],[11,"borrow","","",80,[[]]],[11,"borrow_mut","","",80,[[]]],[11,"try_from","","",80,[[],["result",4]]],[11,"try_into","","",80,[[],["result",4]]],[11,"type_id","","",80,[[],["typeid",3]]],[11,"vzip","","",80,[[]]],[11,"equivalent","","",80,[[],["bool",15]]],[11,"init","","",80,[[],["usize",15]]],[11,"deref","","",80,[[["usize",15]]]],[11,"deref_mut","","",80,[[["usize",15]]]],[11,"drop","","",80,[[["usize",15]]]],[11,"from","","",82,[[]]],[11,"into","","",82,[[]]],[11,"to_owned","","",82,[[]]],[11,"clone_into","","",82,[[]]],[11,"borrow","","",82,[[]]],[11,"borrow_mut","","",82,[[]]],[11,"try_from","","",82,[[],["result",4]]],[11,"try_into","","",82,[[],["result",4]]],[11,"type_id","","",82,[[],["typeid",3]]],[11,"vzip","","",82,[[]]],[11,"equivalent","","",82,[[],["bool",15]]],[11,"init","","",82,[[],["usize",15]]],[11,"deref","","",82,[[["usize",15]]]],[11,"deref_mut","","",82,[[["usize",15]]]],[11,"drop","","",82,[[["usize",15]]]],[11,"from","","",83,[[]]],[11,"into","","",83,[[]]],[11,"to_owned","","",83,[[]]],[11,"clone_into","","",83,[[]]],[11,"borrow","","",83,[[]]],[11,"borrow_mut","","",83,[[]]],[11,"try_from","","",83,[[],["result",4]]],[11,"try_into","","",83,[[],["result",4]]],[11,"type_id","","",83,[[],["typeid",3]]],[11,"vzip","","",83,[[]]],[11,"init","","",83,[[],["usize",15]]],[11,"deref","","",83,[[["usize",15]]]],[11,"deref_mut","","",83,[[["usize",15]]]],[11,"drop","","",83,[[["usize",15]]]],[11,"from","bdk::wallet::tx_builder","",112,[[]]],[11,"into","","",112,[[]]],[11,"to_owned","","",112,[[]]],[11,"clone_into","","",112,[[]]],[11,"borrow","","",112,[[]]],[11,"borrow_mut","","",112,[[]]],[11,"try_from","","",112,[[],["result",4]]],[11,"try_into","","",112,[[],["result",4]]],[11,"type_id","","",112,[[],["typeid",3]]],[11,"vzip","","",112,[[]]],[11,"init","","",112,[[],["usize",15]]],[11,"deref","","",112,[[["usize",15]]]],[11,"deref_mut","","",112,[[["usize",15]]]],[11,"drop","","",112,[[["usize",15]]]],[11,"from","","",113,[[]]],[11,"into","","",113,[[]]],[11,"to_owned","","",113,[[]]],[11,"clone_into","","",113,[[]]],[11,"borrow","","",113,[[]]],[11,"borrow_mut","","",113,[[]]],[11,"try_from","","",113,[[],["result",4]]],[11,"try_into","","",113,[[],["result",4]]],[11,"type_id","","",113,[[],["typeid",3]]],[11,"vzip","","",113,[[]]],[11,"init","","",113,[[],["usize",15]]],[11,"deref","","",113,[[["usize",15]]]],[11,"deref_mut","","",113,[[["usize",15]]]],[11,"drop","","",113,[[["usize",15]]]],[11,"from","","",84,[[]]],[11,"into","","",84,[[]]],[11,"to_owned","","",84,[[]]],[11,"clone_into","","",84,[[]]],[11,"borrow","","",84,[[]]],[11,"borrow_mut","","",84,[[]]],[11,"try_from","","",84,[[],["result",4]]],[11,"try_into","","",84,[[],["result",4]]],[11,"type_id","","",84,[[],["typeid",3]]],[11,"vzip","","",84,[[]]],[11,"init","","",84,[[],["usize",15]]],[11,"deref","","",84,[[["usize",15]]]],[11,"deref_mut","","",84,[[["usize",15]]]],[11,"drop","","",84,[[["usize",15]]]],[11,"from","","",85,[[]]],[11,"into","","",85,[[]]],[11,"to_owned","","",85,[[]]],[11,"clone_into","","",85,[[]]],[11,"borrow","","",85,[[]]],[11,"borrow_mut","","",85,[[]]],[11,"try_from","","",85,[[],["result",4]]],[11,"try_into","","",85,[[],["result",4]]],[11,"type_id","","",85,[[],["typeid",3]]],[11,"vzip","","",85,[[]]],[11,"equivalent","","",85,[[],["bool",15]]],[11,"init","","",85,[[],["usize",15]]],[11,"deref","","",85,[[["usize",15]]]],[11,"deref_mut","","",85,[[["usize",15]]]],[11,"drop","","",85,[[["usize",15]]]],[11,"from","","",86,[[]]],[11,"into","","",86,[[]]],[11,"to_owned","","",86,[[]]],[11,"clone_into","","",86,[[]]],[11,"borrow","","",86,[[]]],[11,"borrow_mut","","",86,[[]]],[11,"try_from","","",86,[[],["result",4]]],[11,"try_into","","",86,[[],["result",4]]],[11,"type_id","","",86,[[],["typeid",3]]],[11,"vzip","","",86,[[]]],[11,"equivalent","","",86,[[],["bool",15]]],[11,"init","","",86,[[],["usize",15]]],[11,"deref","","",86,[[["usize",15]]]],[11,"deref_mut","","",86,[[["usize",15]]]],[11,"drop","","",86,[[["usize",15]]]],[11,"from","bdk::wallet","",88,[[]]],[11,"into","","",88,[[]]],[11,"borrow","","",88,[[]]],[11,"borrow_mut","","",88,[[]]],[11,"try_from","","",88,[[],["result",4]]],[11,"try_into","","",88,[[],["result",4]]],[11,"type_id","","",88,[[],["typeid",3]]],[11,"vzip","","",88,[[]]],[11,"init","","",88,[[],["usize",15]]],[11,"deref","","",88,[[["usize",15]]]],[11,"deref_mut","","",88,[[["usize",15]]]],[11,"drop","","",88,[[["usize",15]]]],[11,"check_terminal_non_malleable","bdk::descriptor","",104,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",104,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",104,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",104,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"check_terminal_non_malleable","","",105,[[["terminal",4]],[["result",4],["scriptcontexterror",4]]]],[11,"check_witness","","",105,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","",105,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"max_satisfaction_size","","",105,[[["miniscript",3]],[["usize",15],["option",4]]]],[11,"fmt","bdk::keys","",61,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",58,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",50,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",51,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",57,[[["formatter",3]],[["result",4],["error",3]]]],[11,"partial_cmp","bdk::descriptor","",51,[[["miniscript",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",104,[[["legacy",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::keys","",61,[[["sortedmultivec",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor","",105,[[["segwitv0",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::keys","",57,[[["descriptorpublickey",4]],[["option",4],["ordering",4]]]],[11,"partial_cmp","","",60,[[["descriptorsinglepub",3]],[["option",4],["ordering",4]]]],[11,"partial_cmp","bdk::descriptor","",50,[[["descriptor",4]],[["option",4],["ordering",4]]]],[11,"from_tree","","Parse an expression tree into a descriptor",50,[[["tree",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"from_tree","","Parse an expression tree into a Miniscript. As a general …",51,[[["tree",3]],[["miniscript",3],["result",4],["error",4]]]],[11,"clone","","",51,[[],["miniscript",3]]],[11,"clone","","",105,[[],["segwitv0",4]]],[11,"clone","bdk::keys","",61,[[],["sortedmultivec",3]]],[11,"clone","bdk::descriptor","",50,[[],["descriptor",4]]],[11,"clone","bdk::keys","",60,[[],["descriptorsinglepub",3]]],[11,"clone","bdk::descriptor","",104,[[],["legacy",4]]],[11,"clone","bdk::keys","",57,[[],["descriptorpublickey",4]]],[11,"fmt","","",57,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",50,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",104,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",59,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",60,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",58,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::descriptor","",105,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",51,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","bdk::keys","",61,[[["formatter",3]],[["result",4],["error",3]]]],[11,"cmp","","",61,[[["sortedmultivec",3]],["ordering",4]]],[11,"cmp","bdk::descriptor","",50,[[["descriptor",4]],["ordering",4]]],[11,"cmp","","",105,[[["segwitv0",4]],["ordering",4]]],[11,"cmp","bdk::keys","",60,[[["descriptorsinglepub",3]],["ordering",4]]],[11,"cmp","","",57,[[["descriptorpublickey",4]],["ordering",4]]],[11,"cmp","bdk::descriptor","",51,[[["miniscript",3]],["ordering",4]]],[11,"cmp","","",104,[[["legacy",4]],["ordering",4]]],[11,"is_uncompressed","bdk::keys","",57,[[],["bool",15]]],[11,"to_pubkeyhash","","",57,[[],["descriptorpublickey",4]]],[11,"hash","","",57,[[]]],[11,"hash","","",60,[[]]],[11,"hash","bdk::descriptor","",104,[[]]],[11,"hash","","",105,[[]]],[11,"hash","","",51,[[]]],[11,"for_each_key","","",50,[[],["bool",15]]],[11,"for_each_key","","",51,[[],["bool",15]]],[11,"for_each_key","bdk::keys","",61,[[],["bool",15]]],[11,"translate_pk","bdk::descriptor","Convert a descriptor using abstract keys to one using …",50,[[],[["descriptor",4],["result",4]]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",51,[[],["result",4]]],[11,"sanity_check","","Whether the descriptor is safe Checks whether all the …",50,[[],[["error",4],["result",4]]]],[11,"address","","Computes the Bitcoin address of the descriptor, if one …",50,[[["network",4]],[["error",4],["result",4],["address",3]]]],[11,"script_pubkey","","Computes the scriptpubkey of the descriptor",50,[[],["script",3]]],[11,"unsigned_script_sig","","Computes the scriptSig that will be in place for an …",50,[[],["script",3]]],[11,"explicit_script","","Computes the “witness script” of the descriptor, i.e. …",50,[[],["script",3]]],[11,"get_satisfaction","","Returns satisfying witness and scriptSig to spend an …",50,[[],[["error",4],["result",4]]]],[11,"max_satisfaction_weight","","Computes an upper bound on the weight of a satisfying …",50,[[],[["result",4],["usize",15],["error",4]]]],[11,"script_code","","Get the <code>scriptCode</code> of a transaction output.",50,[[],["script",3]]],[11,"lift","","",51,[[],[["error",4],["result",4],["policy",4]]]],[11,"lift","","",50,[[],[["error",4],["result",4],["policy",4]]]],[11,"lift","bdk::keys","",61,[[],[["error",4],["result",4],["policy",4]]]],[11,"from_str","","",58,[[["str",15]],[["result",4],["descriptorsecretkey",4]]]],[11,"from_str","","",57,[[["str",15]],[["result",4],["descriptorpublickey",4]]]],[11,"from_str","bdk::descriptor","",50,[[["str",15]],[["descriptor",4],["error",4],["result",4]]]],[11,"from_str","","",51,[[["str",15]],[["miniscript",3],["result",4],["error",4]]]],[11,"eq","","",105,[[["segwitv0",4]],["bool",15]]],[11,"eq","bdk::keys","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"ne","","",61,[[["sortedmultivec",3]],["bool",15]]],[11,"eq","","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"ne","","",60,[[["descriptorsinglepub",3]],["bool",15]]],[11,"eq","bdk::descriptor","",50,[[["descriptor",4]],["bool",15]]],[11,"ne","","",50,[[["descriptor",4]],["bool",15]]],[11,"eq","","",104,[[["legacy",4]],["bool",15]]],[11,"eq","","",51,[[["miniscript",3]],["bool",15]]],[11,"eq","bdk::keys","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"ne","","",57,[[["descriptorpublickey",4]],["bool",15]]],[11,"zeroize","bdk::keys::bip39","",108,[[]]],[11,"zeroize","","",55,[[]]],[11,"zeroize","","",109,[[]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",56,[[["formatter",3]],[["result",4],["error",3]]]],[11,"as_ref","","",108,[[],["str",15]]],[11,"as_ref","","",109,[[]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"default","","",55,[[],["language",4]]],[11,"default","","",56,[[],["mnemonictype",4]]],[11,"clone","","",56,[[],["mnemonictype",4]]],[11,"clone","","",109,[[],["seed",3]]],[11,"clone","","",108,[[],["mnemonic",3]]],[11,"clone","","",55,[[],["language",4]]],[11,"fmt","","",56,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",55,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"drop","","",108,[[]]],[11,"drop","","",109,[[]]],[11,"eq","","",55,[[["language",4]],["bool",15]]],[11,"fmt","","",108,[[["formatter",3]],[["result",4],["error",3]]]],[11,"fmt","","",109,[[["formatter",3]],[["result",4],["error",3]]]],[11,"from_config","bdk::blockchain::any","",0,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::blockchain::electrum","",99,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::blockchain::esplora","",3,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::blockchain::compact_filters","",6,[[],[["error",4],["result",4]]]],[11,"update","bdk::blockchain","",102,[[["string",3],["f32",15],["option",4]],[["result",4],["error",4]]]],[11,"update","","",103,[[["string",3],["f32",15],["option",4]],[["result",4],["error",4]]]],[11,"set_script_pubkey","bdk::database::any","",14,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[11,"set_utxo","","",14,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",14,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",14,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",14,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",14,[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"del_path_from_script_pubkey","","",14,[[["script",3]],[["result",4],["option",4],["error",4]]]],[11,"del_utxo","","",14,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[11,"del_raw_tx","","",14,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"del_tx","","",14,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"del_last_index","","",14,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"set_script_pubkey","","",15,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[11,"set_utxo","","",15,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",15,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",15,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",15,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",15,[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"del_path_from_script_pubkey","","",15,[[["script",3]],[["result",4],["option",4],["error",4]]]],[11,"del_utxo","","",15,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[11,"del_raw_tx","","",15,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"del_tx","","",15,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"del_last_index","","",15,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"set_script_pubkey","bdk::database::memory","",18,[[["u32",15],["script",3],["keychainkind",4]],[["result",4],["error",4]]]],[11,"set_utxo","","",18,[[["localutxo",3]],[["result",4],["error",4]]]],[11,"set_raw_tx","","",18,[[["transaction",3]],[["result",4],["error",4]]]],[11,"set_tx","","",18,[[["transactiondetails",3]],[["result",4],["error",4]]]],[11,"set_last_index","","",18,[[["u32",15],["keychainkind",4]],[["result",4],["error",4]]]],[11,"del_script_pubkey_from_path","","",18,[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"del_path_from_script_pubkey","","",18,[[["script",3]],[["result",4],["option",4],["error",4]]]],[11,"del_utxo","","",18,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[11,"del_raw_tx","","",18,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"del_tx","","",18,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"del_last_index","","",18,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"check_descriptor_checksum","bdk::database::any","",14,[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]]],[11,"iter_script_pubkeys","","",14,[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]]],[11,"iter_utxos","","",14,[[],[["vec",3],["error",4],["result",4]]]],[11,"iter_raw_txs","","",14,[[],[["result",4],["vec",3],["error",4]]]],[11,"iter_txs","","",14,[[["bool",15]],[["error",4],["vec",3],["result",4]]]],[11,"get_script_pubkey_from_path","","",14,[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"get_path_from_script_pubkey","","",14,[[["script",3]],[["result",4],["option",4],["error",4]]]],[11,"get_utxo","","",14,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[11,"get_raw_tx","","",14,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"get_tx","","",14,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"get_last_index","","",14,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"increment_last_index","","",14,[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]]],[11,"check_descriptor_checksum","bdk::database::memory","",18,[[["asref",8],["keychainkind",4]],[["result",4],["error",4]]]],[11,"iter_script_pubkeys","","",18,[[["option",4],["keychainkind",4]],[["result",4],["error",4],["vec",3]]]],[11,"iter_utxos","","",18,[[],[["vec",3],["error",4],["result",4]]]],[11,"iter_raw_txs","","",18,[[],[["result",4],["vec",3],["error",4]]]],[11,"iter_txs","","",18,[[["bool",15]],[["error",4],["vec",3],["result",4]]]],[11,"get_script_pubkey_from_path","","",18,[[["u32",15],["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"get_path_from_script_pubkey","","",18,[[["script",3]],[["result",4],["option",4],["error",4]]]],[11,"get_utxo","","",18,[[["outpoint",3]],[["result",4],["error",4],["option",4]]]],[11,"get_raw_tx","","",18,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"get_tx","","",18,[[["bool",15],["txid",3]],[["option",4],["result",4],["error",4]]]],[11,"get_last_index","","",18,[[["keychainkind",4]],[["option",4],["error",4],["result",4]]]],[11,"increment_last_index","","",18,[[["keychainkind",4]],[["result",4],["u32",15],["error",4]]]],[11,"begin_batch","bdk::database::any","",14,[[]]],[11,"commit_batch","","",14,[[],[["result",4],["error",4]]]],[11,"begin_batch","bdk::database::memory","",18,[[]]],[11,"commit_batch","","",18,[[],[["result",4],["error",4]]]],[11,"from_config","bdk::database::any","",14,[[],[["error",4],["result",4]]]],[11,"from_config","bdk::database::memory","",18,[[],[["error",4],["result",4]]]],[11,"build","bdk::descriptor::template","",41,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",42,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",43,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",44,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",45,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",46,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",47,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",48,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"build","","",49,[[],[["descriptorerror",4],["result",4],["descriptortemplateout",6]]]],[11,"into_wallet_descriptor","bdk","",114,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[11,"into_wallet_descriptor","","",115,[[["secp256k1",3],["network",4]],[["result",4],["descriptorerror",4]]]],[11,"extract_policy","bdk::descriptor","",51,[[["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]]],[11,"extract_policy","","",50,[[["secp256k1",3],["signerscontainer",3]],[["result",4],["option",4],["error",4]]]],[11,"into_descriptor_key","bdk::keys","",68,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",62,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",57,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_descriptor_key","","",58,[[],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys::bip39","",109,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",109,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk","",116,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",116,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys::bip39","",108,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",108,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"into_extended_key","bdk::keys","",66,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_extended_key","","",68,[[],[["extendedkey",4],["result",4],["keyerror",4]]]],[11,"into_descriptor_key","","",68,[[["option",4],["keysource",6],["derivationpath",3]],[["result",4],["descriptorkey",4],["keyerror",4]]]],[11,"generate_with_entropy","bdk::keys::bip39","",108,[[],[["generatedkey",3],["result",4]]]],[11,"coin_select","bdk::wallet::coin_selection","",111,[[["feerate",3],["f32",15],["u64",15],["weightedutxo",3],["vec",3]],[["coinselectionresult",3],["error",4],["result",4]]]],[11,"coin_select","","",77,[[["feerate",3],["f32",15],["u64",15],["weightedutxo",3],["vec",3]],[["coinselectionresult",3],["error",4],["result",4]]]],[11,"get_capabilities","bdk::blockchain::any","",0,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",0,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"sync","","",0,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",0,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"broadcast","","",0,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",0,[[],[["result",4],["u32",15],["error",4]]]],[11,"estimate_fee","","",0,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::electrum","",99,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",99,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",99,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"broadcast","","",99,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",99,[[],[["result",4],["u32",15],["error",4]]]],[11,"estimate_fee","","",99,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::esplora","",3,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",3,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",3,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"broadcast","","",3,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",3,[[],[["result",4],["u32",15],["error",4]]]],[11,"estimate_fee","","",3,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"get_capabilities","bdk::blockchain::compact_filters","",6,[[],[["hashset",3],["capability",4]]]],[11,"setup","","",6,[[["usize",15],["option",4],["progress",8]],[["result",4],["error",4]]]],[11,"get_tx","","",6,[[["txid",3]],[["option",4],["error",4],["result",4]]]],[11,"broadcast","","",6,[[["transaction",3]],[["result",4],["error",4]]]],[11,"get_height","","",6,[[],[["result",4],["u32",15],["error",4]]]],[11,"estimate_fee","","",6,[[["usize",15]],[["feerate",3],["result",4],["error",4]]]],[11,"as_ref","bdk","",93,[[]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["addressvalidatorerror",4]]]],[11,"from","","",89,[[["policyerror",4]]]],[11,"from","","",89,[[["signererror",4]]]],[11,"from","","",89,[[["keyerror",4]],["error",4]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",3]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["esploraerror",4]]]],[11,"from","","",89,[[["error",4]]]],[11,"from","","",89,[[["compactfilterserror",4]]]],[11,"from","bdk::blockchain::any","",0,[[["electrumblockchain",3]]]],[11,"from","","",0,[[["esplorablockchain",3]]]],[11,"from","","",0,[[["compactfiltersblockchain",3]]]],[11,"from","","",1,[[["electrumblockchainconfig",3]]]],[11,"from","","",1,[[["esplorablockchainconfig",3]]]],[11,"from","","",1,[[["compactfiltersblockchainconfig",3]]]],[11,"from","bdk::blockchain::electrum","",99,[[["client",3]]]],[11,"from","bdk::blockchain::esplora","",5,[[["error",3]]]],[11,"from","","",5,[[["parseinterror",3]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","","",5,[[["error",4]]]],[11,"from","bdk::blockchain::compact_filters","",9,[[["error",3]]]],[11,"from","","",9,[[["error",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","","",9,[[["systemtimeerror",3]]]],[11,"from","","",9,[[["error",4]]]],[11,"from","bdk::database::any","",14,[[["memorydatabase",3]]]],[11,"from","","",14,[[["tree",3]]]],[11,"from","","",15,[[]]],[11,"from","","",15,[[]]],[11,"from","","",17,[[]]],[11,"from","","",17,[[["sleddbconfiguration",3]]]],[11,"from","bdk::descriptor::error","",23,[[["keyerror",4]],["error",4]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["error",4]]]],[11,"from","","",23,[[["policyerror",4]]]],[11,"from","bdk::descriptor::policy","",33,[[["bool",15]]]],[11,"from","","",37,[[["satisfiableitem",4]]]],[11,"from","bdk::keys","",66,[[["extendedpubkey",3]]]],[11,"from","","",66,[[["extendedprivkey",3]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","","",72,[[["error",4]]]],[11,"from","bdk::wallet::signer","",79,[[["hash",3]],["signerid",4]]],[11,"from","","",79,[[["fingerprint",3]],["signerid",4]]],[11,"from","","",83,[[["keymap",6]],["signerscontainer",3]]],[11,"clone","bdk::blockchain","",10,[[],["capability",4]]],[11,"clone","","",102,[[],["noopprogress",3]]],[11,"clone","","",103,[[],["logprogress",3]]],[11,"clone","bdk::descriptor","",106,[[],["deriveddescriptorkey",3]]],[11,"clone","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"clone","","",24,[[],["satisfiableitem",4]]],[11,"clone","","",33,[[],["satisfaction",4]]],[11,"clone","","",37,[[],["policy",3]]],[11,"clone","","",38,[[],["condition",3]]],[11,"clone","bdk::keys","",63,[[],["scriptcontextenum",4]]],[11,"clone","","",71,[[],["privatekeygenerateoptions",3]]],[11,"clone","bdk","",93,[[],["keychainkind",4]]],[11,"clone","","",110,[[],["feerate",3]]],[11,"clone","","",94,[[],["localutxo",3]]],[11,"clone","","",95,[[],["weightedutxo",3]]],[11,"clone","","",96,[[],["utxo",4]]],[11,"clone","","",98,[[],["transactiondetails",3]]],[11,"clone","bdk::wallet::address_validator","",73,[[],["addressvalidatorerror",4]]],[11,"clone","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"clone","bdk::wallet::signer","",79,[[],["signerid",4]]],[11,"clone","","",80,[[],["signererror",4]]],[11,"clone","","",82,[[],["signerordering",3]]],[11,"clone","","",83,[[],["signerscontainer",3]]],[11,"clone","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"clone","","",113,[[],["bumpfee",3]]],[11,"clone","","",84,[[]]],[11,"clone","","",85,[[],["txordering",4]]],[11,"clone","","",86,[[],["changespendpolicy",4]]],[11,"default","bdk::blockchain::compact_filters","",100,[[],["mempool",3]]],[11,"default","bdk::database::memory","",18,[[],["memorydatabase",3]]],[11,"default","bdk::descriptor::policy","",107,[[],["pkorf",3]]],[11,"default","","",38,[[],["condition",3]]],[11,"default","bdk::keys","",71,[[]]],[11,"default","bdk","",110,[[]]],[11,"default","","",98,[[],["transactiondetails",3]]],[11,"default","bdk::wallet::coin_selection","",111,[[],["largestfirstcoinselection",3]]],[11,"default","","",77,[[]]],[11,"default","bdk::wallet::signer","",82,[[]]],[11,"default","","",83,[[],["signerscontainer",3]]],[11,"default","bdk::wallet::tx_builder","",112,[[],["createtx",3]]],[11,"default","","",113,[[],["bumpfee",3]]],[11,"default","","",85,[[]]],[11,"default","","",86,[[]]],[11,"cmp","bdk::descriptor","",106,[[],["ordering",4]]],[11,"cmp","bdk::descriptor::policy","",38,[[["condition",3]],["ordering",4]]],[11,"cmp","bdk::wallet::signer","",79,[[["signerid",4]],["ordering",4]]],[11,"cmp","","",82,[[["signerordering",3]],["ordering",4]]],[11,"cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],["ordering",4]]],[11,"cmp","","",86,[[["changespendpolicy",4]],["ordering",4]]],[11,"eq","bdk::blockchain","",10,[[["capability",4]],["bool",15]]],[11,"eq","bdk::descriptor","",106,[[],["bool",15]]],[11,"eq","bdk::descriptor::policy","",38,[[["condition",3]],["bool",15]]],[11,"ne","","",38,[[["condition",3]],["bool",15]]],[11,"eq","","",39,[[["policyerror",4]],["bool",15]]],[11,"ne","","",39,[[["policyerror",4]],["bool",15]]],[11,"eq","bdk::keys","",63,[[["scriptcontextenum",4]],["bool",15]]],[11,"eq","bdk","",93,[[["keychainkind",4]],["bool",15]]],[11,"eq","","",110,[[["feerate",3]],["bool",15]]],[11,"ne","","",110,[[["feerate",3]],["bool",15]]],[11,"eq","","",94,[[["localutxo",3]],["bool",15]]],[11,"ne","","",94,[[["localutxo",3]],["bool",15]]],[11,"eq","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"ne","","",95,[[["weightedutxo",3]],["bool",15]]],[11,"eq","","",96,[[["utxo",4]],["bool",15]]],[11,"ne","","",96,[[["utxo",4]],["bool",15]]],[11,"eq","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"ne","","",98,[[["transactiondetails",3]],["bool",15]]],[11,"eq","bdk::wallet::address_validator","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"ne","","",73,[[["addressvalidatorerror",4]],["bool",15]]],[11,"eq","bdk::wallet::signer","",79,[[["signerid",4]],["bool",15]]],[11,"ne","","",79,[[["signerid",4]],["bool",15]]],[11,"eq","","",80,[[["signererror",4]],["bool",15]]],[11,"eq","","",82,[[["signerordering",3]],["bool",15]]],[11,"ne","","",82,[[["signerordering",3]],["bool",15]]],[11,"eq","bdk::wallet::tx_builder","",85,[[["txordering",4]],["bool",15]]],[11,"eq","","",86,[[["changespendpolicy",4]],["bool",15]]],[11,"partial_cmp","bdk::descriptor","",106,[[],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::descriptor::policy","",38,[[["condition",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk","",110,[[["feerate",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::wallet::signer","",79,[[["signerid",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","","",82,[[["signerordering",3]],[["ordering",4],["option",4]]]],[11,"partial_cmp","bdk::wallet::tx_builder","",85,[[["txordering",4]],[["ordering",4],["option",4]]]],[11,"partial_cmp","","",86,[[["changespendpolicy",4]],[["ordering",4],["option",4]]]],[11,"to_string","bdk::wallet::export","",78,[[],["string",3]]],[11,"deref","bdk::descriptor","",106,[[]]],[11,"deref","bdk::keys","",68,[[]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::any","",1,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::electrum","",2,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",3,[[["formatter",3]],["result",6]]],[11,"fmt","","",4,[[["formatter",3]],["result",6]]],[11,"fmt","","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",100,[[["formatter",3]],["result",6]]],[11,"fmt","","",101,[[["formatter",3]],["result",6]]],[11,"fmt","","",6,[[["formatter",3]],["result",6]]],[11,"fmt","","",7,[[["formatter",3]],["result",6]]],[11,"fmt","","",8,[[["formatter",3]],["result",6]]],[11,"fmt","","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain","",10,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::any","",14,[[["formatter",3]],["result",6]]],[11,"fmt","","",16,[[["formatter",3]],["result",6]]],[11,"fmt","","",17,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::database::memory","",18,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",107,[[["formatter",3]],["result",6]]],[11,"fmt","","",24,[[["formatter",3]],["result",6]]],[11,"fmt","","",33,[[["formatter",3]],["result",6]]],[11,"fmt","","",37,[[["formatter",3]],["result",6]]],[11,"fmt","","",38,[[["formatter",3]],["result",6]]],[11,"fmt","","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",62,[[["formatter",3]],["result",6]]],[11,"fmt","","",63,[[["formatter",3]],["result",6]]],[11,"fmt","","",71,[[["formatter",3]],["result",6]]],[11,"fmt","","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",93,[[["formatter",3]],["result",6]]],[11,"fmt","","",110,[[["formatter",3]],["result",6]]],[11,"fmt","","",94,[[["formatter",3]],["result",6]]],[11,"fmt","","",95,[[["formatter",3]],["result",6]]],[11,"fmt","","",96,[[["formatter",3]],["result",6]]],[11,"fmt","","",98,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::coin_selection","",75,[[["formatter",3]],["result",6]]],[11,"fmt","","",111,[[["formatter",3]],["result",6]]],[11,"fmt","","",77,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::export","",78,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",79,[[["formatter",3]],["result",6]]],[11,"fmt","","",80,[[["formatter",3]],["result",6]]],[11,"fmt","","",82,[[["formatter",3]],["result",6]]],[11,"fmt","","",83,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::tx_builder","",112,[[["formatter",3]],["result",6]]],[11,"fmt","","",113,[[["formatter",3]],["result",6]]],[11,"fmt","","",84,[[["formatter",3]],["result",6]]],[11,"fmt","","",85,[[["formatter",3]],["result",6]]],[11,"fmt","","",86,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet","",88,[[["formatter",3]],["result",6]]],[11,"fmt","bdk","",89,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::esplora","",5,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::blockchain::compact_filters","",9,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor","",106,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::error","",23,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::descriptor::policy","",39,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::keys","",72,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::address_validator","",73,[[["formatter",3]],["result",6]]],[11,"fmt","bdk::wallet::signer","",80,[[["formatter",3]],["result",6]]],[11,"hash","bdk::blockchain","",10,[[]]],[11,"hash","bdk::descriptor","",106,[[]]],[11,"hash","bdk::descriptor::policy","",38,[[]]],[11,"hash","bdk","",93,[[]]],[11,"hash","bdk::wallet::signer","",79,[[]]],[11,"hash","bdk::wallet::tx_builder","",85,[[]]],[11,"hash","","",86,[[]]],[11,"from_str","bdk::wallet::export","",78,[[["str",15]],["result",4]]],[11,"serialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"serialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"serialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"serialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"serialize","","",8,[[],["result",4]]],[11,"serialize","bdk::database::any","",16,[[],["result",4]]],[11,"serialize","","",17,[[],["result",4]]],[11,"serialize","bdk::descriptor::policy","",107,[[],["result",4]]],[11,"serialize","","",24,[[],["result",4]]],[11,"serialize","","",33,[[],["result",4]]],[11,"serialize","","",37,[[],["result",4]]],[11,"serialize","","",38,[[],["result",4]]],[11,"serialize","bdk","",93,[[],["result",4]]],[11,"serialize","","",94,[[],["result",4]]],[11,"serialize","","",98,[[],["result",4]]],[11,"serialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"deserialize","bdk::blockchain::any","",1,[[],["result",4]]],[11,"deserialize","bdk::blockchain::electrum","",2,[[],["result",4]]],[11,"deserialize","bdk::blockchain::esplora","",4,[[],["result",4]]],[11,"deserialize","bdk::blockchain::compact_filters","",7,[[],["result",4]]],[11,"deserialize","","",8,[[],["result",4]]],[11,"deserialize","bdk::database::any","",16,[[],["result",4]]],[11,"deserialize","","",17,[[],["result",4]]],[11,"deserialize","bdk","",93,[[],["result",4]]],[11,"deserialize","","",94,[[],["result",4]]],[11,"deserialize","","",98,[[],["result",4]]],[11,"deserialize","bdk::wallet::export","",78,[[],["result",4]]],[11,"to_pubkeyhash","bdk::descriptor","",106,[[]]],[11,"is_uncompressed","","",106,[[],["bool",15]]],[11,"serialized_len","","",106,[[],["usize",15]]],[11,"to_public_key","","",106,[[],["publickey",3]]],[11,"hash_to_hash160","","",106,[[],["hash",3]]],[11,"new","bdk::blockchain::compact_filters","Create a new empty mempool",100,[[]]],[11,"add_tx","","Add a transaction to the mempool",100,[[["transaction",3]]]],[11,"get_tx","","Look-up a transaction in the mempool given an [<code>Inventory</code>] …",100,[[["inventory",4]],[["transaction",3],["option",4]]]],[11,"has_tx","","Return whether or not the mempool contains a transaction …",100,[[["txid",3]],["bool",15]]],[11,"iter_txs","","Return the list of transactions contained in the mempool",100,[[],[["transaction",3],["vec",3]]]],[11,"connect","","Connect to a peer over a plaintext TCP connection",101,[[["arc",3],["mempool",3],["network",4],["tosocketaddrs",8]],[["result",4],["compactfilterserror",4]]]],[11,"connect_proxy","","Connect to a peer through a SOCKS5 proxy, optionally by …",101,[[["option",4],["totargetaddr",8],["arc",3],["mempool",3],["network",4],["tosocketaddrs",8]],[["result",4],["compactfilterserror",4]]]],[11,"get_version","","Return the [<code>VersionMessage</code>] sent by the peer",101,[[],["versionmessage",3]]],[11,"get_network","","Return the Bitcoin [<code>Network</code>] in use",101,[[],["network",4]]],[11,"get_mempool","","Return the mempool used by this peer",101,[[],[["arc",3],["mempool",3]]]],[11,"is_connected","","Return whether or not the peer is still connected",101,[[],["bool",15]]],[11,"send","","Send a raw Bitcoin message to the peer",101,[[["networkmessage",4]],[["compactfilterserror",4],["result",4]]]],[11,"recv","","Waits for a specific incoming Bitcoin message, optionally …",101,[[["option",4],["str",15],["duration",3]],[["compactfilterserror",4],["option",4],["result",4]]]],[11,"new_pk","bdk::descriptor","Create a new pk descriptor",50,[[],["descriptor",4]]],[11,"new_pkh","","Create a new PkH descriptor",50,[[],["descriptor",4]]],[11,"new_wpkh","","Create a new Wpkh descriptor Will return Err if …",50,[[],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wpkh","","Create a new sh wrapped wpkh from <code>Pk</code>. Errors when …",50,[[],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh","","Create a new sh for a given redeem script Errors when …",50,[[["miniscript",3],["legacy",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_wsh","","Create a new wsh descriptor from witness script Errors …",50,[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wsh","","Create a new sh wrapped wsh descriptor with witness script…",50,[[["miniscript",3],["segwitv0",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_bare","","Create a new bare descriptor from witness script Errors …",50,[[["miniscript",3],["barectx",4]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_sortedmulti","","Create a new sh sortedmulti descriptor with threshold <code>k</code> …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_sh_wsh_sortedmulti","","Create a new sh wrapped wsh sortedmulti descriptor from …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"new_wsh_sortedmulti","","Create a new wsh sorted multi descriptor Errors when …",50,[[["usize",15],["global",3],["vec",3]],[["descriptor",4],["error",4],["result",4]]]],[11,"desc_type","","Get the [DescriptorType] of [Descriptor]",50,[[],["descriptortype",4]]],[11,"is_deriveable","","Whether or not the descriptor has any wildcards",50,[[],["bool",15]]],[11,"derive","","Derives all wildcard keys in the descriptor using the …",50,[[["u32",15]],[["descriptor",4],["descriptorpublickey",4]]]],[11,"parse_descriptor","","Parse a descriptor that may contain secret keys",50,[[["secp256k1",3],["str",15]],[["error",4],["result",4]]]],[11,"to_string_with_secret","","Serialize a descriptor to string with its secret keys",50,[[["hashmap",3]],["string",3]]],[11,"master_fingerprint","bdk::keys","The fingerprint of the master key associated with this key",57,[[],["fingerprint",3]]],[11,"full_derivation_path","","Full path, from the master key",57,[[],["derivationpath",3]]],[11,"is_deriveable","","Whether or not the key has a wildcards",57,[[],["bool",15]]],[11,"derive","","If this public key has a wildcard, replace it by the …",57,[[["u32",15]],["descriptorpublickey",4]]],[11,"derive_public_key","","Computes the public key corresponding to this descriptor …",57,[[["secp256k1",3]],[["publickey",3],["result",4],["conversionerror",4]]]],[11,"requires_sig","bdk::descriptor","Whether all spend paths of miniscript require a signature",51,[[],["bool",15]]],[11,"is_non_malleable","","Whether the miniscript is malleable",51,[[],["bool",15]]],[11,"within_resource_limits","","Whether the miniscript can exceed the resource …",51,[[],["bool",15]]],[11,"has_mixed_timelocks","","Whether the miniscript contains a combination of timelocks",51,[[],["bool",15]]],[11,"has_repeated_keys","","Whether the miniscript has repeated Pk or Pkh",51,[[],["bool",15]]],[11,"sanity_check","","Check whether the underlying Miniscript is safe under the …",51,[[],[["result",4],["analysiserror",4]]]],[11,"iter","","Creates a new [Iter] iterator that will iterate over all […",51,[[],["iter",3]]],[11,"iter_pk","","Creates a new [PkIter] iterator that will iterate over …",51,[[],["pkiter",3]]],[11,"iter_pkh","","Creates a new [PkhIter] iterator that will iterate over …",51,[[],["pkhiter",3]]],[11,"iter_pk_pkh","","Creates a new [PkPkhIter] iterator that will iterate over …",51,[[],["pkpkhiter",3]]],[11,"branches","","Enumerates all child nodes of the current AST node (<code>self</code>) …",51,[[],[["global",3],["vec",3],["miniscript",3]]]],[11,"get_nth_child","","Returns child node with given index, if any",51,[[["usize",15]],[["option",4],["miniscript",3]]]],[11,"get_leaf_pk","","Returns <code>Vec</code> with cloned version of all public keys from …",51,[[],[["global",3],["vec",3]]]],[11,"get_leaf_pkh","","Returns <code>Vec</code> with hashes of all public keys from the …",51,[[],[["vec",3],["global",3]]]],[11,"get_leaf_pk_pkh","","Returns <code>Vec</code> of [PkPkh] entries, representing either …",51,[[],[["pkpkh",4],["vec",3],["global",3]]]],[11,"get_nth_pk","","Returns <code>Option::Some</code> with cloned n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pkh","","Returns <code>Option::Some</code> with hash of n’th public key from …",51,[[["usize",15]],["option",4]]],[11,"get_nth_pk_pkh","","Returns <code>Option::Some</code> with hash of n’th public key or …",51,[[["usize",15]],[["option",4],["pkpkh",4]]]],[11,"from_ast","","Add type information(Type and Extdata) to Miniscript …",51,[[["terminal",4]],[["miniscript",3],["result",4],["error",4]]]],[11,"into_inner","","Extracts the <code>AstElem</code> representing the root of the …",51,[[],["terminal",4]]],[11,"as_inner","","Get a reference to the inner <code>AstElem</code> representing the …",51,[[],["terminal",4]]],[11,"parse_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["script",3]],[["error",4],["result",4],["miniscript",3]]]],[11,"parse","","Attempt to parse a Script into Miniscript representation. …",51,[[["script",3]],[["error",4],["result",4],["miniscript",3]]]],[11,"encode","","Encode as a Bitcoin script",51,[[],["script",3]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",51,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",51,[[],[["result",4],["usize",15],["error",4]]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. For …",51,[[],[["result",4],["usize",15],["error",4]]]],[11,"from_str_insane","","Attempt to parse an insane(scripts don’t clear sanity …",51,[[["str",15]],[["miniscript",3],["result",4],["error",4]]]],[11,"satisfy","","Attempt to produce non-malleable satisfying witness for …",51,[[],[["error",4],["result",4],["vec",3]]]],[11,"satisfy_malleable","","Attempt to produce a malleable satisfying witness for the …",51,[[],[["error",4],["result",4],["vec",3]]]],[11,"lift_check","","Lifting corresponds conversion of miniscript into Policy […",51,[[],[["result",4],["lifterror",4]]]],[11,"check_witness","bdk::keys","Check whether the given satisfaction is valid under the …",52,[[],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_consensus_validity","","Depending on script Context, some of the Terminals might …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_policy_validity","","Depending on script Context, some of the script resource …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_consensus_validity","","Consensus rules at the Miniscript satisfaction time. It …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_policy_validity","","Policy rules at the Miniscript satisfaction time. It is …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_global_validity","","Check the consensus + policy(if not disabled) rules that …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"check_local_validity","","Check the consensus + policy(if not disabled) rules …",52,[[["miniscript",3]],[["result",4],["scriptcontexterror",4]]]],[11,"top_level_type_check","","Check whether the top-level is type B",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"other_top_level_checks","","Other top level checks that are context specific",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"top_level_checks","","Check top level consensus rules.",52,[[["miniscript",3]],[["error",4],["result",4]]]],[11,"new","bdk::descriptor","Construct a new derived key",106,[[["descriptorpublickey",4],["secp256k1",3]],["deriveddescriptorkey",3]]],[11,"from_language_code","bdk::keys::bip39","Construct a word list from its language code. Returns None…",55,[[["str",15]],[["option",4],["language",4]]]],[11,"wordlist","","Get the word list for this language",55,[[],["wordlist",3]]],[11,"wordmap","","Get a [<code>WordMap</code>][WordMap] that allows word -> index …",55,[[],["wordmap",3]]],[11,"new","","Generates a new <code>Mnemonic</code>",108,[[["mnemonictype",4],["language",4]],["mnemonic",3]]],[11,"from_entropy","","Create a <code>Mnemonic</code> from pre-generated entropy",108,[[["language",4]],[["result",4],["mnemonic",3],["error",3]]]],[11,"from_phrase","","Create a <code>Mnemonic</code> from an existing mnemonic phrase",108,[[["language",4],["str",15]],[["result",4],["mnemonic",3],["error",3]]]],[11,"validate","","Validate a mnemonic phrase",108,[[["language",4],["str",15]],[["error",3],["result",4]]]],[11,"phrase","","Get the mnemonic phrase as a string reference.",108,[[],["str",15]]],[11,"into_phrase","","Consume the <code>Mnemonic</code> and return the phrase as a <code>String</code>.",108,[[],["string",3]]],[11,"entropy","","Get the original entropy value of the mnemonic phrase as …",108,[[]]],[11,"language","","Get the <code>Language</code>",108,[[],["language",4]]],[11,"for_word_count","","Get a <code>MnemonicType</code> for a mnemonic phrase with a specific …",56,[[["usize",15]],[["mnemonictype",4],["result",4],["error",3]]]],[11,"for_key_size","","Get a <code>MnemonicType</code> for a mnemonic phrase representing the …",56,[[["usize",15]],[["mnemonictype",4],["result",4],["error",3]]]],[11,"for_phrase","","Get a <code>MnemonicType</code> for an existing mnemonic phrase",56,[[["str",15]],[["mnemonictype",4],["result",4],["error",3]]]],[11,"total_bits","","Return the number of entropy+checksum bits",56,[[],["usize",15]]],[11,"entropy_bits","","Return the number of entropy bits",56,[[],["usize",15]]],[11,"checksum_bits","","Return the number of checksum bits",56,[[],["u8",15]]],[11,"word_count","","Return the number of words",56,[[],["usize",15]]],[11,"new","","Generates the seed from the <code>Mnemonic</code> and the password.",109,[[["mnemonic",3],["str",15]],["seed",3]]],[11,"as_bytes","","Get the seed value as a byte slice",109,[[]]],[11,"as_public","bdk::keys","Return the public version of this key, by applying either …",58,[[["secp256k1",3]],[["descriptorkeyparseerror",3],["result",4],["descriptorpublickey",4]]]],[11,"new","","Create a new instance of <code>SortedMultiVec</code> given a list of …",61,[[["usize",15],["global",3],["vec",3]],[["result",4],["error",4],["sortedmultivec",3]]]],[11,"from_tree","","Parse an expression tree into a SortedMultiVec",61,[[["tree",3]],[["result",4],["error",4],["sortedmultivec",3]]]],[11,"translate_pk","","This will panic if translatefpk returns an uncompressed …",61,[[],[["result",4],["sortedmultivec",3]]]],[11,"sanity_check","","utility function to sanity a sorted multi vec",61,[[],[["error",4],["result",4]]]],[11,"sorted_node","","Create Terminal::Multi containing sorted pubkeys",61,[[],["terminal",4]]],[11,"encode","","Encode as a Bitcoin script",61,[[],["script",3]]],[11,"satisfy","","Attempt to produce a satisfying witness for the witness …",61,[[],[["error",4],["result",4],["vec",3]]]],[11,"script_size","","Size, in bytes of the script-pubkey. If this Miniscript …",61,[[],["usize",15]]],[11,"max_satisfaction_witness_elements","","Maximum number of witness elements used to satisfy the …",61,[[],["usize",15]]],[11,"max_satisfaction_size","","Maximum size, in bytes, of a satisfying witness. In …",61,[[],["usize",15]]],[11,"as_byte","bdk","Return [<code>KeychainKind</code>] as a byte",93,[[],["u8",15]]],[11,"from_btc_per_kvb","","Create a new instance of [<code>FeeRate</code>] given a float fee rate …",110,[[["f32",15]]]],[11,"from_sat_per_vb","","Create a new instance of [<code>FeeRate</code>] given a float fee rate …",110,[[["f32",15]]]],[11,"default_min_relay_fee","","Create a new [<code>FeeRate</code>] with the default min relay fee …",110,[[]]],[11,"as_sat_vb","","Return the value as satoshi/vbyte",110,[[],["f32",15]]],[11,"outpoint","","Get the location of the UTXO",96,[[],["outpoint",3]]],[11,"txout","","Get the <code>TxOut</code> of the UTXO",96,[[],["txout",3]]]],"p":[[4,"AnyBlockchain"],[4,"AnyBlockchainConfig"],[3,"ElectrumBlockchainConfig"],[3,"EsploraBlockchain"],[3,"EsploraBlockchainConfig"],[4,"EsploraError"],[3,"CompactFiltersBlockchain"],[3,"BitcoinPeerConfig"],[3,"CompactFiltersBlockchainConfig"],[4,"CompactFiltersError"],[4,"Capability"],[8,"Blockchain"],[8,"ConfigurableBlockchain"],[8,"Progress"],[4,"AnyDatabase"],[4,"AnyBatch"],[3,"SledDbConfiguration"],[4,"AnyDatabaseConfig"],[3,"MemoryDatabase"],[8,"BatchOperations"],[8,"Database"],[8,"BatchDatabase"],[8,"ConfigurableDatabase"],[4,"Error"],[4,"SatisfiableItem"],[13,"SHA256Preimage"],[13,"HASH256Preimage"],[13,"RIPEMD160Preimage"],[13,"HASH160Preimage"],[13,"AbsoluteTimelock"],[13,"RelativeTimelock"],[13,"Multisig"],[13,"Thresh"],[4,"Satisfaction"],[13,"Partial"],[13,"PartialComplete"],[13,"Complete"],[3,"Policy"],[3,"Condition"],[4,"PolicyError"],[8,"DescriptorTemplate"],[3,"P2PKH"],[3,"P2WPKH_P2SH"],[3,"P2WPKH"],[3,"BIP44"],[3,"BIP44Public"],[3,"BIP49"],[3,"BIP49Public"],[3,"BIP84"],[3,"BIP84Public"],[4,"Descriptor"],[3,"Miniscript"],[8,"ScriptContext"],[8,"IntoWalletDescriptor"],[8,"ExtractPolicy"],[4,"Language"],[4,"MnemonicType"],[4,"DescriptorPublicKey"],[4,"DescriptorSecretKey"],[3,"DescriptorSinglePriv"],[3,"DescriptorSinglePub"],[3,"SortedMultiVec"],[4,"DescriptorKey"],[4,"ScriptContextEnum"],[8,"ExtScriptContext"],[8,"IntoDescriptorKey"],[4,"ExtendedKey"],[8,"DerivableKey"],[3,"GeneratedKey"],[8,"GeneratableKey"],[8,"GeneratableDefaultOptions"],[3,"PrivateKeyGenerateOptions"],[4,"KeyError"],[4,"AddressValidatorError"],[8,"AddressValidator"],[3,"CoinSelectionResult"],[8,"CoinSelectionAlgorithm"],[3,"BranchAndBoundCoinSelection"],[3,"WalletExport"],[4,"SignerId"],[4,"SignerError"],[8,"Signer"],[3,"SignerOrdering"],[3,"SignersContainer"],[3,"TxBuilder"],[4,"TxOrdering"],[4,"ChangeSpendPolicy"],[8,"IsDust"],[3,"Wallet"],[4,"Error"],[13,"InsufficientFunds"],[13,"FeeRateTooLow"],[13,"FeeTooLow"],[4,"KeychainKind"],[3,"LocalUtxo"],[3,"WeightedUtxo"],[4,"Utxo"],[13,"Foreign"],[3,"TransactionDetails"],[3,"ElectrumBlockchain"],[3,"Mempool"],[3,"Peer"],[3,"NoopProgress"],[3,"LogProgress"],[4,"Legacy"],[4,"Segwitv0"],[3,"DerivedDescriptorKey"],[3,"PKOrF"],[3,"Mnemonic"],[3,"Seed"],[3,"FeeRate"],[3,"LargestFirstCoinSelection"],[3,"CreateTx"],[3,"BumpFee"],[6,"ExtendedDescriptor"],[6,"DescriptorTemplateOut"],[6,"MnemonicWithPassphrase"]]}\
 }');
 addSearchOptions(searchIndex);initSearch(searchIndex);
\ No newline at end of file
index dbd55f7592fb46b0a1e824fc55b113b0395df348..bdfb97a5ad5788040b64949259a2fe8aac45c904 100644 (file)
 <span id="579">579</span>
 <span id="580">580</span>
 <span id="581">581</span>
+<span id="582">582</span>
 </pre><div class="example-wrap"><pre class="rust ">
 <span class="comment">// Magical Bitcoin Library</span>
 <span class="comment">// Written in 2020 by</span>
         <span class="macro">vec</span><span class="macro">!</span>[<span class="ident">Capability</span>::<span class="ident">FullHistory</span>].<span class="ident">into_iter</span>().<span class="ident">collect</span>()
     }
 
+    <span class="attribute">#[<span class="ident">allow</span>(<span class="ident">clippy</span>::<span class="ident">mutex_atomic</span>)]</span> <span class="comment">// Mutex is easier to understand than a CAS loop.</span>
     <span class="kw">fn</span> <span class="ident">setup</span><span class="op">&lt;</span><span class="ident">D</span>: <span class="ident">BatchDatabase</span>, <span class="ident">P</span>: <span class="lifetime">&#39;static</span> <span class="op">+</span> <span class="ident">Progress</span><span class="op">&gt;</span>(
         <span class="kw-2">&amp;</span><span class="self">self</span>,
         <span class="ident">_stop_gap</span>: <span class="prelude-ty">Option</span><span class="op">&lt;</span><span class="ident">usize</span><span class="op">&gt;</span>, <span class="comment">// TODO: move to electrum and esplora only</span>
index 381bec516e846287084dbdffe4435154cae2717d..7c8c3091ba48882e1e7a0852489e7137987b073e 100644 (file)
 <span class="kw">use</span> <span class="ident">bitcoin</span>::<span class="ident">BlockHeader</span>;
 <span class="kw">use</span> <span class="ident">bitcoin</span>::<span class="ident">Network</span>;
 
+<span class="kw">use</span> <span class="ident">lazy_static</span>::<span class="ident">lazy_static</span>;
+
 <span class="kw">use</span> <span class="kw">super</span>::<span class="ident">CompactFiltersError</span>;
 
 <span class="macro">lazy_static</span><span class="macro">!</span> {
     }
 
     <span class="kw">fn</span> <span class="ident">deserialize</span>(<span class="ident">data</span>: <span class="kw-2">&amp;</span>[<span class="ident">u8</span>]) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="self">Self</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="ident">deserialize</span>(<span class="ident">data</span>).<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)<span class="question-mark">?</span>)
+        <span class="ident">deserialize</span>(<span class="ident">data</span>).<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)
     }
 }
 
 
         <span class="kw">let</span> <span class="ident">key</span> <span class="op">=</span> <span class="ident">StoreEntry</span>::<span class="ident">BlockHeaderIndex</span>(<span class="prelude-val">Some</span>(<span class="kw-2">*</span><span class="ident">block_hash</span>)).<span class="ident">get_key</span>();
         <span class="kw">let</span> <span class="ident">data</span> <span class="op">=</span> <span class="ident">read_store</span>.<span class="ident">get_pinned_cf</span>(<span class="ident">cf_handle</span>, <span class="ident">key</span>)<span class="question-mark">?</span>;
-        <span class="prelude-val">Ok</span>(<span class="ident">data</span>
-            .<span class="ident">map</span>(<span class="op">|</span><span class="ident">data</span><span class="op">|</span> {
-                <span class="prelude-val">Ok</span>::<span class="op">&lt;</span><span class="kw">_</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span>(<span class="ident">usize</span>::<span class="ident">from_be_bytes</span>(
-                    <span class="ident">data</span>.<span class="ident">as_ref</span>()
-                        .<span class="ident">try_into</span>()
-                        .<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)<span class="question-mark">?</span>,
-                ))
-            })
-            .<span class="ident">transpose</span>()<span class="question-mark">?</span>)
+        <span class="ident">data</span>.<span class="ident">map</span>(<span class="op">|</span><span class="ident">data</span><span class="op">|</span> {
+            <span class="prelude-val">Ok</span>::<span class="op">&lt;</span><span class="kw">_</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span>(<span class="ident">usize</span>::<span class="ident">from_be_bytes</span>(
+                <span class="ident">data</span>.<span class="ident">as_ref</span>()
+                    .<span class="ident">try_into</span>()
+                    .<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)<span class="question-mark">?</span>,
+            ))
+        })
+        .<span class="ident">transpose</span>()
     }
 
     <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">get_block_hash</span>(<span class="kw-2">&amp;</span><span class="self">self</span>, <span class="ident">height</span>: <span class="ident">usize</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="prelude-ty">Option</span><span class="op">&lt;</span><span class="ident">BlockHash</span><span class="op">&gt;</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span> {
 
         <span class="kw">let</span> <span class="ident">key</span> <span class="op">=</span> <span class="ident">StoreEntry</span>::<span class="ident">BlockHeader</span>(<span class="prelude-val">Some</span>(<span class="ident">height</span>)).<span class="ident">get_key</span>();
         <span class="kw">let</span> <span class="ident">data</span> <span class="op">=</span> <span class="ident">read_store</span>.<span class="ident">get_pinned_cf</span>(<span class="ident">cf_handle</span>, <span class="ident">key</span>)<span class="question-mark">?</span>;
-        <span class="prelude-val">Ok</span>(<span class="ident">data</span>
-            .<span class="ident">map</span>(<span class="op">|</span><span class="ident">data</span><span class="op">|</span> {
-                <span class="kw">let</span> (<span class="ident">header</span>, <span class="kw">_</span>): (<span class="ident">BlockHeader</span>, <span class="ident">Uint256</span>) <span class="op">=</span>
-                    <span class="ident">deserialize</span>(<span class="kw-2">&amp;</span><span class="ident">data</span>).<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)<span class="question-mark">?</span>;
-                <span class="prelude-val">Ok</span>::<span class="op">&lt;</span><span class="kw">_</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span>(<span class="ident">header</span>.<span class="ident">block_hash</span>())
-            })
-            .<span class="ident">transpose</span>()<span class="question-mark">?</span>)
+        <span class="ident">data</span>.<span class="ident">map</span>(<span class="op">|</span><span class="ident">data</span><span class="op">|</span> {
+            <span class="kw">let</span> (<span class="ident">header</span>, <span class="kw">_</span>): (<span class="ident">BlockHeader</span>, <span class="ident">Uint256</span>) <span class="op">=</span>
+                <span class="ident">deserialize</span>(<span class="kw-2">&amp;</span><span class="ident">data</span>).<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)<span class="question-mark">?</span>;
+            <span class="prelude-val">Ok</span>::<span class="op">&lt;</span><span class="kw">_</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span>(<span class="ident">header</span>.<span class="ident">block_hash</span>())
+        })
+        .<span class="ident">transpose</span>()
     }
 
     <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">save_full_block</span>(<span class="kw-2">&amp;</span><span class="self">self</span>, <span class="ident">block</span>: <span class="kw-2">&amp;</span><span class="ident">Block</span>, <span class="ident">height</span>: <span class="ident">usize</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span>(), <span class="ident">CompactFiltersError</span><span class="op">&gt;</span> {
         <span class="kw">let</span> <span class="ident">key</span> <span class="op">=</span> <span class="ident">StoreEntry</span>::<span class="ident">Block</span>(<span class="prelude-val">Some</span>(<span class="ident">height</span>)).<span class="ident">get_key</span>();
         <span class="kw">let</span> <span class="ident">opt_block</span> <span class="op">=</span> <span class="ident">read_store</span>.<span class="ident">get_pinned</span>(<span class="ident">key</span>)<span class="question-mark">?</span>;
 
-        <span class="prelude-val">Ok</span>(<span class="ident">opt_block</span>
+        <span class="ident">opt_block</span>
             .<span class="ident">map</span>(<span class="op">|</span><span class="ident">data</span><span class="op">|</span> <span class="ident">deserialize</span>(<span class="kw-2">&amp;</span><span class="ident">data</span>))
             .<span class="ident">transpose</span>()
-            .<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)<span class="question-mark">?</span>)
+            .<span class="ident">map_err</span>(<span class="op">|</span><span class="kw">_</span><span class="op">|</span> <span class="ident">CompactFiltersError</span>::<span class="ident">DataCorruption</span>)
     }
 
     <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">delete_blocks_until</span>(<span class="kw-2">&amp;</span><span class="self">self</span>, <span class="ident">height</span>: <span class="ident">usize</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span>(), <span class="ident">CompactFiltersError</span><span class="op">&gt;</span> {
         <span class="kw">let</span> <span class="ident">prefix</span> <span class="op">=</span> <span class="ident">StoreEntry</span>::<span class="ident">BlockHeader</span>(<span class="prelude-val">None</span>).<span class="ident">get_key</span>();
         <span class="kw">let</span> <span class="ident">iterator</span> <span class="op">=</span> <span class="ident">read_store</span>.<span class="ident">prefix_iterator_cf</span>(<span class="ident">cf_handle</span>, <span class="ident">prefix</span>);
 
-        <span class="prelude-val">Ok</span>(<span class="ident">iterator</span>
+        <span class="ident">iterator</span>
             .<span class="ident">last</span>()
             .<span class="ident">map</span>(<span class="op">|</span>(<span class="kw">_</span>, <span class="ident">v</span>)<span class="op">|</span> <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="kw">_</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span> {
                 <span class="kw">let</span> (<span class="ident">header</span>, <span class="kw">_</span>): (<span class="ident">BlockHeader</span>, <span class="ident">Uint256</span>) <span class="op">=</span> <span class="ident">SerializeDb</span>::<span class="ident">deserialize</span>(<span class="kw-2">&amp;</span><span class="ident">v</span>)<span class="question-mark">?</span>;
 
                 <span class="prelude-val">Ok</span>(<span class="ident">header</span>.<span class="ident">block_hash</span>())
             })
-            .<span class="ident">transpose</span>()<span class="question-mark">?</span>)
+            .<span class="ident">transpose</span>()
     }
 
     <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">apply</span>(
 
         <span class="comment">// FIXME: we have to filter manually because rocksdb sometimes returns stuff that doesn&#39;t</span>
         <span class="comment">// have the right prefix</span>
-        <span class="prelude-val">Ok</span>(<span class="ident">iterator</span>
+        <span class="ident">iterator</span>
             .<span class="ident">filter</span>(<span class="op">|</span>(<span class="ident">k</span>, <span class="kw">_</span>)<span class="op">|</span> <span class="ident">k</span>.<span class="ident">starts_with</span>(<span class="kw-2">&amp;</span><span class="ident">prefix</span>))
             .<span class="ident">skip</span>(<span class="number">1</span>)
             .<span class="ident">map</span>(<span class="op">|</span>(<span class="kw">_</span>, <span class="ident">data</span>)<span class="op">|</span> <span class="prelude-val">Ok</span>::<span class="op">&lt;</span><span class="kw">_</span>, <span class="ident">CompactFiltersError</span><span class="op">&gt;</span>(<span class="ident">BundleEntry</span>::<span class="ident">deserialize</span>(<span class="kw-2">&amp;</span><span class="ident">data</span>)<span class="question-mark">?</span>.<span class="number">1</span>))
-            .<span class="ident">collect</span>::<span class="op">&lt;</span><span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="kw">_</span>, <span class="kw">_</span><span class="op">&gt;</span><span class="op">&gt;</span>()<span class="question-mark">?</span>)
+            .<span class="ident">collect</span>::<span class="op">&lt;</span><span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="kw">_</span>, <span class="kw">_</span><span class="op">&gt;</span><span class="op">&gt;</span>()
     }
 
     <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">replace_checkpoints</span>(
index ab5f1371f912f8745c40a2701c96ba40bb54cd2d..69be5e2f0b2118e1a2d15289c1ae2d18071ee142 100644 (file)
 <span id="377">377</span>
 <span id="378">378</span>
 <span id="379">379</span>
-<span id="380">380</span>
-<span id="381">381</span>
-<span id="382">382</span>
-<span id="383">383</span>
-<span id="384">384</span>
-<span id="385">385</span>
-<span id="386">386</span>
 </pre><div class="example-wrap"><pre class="rust ">
 <span class="comment">// Magical Bitcoin Library</span>
 <span class="comment">// Written in 2020 by</span>
         }
     }
     <span class="kw">fn</span> <span class="ident">commit_batch</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="self">self</span>, <span class="ident">batch</span>: <span class="self">Self</span>::<span class="ident">Batch</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span>(), <span class="ident">Error</span><span class="op">&gt;</span> {
-        <span class="comment">// TODO: refactor once `move_ref_pattern` is stable</span>
-        <span class="attribute">#[<span class="ident">allow</span>(<span class="ident">irrefutable_let_patterns</span>)]</span>
         <span class="kw">match</span> <span class="self">self</span> {
-            <span class="ident">AnyDatabase</span>::<span class="ident">Memory</span>(<span class="ident">db</span>) <span class="op">=</span><span class="op">&gt;</span> {
-                <span class="kw">if</span> <span class="kw">let</span> <span class="ident">AnyBatch</span>::<span class="ident">Memory</span>(<span class="ident">batch</span>) <span class="op">=</span> <span class="ident">batch</span> {
-                    <span class="ident">db</span>.<span class="ident">commit_batch</span>(<span class="ident">batch</span>)
-                } <span class="kw">else</span> {
-                    <span class="macro">unimplemented</span><span class="macro">!</span>()
-                }
-            }
+            <span class="ident">AnyDatabase</span>::<span class="ident">Memory</span>(<span class="ident">db</span>) <span class="op">=</span><span class="op">&gt;</span> <span class="kw">match</span> <span class="ident">batch</span> {
+                <span class="ident">AnyBatch</span>::<span class="ident">Memory</span>(<span class="ident">batch</span>) <span class="op">=</span><span class="op">&gt;</span> <span class="ident">db</span>.<span class="ident">commit_batch</span>(<span class="ident">batch</span>),
+                <span class="attribute">#[<span class="ident">cfg</span>(<span class="ident">feature</span> <span class="op">=</span> <span class="string">&quot;key-value-db&quot;</span>)]</span>
+                <span class="kw">_</span> <span class="op">=</span><span class="op">&gt;</span> <span class="macro">unimplemented</span><span class="macro">!</span>(<span class="string">&quot;Sled batch shouldn&#39;t be used with Memory db.&quot;</span>),
+            },
             <span class="attribute">#[<span class="ident">cfg</span>(<span class="ident">feature</span> <span class="op">=</span> <span class="string">&quot;key-value-db&quot;</span>)]</span>
-            <span class="ident">AnyDatabase</span>::<span class="ident">Sled</span>(<span class="ident">db</span>) <span class="op">=</span><span class="op">&gt;</span> {
-                <span class="kw">if</span> <span class="kw">let</span> <span class="ident">AnyBatch</span>::<span class="ident">Sled</span>(<span class="ident">batch</span>) <span class="op">=</span> <span class="ident">batch</span> {
-                    <span class="ident">db</span>.<span class="ident">commit_batch</span>(<span class="ident">batch</span>)
-                } <span class="kw">else</span> {
-                    <span class="macro">unimplemented</span><span class="macro">!</span>()
-                }
-            }
+            <span class="ident">AnyDatabase</span>::<span class="ident">Sled</span>(<span class="ident">db</span>) <span class="op">=</span><span class="op">&gt;</span> <span class="kw">match</span> <span class="ident">batch</span> {
+                <span class="ident">AnyBatch</span>::<span class="ident">Sled</span>(<span class="ident">batch</span>) <span class="op">=</span><span class="op">&gt;</span> <span class="ident">db</span>.<span class="ident">commit_batch</span>(<span class="ident">batch</span>),
+                <span class="kw">_</span> <span class="op">=</span><span class="op">&gt;</span> <span class="macro">unimplemented</span><span class="macro">!</span>(<span class="string">&quot;Memory batch shouldn&#39;t be used with Sled db.&quot;</span>),
+            },
         }
     }
 }
index 3f2651f0253831e72eeff7a3d6caeb5f7500501c..1af52af089767efdbabadb2e6182aacfdf2d78bb 100644 (file)
         );
         <span class="macro">assert_eq</span><span class="macro">!</span>(
             <span class="ident">tree</span>.<span class="ident">get_path_from_script_pubkey</span>(<span class="kw-2">&amp;</span><span class="ident">script</span>).<span class="ident">unwrap</span>(),
-            <span class="prelude-val">Some</span>((<span class="ident">keychain</span>, <span class="ident">path</span>.<span class="ident">clone</span>()))
+            <span class="prelude-val">Some</span>((<span class="ident">keychain</span>, <span class="ident">path</span>))
         );
     }
 
         );
         <span class="macro">assert_eq</span><span class="macro">!</span>(
             <span class="ident">tree</span>.<span class="ident">get_path_from_script_pubkey</span>(<span class="kw-2">&amp;</span><span class="ident">script</span>).<span class="ident">unwrap</span>(),
-            <span class="prelude-val">Some</span>((<span class="ident">keychain</span>, <span class="ident">path</span>.<span class="ident">clone</span>()))
+            <span class="prelude-val">Some</span>((<span class="ident">keychain</span>, <span class="ident">path</span>))
         );
     }
 
index a1f964d2ccd4d581e0400ab73db07981e2b00949..f5eecbeed45a4d217d690058041377b7457b2e30 100644 (file)
 <span id="1055">1055</span>
 <span id="1056">1056</span>
 <span id="1057">1057</span>
-<span id="1058">1058</span>
 </pre><div class="example-wrap"><pre class="rust ">
 <span class="comment">// Magical Bitcoin Library</span>
 <span class="comment">// Written in 2020 by</span>
         <span class="kw">use</span> <span class="macro-nonterminal">$</span><span class="kw">crate</span>::<span class="macro-nonterminal">keys</span>::<span class="ident">IntoDescriptorKey</span>;
         <span class="kw">let</span> <span class="ident">secp</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="kw">crate</span>::<span class="macro-nonterminal">bitcoin</span>::<span class="ident">secp256k1</span>::<span class="ident">Secp256k1</span>::<span class="ident">new</span>();
 
-        <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">keys</span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[];
-        $(
-            <span class="ident">keys</span>.<span class="ident">push</span>(<span class="macro-nonterminal">$</span><span class="macro-nonterminal">key</span>.<span class="ident">into_descriptor_key</span>());
-        )<span class="op">*</span>
+        <span class="kw">let</span> <span class="ident">keys</span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[
+            $(
+                <span class="macro-nonterminal">$</span><span class="macro-nonterminal">key</span>.<span class="ident">into_descriptor_key</span>(),
+            )<span class="op">*</span>
+        ];
 
         <span class="ident">keys</span>.<span class="ident">into_iter</span>().<span class="ident">collect</span>::<span class="op">&lt;</span><span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">Vec</span><span class="op">&lt;</span><span class="kw">_</span><span class="op">&gt;</span>, <span class="kw">_</span><span class="op">&gt;</span><span class="op">&gt;</span>()
             .<span class="ident">map_err</span>(<span class="macro-nonterminal">$</span><span class="kw">crate</span>::<span class="macro-nonterminal">descriptor</span>::<span class="ident">DescriptorError</span>::<span class="ident">Key</span>)
         <span class="kw">use</span> <span class="macro-nonterminal">$</span><span class="kw">crate</span>::<span class="macro-nonterminal">keys</span>::<span class="ident">IntoDescriptorKey</span>;
         <span class="kw">let</span> <span class="ident">secp</span> <span class="op">=</span> <span class="macro-nonterminal">$</span><span class="kw">crate</span>::<span class="macro-nonterminal">bitcoin</span>::<span class="ident">secp256k1</span>::<span class="ident">Secp256k1</span>::<span class="ident">new</span>();
 
-        <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">keys</span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[];
-        $(
-            <span class="ident">keys</span>.<span class="ident">push</span>(<span class="macro-nonterminal">$</span><span class="macro-nonterminal">key</span>.<span class="ident">into_descriptor_key</span>());
-        )<span class="op">*</span>
+        <span class="kw">let</span> <span class="ident">keys</span> <span class="op">=</span> <span class="macro">vec</span><span class="macro">!</span>[
+            $(
+                <span class="macro-nonterminal">$</span><span class="macro-nonterminal">key</span>.<span class="ident">into_descriptor_key</span>(),
+            )<span class="op">*</span>
+        ];
 
         <span class="ident">keys</span>.<span class="ident">into_iter</span>().<span class="ident">collect</span>::<span class="op">&lt;</span><span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">Vec</span><span class="op">&lt;</span><span class="kw">_</span><span class="op">&gt;</span>, <span class="kw">_</span><span class="op">&gt;</span><span class="op">&gt;</span>()
             .<span class="ident">map_err</span>(<span class="macro-nonterminal">$</span><span class="kw">crate</span>::<span class="macro-nonterminal">descriptor</span>::<span class="ident">DescriptorError</span>::<span class="ident">Key</span>)
     <span class="kw">fn</span> <span class="ident">test_valid_networks</span>() {
         <span class="kw">let</span> <span class="ident">xprv</span> <span class="op">=</span> <span class="ident">bip32</span>::<span class="ident">ExtendedPrivKey</span>::<span class="ident">from_str</span>(<span class="string">&quot;tprv8ZgxMBicQKsPcx5nBGsR63Pe8KnRUqmbJNENAfGftF3yuXoMMoVJJcYeUw5eVkm9WBPjWYt6HMWYJNesB5HaNVBaFc1M6dRjWSYnmewUMYy&quot;</span>).<span class="ident">unwrap</span>();
         <span class="kw">let</span> <span class="ident">path</span> <span class="op">=</span> <span class="ident">bip32</span>::<span class="ident">DerivationPath</span>::<span class="ident">from_str</span>(<span class="string">&quot;m/0&quot;</span>).<span class="ident">unwrap</span>();
-        <span class="kw">let</span> <span class="ident">desc_key</span> <span class="op">=</span> (<span class="ident">xprv</span>, <span class="ident">path</span>.<span class="ident">clone</span>()).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
+        <span class="kw">let</span> <span class="ident">desc_key</span> <span class="op">=</span> (<span class="ident">xprv</span>, <span class="ident">path</span>).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
 
         <span class="kw">let</span> (<span class="ident">_desc</span>, <span class="ident">_key_map</span>, <span class="ident">valid_networks</span>) <span class="op">=</span> <span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">pkh</span>(<span class="ident">desc_key</span>)).<span class="ident">unwrap</span>();
         <span class="macro">assert_eq</span><span class="macro">!</span>(
 
         <span class="kw">let</span> <span class="ident">xprv</span> <span class="op">=</span> <span class="ident">bip32</span>::<span class="ident">ExtendedPrivKey</span>::<span class="ident">from_str</span>(<span class="string">&quot;xprv9s21ZrQH143K3QTDL4LXw2F7HEK3wJUD2nW2nRk4stbPy6cq3jPPqjiChkVvvNKmPGJxWUtg6LnF5kejMRNNU3TGtRBeJgk33yuGBxrMPHi&quot;</span>).<span class="ident">unwrap</span>();
         <span class="kw">let</span> <span class="ident">path</span> <span class="op">=</span> <span class="ident">bip32</span>::<span class="ident">DerivationPath</span>::<span class="ident">from_str</span>(<span class="string">&quot;m/10/20/30/40&quot;</span>).<span class="ident">unwrap</span>();
-        <span class="kw">let</span> <span class="ident">desc_key</span> <span class="op">=</span> (<span class="ident">xprv</span>, <span class="ident">path</span>.<span class="ident">clone</span>()).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
+        <span class="kw">let</span> <span class="ident">desc_key</span> <span class="op">=</span> (<span class="ident">xprv</span>, <span class="ident">path</span>).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
 
         <span class="kw">let</span> (<span class="ident">_desc</span>, <span class="ident">_key_map</span>, <span class="ident">valid_networks</span>) <span class="op">=</span> <span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">wpkh</span>(<span class="ident">desc_key</span>)).<span class="ident">unwrap</span>();
         <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">valid_networks</span>, [<span class="ident">Bitcoin</span>].<span class="ident">iter</span>().<span class="ident">cloned</span>().<span class="ident">collect</span>());
             <span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">sh</span>(<span class="ident">wsh</span>(<span class="ident">multi</span>(<span class="number">2</span>, <span class="ident">desc_key1</span>, <span class="ident">desc_key2</span>, <span class="ident">desc_key3</span>)))).<span class="ident">unwrap</span>();
         <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">key_map</span>.<span class="ident">len</span>(), <span class="number">3</span>);
 
-        <span class="kw">let</span> <span class="ident">desc_key1</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span> <span class="op">=</span>
-            (<span class="ident">xprv1</span>, <span class="ident">path1</span>.<span class="ident">clone</span>()).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
-        <span class="kw">let</span> <span class="ident">desc_key2</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span> <span class="op">=</span>
-            (<span class="ident">xprv2</span>, <span class="ident">path2</span>.<span class="ident">clone</span>()).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
-        <span class="kw">let</span> <span class="ident">desc_key3</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span> <span class="op">=</span>
-            (<span class="ident">xprv3</span>, <span class="ident">path3</span>.<span class="ident">clone</span>()).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
+        <span class="kw">let</span> <span class="ident">desc_key1</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span> <span class="op">=</span> (<span class="ident">xprv1</span>, <span class="ident">path1</span>).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
+        <span class="kw">let</span> <span class="ident">desc_key2</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span> <span class="op">=</span> (<span class="ident">xprv2</span>, <span class="ident">path2</span>).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
+        <span class="kw">let</span> <span class="ident">desc_key3</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span> <span class="op">=</span> (<span class="ident">xprv3</span>, <span class="ident">path3</span>).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
 
         <span class="kw">let</span> (<span class="ident">key1</span>, <span class="ident">_key_map</span>, <span class="ident">_valid_networks</span>) <span class="op">=</span> <span class="ident">desc_key1</span>.<span class="ident">extract</span>(<span class="kw-2">&amp;</span><span class="ident">secp</span>).<span class="ident">unwrap</span>();
         <span class="kw">let</span> (<span class="ident">key2</span>, <span class="ident">_key_map</span>, <span class="ident">_valid_networks</span>) <span class="op">=</span> <span class="ident">desc_key2</span>.<span class="ident">extract</span>(<span class="kw-2">&amp;</span><span class="ident">secp</span>).<span class="ident">unwrap</span>();
         <span class="comment">// this compiles</span>
         <span class="kw">let</span> <span class="ident">xprv</span> <span class="op">=</span> <span class="ident">bip32</span>::<span class="ident">ExtendedPrivKey</span>::<span class="ident">from_str</span>(<span class="string">&quot;tprv8ZgxMBicQKsPcx5nBGsR63Pe8KnRUqmbJNENAfGftF3yuXoMMoVJJcYeUw5eVkm9WBPjWYt6HMWYJNesB5HaNVBaFc1M6dRjWSYnmewUMYy&quot;</span>).<span class="ident">unwrap</span>();
         <span class="kw">let</span> <span class="ident">path</span> <span class="op">=</span> <span class="ident">bip32</span>::<span class="ident">DerivationPath</span>::<span class="ident">from_str</span>(<span class="string">&quot;m/0&quot;</span>).<span class="ident">unwrap</span>();
-        <span class="kw">let</span> <span class="ident">desc_key</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Legacy</span><span class="op">&gt;</span> <span class="op">=</span> (<span class="ident">xprv</span>, <span class="ident">path</span>.<span class="ident">clone</span>()).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
+        <span class="kw">let</span> <span class="ident">desc_key</span>: <span class="ident">DescriptorKey</span><span class="op">&lt;</span><span class="ident">Legacy</span><span class="op">&gt;</span> <span class="op">=</span> (<span class="ident">xprv</span>, <span class="ident">path</span>).<span class="ident">into_descriptor_key</span>().<span class="ident">unwrap</span>();
 
         <span class="kw">let</span> (<span class="ident">desc</span>, <span class="ident">_key_map</span>, <span class="ident">_valid_networks</span>) <span class="op">=</span> <span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">pkh</span>(<span class="ident">desc_key</span>)).<span class="ident">unwrap</span>();
         <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">desc</span>.<span class="ident">to_string</span>(), <span class="string">&quot;pkh(tpubD6NzVbkrYhZ4WR7a4vY1VT3khMJMeAxVsfq9TBJyJWrNk247zCJtV7AWf6UJP7rAVsn8NNKdJi3gFyKPTmWZS9iukb91xbn2HbFSMQm2igY/0/*)#yrnz9pp2&quot;</span>);
index 65bd60d1e7c41018add931bcf9207a67e378566d..4d2ed2dd6d843b8a4ba00d771fa8e9673a9e9026 100644 (file)
             .<span class="ident">unwrap</span>();
 
         <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="kw-2">&amp;</span><span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint</span>)
+            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint</span>)
         );
         <span class="macro">assert</span><span class="macro">!</span>(<span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">contribution</span>, <span class="ident">Satisfaction</span>::<span class="prelude-val">None</span>));
 
             .<span class="ident">unwrap</span>();
 
         <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="kw-2">&amp;</span><span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint</span>)
+            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint</span>)
         );
         <span class="macro">assert</span><span class="macro">!</span>(
             <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">contribution</span>, <span class="ident">Satisfaction</span>::<span class="ident">Complete</span> {<span class="ident">condition</span>} <span class="kw">if</span> <span class="ident">condition</span>.<span class="ident">csv</span> <span class="op">=</span><span class="op">=</span> <span class="prelude-val">None</span> <span class="op">&amp;&amp;</span> <span class="ident">condition</span>.<span class="ident">timelock</span> <span class="op">=</span><span class="op">=</span> <span class="prelude-val">None</span>)
 
         <span class="macro">assert</span><span class="macro">!</span>(
             <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Multisig</span> { <span class="ident">keys</span>, <span class="ident">threshold</span> } <span class="kw">if</span> <span class="ident">threshold</span> <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="number">1</span>
-            <span class="op">&amp;&amp;</span> <span class="kw-2">&amp;</span><span class="ident">keys</span>[<span class="number">0</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint0</span>
-            <span class="op">&amp;&amp;</span> <span class="kw-2">&amp;</span><span class="ident">keys</span>[<span class="number">1</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint1</span>)
+            <span class="op">&amp;&amp;</span> <span class="ident">keys</span>[<span class="number">0</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint0</span>
+            <span class="op">&amp;&amp;</span> <span class="ident">keys</span>[<span class="number">1</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint1</span>)
         );
         <span class="macro">assert</span><span class="macro">!</span>(
             <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">contribution</span>, <span class="ident">Satisfaction</span>::<span class="ident">PartialComplete</span> { <span class="ident">n</span>, <span class="ident">m</span>, <span class="ident">items</span>, <span class="ident">conditions</span>, .. } <span class="kw">if</span> <span class="ident">n</span> <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="number">2</span>
 
         <span class="macro">assert</span><span class="macro">!</span>(
             <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Multisig</span> { <span class="ident">keys</span>, <span class="ident">threshold</span> } <span class="kw">if</span> <span class="ident">threshold</span> <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="number">2</span>
-            <span class="op">&amp;&amp;</span> <span class="kw-2">&amp;</span><span class="ident">keys</span>[<span class="number">0</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint0</span>
-            <span class="op">&amp;&amp;</span> <span class="kw-2">&amp;</span><span class="ident">keys</span>[<span class="number">1</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint1</span>)
+            <span class="op">&amp;&amp;</span> <span class="ident">keys</span>[<span class="number">0</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint0</span>
+            <span class="op">&amp;&amp;</span> <span class="ident">keys</span>[<span class="number">1</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint1</span>)
         );
 
         <span class="macro">assert</span><span class="macro">!</span>(
             .<span class="ident">unwrap</span>();
 
         <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="kw-2">&amp;</span><span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint</span>)
+            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint</span>)
         );
         <span class="macro">assert</span><span class="macro">!</span>(<span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">contribution</span>, <span class="ident">Satisfaction</span>::<span class="prelude-val">None</span>));
 
             .<span class="ident">unwrap</span>();
 
         <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="kw-2">&amp;</span><span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint</span>)
+            <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Signature</span>(<span class="ident">pk_or_f</span>) <span class="kw">if</span> <span class="ident">pk_or_f</span>.<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint</span>)
         );
         <span class="macro">assert</span><span class="macro">!</span>(
             <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">contribution</span>, <span class="ident">Satisfaction</span>::<span class="ident">Complete</span> {<span class="ident">condition</span>} <span class="kw">if</span> <span class="ident">condition</span>.<span class="ident">csv</span> <span class="op">=</span><span class="op">=</span> <span class="prelude-val">None</span> <span class="op">&amp;&amp;</span> <span class="ident">condition</span>.<span class="ident">timelock</span> <span class="op">=</span><span class="op">=</span> <span class="prelude-val">None</span>)
 
         <span class="macro">assert</span><span class="macro">!</span>(
             <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">item</span>, <span class="ident">Multisig</span> { <span class="ident">keys</span>, <span class="ident">threshold</span> } <span class="kw">if</span> <span class="ident">threshold</span> <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="number">1</span>
-            <span class="op">&amp;&amp;</span> <span class="kw-2">&amp;</span><span class="ident">keys</span>[<span class="number">0</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint0</span>
-            <span class="op">&amp;&amp;</span> <span class="kw-2">&amp;</span><span class="ident">keys</span>[<span class="number">1</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="ident">fingerprint1</span>)
+            <span class="op">&amp;&amp;</span> <span class="ident">keys</span>[<span class="number">0</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint0</span>
+            <span class="op">&amp;&amp;</span> <span class="ident">keys</span>[<span class="number">1</span>].<span class="ident">fingerprint</span>.<span class="ident">unwrap</span>() <span class="op">=</span><span class="op">=</span> <span class="ident">fingerprint1</span>)
         );
         <span class="macro">assert</span><span class="macro">!</span>(
             <span class="macro">matches</span><span class="macro">!</span>(<span class="kw-2">&amp;</span><span class="ident">policy</span>.<span class="ident">contribution</span>, <span class="ident">Satisfaction</span>::<span class="ident">PartialComplete</span> { <span class="ident">n</span>, <span class="ident">m</span>, <span class="ident">items</span>, <span class="ident">conditions</span>, .. } <span class="kw">if</span> <span class="ident">n</span> <span class="op">=</span><span class="op">=</span> <span class="kw-2">&amp;</span><span class="number">2</span>
index 2f4fc34e966bed6d18631820d6d5901fa56768a5..63f5b6357112fbed43f3462afc831cc8f1f39077 100644 (file)
         <span class="ident">secp</span>: <span class="kw-2">&amp;</span><span class="ident">SecpCtx</span>,
         <span class="ident">network</span>: <span class="ident">Network</span>,
     ) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span>(<span class="ident">ExtendedDescriptor</span>, <span class="ident">KeyMap</span>), <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="self">self</span>.<span class="ident">build</span>()<span class="question-mark">?</span>.<span class="ident">into_wallet_descriptor</span>(<span class="ident">secp</span>, <span class="ident">network</span>)<span class="question-mark">?</span>)
+        <span class="self">self</span>.<span class="ident">build</span>()<span class="question-mark">?</span>.<span class="ident">into_wallet_descriptor</span>(<span class="ident">secp</span>, <span class="ident">network</span>)
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">IntoDescriptorKey</span><span class="op">&lt;</span><span class="ident">Legacy</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">P2PKH</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">pkh</span>(<span class="self">self</span>.<span class="number">0</span>))<span class="question-mark">?</span>)
+        <span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">pkh</span>(<span class="self">self</span>.<span class="number">0</span>))
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">IntoDescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">P2WPKH_P2SH</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">sh</span>(<span class="ident">wpkh</span>(<span class="self">self</span>.<span class="number">0</span>)))<span class="question-mark">?</span>)
+        <span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">sh</span>(<span class="ident">wpkh</span>(<span class="self">self</span>.<span class="number">0</span>)))
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">IntoDescriptorKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">P2WPKH</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">wpkh</span>(<span class="self">self</span>.<span class="number">0</span>))<span class="question-mark">?</span>)
+        <span class="macro">descriptor</span><span class="macro">!</span>(<span class="ident">wpkh</span>(<span class="self">self</span>.<span class="number">0</span>))
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">DerivableKey</span><span class="op">&lt;</span><span class="ident">Legacy</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">BIP44</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="ident">P2PKH</span>(<span class="ident">legacy</span>::<span class="ident">make_bipxx_private</span>(<span class="number">44</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()<span class="question-mark">?</span>)
+        <span class="ident">P2PKH</span>(<span class="ident">legacy</span>::<span class="ident">make_bipxx_private</span>(<span class="number">44</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">DerivableKey</span><span class="op">&lt;</span><span class="ident">Legacy</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">BIP44Public</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="ident">P2PKH</span>(<span class="ident">legacy</span>::<span class="ident">make_bipxx_public</span>(<span class="number">44</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>, <span class="self">self</span>.<span class="number">2</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()<span class="question-mark">?</span>)
+        <span class="ident">P2PKH</span>(<span class="ident">legacy</span>::<span class="ident">make_bipxx_public</span>(<span class="number">44</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>, <span class="self">self</span>.<span class="number">2</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">DerivableKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">BIP49</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="ident">P2WPKH_P2SH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_private</span>(<span class="number">49</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()<span class="question-mark">?</span>)
+        <span class="ident">P2WPKH_P2SH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_private</span>(<span class="number">49</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">DerivableKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">BIP49Public</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="ident">P2WPKH_P2SH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_public</span>(<span class="number">49</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>, <span class="self">self</span>.<span class="number">2</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()<span class="question-mark">?</span>)
+        <span class="ident">P2WPKH_P2SH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_public</span>(<span class="number">49</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>, <span class="self">self</span>.<span class="number">2</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">DerivableKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">BIP84</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="ident">P2WPKH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_private</span>(<span class="number">84</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()<span class="question-mark">?</span>)
+        <span class="ident">P2WPKH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_private</span>(<span class="number">84</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()
     }
 }
 
 
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">K</span>: <span class="ident">DerivableKey</span><span class="op">&lt;</span><span class="ident">Segwitv0</span><span class="op">&gt;</span><span class="op">&gt;</span> <span class="ident">DescriptorTemplate</span> <span class="kw">for</span> <span class="ident">BIP84Public</span><span class="op">&lt;</span><span class="ident">K</span><span class="op">&gt;</span> {
     <span class="kw">fn</span> <span class="ident">build</span>(<span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">DescriptorTemplateOut</span>, <span class="ident">DescriptorError</span><span class="op">&gt;</span> {
-        <span class="prelude-val">Ok</span>(<span class="ident">P2WPKH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_public</span>(<span class="number">84</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>, <span class="self">self</span>.<span class="number">2</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()<span class="question-mark">?</span>)
+        <span class="ident">P2WPKH</span>(<span class="ident">segwit_v0</span>::<span class="ident">make_bipxx_public</span>(<span class="number">84</span>, <span class="self">self</span>.<span class="number">0</span>, <span class="self">self</span>.<span class="number">1</span>, <span class="self">self</span>.<span class="number">2</span>)<span class="question-mark">?</span>).<span class="ident">build</span>()
     }
 }
 
                     <span class="ident">KeychainKind</span>::<span class="ident">Internal</span> <span class="op">=</span><span class="op">&gt;</span> <span class="macro">vec</span><span class="macro">!</span>[<span class="ident">bip32</span>::<span class="ident">ChildNumber</span>::<span class="ident">from_normal_idx</span>(<span class="number">1</span>)<span class="question-mark">?</span>].<span class="ident">into</span>(),
                 };
 
-                <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">source_path</span> <span class="op">=</span> <span class="ident">Vec</span>::<span class="ident">with_capacity</span>(<span class="number">3</span>);
-                <span class="ident">source_path</span>.<span class="ident">push</span>(<span class="ident">bip32</span>::<span class="ident">ChildNumber</span>::<span class="ident">from_hardened_idx</span>(<span class="ident">bip</span>)<span class="question-mark">?</span>);
-                <span class="ident">source_path</span>.<span class="ident">push</span>(<span class="ident">bip32</span>::<span class="ident">ChildNumber</span>::<span class="ident">from_hardened_idx</span>(<span class="number">0</span>)<span class="question-mark">?</span>);
-                <span class="ident">source_path</span>.<span class="ident">push</span>(<span class="ident">bip32</span>::<span class="ident">ChildNumber</span>::<span class="ident">from_hardened_idx</span>(<span class="number">0</span>)<span class="question-mark">?</span>);
-                <span class="kw">let</span> <span class="ident">source_path</span>: <span class="ident">bip32</span>::<span class="ident">DerivationPath</span> <span class="op">=</span> <span class="ident">source_path</span>.<span class="ident">into</span>();
+                <span class="kw">let</span> <span class="ident">source_path</span> <span class="op">=</span> <span class="ident">bip32</span>::<span class="ident">DerivationPath</span>::<span class="ident">from</span>(<span class="macro">vec</span><span class="macro">!</span>[
+                    <span class="ident">bip32</span>::<span class="ident">ChildNumber</span>::<span class="ident">from_hardened_idx</span>(<span class="ident">bip</span>)<span class="question-mark">?</span>,
+                    <span class="ident">bip32</span>::<span class="ident">ChildNumber</span>::<span class="ident">from_hardened_idx</span>(<span class="number">0</span>)<span class="question-mark">?</span>,
+                    <span class="ident">bip32</span>::<span class="ident">ChildNumber</span>::<span class="ident">from_hardened_idx</span>(<span class="number">0</span>)<span class="question-mark">?</span>,
+                ]);
 
                 <span class="prelude-val">Ok</span>((<span class="ident">key</span>, (<span class="ident">parent_fingerprint</span>, <span class="ident">source_path</span>), <span class="ident">derivation_path</span>))
             }
index 1bc3334c4bb535191eaf164c42ab89397ac08ab9..73ddb9f22d5505ec206b776aa7f501e347341245 100644 (file)
@@ -1670,7 +1670,7 @@ let xprv = xkey.into_xprv(Network::Bitcoin).unwrap();
 ) <span class="op">-</span><span class="op">&gt;</span> <span class="prelude-ty">Result</span><span class="op">&lt;</span>(<span class="ident">Vec</span><span class="op">&lt;</span><span class="ident">DescriptorPublicKey</span><span class="op">&gt;</span>, <span class="ident">KeyMap</span>, <span class="ident">ValidNetworks</span>), <span class="ident">KeyError</span><span class="op">&gt;</span> {
     <span class="kw">let</span> (<span class="ident">pks</span>, <span class="ident">key_maps_networks</span>): (<span class="ident">Vec</span><span class="op">&lt;</span><span class="kw">_</span><span class="op">&gt;</span>, <span class="ident">Vec</span><span class="op">&lt;</span><span class="kw">_</span><span class="op">&gt;</span>) <span class="op">=</span> <span class="ident">pks</span>
         .<span class="ident">into_iter</span>()
-        .<span class="ident">map</span>(<span class="op">|</span><span class="ident">key</span><span class="op">|</span> <span class="prelude-val">Ok</span>::<span class="op">&lt;</span><span class="kw">_</span>, <span class="ident">KeyError</span><span class="op">&gt;</span>(<span class="ident">key</span>.<span class="ident">into_descriptor_key</span>()<span class="question-mark">?</span>.<span class="ident">extract</span>(<span class="ident">secp</span>)<span class="question-mark">?</span>))
+        .<span class="ident">map</span>(<span class="op">|</span><span class="ident">key</span><span class="op">|</span> <span class="ident">key</span>.<span class="ident">into_descriptor_key</span>()<span class="question-mark">?</span>.<span class="ident">extract</span>(<span class="ident">secp</span>))
         .<span class="ident">collect</span>::<span class="op">&lt;</span><span class="prelude-ty">Result</span><span class="op">&lt;</span><span class="ident">Vec</span><span class="op">&lt;</span><span class="kw">_</span><span class="op">&gt;</span>, <span class="kw">_</span><span class="op">&gt;</span><span class="op">&gt;</span>()<span class="question-mark">?</span>
         .<span class="ident">into_iter</span>()
         .<span class="ident">map</span>(<span class="op">|</span>(<span class="ident">a</span>, <span class="ident">b</span>, <span class="ident">c</span>)<span class="op">|</span> (<span class="ident">a</span>, (<span class="ident">b</span>, <span class="ident">c</span>)))
index 0e3abae0c2bcef4e297459f24e54118f8bf5c108..d3ec699e809b043a45a9f39f1e8816ba50a55098 100644 (file)
 <span id="274">274</span>
 <span id="275">275</span>
 <span id="276">276</span>
-<span id="277">277</span>
 </pre><div class="example-wrap"><pre class="rust ">
 <span class="comment">// Magical Bitcoin Library</span>
 <span class="comment">// Written in 2020 by</span>
 <span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">bdk_macros</span>;
 
 <span class="attribute">#[<span class="ident">cfg</span>(<span class="ident">feature</span> <span class="op">=</span> <span class="string">&quot;compact_filters&quot;</span>)]</span>
-<span class="attribute">#[<span class="ident">macro_use</span>]</span>
 <span class="kw">extern</span> <span class="kw">crate</span> <span class="ident">lazy_static</span>;
 
 <span class="attribute">#[<span class="ident">cfg</span>(<span class="ident">feature</span> <span class="op">=</span> <span class="string">&quot;electrum&quot;</span>)]</span>
index 0af2697e8ebf8da85eb59cae6ee2c770b5721ea6..aec114bfaaa3a55606bb490e5c3f64fc474b6c82 100644 (file)
             .<span class="ident">coin_select</span>(
                 <span class="kw-2">&amp;</span><span class="ident">database</span>,
                 <span class="macro">vec</span><span class="macro">!</span>[],
-                <span class="ident">utxos</span>.<span class="ident">clone</span>(),
+                <span class="ident">utxos</span>,
                 <span class="ident">FeeRate</span>::<span class="ident">from_sat_per_vb</span>(<span class="number">1.0</span>),
                 <span class="number">99932</span>, <span class="comment">// first utxo&#39;s effective value</span>
                 <span class="number">0.0</span>,
index e8692e02182bd99d81350ccc83ee309d5d1ac9fc..cc458dffbf4e064c2f2a00750063b8ce1676df64 100644 (file)
 <span id="3451">3451</span>
 <span id="3452">3452</span>
 <span id="3453">3453</span>
+<span id="3454">3454</span>
+<span id="3455">3455</span>
+<span id="3456">3456</span>
 </pre><div class="example-wrap"><pre class="rust ">
 <span class="comment">// Magical Bitcoin Library</span>
 <span class="comment">// Written in 2020 by</span>
 
         <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">psbt</span>.<span class="ident">inputs</span>[<span class="number">0</span>].<span class="ident">bip32_derivation</span>.<span class="ident">len</span>(), <span class="number">1</span>);
         <span class="macro">assert_eq</span><span class="macro">!</span>(
-            <span class="ident">psbt</span>.<span class="ident">inputs</span>[<span class="number">0</span>].<span class="ident">bip32_derivation</span>.<span class="ident">values</span>().<span class="ident">nth</span>(<span class="number">0</span>).<span class="ident">unwrap</span>(),
+            <span class="ident">psbt</span>.<span class="ident">inputs</span>[<span class="number">0</span>].<span class="ident">bip32_derivation</span>.<span class="ident">values</span>().<span class="ident">next</span>().<span class="ident">unwrap</span>(),
             <span class="kw-2">&amp;</span>(
                 <span class="ident">Fingerprint</span>::<span class="ident">from_str</span>(<span class="string">&quot;d34db33f&quot;</span>).<span class="ident">unwrap</span>(),
                 <span class="ident">DerivationPath</span>::<span class="ident">from_str</span>(<span class="string">&quot;m/44&#39;/0&#39;/0&#39;/0/0&quot;</span>).<span class="ident">unwrap</span>()
 
         <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">psbt</span>.<span class="ident">outputs</span>[<span class="number">0</span>].<span class="ident">bip32_derivation</span>.<span class="ident">len</span>(), <span class="number">1</span>);
         <span class="macro">assert_eq</span><span class="macro">!</span>(
-            <span class="ident">psbt</span>.<span class="ident">outputs</span>[<span class="number">0</span>].<span class="ident">bip32_derivation</span>.<span class="ident">values</span>().<span class="ident">nth</span>(<span class="number">0</span>).<span class="ident">unwrap</span>(),
+            <span class="ident">psbt</span>.<span class="ident">outputs</span>[<span class="number">0</span>].<span class="ident">bip32_derivation</span>.<span class="ident">values</span>().<span class="ident">next</span>().<span class="ident">unwrap</span>(),
             <span class="kw-2">&amp;</span>(
                 <span class="ident">Fingerprint</span>::<span class="ident">from_str</span>(<span class="string">&quot;d34db33f&quot;</span>).<span class="ident">unwrap</span>(),
                 <span class="ident">DerivationPath</span>::<span class="ident">from_str</span>(<span class="string">&quot;m/44&#39;/0&#39;/0&#39;/0/5&quot;</span>).<span class="ident">unwrap</span>()
         <span class="kw">let</span> (<span class="kw-2">mut</span> <span class="ident">psbt</span>, <span class="kw">_</span>) <span class="op">=</span> <span class="ident">builder</span>.<span class="ident">finish</span>().<span class="ident">unwrap</span>();
 
         <span class="comment">// add another input to the psbt that is at least passable.</span>
-        <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">dud_input</span> <span class="op">=</span> <span class="ident">bitcoin</span>::<span class="ident">util</span>::<span class="ident">psbt</span>::<span class="ident">Input</span>::<span class="ident">default</span>();
-        <span class="ident">dud_input</span>.<span class="ident">witness_utxo</span> <span class="op">=</span> <span class="prelude-val">Some</span>(<span class="ident">TxOut</span> {
-            <span class="ident">value</span>: <span class="number">100_000</span>,
-            <span class="ident">script_pubkey</span>: <span class="ident">miniscript</span>::<span class="ident">Descriptor</span>::<span class="op">&lt;</span><span class="ident">bitcoin</span>::<span class="ident">PublicKey</span><span class="op">&gt;</span>::<span class="ident">from_str</span>(
-                <span class="string">&quot;wpkh(025476c2e83188368da1ff3e292e7acafcdb3566bb0ad253f62fc70f07aeee6357)&quot;</span>,
-            )
-            .<span class="ident">unwrap</span>()
-            .<span class="ident">script_pubkey</span>(),
-        });
+        <span class="kw">let</span> <span class="ident">dud_input</span> <span class="op">=</span> <span class="ident">bitcoin</span>::<span class="ident">util</span>::<span class="ident">psbt</span>::<span class="ident">Input</span> {
+            <span class="ident">witness_utxo</span>: <span class="prelude-val">Some</span>(<span class="ident">TxOut</span> {
+                <span class="ident">value</span>: <span class="number">100_000</span>,
+                <span class="ident">script_pubkey</span>: <span class="ident">miniscript</span>::<span class="ident">Descriptor</span>::<span class="op">&lt;</span><span class="ident">bitcoin</span>::<span class="ident">PublicKey</span><span class="op">&gt;</span>::<span class="ident">from_str</span>(
+                    <span class="string">&quot;wpkh(025476c2e83188368da1ff3e292e7acafcdb3566bb0ad253f62fc70f07aeee6357)&quot;</span>,
+                )
+                .<span class="ident">unwrap</span>()
+                .<span class="ident">script_pubkey</span>(),
+            }),
+            ..<span class="ident">Default</span>::<span class="ident">default</span>()
+        };
+
         <span class="ident">psbt</span>.<span class="ident">inputs</span>.<span class="ident">push</span>(<span class="ident">dud_input</span>);
         <span class="ident">psbt</span>.<span class="ident">global</span>.<span class="ident">unsigned_tx</span>.<span class="ident">input</span>.<span class="ident">push</span>(<span class="ident">bitcoin</span>::<span class="ident">TxIn</span>::<span class="ident">default</span>());
         <span class="kw">let</span> (<span class="ident">psbt</span>, <span class="ident">is_final</span>) <span class="op">=</span> <span class="ident">wallet</span>.<span class="ident">sign</span>(<span class="ident">psbt</span>, <span class="prelude-val">None</span>).<span class="ident">unwrap</span>();
index af5736900f8b79c9700aaf728eb4fa676a1fed38..916c74e9beeddbbdb953309e5ab45a5a635c95d4 100644 (file)
 <span id="688">688</span>
 <span id="689">689</span>
 <span id="690">690</span>
-<span id="691">691</span>
-<span id="692">692</span>
-<span id="693">693</span>
-<span id="694">694</span>
-<span id="695">695</span>
-<span id="696">696</span>
-<span id="697">697</span>
-<span id="698">698</span>
-<span id="699">699</span>
-<span id="700">700</span>
 </pre><div class="example-wrap"><pre class="rust ">
 <span class="comment">// Magical Bitcoin Library</span>
 <span class="comment">// Written in 2020 by</span>
     <span class="kw">use</span> <span class="ident">miniscript</span>::<span class="ident">ScriptContext</span>;
     <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">str</span>::<span class="ident">FromStr</span>;
 
+    <span class="kw">fn</span> <span class="ident">is_equal</span>(<span class="ident">this</span>: <span class="kw-2">&amp;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">Signer</span><span class="op">&gt;</span>, <span class="ident">that</span>: <span class="kw-2">&amp;</span><span class="ident">Arc</span><span class="op">&lt;</span><span class="ident">DummySigner</span><span class="op">&gt;</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">bool</span> {
+        <span class="kw">let</span> <span class="ident">secp</span> <span class="op">=</span> <span class="ident">Secp256k1</span>::<span class="ident">new</span>();
+        <span class="ident">this</span>.<span class="ident">id</span>(<span class="kw-2">&amp;</span><span class="ident">secp</span>) <span class="op">=</span><span class="op">=</span> <span class="ident">that</span>.<span class="ident">id</span>(<span class="kw-2">&amp;</span><span class="ident">secp</span>)
+    }
+
     <span class="comment">// Signers added with the same ordering (like `Ordering::default`) created from `KeyMap`</span>
     <span class="comment">// should be preserved and not overwritten.</span>
     <span class="comment">// This happens usually when a set of signers is created from a descriptor with private keys.</span>
     <span class="attribute">#[<span class="ident">test</span>]</span>
     <span class="kw">fn</span> <span class="ident">signers_sorted_by_ordering</span>() {
         <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">signers</span> <span class="op">=</span> <span class="ident">SignersContainer</span>::<span class="ident">new</span>();
-        <span class="kw">let</span> <span class="ident">signer1</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span>);
-        <span class="kw">let</span> <span class="ident">signer2</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span>);
-        <span class="kw">let</span> <span class="ident">signer3</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span>);
-
-        <span class="ident">signers</span>.<span class="ident">add_external</span>(
-            <span class="ident">SignerId</span>::<span class="ident">Fingerprint</span>(<span class="string">b&quot;cafe&quot;</span>[..].<span class="ident">into</span>()),
-            <span class="ident">SignerOrdering</span>(<span class="number">1</span>),
-            <span class="ident">signer1</span>.<span class="ident">clone</span>(),
-        );
-        <span class="ident">signers</span>.<span class="ident">add_external</span>(
-            <span class="ident">SignerId</span>::<span class="ident">Fingerprint</span>(<span class="string">b&quot;babe&quot;</span>[..].<span class="ident">into</span>()),
-            <span class="ident">SignerOrdering</span>(<span class="number">2</span>),
-            <span class="ident">signer2</span>.<span class="ident">clone</span>(),
-        );
-        <span class="ident">signers</span>.<span class="ident">add_external</span>(
-            <span class="ident">SignerId</span>::<span class="ident">Fingerprint</span>(<span class="string">b&quot;feed&quot;</span>[..].<span class="ident">into</span>()),
-            <span class="ident">SignerOrdering</span>(<span class="number">3</span>),
-            <span class="ident">signer3</span>.<span class="ident">clone</span>(),
-        );
+        <span class="kw">let</span> <span class="ident">signer1</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span> { <span class="ident">number</span>: <span class="number">1</span> });
+        <span class="kw">let</span> <span class="ident">signer2</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span> { <span class="ident">number</span>: <span class="number">2</span> });
+        <span class="kw">let</span> <span class="ident">signer3</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span> { <span class="ident">number</span>: <span class="number">3</span> });
+
+        <span class="comment">// Mixed order insertions verifies we are not inserting at head or tail.</span>
+        <span class="ident">signers</span>.<span class="ident">add_external</span>(<span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">2</span>), <span class="ident">SignerOrdering</span>(<span class="number">2</span>), <span class="ident">signer2</span>.<span class="ident">clone</span>());
+        <span class="ident">signers</span>.<span class="ident">add_external</span>(<span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">1</span>), <span class="ident">SignerOrdering</span>(<span class="number">1</span>), <span class="ident">signer1</span>.<span class="ident">clone</span>());
+        <span class="ident">signers</span>.<span class="ident">add_external</span>(<span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">3</span>), <span class="ident">SignerOrdering</span>(<span class="number">3</span>), <span class="ident">signer3</span>.<span class="ident">clone</span>());
 
         <span class="comment">// Check that signers are sorted from lowest to highest ordering</span>
         <span class="kw">let</span> <span class="ident">signers</span> <span class="op">=</span> <span class="ident">signers</span>.<span class="ident">signers</span>();
-        <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="ident">signers</span>[<span class="number">0</span>]), <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="kw-2">&amp;</span><span class="ident">signer1</span>));
-        <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="ident">signers</span>[<span class="number">1</span>]), <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="kw-2">&amp;</span><span class="ident">signer2</span>));
-        <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="ident">signers</span>[<span class="number">2</span>]), <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="kw-2">&amp;</span><span class="ident">signer3</span>));
+
+        <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">is_equal</span>(<span class="ident">signers</span>[<span class="number">0</span>], <span class="kw-2">&amp;</span><span class="ident">signer1</span>));
+        <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">is_equal</span>(<span class="ident">signers</span>[<span class="number">1</span>], <span class="kw-2">&amp;</span><span class="ident">signer2</span>));
+        <span class="macro">assert</span><span class="macro">!</span>(<span class="ident">is_equal</span>(<span class="ident">signers</span>[<span class="number">2</span>], <span class="kw-2">&amp;</span><span class="ident">signer3</span>));
     }
 
     <span class="attribute">#[<span class="ident">test</span>]</span>
     <span class="kw">fn</span> <span class="ident">find_signer_by_id</span>() {
         <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">signers</span> <span class="op">=</span> <span class="ident">SignersContainer</span>::<span class="ident">new</span>();
-        <span class="kw">let</span> <span class="ident">signer1</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">Signer</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span>);
-        <span class="kw">let</span> <span class="ident">signer2</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">Signer</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span>);
-        <span class="kw">let</span> <span class="ident">signer3</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">Signer</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span>);
-        <span class="kw">let</span> <span class="ident">signer4</span>: <span class="ident">Arc</span><span class="op">&lt;</span><span class="kw">dyn</span> <span class="ident">Signer</span><span class="op">&gt;</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span>);
+        <span class="kw">let</span> <span class="ident">signer1</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span> { <span class="ident">number</span>: <span class="number">1</span> });
+        <span class="kw">let</span> <span class="ident">signer2</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span> { <span class="ident">number</span>: <span class="number">2</span> });
+        <span class="kw">let</span> <span class="ident">signer3</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span> { <span class="ident">number</span>: <span class="number">3</span> });
+        <span class="kw">let</span> <span class="ident">signer4</span> <span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">new</span>(<span class="ident">DummySigner</span> { <span class="ident">number</span>: <span class="number">3</span> }); <span class="comment">// Same ID as `signer3` but will use lower ordering.</span>
 
-        <span class="kw">let</span> <span class="ident">id1</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Fingerprint</span>(<span class="string">b&quot;cafe&quot;</span>[..].<span class="ident">into</span>());
-        <span class="kw">let</span> <span class="ident">id2</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Fingerprint</span>(<span class="string">b&quot;babe&quot;</span>[..].<span class="ident">into</span>());
-        <span class="kw">let</span> <span class="ident">id3</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Fingerprint</span>(<span class="string">b&quot;feed&quot;</span>[..].<span class="ident">into</span>());
-        <span class="kw">let</span> <span class="ident">id_nonexistent</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Fingerprint</span>(<span class="string">b&quot;fefe&quot;</span>[..].<span class="ident">into</span>());
+        <span class="kw">let</span> <span class="ident">id1</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">1</span>);
+        <span class="kw">let</span> <span class="ident">id2</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">2</span>);
+        <span class="kw">let</span> <span class="ident">id3</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">3</span>);
+        <span class="kw">let</span> <span class="ident">id_nonexistent</span> <span class="op">=</span> <span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">999</span>);
 
         <span class="ident">signers</span>.<span class="ident">add_external</span>(<span class="ident">id1</span>.<span class="ident">clone</span>(), <span class="ident">SignerOrdering</span>(<span class="number">1</span>), <span class="ident">signer1</span>.<span class="ident">clone</span>());
         <span class="ident">signers</span>.<span class="ident">add_external</span>(<span class="ident">id2</span>.<span class="ident">clone</span>(), <span class="ident">SignerOrdering</span>(<span class="number">2</span>), <span class="ident">signer2</span>.<span class="ident">clone</span>());
         <span class="ident">signers</span>.<span class="ident">add_external</span>(<span class="ident">id3</span>.<span class="ident">clone</span>(), <span class="ident">SignerOrdering</span>(<span class="number">3</span>), <span class="ident">signer3</span>.<span class="ident">clone</span>());
 
-        <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id1</span>), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="kw-2">&amp;</span><span class="ident">signer1</span>) <span class="op">=</span><span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="ident">signer</span>))
-        );
-        <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id2</span>), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="kw-2">&amp;</span><span class="ident">signer2</span>) <span class="op">=</span><span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="ident">signer</span>))
-        );
-        <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id3</span>.<span class="ident">clone</span>()), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="kw-2">&amp;</span><span class="ident">signer3</span>) <span class="op">=</span><span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="ident">signer</span>))
-        );
+        <span class="macro">assert</span><span class="macro">!</span>(<span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id1</span>), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">is_equal</span>(<span class="ident">signer</span>, <span class="kw-2">&amp;</span><span class="ident">signer1</span>)));
+        <span class="macro">assert</span><span class="macro">!</span>(<span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id2</span>), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">is_equal</span>(<span class="ident">signer</span>, <span class="kw-2">&amp;</span><span class="ident">signer2</span>)));
+        <span class="macro">assert</span><span class="macro">!</span>(<span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id3</span>.<span class="ident">clone</span>()), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">is_equal</span>(<span class="ident">signer</span>, <span class="kw-2">&amp;</span><span class="ident">signer3</span>)));
 
         <span class="comment">// The `signer4` has the same ID as `signer3` but lower ordering.</span>
         <span class="comment">// It should be found by `id3` instead of `signer3`.</span>
         <span class="ident">signers</span>.<span class="ident">add_external</span>(<span class="ident">id3</span>.<span class="ident">clone</span>(), <span class="ident">SignerOrdering</span>(<span class="number">2</span>), <span class="ident">signer4</span>.<span class="ident">clone</span>());
-        <span class="macro">assert</span><span class="macro">!</span>(
-            <span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id3</span>), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="kw-2">&amp;</span><span class="ident">signer4</span>) <span class="op">=</span><span class="op">=</span> <span class="ident">Arc</span>::<span class="ident">as_ptr</span>(<span class="ident">signer</span>))
-        );
+        <span class="macro">assert</span><span class="macro">!</span>(<span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id3</span>), <span class="prelude-val">Some</span>(<span class="ident">signer</span>) <span class="kw">if</span> <span class="ident">is_equal</span>(<span class="ident">signer</span>, <span class="kw-2">&amp;</span><span class="ident">signer4</span>)));
 
         <span class="comment">// Can&#39;t find anything with ID that doesn&#39;t exist</span>
         <span class="macro">assert</span><span class="macro">!</span>(<span class="macro">matches</span><span class="macro">!</span>(<span class="ident">signers</span>.<span class="ident">find</span>(<span class="ident">id_nonexistent</span>), <span class="prelude-val">None</span>));
     }
 
-    <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Debug</span>)]</span>
-    <span class="kw">struct</span> <span class="ident">DummySigner</span>;
+    <span class="attribute">#[<span class="ident">derive</span>(<span class="ident">Debug</span>, <span class="ident">Clone</span>, <span class="ident">Copy</span>)]</span>
+    <span class="kw">struct</span> <span class="ident">DummySigner</span> {
+        <span class="ident">number</span>: <span class="ident">u64</span>,
+    }
+
     <span class="kw">impl</span> <span class="ident">Signer</span> <span class="kw">for</span> <span class="ident">DummySigner</span> {
         <span class="kw">fn</span> <span class="ident">sign</span>(
             <span class="kw-2">&amp;</span><span class="self">self</span>,
         }
 
         <span class="kw">fn</span> <span class="ident">id</span>(<span class="kw-2">&amp;</span><span class="self">self</span>, <span class="ident">_secp</span>: <span class="kw-2">&amp;</span><span class="ident">SecpCtx</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">SignerId</span> {
-            <span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="number">42</span>)
+            <span class="ident">SignerId</span>::<span class="ident">Dummy</span>(<span class="self">self</span>.<span class="ident">number</span>)
         }
 
         <span class="kw">fn</span> <span class="ident">sign_whole_tx</span>(<span class="kw-2">&amp;</span><span class="self">self</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="ident">bool</span> {
index 3932325335edab64383d1ba764a398aa95ba94fe..6ba3558882c829a71e5215b6f11dde621e13dffd 100644 (file)
 
 <span class="attribute">#[<span class="ident">cfg</span>(<span class="ident">test</span>)]</span>
 <span class="kw">mod</span> <span class="ident">test</span> {
-    <span class="kw">const</span> <span class="ident">ORDERING_TEST_TX</span>: <span class="kw-2">&amp;</span><span class="lifetime">&#39;static</span> <span class="ident">str</span> <span class="op">=</span> <span class="string">&quot;0200000003c26f3eb7932f7acddc5ddd26602b77e7516079b03090a16e2c2f54\
-                                            85d1fd600f0100000000ffffffffc26f3eb7932f7acddc5ddd26602b77e75160\
-                                            79b03090a16e2c2f5485d1fd600f0000000000ffffffff571fb3e02278217852\
-                                            dd5d299947e2b7354a639adc32ec1fa7b82cfb5dec530e0500000000ffffffff\
-                                            03e80300000000000002aaeee80300000000000001aa200300000000000001ff\
-                                            00000000&quot;</span>;
+    <span class="kw">const</span> <span class="ident">ORDERING_TEST_TX</span>: <span class="kw-2">&amp;</span><span class="ident">str</span> <span class="op">=</span> <span class="string">&quot;0200000003c26f3eb7932f7acddc5ddd26602b77e7516079b03090a16e2c2f54\
+                                    85d1fd600f0100000000ffffffffc26f3eb7932f7acddc5ddd26602b77e75160\
+                                    79b03090a16e2c2f5485d1fd600f0000000000ffffffff571fb3e02278217852\
+                                    dd5d299947e2b7354a639adc32ec1fa7b82cfb5dec530e0500000000ffffffff\
+                                    03e80300000000000002aaeee80300000000000001aa200300000000000001ff\
+                                    00000000&quot;</span>;
     <span class="macro">macro_rules</span><span class="macro">!</span> <span class="ident">ordering_test_tx</span> {
         () <span class="op">=</span><span class="op">&gt;</span> {
             <span class="ident">deserialize</span>::<span class="op">&lt;</span><span class="ident">bitcoin</span>::<span class="ident">Transaction</span><span class="op">&gt;</span>(<span class="kw-2">&amp;</span><span class="ident">Vec</span>::<span class="op">&lt;</span><span class="ident">u8</span><span class="op">&gt;</span>::<span class="ident">from_hex</span>(<span class="ident">ORDERING_TEST_TX</span>).<span class="ident">unwrap</span>())
         <span class="kw">use</span> <span class="ident">std</span>::<span class="ident">str</span>::<span class="ident">FromStr</span>;
 
         <span class="kw">let</span> <span class="ident">original_tx</span> <span class="op">=</span> <span class="macro">ordering_test_tx</span><span class="macro">!</span>();
-        <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">tx</span> <span class="op">=</span> <span class="ident">original_tx</span>.<span class="ident">clone</span>();
+        <span class="kw">let</span> <span class="kw-2">mut</span> <span class="ident">tx</span> <span class="op">=</span> <span class="ident">original_tx</span>;
 
         <span class="ident">TxOrdering</span>::<span class="ident">BIP69Lexicographic</span>.<span class="ident">sort_tx</span>(<span class="kw-2">&amp;</span><span class="kw-2">mut</span> <span class="ident">tx</span>);
 
         <span class="kw">let</span> <span class="ident">filtered</span> <span class="op">=</span> <span class="ident">get_test_utxos</span>()
             .<span class="ident">into_iter</span>()
             .<span class="ident">filter</span>(<span class="op">|</span><span class="ident">u</span><span class="op">|</span> <span class="ident">change_spend_policy</span>.<span class="ident">is_satisfied_by</span>(<span class="ident">u</span>))
-            .<span class="ident">collect</span>::<span class="op">&lt;</span><span class="ident">Vec</span><span class="op">&lt;</span><span class="kw">_</span><span class="op">&gt;</span><span class="op">&gt;</span>();
+            .<span class="ident">count</span>();
 
-        <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">filtered</span>.<span class="ident">len</span>(), <span class="number">2</span>);
+        <span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">filtered</span>, <span class="number">2</span>);
     }
 
     <span class="attribute">#[<span class="ident">test</span>]</span>
index f129f0d0e57d939478c5c85c04c497abb838aa1b..2b6338967fb389ad9d69d68a4386e5c606c4e3f9 100644 (file)
     <span class="ident">size</span>: <span class="ident">usize</span>,
 }
 
+<span class="attribute">#[<span class="ident">cfg</span>(<span class="ident">any</span>(<span class="ident">feature</span> <span class="op">=</span> <span class="string">&quot;electrum&quot;</span>, <span class="ident">feature</span> <span class="op">=</span> <span class="string">&quot;esplora&quot;</span>))]</span>
 <span class="kw">impl</span><span class="op">&lt;</span><span class="ident">I</span>: <span class="ident">Iterator</span><span class="op">&gt;</span> <span class="ident">ChunksIterator</span><span class="op">&lt;</span><span class="ident">I</span><span class="op">&gt;</span> {
-    <span class="attribute">#[<span class="ident">allow</span>(<span class="ident">dead_code</span>)]</span>
     <span class="kw">pub</span> <span class="kw">fn</span> <span class="ident">new</span>(<span class="ident">iter</span>: <span class="ident">I</span>, <span class="ident">size</span>: <span class="ident">usize</span>) <span class="op">-</span><span class="op">&gt;</span> <span class="self">Self</span> {
         <span class="ident">ChunksIterator</span> { <span class="ident">iter</span>, <span class="ident">size</span> }
     }