]> Untitled Git - bitcoindevkit.org/commitdiff
Publish autogenerated nightly docs
authorgithub-actions <github-actions@github.com>
Mon, 6 May 2024 12:16:21 +0000 (12:16 +0000)
committergithub-actions <github-actions@github.com>
Mon, 6 May 2024 12:16:21 +0000 (12:16 +0000)
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/wallet/struct.Wallet.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_testenv/index.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk_testenv/struct.TestEnv.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/search-index.js
docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_esplora/async_ext.rs.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_esplora/blocking_ext.rs.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/src/bdk_testenv/lib.rs.html

index 9e3f566da9ae2fd1df9a7c1edd582c9bcc970270..6f05ecbaf35fd92b17ec41bb7439ff1be3aba195 100644 (file)
@@ -8,14 +8,14 @@ Its main components are:</p>
 </ol>
 </div></details><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Wallet" class="impl has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#229-257">source</a><a href="#impl-Wallet" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Wallet.html" title="struct bdk::wallet::Wallet">Wallet</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_no_persist" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#231-241">source</a><h4 class="code-header">pub fn <a href="#method.new_no_persist" class="fn">new_no_persist</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network<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;Self, <a class="enum" href="../descriptor/error/enum.Error.html" title="enum bdk::descriptor::error::Error">DescriptorError</a>&gt;</h4></section></summary><div class="docblock"><p>Creates a wallet that does not persist data.</p>
 </div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_no_persist_with_genesis_hash" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#244-256">source</a><h4 class="code-header">pub fn <a href="#method.new_no_persist_with_genesis_hash" class="fn">new_no_persist_with_genesis_hash</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network,<br>&nbsp;&nbsp;&nbsp;&nbsp;genesis_hash: BlockHash<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;Self, <a class="enum" href="../descriptor/error/enum.Error.html" title="enum bdk::descriptor::error::Error">DescriptorError</a>&gt;</h4></section></summary><div class="docblock"><p>Creates a wallet that does not persist data, with a custom genesis hash.</p>
-</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Wallet-1" class="impl has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#444-2411">source</a><a href="#impl-Wallet-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Wallet.html" title="struct bdk::wallet::Wallet">Wallet</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#446-454">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl PersistBackend&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network<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;Self, <a class="enum" href="enum.NewError.html" title="enum bdk::wallet::NewError">NewError</a>&gt;</h4></section></summary><div class="docblock"><p>Initialize an empty <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a>.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_with_genesis_hash" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#460-499">source</a><h4 class="code-header">pub fn <a href="#method.new_with_genesis_hash" class="fn">new_with_genesis_hash</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl PersistBackend&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network,<br>&nbsp;&nbsp;&nbsp;&nbsp;genesis_hash: BlockHash<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;Self, <a class="enum" href="enum.NewError.html" title="enum bdk::wallet::NewError">NewError</a>&gt;</h4></section></summary><div class="docblock"><p>Initialize an empty <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> with a custom genesis hash.</p>
+</div></details></div></details><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-Wallet-1" class="impl has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#444-2411">source</a><a href="#impl-Wallet-1" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.Wallet.html" title="struct bdk::wallet::Wallet">Wallet</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#446-454">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl <a class="trait" href="../../bdk_persist/persist/trait.PersistBackend.html" title="trait bdk_persist::persist::PersistBackend">PersistBackend</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network<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;Self, <a class="enum" href="enum.NewError.html" title="enum bdk::wallet::NewError">NewError</a>&gt;</h4></section></summary><div class="docblock"><p>Initialize an empty <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a>.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_with_genesis_hash" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#460-499">source</a><h4 class="code-header">pub fn <a href="#method.new_with_genesis_hash" class="fn">new_with_genesis_hash</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl <a class="trait" href="../../bdk_persist/persist/trait.PersistBackend.html" title="trait bdk_persist::persist::PersistBackend">PersistBackend</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network,<br>&nbsp;&nbsp;&nbsp;&nbsp;genesis_hash: BlockHash<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;Self, <a class="enum" href="enum.NewError.html" title="enum bdk::wallet::NewError">NewError</a>&gt;</h4></section></summary><div class="docblock"><p>Initialize an empty <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> with a custom genesis hash.</p>
 <p>This is like <a href="struct.Wallet.html#method.new" title="Wallet::new"><code>Wallet::new</code></a> with an additional <code>genesis_hash</code> parameter. This is useful
 for syncing from alternative networks.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.load" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#502-512">source</a><h4 class="code-header">pub fn <a href="#method.load" class="fn">load</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl PersistBackend&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static<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;Self, <a class="enum" href="enum.LoadError.html" title="enum bdk::wallet::LoadError">LoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Load <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> from the given persistence backend.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_or_load" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#549-563">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load" class="fn">new_or_load</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl PersistBackend&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network<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;Self, <a class="enum" href="enum.NewOrLoadError.html" title="enum bdk::wallet::NewOrLoadError">NewOrLoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Either loads <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> from persistence, or initializes it if it does not exist.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.load" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#502-512">source</a><h4 class="code-header">pub fn <a href="#method.load" class="fn">load</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl <a class="trait" href="../../bdk_persist/persist/trait.PersistBackend.html" title="trait bdk_persist::persist::PersistBackend">PersistBackend</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static<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;Self, <a class="enum" href="enum.LoadError.html" title="enum bdk::wallet::LoadError">LoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Load <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> from the given persistence backend.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_or_load" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#549-563">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load" class="fn">new_or_load</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl <a class="trait" href="../../bdk_persist/persist/trait.PersistBackend.html" title="trait bdk_persist::persist::PersistBackend">PersistBackend</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network<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;Self, <a class="enum" href="enum.NewOrLoadError.html" title="enum bdk::wallet::NewOrLoadError">NewOrLoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Either loads <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> from persistence, or initializes it if it does not exist.</p>
 <p>This method will fail if the loaded <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> has different parameters to those provided.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_or_load_with_genesis_hash" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#571-631">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load_with_genesis_hash" class="fn">new_or_load_with_genesis_hash</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl PersistBackend&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network,<br>&nbsp;&nbsp;&nbsp;&nbsp;genesis_hash: BlockHash<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;Self, <a class="enum" href="enum.NewOrLoadError.html" title="enum bdk::wallet::NewOrLoadError">NewOrLoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Either loads <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> from persistence, or initializes it if it does not exist (with a
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new_or_load_with_genesis_hash" class="method has-srclink"><a class="srclink rightside" href="../../src/bdk/wallet/mod.rs.html#571-631">source</a><h4 class="code-header">pub fn <a href="#method.new_or_load_with_genesis_hash" class="fn">new_or_load_with_genesis_hash</a>&lt;E:&nbsp;<a class="trait" href="../descriptor/trait.IntoWalletDescriptor.html" title="trait bdk::descriptor::IntoWalletDescriptor">IntoWalletDescriptor</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;descriptor: E,<br>&nbsp;&nbsp;&nbsp;&nbsp;change_descriptor: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;E&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;db: impl <a class="trait" href="../../bdk_persist/persist/trait.PersistBackend.html" title="trait bdk_persist::persist::PersistBackend">PersistBackend</a>&lt;<a class="struct" href="struct.ChangeSet.html" title="struct bdk::wallet::ChangeSet">ChangeSet</a>&gt; + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> + <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> + 'static,<br>&nbsp;&nbsp;&nbsp;&nbsp;network: Network,<br>&nbsp;&nbsp;&nbsp;&nbsp;genesis_hash: BlockHash<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;Self, <a class="enum" href="enum.NewOrLoadError.html" title="enum bdk::wallet::NewOrLoadError">NewOrLoadError</a>&gt;</h4></section></summary><div class="docblock"><p>Either loads <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> from persistence, or initializes it if it does not exist (with a
 custom genesis hash).</p>
 <p>This method will fail if the loaded <a href="struct.Wallet.html" title="Wallet"><code>Wallet</code></a> has different parameters to those provided.
 This is like <a href="struct.Wallet.html#method.new_or_load" title="Wallet::new_or_load"><code>Wallet::new_or_load</code></a> with an additional <code>genesis_hash</code> parameter. This is
index 23b44f6e8a4e943abc0f5e5bae23beaeae1cfd16..c58efa5934a5a4d1b114e423dce880351dd7d528 100644 (file)
@@ -1,2 +1,2 @@
-<!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="API documentation for the Rust `bdk_testenv` crate."><meta name="keywords" content="rust, rustlang, rust-lang, bdk_testenv"><title>bdk_testenv - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-64f7dca12162a801.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../static.files/ayu-94f39d4346842c1e.css"><script id="default-settings" ></script><script src="../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-a211dbb005fb8161.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate bdk_testenv</a></h2><div class="sidebar-elems"><ul class="block"><li class="version">Version 0.3.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#structs">Structs</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Crate <a class="mod" href="#">bdk_testenv</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/bdk_testenv/lib.rs.html#1-300">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.TestEnv.html" title="bdk_testenv::TestEnv struct">TestEnv</a></div><div class="item-right docblock-short">Struct for running a regtest environment with a single <code>bitcoind</code> node with an <code>electrs</code>
+<!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="API documentation for the Rust `bdk_testenv` crate."><meta name="keywords" content="rust, rustlang, rust-lang, bdk_testenv"><title>bdk_testenv - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-64f7dca12162a801.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../static.files/ayu-94f39d4346842c1e.css"><script id="default-settings" ></script><script src="../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-a211dbb005fb8161.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2 class="location"><a href="#">Crate bdk_testenv</a></h2><div class="sidebar-elems"><ul class="block"><li class="version">Version 0.3.0</li><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#reexports">Re-exports</a></li><li><a href="#structs">Structs</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Crate <a class="mod" href="#">bdk_testenv</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/bdk_testenv/lib.rs.html#1-304">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="reexports" class="small-section-header"><a href="#reexports">Re-exports</a></h2><div class="item-table"><div class="item-row"><div class="item-left import-item" id="reexport.electrsd"><code>pub use electrsd;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.bitcoind"><code>pub use electrsd::bitcoind;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.anyhow"><code>pub use electrsd::bitcoind::<a class="mod" href="https://docs.rs/anyhow/1.0.82/anyhow/index.html" title="mod anyhow">anyhow</a>;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.bitcoincore_rpc"><code>pub use electrsd::bitcoind::bitcoincore_rpc;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.electrum_client"><code>pub use electrsd::electrum_client;</code></div></div></div><h2 id="structs" class="small-section-header"><a href="#structs">Structs</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.TestEnv.html" title="bdk_testenv::TestEnv struct">TestEnv</a></div><div class="item-right docblock-short">Struct for running a regtest environment with a single <code>bitcoind</code> node with an <code>electrs</code>
 instance connected to it.</div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="bdk_testenv" data-themes="" data-resource-suffix="" data-rustdoc-version="1.68.0-nightly (0f529f0f4 2022-12-13)" data-search-js="search-444266647c4dba98.js" data-settings-js="settings-bebeae96e00e4617.js" data-settings-css="settings-af96d9e2fc13e081.css" ></div></body></html>
\ No newline at end of file
index f8cca5acef2e75ea38e6f0f9617210662b4a4b58..03478cdabb99319ba1f3d271c74d0c464d486cbc 100644 (file)
@@ -1,22 +1,22 @@
-<!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="Struct for running a regtest environment with a single `bitcoind` node with an `electrs` instance connected to it."><meta name="keywords" content="rust, rustlang, rust-lang, TestEnv"><title>TestEnv in bdk_testenv - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-64f7dca12162a801.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../static.files/ayu-94f39d4346842c1e.css"><script id="default-settings" ></script><script src="../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a211dbb005fb8161.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2 class="location"><a href="#">TestEnv</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block"><li><a href="#structfield.bitcoind">bitcoind</a></li><li><a href="#structfield.electrsd">electrsd</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.electrum_client">electrum_client</a></li><li><a href="#method.genesis_hash">genesis_hash</a></li><li><a href="#method.invalidate_blocks">invalidate_blocks</a></li><li><a href="#method.make_checkpoint_tip">make_checkpoint_tip</a></li><li><a href="#method.mine_blocks">mine_blocks</a></li><li><a href="#method.mine_empty_block">mine_empty_block</a></li><li><a href="#method.new">new</a></li><li><a href="#method.reorg">reorg</a></li><li><a href="#method.reorg_empty_blocks">reorg_empty_blocks</a></li><li><a href="#method.reset_electrsd">reset_electrsd</a></li><li><a href="#method.rpc_client">rpc_client</a></li><li><a href="#method.send">send</a></li><li><a href="#method.wait_until_electrum_sees_block">wait_until_electrum_sees_block</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-TestEnv">!RefUnwindSafe</a></li><li><a href="#impl-Send-for-TestEnv">Send</a></li><li><a href="#impl-Sync-for-TestEnv">Sync</a></li><li><a href="#impl-Unpin-for-TestEnv">Unpin</a></li><li><a href="#impl-UnwindSafe-for-TestEnv">!UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-TestEnv">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-TestEnv">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-TestEnv">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-TestEnv">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-TestEnv">Into&lt;U&gt;</a></li><li><a href="#impl-IntoEither-for-TestEnv">IntoEither</a></li><li><a href="#impl-TryFrom%3CU%3E-for-TestEnv">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-TestEnv">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-TestEnv">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_testenv</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Struct <a href="index.html">bdk_testenv</a>::<wbr><a class="struct" href="#">TestEnv</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/bdk_testenv/lib.rs.html#19-22">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust struct"><code>pub struct TestEnv {
+<!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="Struct for running a regtest environment with a single `bitcoind` node with an `electrs` instance connected to it."><meta name="keywords" content="rust, rustlang, rust-lang, TestEnv"><title>TestEnv in bdk_testenv - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-1f7d512b176f0f72.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-124a1ca42af929b6.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-64f7dca12162a801.css" id="mainThemeStyle"><link rel="stylesheet" id="themeStyle" href="../static.files/light-ebce58d0a40c3431.css"><link rel="stylesheet" disabled href="../static.files/dark-f23faae4a2daf9a6.css"><link rel="stylesheet" disabled href="../static.files/ayu-94f39d4346842c1e.css"><script id="default-settings" ></script><script src="../static.files/storage-d43fa987303ecbbb.js"></script><script defer src="sidebar-items.js"></script><script defer src="../static.files/main-a211dbb005fb8161.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-13285aec31fa243e.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc struct"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../bdk_testenv/index.html"><div class="logo-container"><img class="rust-logo" src="../static.files/rust-logo-151179464ae7ed46.svg" alt="logo"></div></a><h2 class="location"><a href="#">TestEnv</a></h2><div class="sidebar-elems"><section><h3><a href="#fields">Fields</a></h3><ul class="block"><li><a href="#structfield.bitcoind">bitcoind</a></li><li><a href="#structfield.electrsd">electrsd</a></li></ul><h3><a href="#implementations">Methods</a></h3><ul class="block"><li><a href="#method.electrum_client">electrum_client</a></li><li><a href="#method.genesis_hash">genesis_hash</a></li><li><a href="#method.invalidate_blocks">invalidate_blocks</a></li><li><a href="#method.make_checkpoint_tip">make_checkpoint_tip</a></li><li><a href="#method.mine_blocks">mine_blocks</a></li><li><a href="#method.mine_empty_block">mine_empty_block</a></li><li><a href="#method.new">new</a></li><li><a href="#method.reorg">reorg</a></li><li><a href="#method.reorg_empty_blocks">reorg_empty_blocks</a></li><li><a href="#method.reset_electrsd">reset_electrsd</a></li><li><a href="#method.rpc_client">rpc_client</a></li><li><a href="#method.send">send</a></li><li><a href="#method.wait_until_electrum_sees_block">wait_until_electrum_sees_block</a></li></ul><h3><a href="#synthetic-implementations">Auto Trait Implementations</a></h3><ul class="block"><li><a href="#impl-RefUnwindSafe-for-TestEnv">!RefUnwindSafe</a></li><li><a href="#impl-Send-for-TestEnv">Send</a></li><li><a href="#impl-Sync-for-TestEnv">Sync</a></li><li><a href="#impl-Unpin-for-TestEnv">Unpin</a></li><li><a href="#impl-UnwindSafe-for-TestEnv">!UnwindSafe</a></li></ul><h3><a href="#blanket-implementations">Blanket Implementations</a></h3><ul class="block"><li><a href="#impl-Any-for-TestEnv">Any</a></li><li><a href="#impl-Borrow%3CT%3E-for-TestEnv">Borrow&lt;T&gt;</a></li><li><a href="#impl-BorrowMut%3CT%3E-for-TestEnv">BorrowMut&lt;T&gt;</a></li><li><a href="#impl-From%3CT%3E-for-TestEnv">From&lt;T&gt;</a></li><li><a href="#impl-Into%3CU%3E-for-TestEnv">Into&lt;U&gt;</a></li><li><a href="#impl-IntoEither-for-TestEnv">IntoEither</a></li><li><a href="#impl-TryFrom%3CU%3E-for-TestEnv">TryFrom&lt;U&gt;</a></li><li><a href="#impl-TryInto%3CU%3E-for-TestEnv">TryInto&lt;U&gt;</a></li><li><a href="#impl-VZip%3CV%3E-for-TestEnv">VZip&lt;V&gt;</a></li></ul></section><h2><a href="index.html">In bdk_testenv</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-5ec35bf9ca753509.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Struct <a href="index.html">bdk_testenv</a>::<wbr><a class="struct" href="#">TestEnv</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/bdk_testenv/lib.rs.html#24-27">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust struct"><code>pub struct TestEnv {
     pub bitcoind: BitcoinD,
     pub electrsd: ElectrsD,
 }</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Struct for running a regtest environment with a single <code>bitcoind</code> node with an <code>electrs</code>
 instance connected to it.</p>
-</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.bitcoind" class="structfield small-section-header"><a href="#structfield.bitcoind" class="anchor field">§</a><code>bitcoind: BitcoinD</code></span><span id="structfield.electrsd" class="structfield small-section-header"><a href="#structfield.electrsd" class="anchor field">§</a><code>electrsd: ElectrsD</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-TestEnv" class="impl has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#24-259">source</a><a href="#impl-TestEnv" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.TestEnv.html" title="struct bdk_testenv::TestEnv">TestEnv</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#26-55">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Construct a new <a href="struct.TestEnv.html" title="TestEnv"><code>TestEnv</code></a> instance with default configurations.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.electrum_client" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#58-60">source</a><h4 class="code-header">pub fn <a href="#method.electrum_client" class="fn">electrum_client</a>(&amp;self) -&gt; &amp;impl ElectrumApi</h4></section></summary><div class="docblock"><p>Exposes the [<code>ElectrumApi</code>] calls from the Electrum client.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.rpc_client" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#63-65">source</a><h4 class="code-header">pub fn <a href="#method.rpc_client" class="fn">rpc_client</a>(&amp;self) -&gt; &amp;impl RpcApi</h4></section></summary><div class="docblock"><p>Exposes the [<code>RpcApi</code>] calls from [<code>bitcoincore_rpc</code>].</p>
-</div></details><section id="method.reset_electrsd" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#68-83">source</a><h4 class="code-header">pub fn <a href="#method.reset_electrsd" class="fn">reset_electrsd</a>(self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mine_blocks" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#87-105">source</a><h4 class="code-header">pub fn <a href="#method.mine_blocks" class="fn">mine_blocks</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;address: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Address&gt;<br>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::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;BlockHash&gt;&gt;</h4></section></summary><div class="docblock"><p>Mine a number of blocks of a given size <code>count</code>, which may be specified to a given coinbase
+</div></details><h2 id="fields" class="fields small-section-header">Fields<a href="#fields" class="anchor">§</a></h2><span id="structfield.bitcoind" class="structfield small-section-header"><a href="#structfield.bitcoind" class="anchor field">§</a><code>bitcoind: BitcoinD</code></span><span id="structfield.electrsd" class="structfield small-section-header"><a href="#structfield.electrsd" class="anchor field">§</a><code>electrsd: ElectrsD</code></span><h2 id="implementations" class="small-section-header">Implementations<a href="#implementations" class="anchor">§</a></h2><div id="implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-TestEnv" class="impl has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#29-264">source</a><a href="#impl-TestEnv" class="anchor">§</a><h3 class="code-header">impl <a class="struct" href="struct.TestEnv.html" title="struct bdk_testenv::TestEnv">TestEnv</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.new" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#31-60">source</a><h4 class="code-header">pub fn <a href="#method.new" class="fn">new</a>() -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self&gt;</h4></section></summary><div class="docblock"><p>Construct a new <a href="struct.TestEnv.html" title="TestEnv"><code>TestEnv</code></a> instance with default configurations.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.electrum_client" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#63-65">source</a><h4 class="code-header">pub fn <a href="#method.electrum_client" class="fn">electrum_client</a>(&amp;self) -&gt; &amp;impl ElectrumApi</h4></section></summary><div class="docblock"><p>Exposes the [<code>ElectrumApi</code>] calls from the Electrum client.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.rpc_client" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#68-70">source</a><h4 class="code-header">pub fn <a href="#method.rpc_client" class="fn">rpc_client</a>(&amp;self) -&gt; &amp;impl RpcApi</h4></section></summary><div class="docblock"><p>Exposes the [<code>RpcApi</code>] calls from [<code>bitcoincore_rpc</code>].</p>
+</div></details><section id="method.reset_electrsd" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#73-88">source</a><h4 class="code-header">pub fn <a href="#method.reset_electrsd" class="fn">reset_electrsd</a>(self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Self&gt;</h4></section><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mine_blocks" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#92-110">source</a><h4 class="code-header">pub fn <a href="#method.mine_blocks" class="fn">mine_blocks</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;address: <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Address&gt;<br>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::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;BlockHash&gt;&gt;</h4></section></summary><div class="docblock"><p>Mine a number of blocks of a given size <code>count</code>, which may be specified to a given coinbase
 <code>address</code>.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mine_empty_block" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#108-163">source</a><h4 class="code-header">pub fn <a href="#method.mine_empty_block" class="fn">mine_empty_block</a>(&amp;self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, BlockHash)&gt;</h4></section></summary><div class="docblock"><p>Mine a block that is guaranteed to be empty even with transactions in the mempool.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.wait_until_electrum_sees_block" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#166-182">source</a><h4 class="code-header">pub fn <a href="#method.wait_until_electrum_sees_block" class="fn">wait_until_electrum_sees_block</a>(&amp;self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>This method waits for the Electrum notification indicating that a new block has been mined.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.invalidate_blocks" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#185-200">source</a><h4 class="code-header">pub fn <a href="#method.invalidate_blocks" class="fn">invalidate_blocks</a>(&amp;self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>Invalidate a number of blocks of a given size <code>count</code>.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.reorg" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#204-215">source</a><h4 class="code-header">pub fn <a href="#method.reorg" class="fn">reorg</a>(&amp;self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::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;BlockHash&gt;&gt;</h4></section></summary><div class="docblock"><p>Reorg a number of blocks of a given size <code>count</code>.
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.mine_empty_block" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#113-168">source</a><h4 class="code-header">pub fn <a href="#method.mine_empty_block" class="fn">mine_empty_block</a>(&amp;self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;(<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, BlockHash)&gt;</h4></section></summary><div class="docblock"><p>Mine a block that is guaranteed to be empty even with transactions in the mempool.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.wait_until_electrum_sees_block" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#171-187">source</a><h4 class="code-header">pub fn <a href="#method.wait_until_electrum_sees_block" class="fn">wait_until_electrum_sees_block</a>(&amp;self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>This method waits for the Electrum notification indicating that a new block has been mined.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.invalidate_blocks" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#190-205">source</a><h4 class="code-header">pub fn <a href="#method.invalidate_blocks" class="fn">invalidate_blocks</a>(&amp;self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>&gt;</h4></section></summary><div class="docblock"><p>Invalidate a number of blocks of a given size <code>count</code>.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.reorg" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#209-220">source</a><h4 class="code-header">pub fn <a href="#method.reorg" class="fn">reorg</a>(&amp;self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::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;BlockHash&gt;&gt;</h4></section></summary><div class="docblock"><p>Reorg a number of blocks of a given size <code>count</code>.
 Refer to <a href="struct.TestEnv.html#method.mine_empty_block" title="TestEnv::mine_empty_block"><code>TestEnv::mine_empty_block</code></a> for more information.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.reorg_empty_blocks" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#218-231">source</a><h4 class="code-header">pub fn <a href="#method.reorg_empty_blocks" class="fn">reorg_empty_blocks</a>(&amp;self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, BlockHash)&gt;&gt;</h4></section></summary><div class="docblock"><p>Reorg with a number of empty blocks of a given size <code>count</code>.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.send" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#234-240">source</a><h4 class="code-header">pub fn <a href="#method.send" class="fn">send</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;address: &amp;Address&lt;NetworkChecked&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;amount: Amount<br>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Txid&gt;</h4></section></summary><div class="docblock"><p>Send a tx of a given <code>amount</code> to a given <code>address</code>.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.make_checkpoint_tip" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#243-252">source</a><h4 class="code-header">pub fn <a href="#method.make_checkpoint_tip" class="fn">make_checkpoint_tip</a>(&amp;self) -&gt; <a class="struct" href="../bdk_chain/local_chain/struct.CheckPoint.html" title="struct bdk_chain::local_chain::CheckPoint">CheckPoint</a></h4></section></summary><div class="docblock"><p>Create a checkpoint linked list of all the blocks in the chain.</p>
-</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.genesis_hash" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#255-258">source</a><h4 class="code-header">pub fn <a href="#method.genesis_hash" class="fn">genesis_hash</a>(&amp;self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;BlockHash&gt;</h4></section></summary><div class="docblock"><p>Get the genesis hash of the blockchain.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.reorg_empty_blocks" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#223-236">source</a><h4 class="code-header">pub fn <a href="#method.reorg_empty_blocks" class="fn">reorg_empty_blocks</a>(&amp;self, count: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::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="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, BlockHash)&gt;&gt;</h4></section></summary><div class="docblock"><p>Reorg with a number of empty blocks of a given size <code>count</code>.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.send" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#239-245">source</a><h4 class="code-header">pub fn <a href="#method.send" class="fn">send</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;&amp;self,<br>&nbsp;&nbsp;&nbsp;&nbsp;address: &amp;Address&lt;NetworkChecked&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;amount: Amount<br>) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;Txid&gt;</h4></section></summary><div class="docblock"><p>Send a tx of a given <code>amount</code> to a given <code>address</code>.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.make_checkpoint_tip" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#248-257">source</a><h4 class="code-header">pub fn <a href="#method.make_checkpoint_tip" class="fn">make_checkpoint_tip</a>(&amp;self) -&gt; <a class="struct" href="../bdk_chain/local_chain/struct.CheckPoint.html" title="struct bdk_chain::local_chain::CheckPoint">CheckPoint</a></h4></section></summary><div class="docblock"><p>Create a checkpoint linked list of all the blocks in the chain.</p>
+</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.genesis_hash" class="method has-srclink"><a class="srclink rightside" href="../src/bdk_testenv/lib.rs.html#260-263">source</a><h4 class="code-header">pub fn <a href="#method.genesis_hash" class="fn">genesis_hash</a>(&amp;self) -&gt; <a class="type" href="https://docs.rs/anyhow/1.0.82/anyhow/type.Result.html" title="type anyhow::Result">Result</a>&lt;BlockHash&gt;</h4></section></summary><div class="docblock"><p>Get the genesis hash of the blockchain.</p>
 </div></details></div></details></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"><section id="impl-RefUnwindSafe-for-TestEnv" class="impl has-srclink"><a href="#impl-RefUnwindSafe-for-TestEnv" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.RefUnwindSafe.html" title="trait core::panic::unwind_safe::RefUnwindSafe">RefUnwindSafe</a> for <a class="struct" href="struct.TestEnv.html" title="struct bdk_testenv::TestEnv">TestEnv</a></h3></section><section id="impl-Send-for-TestEnv" class="impl has-srclink"><a href="#impl-Send-for-TestEnv" class="anchor">§</a><h3 class="code-header">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="struct.TestEnv.html" title="struct bdk_testenv::TestEnv">TestEnv</a></h3></section><section id="impl-Sync-for-TestEnv" class="impl has-srclink"><a href="#impl-Sync-for-TestEnv" class="anchor">§</a><h3 class="code-header">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="struct.TestEnv.html" title="struct bdk_testenv::TestEnv">TestEnv</a></h3></section><section id="impl-Unpin-for-TestEnv" class="impl has-srclink"><a href="#impl-Unpin-for-TestEnv" class="anchor">§</a><h3 class="code-header">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="struct.TestEnv.html" title="struct bdk_testenv::TestEnv">TestEnv</a></h3></section><section id="impl-UnwindSafe-for-TestEnv" class="impl has-srclink"><a href="#impl-UnwindSafe-for-TestEnv" class="anchor">§</a><h3 class="code-header">impl !<a class="trait" href="https://doc.rust-lang.org/nightly/core/panic/unwind_safe/trait.UnwindSafe.html" title="trait core::panic::unwind_safe::UnwindSafe">UnwindSafe</a> for <a class="struct" href="struct.TestEnv.html" title="struct bdk_testenv::TestEnv">TestEnv</a></h3></section></div><h2 id="blanket-implementations" class="small-section-header">Blanket Implementations<a href="#blanket-implementations" class="anchor">§</a></h2><div id="blanket-implementations-list"><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Any-for-TestEnv" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#200">source</a><a href="#impl-Any-for-TestEnv" class="anchor">§</a><h3 class="code-header">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>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.type_id" class="method trait-impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/any.rs.html#201">source</a><a href="#method.type_id" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id" class="fn">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></h4></section></summary><div class='docblock'>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></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Borrow%3CT%3E-for-TestEnv" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#211">source</a><a href="#impl-Borrow%3CT%3E-for-TestEnv" class="anchor">§</a><h3 class="code-header">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>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213">source</a></span><a href="#method.borrow" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow" class="fn">borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</h4></section></summary><div class='docblock'>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-BorrowMut%3CT%3E-for-TestEnv" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#220">source</a><a href="#impl-BorrowMut%3CT%3E-for-TestEnv" class="anchor">§</a><h3 class="code-header">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>,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.borrow_mut" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/91522" title="Tracking issue for const_borrow">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#221">source</a></span><a href="#method.borrow_mut" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut" class="fn">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</h4></section></summary><div class='docblock'>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></div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-From%3CT%3E-for-TestEnv" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#733">source</a><a href="#impl-From%3CT%3E-for-TestEnv" class="anchor">§</a><h3 class="code-header">impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.from" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#736">source</a></span><a href="#method.from" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from" class="fn">from</a>(t: T) -&gt; T</h4></section></summary><div class="docblock"><p>Returns the argument unchanged.</p>
 </div></details></div></details><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-Into%3CU%3E-for-TestEnv" class="impl has-srclink"><a class="srclink rightside" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#717">source</a><a href="#impl-Into%3CU%3E-for-TestEnv" class="anchor">§</a><h3 class="code-header">impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,</span></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.into" class="method trait-impl has-srclink"><span class="rightside"><span class="since" title="const unstable">const: <a href="https://github.com/rust-lang/rust/issues/88674" title="Tracking issue for const_convert">unstable</a></span> · <a class="srclink" href="https://doc.rust-lang.org/nightly/src/core/convert/mod.rs.html#725">source</a></span><a href="#method.into" class="anchor">§</a><h4 class="code-header">fn <a href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into" class="fn">into</a>(self) -&gt; U</h4></section></summary><div class="docblock"><p>Calls <code>U::from(self)</code>.</p>
 <p>That is, this conversion is whatever the implementation of
index 7632356307dfcd9eea39f4e58969cb915e4babe7..dbc8c525984f0869a81d5e54fb7032f2e4cf07f2 100644 (file)
@@ -8,7 +8,7 @@ var searchIndex = JSON.parse('{\
 "bdk_file_store":{"doc":"BDK File Store","t":[3,13,3,4,13,13,13,4,3,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12],"n":["AggregateChangesetsError","Bincode","EntryIter","FileError","InvalidMagicBytes","Io","Io","IterError","Store","aggregate_changesets","append_changeset","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","changeset","create_new","drop","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","into","into","into","into","into","into_iter","iter_changesets","iter_error","load_from_persistence","new","next","open","open_or_create_new","provide","provide","provide","to_string","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","write_changes","expected","got"],"q":["bdk_file_store","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_file_store::FileError",""],"d":["Error type for <code>Store::aggregate_changesets</code>.","Failure to decode data from the file.","Iterator over entries in a file store.","Error that occurs due to problems encountered with the …","Magic bytes do not match what is expected.","Failure to read from the file.","IO error, this may mean that the file is too short.","Error type for <code>EntryIter</code>.","Persists an append-only list of changesets (<code>C</code>) to a single …","Loads all the changesets that have been stored as one …","Append a new changeset to the file and truncate the file …","","","","","","","","","","","The partially-aggregated changeset.","Create a new <code>Store</code> file in write-only mode; error if the …","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","","Iterates over the stored changeset from first to last, …","The error returned by <code>EntryIter</code>.","","","","Open an existing <code>Store</code>.","Attempt to open existing <code>Store</code> file; create it if the file …","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"i":[0,8,0,0,6,8,6,0,0,1,1,7,8,1,3,6,7,8,1,3,6,3,1,7,8,8,1,3,3,6,6,7,8,8,1,3,6,6,7,8,1,3,6,7,1,3,1,7,7,1,1,8,3,6,8,3,6,7,8,1,3,6,7,8,1,3,6,7,8,1,3,6,7,8,1,3,6,1,18,18],"f":[0,0,0,0,0,0,0,0,0,[1,[[4,[2,3]]]],[1,[[4,[5]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,[[],[[4,[1,6]]]],[7],[[8,9],10],[[8,9],10],[[1,9],10],[[[3,[11]],9],10],[[3,9],10],[[6,9],10],[[6,9],10],[[]],[[]],[5,8],[[]],[[]],[[]],[5,6],[[]],[[]],[[]],[[]],[[]],[[]],[1,7],0,[1,[[12,[2]]]],[[13,14],7],[7,2],[[],[[4,[1,6]]]],[[],[[4,[1,6]]]],[15],[15],[15],[[],16],[[],16],[[],16],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],4],[[],17],[[],17],[[],17],[[],17],[[],17],[[]],[[]],[[]],[[]],[[]],[1,12],0,0],"p":[[3,"Store"],[4,"Option"],[3,"AggregateChangesetsError"],[4,"Result"],[3,"Error"],[4,"FileError"],[3,"EntryIter"],[4,"IterError"],[3,"Formatter"],[6,"Result"],[8,"Debug"],[6,"Result"],[15,"u64"],[3,"File"],[3,"Demand"],[3,"String"],[3,"TypeId"],[13,"InvalidMagicBytes"]]},\
 "bdk_hwi":{"doc":"HWI Signer","t":[3,11,11,11,11,11,11,11,11,11,11,11,11],"n":["HWISigner","borrow","borrow_mut","fmt","from","from_device","id","into","sign_transaction","try_from","try_into","type_id","vzip"],"q":["bdk_hwi","","","","","","","","","","","",""],"d":["Custom signer for Hardware Wallets","","","","Returns the argument unchanged.","Create a instance from the specified device and chain","","Calls <code>U::from(self)</code>.","","","","",""],"i":[0,1,1,1,1,1,1,1,1,1,1,1,1],"f":[0,[[]],[[]],[[1,2],3],[[]],[[4,5],[[7,[1,6]]]],[[1,8],9],[[]],[[1,10,11,8],[[7,[12]]]],[[],7],[[],7],[[],13],[[]]],"p":[[3,"HWISigner"],[3,"Formatter"],[6,"Result"],[3,"HWIDevice"],[3,"HWIChain"],[4,"Error"],[4,"Result"],[3,"Secp256k1"],[4,"SignerId"],[3,"Psbt"],[3,"SignOptions"],[4,"SignerError"],[3,"TypeId"]]},\
 "bdk_persist":{"doc":"BDK Persist","t":[3,8,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,10],"n":["Persist","PersistBackend","borrow","borrow_mut","commit","fmt","from","into","load_from_persistence","new","stage","stage_and_commit","staged","try_from","try_into","type_id","vzip","write_changes"],"q":["bdk_persist","","","","","","","","","","","","","","","","",""],"d":["<code>Persist</code> wraps a <code>PersistBackend</code> to create a convenient …","A persistence backend for <code>Persist</code>.","","","Commit the staged changes to the underlying persistence …","","Returns the argument unchanged.","Calls <code>U::from(self)</code>.","Return the aggregate changeset <code>C</code> from persistence.","Create a new <code>Persist</code> from <code>PersistBackend</code>.","Stage a <code>changeset</code> to be committed later with <code>commit</code>.","Stages a new changeset and commits it (along with any …","Get the changes that have not been committed yet.","","","","","Writes a changeset to the persistence backend."],"i":[0,0,1,1,1,1,1,1,8,1,1,1,1,1,1,1,1,8],"f":[0,0,[[]],[[]],[1,[[3,[2]]]],[[[1,[4]],5],[[7,[6]]]],[[]],[[]],[[],[[3,[2]]]],[[[0,[8,9,10]]],1],[1],[1,[[3,[2]]]],[1],[[],7],[[],7],[[],11],[[]],[[],3]],"p":[[3,"Persist"],[4,"Option"],[6,"Result"],[8,"Debug"],[3,"Formatter"],[3,"Error"],[4,"Result"],[8,"PersistBackend"],[8,"Send"],[8,"Sync"],[3,"TypeId"]]},\
-"bdk_testenv":{"doc":"","t":[3,12,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["TestEnv","bitcoind","borrow","borrow_mut","electrsd","electrum_client","from","genesis_hash","into","invalidate_blocks","make_checkpoint_tip","mine_blocks","mine_empty_block","new","reorg","reorg_empty_blocks","reset_electrsd","rpc_client","send","try_from","try_into","type_id","vzip","wait_until_electrum_sees_block"],"q":["bdk_testenv","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Struct for running a regtest environment with a single …","","","","","Exposes the <code>ElectrumApi</code> calls from the Electrum client.","Returns the argument unchanged.","Get the genesis hash of the blockchain.","Calls <code>U::from(self)</code>.","Invalidate a number of blocks of a given size <code>count</code>.","Create a checkpoint linked list of all the blocks in the …","Mine a number of blocks of a given size <code>count</code>, which may …","Mine a block that is guaranteed to be empty even with …","Construct a new <code>TestEnv</code> instance with default …","Reorg a number of blocks of a given size <code>count</code>. Refer to …","Reorg with a number of empty blocks of a given size <code>count</code>.","","Exposes the <code>RpcApi</code> calls from <code>bitcoincore_rpc</code>.","Send a tx of a given <code>amount</code> to a given <code>address</code>.","","","","","This method waits for the Electrum notification indicating …"],"i":[0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"f":[0,0,[[]],[[]],0,[1],[[]],[1,[[3,[2]]]],[[]],[[1,4],3],[1,5],[[1,4,[7,[6]]],[[3,[[8,[2]]]]]],[1,3],[[],[[3,[1]]]],[[1,4],[[3,[[8,[2]]]]]],[[1,4],[[3,[8]]]],[1,[[3,[1]]]],[1],[[1,6,9],[[3,[10]]]],[[],11],[[],11],[[],12],[[]],[1,3]],"p":[[3,"TestEnv"],[3,"BlockHash"],[6,"Result"],[15,"usize"],[3,"CheckPoint"],[3,"Address"],[4,"Option"],[3,"Vec"],[3,"Amount"],[3,"Txid"],[4,"Result"],[3,"TypeId"]]},\
+"bdk_testenv":{"doc":"","t":[3,2,2,2,12,11,11,2,12,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11],"n":["TestEnv","anyhow","bitcoincore_rpc","bitcoind","bitcoind","borrow","borrow_mut","electrsd","electrsd","electrum_client","electrum_client","from","genesis_hash","into","invalidate_blocks","make_checkpoint_tip","mine_blocks","mine_empty_block","new","reorg","reorg_empty_blocks","reset_electrsd","rpc_client","send","try_from","try_into","type_id","vzip","wait_until_electrum_sees_block"],"q":["bdk_testenv","","","","","","","","","","","","","","","","","","","","","","","","","","","",""],"d":["Struct for running a regtest environment with a single …","","","","","","","","","","Exposes the <code>ElectrumApi</code> calls from the Electrum client.","Returns the argument unchanged.","Get the genesis hash of the blockchain.","Calls <code>U::from(self)</code>.","Invalidate a number of blocks of a given size <code>count</code>.","Create a checkpoint linked list of all the blocks in the …","Mine a number of blocks of a given size <code>count</code>, which may …","Mine a block that is guaranteed to be empty even with …","Construct a new <code>TestEnv</code> instance with default …","Reorg a number of blocks of a given size <code>count</code>. Refer to …","Reorg with a number of empty blocks of a given size <code>count</code>.","","Exposes the <code>RpcApi</code> calls from <code>bitcoincore_rpc</code>.","Send a tx of a given <code>amount</code> to a given <code>address</code>.","","","","","This method waits for the Electrum notification indicating …"],"i":[0,0,0,0,1,1,1,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],"f":[0,0,0,0,0,[[]],[[]],0,0,0,[1],[[]],[1,[[3,[2]]]],[[]],[[1,4],3],[1,5],[[1,4,[7,[6]]],[[3,[[8,[2]]]]]],[1,3],[[],[[3,[1]]]],[[1,4],[[3,[[8,[2]]]]]],[[1,4],[[3,[8]]]],[1,[[3,[1]]]],[1],[[1,6,9],[[3,[10]]]],[[],11],[[],11],[[],12],[[]],[1,3]],"p":[[3,"TestEnv"],[3,"BlockHash"],[6,"Result"],[15,"usize"],[3,"CheckPoint"],[3,"Address"],[4,"Option"],[3,"Vec"],[3,"Amount"],[3,"Txid"],[4,"Result"],[3,"TypeId"]]},\
 "bdk_tmp_plan":{"doc":"A spending plan or <em>plan</em> for short is a representation of a …","t":[3,8,13,13,13,13,3,3,4,4,3,3,13,13,4,13,13,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,11,11,11,11,11,11,11,11,12,12,11,5,11,11,11,11,11,12,12,12,12,12,12,12,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12],"n":["Assets","CanDerive","Complete","DerivationError","Incomplete","Legacy","Plan","PlanKey","PlanState","RequiredSignatures","Requirements","SatisfactionMaterial","Segwitv0","SigHashError","SigningError","TapKey","TapScript","asset_key","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","can_derive","clone","clone","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","clone_into","default","default","default","default","derivation_hint","descriptor_key","ecdsa_sigs","expected_weight","fmt","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from","from","hash160","hash160_images","hash160_preimages","hash256","hash256_images","hash256_preimages","into","into","into","into","into","into","into","into","keys","max_locktime","min_version","plan_satisfaction","provide","required_locktime","required_sequence","requirements","requires_hash_preimages","ripemd160","ripemd160_images","ripemd160_preimages","schnorr_sigs","sha256","sha256_images","sha256_preimages","sign_with_keymap","signatures","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","try_complete","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","txo_age","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","witness_version","final_script_sig","final_script_witness","keys","keys","leaf_hash","merkle_root","plan_key","plan_keys"],"q":["bdk_tmp_plan","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bdk_tmp_plan::PlanState","","bdk_tmp_plan::RequiredSignatures","","","","",""],"d":["","","The plan is complete","","","Legacy ECDSA signatures are required","A plan represents a particular spending path for a …","A plan key contains the asset key originally provided …","The returned value from <code>Plan::try_complete</code>.","The signatures required to complete the plan","Signatures and hash pre-images that must be provided to …","Signatures and hash pre-images that can be used to …","Segwitv0 ECDSA signatures are required","","","A Taproot key spend signature is required","Taproot script path signatures are required","The key the planner will sign with","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A hint from how to get from the asset key to the concrete …","The key that was in the descriptor that we are satisfying …","ECDSA signatures under their keys","The expected satisfaction weight for the plan if it is …","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","Returns the argument unchanged.","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","required hash160 pre-images","hash160 pre-images under their images","","required hash256 pre-images","hash256 pre-images under their images","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","","","The minimum required transaction version required on the …","","","The minimum required locktime height or time on the …","The minimum required sequence (height or time) on the …","","Whether any hash pre-images are required in the plan","","required ripemd160 pre-images","ripemd160 pre-images under their images","Schnorr signautres under their keys","","required sha256 pre-images","SHA256 pre-images under their images","","required signatures","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Witness version for the plan","The script sig that should be set on the input","The witness that should be set on the input","","","The leaf hash of the script being used","The merkle root of the taproot output","the internal key","The keys in the script that require signatures"],"i":[0,0,33,7,33,6,0,0,0,0,0,0,6,7,0,6,6,8,33,5,6,7,8,9,10,11,33,5,6,7,8,9,10,11,36,5,6,7,8,9,10,11,5,6,7,8,9,10,11,5,6,10,11,8,8,10,9,5,6,7,7,8,9,10,11,33,5,6,7,7,7,8,9,10,11,11,5,10,11,5,10,33,5,6,7,8,9,10,11,11,11,9,0,7,9,9,9,5,11,5,10,10,11,5,10,6,5,5,6,7,8,9,10,11,7,9,33,5,6,7,8,9,10,11,33,5,6,7,8,9,10,11,11,33,5,6,7,8,9,10,11,33,5,6,7,8,9,10,11,9,37,37,38,39,40,41,41,40],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[1,[[3,[2]]]],[[[5,[4]]],[[5,[4]]]],[[[6,[4]]],[[6,[4]]]],[7,7],[[[8,[4]]],[[8,[4]]]],[[[9,[4]]],[[9,[4]]]],[10,10],[[[11,[4]]],[[11,[4]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],5],[[],6],[[],10],[[],11],0,0,0,[9,12],[[[5,[13]],14],15],[[[6,[13]],14],15],[[7,14],15],[[7,14],15],[[[8,[13]],14],15],[[[9,[13]],14],15],[[10,14],15],[[[11,[13]],14],15],[[]],[[]],[[]],[16,7],[[]],[17,7],[[]],[[]],[[]],[[]],0,0,0,0,0,0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,[9,[[3,[18]]]],[[19,11],[[3,[9]]]],[20],[9,[[3,[21]]]],[9,[[3,[22]]]],[9,5],[5,23],0,0,0,0,0,0,0,[[[6,[24]],12,25,26,[3,[27]],[3,[28]],29,10,30],[[31,[23,7]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],32],[[9,10],33],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],[[],31],0,[[],34],[[],34],[[],34],[[],34],[[],34],[[],34],[[],34],[[],34],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,[[3,[35]]]],0,0,0,0,0,0,0,0],"p":[[3,"DefiniteDescriptorKey"],[3,"DerivationPath"],[4,"Option"],[8,"Clone"],[3,"Requirements"],[4,"RequiredSignatures"],[4,"SigningError"],[3,"PlanKey"],[3,"Plan"],[3,"SatisfactionMaterial"],[3,"Assets"],[15,"usize"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[4,"Error"],[4,"Error"],[15,"u32"],[4,"Descriptor"],[3,"Demand"],[4,"LockTime"],[3,"Sequence"],[15,"bool"],[4,"DescriptorPublicKey"],[6,"KeyMap"],[4,"Prevouts"],[4,"TapSighashType"],[4,"EcdsaSighashType"],[3,"SighashCache"],[3,"Secp256k1"],[4,"Result"],[3,"String"],[4,"PlanState"],[3,"TypeId"],[4,"WitnessVersion"],[8,"CanDerive"],[13,"Complete"],[13,"Legacy"],[13,"Segwitv0"],[13,"TapScript"],[13,"TapKey"]]},\
 "example_bitcoind_rpc_polling":{"doc":"","t":[13,17,6,17,17,17,4,13,17,13,3,4,17,13,13,11,11,11,11,5,11,11,11,11,11,11,11,11,11,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,11,12,12,12,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,11,11,11,12,12],"n":["Block","CHANNEL_BOUND","ChangeSet","DB_COMMIT_DELAY","DB_MAGIC","DB_PATH","Emission","Live","MEMPOOL_EMIT_DELAY","Mempool","RpcArgs","RpcCommands","STDOUT_PRINT_DELAY","Sync","Tip","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","await_flag","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","fallback_height","fmt","fmt","fmt","from","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","has_subcommand","into","into","into","main","new_client","rpc_cookie","rpc_password","rpc_user","start_ctrlc_handler","to_owned","to_owned","try_from","try_from","try_from","try_into","try_into","try_into","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","url","vzip","vzip","vzip","rpc_args","rpc_args"],"q":["example_bitcoind_rpc_polling","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","example_bitcoind_rpc_polling::RpcCommands",""],"d":["","The mpsc channel bound for emissions from <code>Emitter</code>.","","Delay for committing to persistence.","","","","Sync by having the emitter logic in a separate thread","Delay between mempool emissions.","","","","Delay for printing status to stdout.","Syncs local state with remote state via RPC (starting from …","","","","","","","","","","","","","","","","","Starting block height to fallback to if no point of …","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","","","RPC auth cookie file","RPC auth password","RPC auth username","","","","","","","","","","","","","","","","","RPC URL","","","","",""],"i":[7,0,0,0,0,0,0,6,0,7,0,0,0,6,7,5,5,6,6,0,7,5,6,7,5,6,5,6,5,6,5,7,5,6,7,5,6,5,6,5,6,6,7,5,6,0,5,5,5,5,0,5,6,7,5,6,7,5,6,7,5,6,5,6,5,6,5,7,5,6,18,19],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,1],[1,1],[1,1],[1,1],[[2,3],4],[[]],[[]],[[]],[[]],[[]],[[]],[5,5],[6,6],[[]],[[]],0,[[7,8],9],[[5,8],9],[[6,8],9],[[]],[[]],[[]],[10,[[12,[5,11]]]],[10,[[12,[6,11]]]],[10,[[12,[5,11]]]],[10,[[12,[6,11]]]],[13,4],[[]],[[]],[[]],[[],14],[5,[[14,[15]]]],0,0,0,[[],[[16,[2]]]],[[]],[[]],[[],12],[[],12],[[],12],[[],12],[[],12],[[],12],[[],17],[[],17],[[],17],[[5,10],[[12,[11]]]],[[6,10],[[12,[11]]]],[[5,10],[[12,[11]]]],[[6,10],[[12,[11]]]],0,[[]],[[]],[[]],0,0],"p":[[6,"Command"],[3,"AtomicBool"],[3,"Duration"],[15,"bool"],[3,"RpcArgs"],[4,"RpcCommands"],[4,"Emission"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[3,"Error"],[4,"Result"],[15,"str"],[6,"Result"],[3,"Client"],[3,"Arc"],[3,"TypeId"],[13,"Sync"],[13,"Live"]]},\
 "example_cli":{"doc":"","t":[13,4,3,13,13,13,4,4,3,13,13,3,13,4,6,6,13,13,13,13,13,13,13,6,13,13,13,4,2,12,11,11,11,11,11,11,11,11,2,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,2,11,11,11,11,11,11,11,11,11,11,11,12,12,5,12,12,11,12,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,5,11,11,11,12,12,12,5,12,11,11,11,11,11,11,11,11,11,11,12,12,11,5,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12],"n":["Address","AddressCmd","Args","Balance","BranchAndBound","ChainSpecific","CoinSelectionAlgo","Commands","CreateTxChange","External","Index","Init","Internal","Keychain","KeychainChangeSet","KeychainTxGraph","LargestFirst","List","List","New","NewestFirst","Next","OldestFirst","PlannedUtxo","Send","SmallestFirst","TxOut","TxOutCmd","anyhow","args","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands","augment_subcommands","augment_subcommands_for_update","augment_subcommands_for_update","augment_subcommands_for_update","bdk_file_store","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","borrow_mut","change_descriptor","change_keychain","clap","clone","clone","clone","clone","clone","clone_into","clone_into","clone_into","clone_into","clone_into","cmp","command","cp_limit","create_tx","db","db_path","default","descriptor","deserialize","eq","equivalent","fmt","fmt","fmt","fmt","fmt","fmt","fmt","from","from","from","from","from","from","from","from","from_arg_matches","from_arg_matches","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","from_arg_matches_mut","from_arg_matches_mut","from_str","handle_commands","has_subcommand","has_subcommand","has_subcommand","index","index","index_changeset","init","init_changeset","into","into","into","into","into","into","into","into","into_app","into_app_for_update","keymap","network","partial_cmp","planned_utxos","serialize","to_owned","to_owned","to_owned","to_owned","to_owned","to_string","to_string","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_from","try_into","try_into","try_into","try_into","try_into","try_into","try_into","try_into","type_id","type_id","type_id","type_id","type_id","type_id","type_id","type_id","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","vzip","vzip","vzip","vzip","vzip","vzip","change","addr_cmd","address","chain_specific","coin_select","txout_cmd","value","confirmed","spent","unconfirmed","unspent"],"q":["example_cli","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","example_cli::AddressCmd","example_cli::Commands","","","","","","example_cli::TxOutCmd","","",""],"d":["Address generation and inspection.","","","Get the wallet balance.","","","","","","","Get last revealed address index for each keychain.","The initial state returned by <code>init</code>.","","","","","","List all addresses","List transaction outputs.","Get a new address regardless of the existing unused …","","Get the next unused address.","","","Send coins to an address.","","TxOut related commands.","","","Arguments parsed by the cli.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Persistence backend.","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","","","","","","","","","","Keychain-txout index.","","Parses command line arguments and initializes all …","Initial changeset.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","Calls <code>U::from(self)</code>.","","","Descriptor keymap.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","List change addresses","","Destination address","","","","Amount to send in satoshis","Return only confirmed outputs.","Return only spent outputs.","Return only unconfirmed outputs.","Return only unspent outputs."],"i":[5,0,0,5,6,5,0,0,0,9,7,0,9,0,0,0,6,7,8,7,6,7,6,0,5,6,5,0,0,28,22,22,5,7,8,5,7,8,0,37,28,22,5,6,7,8,9,37,28,22,5,6,7,8,9,22,37,0,5,6,7,8,9,5,6,7,8,9,9,22,22,0,28,22,6,22,9,9,9,5,6,6,7,8,9,9,37,28,22,5,6,7,8,9,22,5,7,8,22,5,7,8,6,0,5,7,8,37,28,37,0,28,37,28,22,5,6,7,8,9,22,22,28,22,9,0,9,5,6,7,8,9,6,9,37,28,22,5,6,7,8,9,37,28,22,5,6,7,8,9,37,28,22,5,6,7,8,9,22,5,7,8,22,5,7,8,37,28,22,5,6,7,8,9,38,39,40,40,40,41,40,42,42,42,42],"f":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,[1,1],[1,1],[1,1],[1,1],[1,1],[1,1],[1,1],[1,1],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,[[[5,[[0,[2,3]],[0,[2,4]]]]],[[5,[[0,[2,3]],[0,[2,4]]]]]],[6,6],[7,7],[8,8],[9,9],[[]],[[]],[[]],[[]],[[]],[[9,9],10],0,0,[[11,12,6,13,14],15],0,0,[[],6],0,[[],[[16,[9]]]],[[9,9],17],[[],17],[[[5,[[0,[18,3]],[0,[18,4]]]],19],20],[[6,19],20],[[6,19],20],[[7,19],20],[[8,19],20],[[9,19],20],[[9,19],20],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[21,[[16,[[22,[3,4]],23]]]],[21,[[16,[[5,[3,4]],23]]]],[21,[[16,[7,23]]]],[21,[[16,[8,23]]]],[21,[[16,[[22,[3,4]],23]]]],[21,[[16,[[5,[3,4]],23]]]],[21,[[16,[7,23]]]],[21,[[16,[8,23]]]],[24,[[16,[6]]]],[[25,25,25,12,26,27,[5,[3,4]]],15],[24,17],[24,17],[24,17],0,0,0,[24,[[15,[[28,[3,4]]]]]],0,[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],1],[[],1],0,0,[[9,9],[[29,[10]]]],[[11,30],[[16,[[34,[[33,[[0,[2,31]],32]]]]]]]],[9,16],[[]],[[]],[[]],[[]],[[]],[[],35],[[],35],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],16],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[],36],[[[22,[3,4]],21],[[16,[23]]]],[[[5,[3,4]],21],[[16,[23]]]],[[7,21],[[16,[23]]]],[[8,21],[[16,[23]]]],[[[22,[3,4]],21],[[16,[23]]]],[[[5,[3,4]],21],[[16,[23]]]],[[7,21],[[16,[23]]]],[[8,21],[[16,[23]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],0,0,0,0,0,0,0,0,0,0,0],"p":[[6,"Command"],[8,"Clone"],[8,"Subcommand"],[8,"Args"],[4,"Commands"],[4,"CoinSelectionAlgo"],[4,"AddressCmd"],[4,"TxOutCmd"],[4,"Keychain"],[4,"Ordering"],[6,"KeychainTxGraph"],[3,"BTreeMap"],[3,"Address"],[15,"u64"],[6,"Result"],[4,"Result"],[15,"bool"],[8,"Debug"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[3,"Args"],[3,"Error"],[15,"str"],[3,"Mutex"],[4,"Network"],[8,"FnOnce"],[3,"Init"],[4,"Option"],[3,"Assets"],[8,"CanDerive"],[8,"Anchor"],[6,"PlannedUtxo"],[3,"Vec"],[3,"String"],[3,"TypeId"],[3,"CreateTxChange"],[13,"List"],[13,"Address"],[13,"Send"],[13,"TxOut"],[13,"List"]]},\
index 4b00657b5718ea71864f63e99b555675900a2c0f..13897b747d23a1790743b9352eaaae9c53d1b0da 100644 (file)
 <a href="#588" id="588">588</a>
 <a href="#589" id="589">589</a>
 <a href="#590" id="590">590</a>
-<a href="#591" id="591">591</a>
 </pre><pre class="rust"><code><span class="kw">use </span>std::collections::BTreeSet;
 
 <span class="kw">use </span>async_trait::async_trait;
         local_chain::LocalChain,
         BlockId,
     };
-    <span class="kw">use </span>bdk_testenv::TestEnv;
-    <span class="kw">use </span>electrsd::bitcoind::bitcoincore_rpc::RpcApi;
+    <span class="kw">use </span>bdk_testenv::{anyhow, bitcoincore_rpc::RpcApi, TestEnv};
     <span class="kw">use </span>esplora_client::Builder;
 
     <span class="kw">use </span><span class="kw">crate</span>::async_ext::{chain_update, fetch_latest_blocks};
index 20be38b64418b89344e756a188dc1685d42ce87b..3b6ca52077f700fd8c35743ce942fdda58501a46 100644 (file)
 <a href="#784" id="784">784</a>
 <a href="#785" id="785">785</a>
 <a href="#786" id="786">786</a>
-<a href="#787" id="787">787</a>
 </pre><pre class="rust"><code><span class="kw">use </span>std::collections::BTreeSet;
 <span class="kw">use </span>std::thread::JoinHandle;
 <span class="kw">use </span>std::usize;
     <span class="kw">use </span>bdk_chain::bitcoin::Txid;
     <span class="kw">use </span>bdk_chain::local_chain::LocalChain;
     <span class="kw">use </span>bdk_chain::BlockId;
-    <span class="kw">use </span>bdk_testenv::TestEnv;
-    <span class="kw">use </span>electrsd::bitcoind::bitcoincore_rpc::RpcApi;
+    <span class="kw">use </span>bdk_testenv::{anyhow, bitcoincore_rpc::RpcApi, TestEnv};
     <span class="kw">use </span>esplora_client::{BlockHash, Builder};
     <span class="kw">use </span>std::collections::{BTreeMap, BTreeSet};
     <span class="kw">use </span>std::time::Duration;
index bd1c975a4c0f11c2003aae341cb1c61db0731202..18d7ddf90b3e283d207b7e05176c5d5a1f104577 100644 (file)
 <a href="#298" id="298">298</a>
 <a href="#299" id="299">299</a>
 <a href="#300" id="300">300</a>
+<a href="#301" id="301">301</a>
+<a href="#302" id="302">302</a>
+<a href="#303" id="303">303</a>
+<a href="#304" id="304">304</a>
 </pre><pre class="rust"><code><span class="kw">use </span>bdk_chain::{
     bitcoin::{
         address::NetworkChecked, block::Header, hash_types::TxMerkleNode, hashes::Hash,
     bitcoincore_rpc_json::{GetBlockTemplateModes, GetBlockTemplateRules},
     RpcApi,
 };
+<span class="kw">pub use </span>electrsd;
+<span class="kw">pub use </span>electrsd::bitcoind;
+<span class="kw">pub use </span>electrsd::bitcoind::anyhow;
+<span class="kw">pub use </span>electrsd::bitcoind::bitcoincore_rpc;
+<span class="kw">pub use </span>electrsd::electrum_client;
 <span class="kw">use </span>electrsd::electrum_client::ElectrumApi;
 <span class="kw">use </span>std::time::Duration;
 
 <span class="attr">#[cfg(test)]
 </span><span class="kw">mod </span>test {
     <span class="kw">use </span><span class="kw">crate</span>::TestEnv;
-    <span class="kw">use </span>anyhow::Result;
-    <span class="kw">use </span>bitcoincore_rpc::RpcApi;
+    <span class="kw">use </span>electrsd::bitcoind::{anyhow::Result, bitcoincore_rpc::RpcApi};
 
     <span class="doccomment">/// This checks that reorgs initiated by `bitcoind` is detected by our `electrsd` instance.
     </span><span class="attr">#[test]