]> Untitled Git - bitcoindevkit.org/commitdiff
Publish autogenerated nightly docs
authorgithub-actions <github-actions@github.com>
Fri, 22 Mar 2024 07:13:09 +0000 (07:13 +0000)
committergithub-actions <github-actions@github.com>
Fri, 22 Mar 2024 07:13:09 +0000 (07:13 +0000)
docs/.vuepress/public/docs-rs/bdk/nightly/latest/bdk/index.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/example_cli/index.html
docs/.vuepress/public/docs-rs/bdk/nightly/latest/example_cli/type.Database.html

index eef93a60b2e8a765b3b834ead453fbdb4b59ec7e..760e0a45c61ec73f80cbbdc8dc6085090345974d 100644 (file)
   </h4>
 </div>
 <h3 id="bdk"><a href="#bdk"><code>bdk</code></a></h3>
-<p>The <code>bdk</code> crate provides the <a href="wallet/struct.Wallet.html"><code>Wallet</code></a> type which is a simple, high-level
+<p>The <code>bdk</code> crate provides the <a href="https://docs.rs/bdk/1.0.0-alpha.7/bdk/wallet/struct.Wallet.html"><code>Wallet</code></a> type which is a simple, high-level
 interface built from the low-level components of <a href="https://docs.rs/bdk_chain/latest"><code>bdk_chain</code></a>. <code>Wallet</code> is a good starting point
 for many simple applications as well as a good demonstration of how to use the other mechanisms to
 construct a wallet. It has two keychains (external and internal) which are defined by
 <a href="https://docs.rs/miniscript/latest/miniscript/index.html">miniscript descriptors</a> and uses them to generate addresses. When you give it
 chain data it also uses the descriptors to find transaction outputs owned by them. From there, you
 can create and sign transactions.</p>
-<p>For more information, see the <a href="https://docs.rs/bdk/latest/bdk/wallet/struct.Wallet.html"><code>Wallet</code>’s documentation</a>.</p>
+<p>For details about the API of <code>Wallet</code> see the <a href="https://docs.rs/bdk/1.0.0-alpha.7/bdk/wallet/struct.Wallet.html">module-level documentation</a>.</p>
 <h4 id="blockchain-data"><a href="#blockchain-data">Blockchain data</a></h4>
-<p>In order to get blockchain data for <code>Wallet</code> to consume, you have to put it into particular form.
-Right now this is <a href="https://docs.rs/bdk_chain/latest/bdk_chain/keychain/struct.KeychainScan.html"><code>KeychainScan</code></a> which is defined in <a href="https://docs.rs/bdk_chain/latest"><code>bdk_chain</code></a>.</p>
-<p>This can be created manually or from blockchain-scanning crates.</p>
+<p>In order to get blockchain data for <code>Wallet</code> to consume, you should configure a client from
+an available chain source. Typically you make a request to the chain source and get a response
+that the <code>Wallet</code> can use to update its view of the chain.</p>
 <p><strong>Blockchain Data Sources</strong></p>
 <ul>
 <li><a href="https://docs.rs/bdk_esplora/latest"><code>bdk_esplora</code></a>: Grabs blockchain data from Esplora for updating BDK structures.</li>
 <li><a href="https://docs.rs/bdk_electrum/latest"><code>bdk_electrum</code></a>: Grabs blockchain data from Electrum for updating BDK structures.</li>
+<li><a href="https://docs.rs/bdk_bitcoind_rpc/latest"><code>bdk_bitcoind_rpc</code></a>: Grabs blockchain data from Bitcoin Core for updating BDK structures.</li>
 </ul>
 <p><strong>Examples</strong></p>
 <ul>
-<li><a href="https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_esplora"><code>example-crates/wallet_esplora</code></a></li>
+<li><a href="https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_esplora_async"><code>example-crates/wallet_esplora_async</code></a></li>
+<li><a href="https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_esplora_blocking"><code>example-crates/wallet_esplora_blocking</code></a></li>
 <li><a href="https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_electrum"><code>example-crates/wallet_electrum</code></a></li>
+<li><a href="https://github.com/bitcoindevkit/bdk/tree/master/example-crates/wallet_rpc"><code>example-crates/wallet_rpc</code></a></li>
 </ul>
 <h4 id="persistence"><a href="#persistence">Persistence</a></h4>
-<p>To persist the <code>Wallet</code> on disk, <code>Wallet</code> needs to be constructed with a
-<a href="https://docs.rs/bdk_chain/latest/bdk_chain/keychain/struct.KeychainPersist.html"><code>Persist</code></a> implementation.</p>
+<p>To persist the <code>Wallet</code> on disk, it must be constructed with a <a href="https://docs.rs/bdk_chain/latest/bdk_chain/trait.PersistBackend.html"><code>PersistBackend</code></a> implementation.</p>
 <p><strong>Implementations</strong></p>
 <ul>
-<li><a href="https://docs.rs/bdk_file_store/latest"><code>bdk_file_store</code></a>: a simple flat-file implementation of <code>Persist</code>.</li>
+<li><a href="https://docs.rs/bdk_file_store/latest"><code>bdk_file_store</code></a>: A simple flat-file implementation of <a href="https://docs.rs/bdk_chain/latest/bdk_chain/trait.PersistBackend.html"><code>PersistBackend</code></a>.</li>
 </ul>
 <p><strong>Example</strong></p>
+<!-- compile_fail because outpoint and txout are fake variables -->
 
-<div class="example-wrap"><pre class="rust rust-example-rendered"><code><span class="kw">use </span>bdk::{bitcoin::Network, wallet::{AddressIndex, Wallet}};
+<div class="example-wrap compile_fail"><div class='tooltip'>ⓘ</div><pre class="rust rust-example-rendered"><code><span class="kw">use </span>bdk::{bitcoin::Network, wallet::{ChangeSet, Wallet}};
 
 <span class="kw">fn </span>main() {
-    <span class="comment">// a type that implements `Persist`
-    </span><span class="kw">let </span>db = ();
+    <span class="comment">// Create a new file `Store`.
+    </span><span class="kw">let </span>db = bdk_file_store::Store::&lt;ChangeSet&gt;::open_or_create_new(<span class="string">b&quot;magic_bytes&quot;</span>, <span class="string">&quot;path/to/my_wallet.db&quot;</span>).expect(<span class="string">&quot;create store&quot;</span>);
 
-    <span class="kw">let </span>descriptor = <span class="string">&quot;wpkh(tprv8ZgxMBicQKsPdy6LMhUtFHAgpocR8GC6QmwMSFpZs7h6Eziw3SpThFfczTDh5rW2krkqffa11UpX3XkeTTB2FvzZKWXqPY54Y6Rq4AQ5R8L/84&#39;/0&#39;/0&#39;/0/*)&quot;</span>;
-    <span class="kw">let </span><span class="kw-2">mut </span>wallet = Wallet::new(descriptor, <span class="prelude-val">None</span>, db, Network::Testnet).expect(<span class="string">&quot;should create&quot;</span>);
+    <span class="kw">let </span>descriptor = <span class="string">&quot;wpkh(tprv8ZgxMBicQKsPdcAqYBpzAFwU5yxBUo88ggoBqu1qPcHUfSbKK1sKMLmC7EAk438btHQrSdu3jGGQa6PA71nvH5nkDexhLteJqkM4dQmWF9g/84&#39;/1&#39;/0&#39;/0/*)&quot;</span>;
+    <span class="kw">let </span><span class="kw-2">mut </span>wallet = Wallet::new_or_load(descriptor, <span class="prelude-val">None</span>, db, Network::Testnet).expect(<span class="string">&quot;create or load wallet&quot;</span>);
 
-    <span class="comment">// get a new address (this increments revealed derivation index)
-    </span><span class="macro">println!</span>(<span class="string">&quot;revealed address: {}&quot;</span>, wallet.get_address(AddressIndex::New));
-    <span class="macro">println!</span>(<span class="string">&quot;staged changes: {:?}&quot;</span>, wallet.staged());
-    <span class="comment">// persist changes
-    </span>wallet.commit().expect(<span class="string">&quot;must save&quot;</span>);
+    <span class="comment">// Insert a single `TxOut` at `OutPoint` into the wallet.
+    </span><span class="kw">let _ </span>= wallet.insert_txout(outpoint, txout);
+    wallet.commit().expect(<span class="string">&quot;must write to database&quot;</span>);
 }</code></pre></div>
 <!-- ### Sync the balance of a descriptor -->
 <!-- ```rust,no_run -->
index bf794089f3213dae443bdead1ad4924b7399904b..64bc21d5b86287aac1830566ad345c46a0e63f8c 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 `example_cli` crate."><meta name="keywords" content="rust, rustlang, rust-lang, example_cli"><title>example_cli - 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="../example_cli/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="../example_cli/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 example_cli</a></h2><div class="sidebar-elems"><ul class="block"><li class="version">Version 0.2.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><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</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="#">example_cli</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/example_cli/lib.rs.html#1-719">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.anyhow"><code>pub use <a class="mod" href="https://docs.rs/anyhow/1.0.81/anyhow/index.html" title="mod anyhow">anyhow</a>;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.bdk_file_store"><code>pub use <a class="mod" href="../bdk_file_store/index.html" title="mod bdk_file_store">bdk_file_store</a>;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.clap"><code>pub use clap;</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.Args.html" title="example_cli::Args struct">Args</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.CreateTxChange.html" title="example_cli::CreateTxChange struct">CreateTxChange</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Init.html" title="example_cli::Init struct">Init</a></div><div class="item-right docblock-short">The initial state returned by <a href="fn.init.html" title="init"><code>init</code></a>.</div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.AddressCmd.html" title="example_cli::AddressCmd enum">AddressCmd</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.CoinSelectionAlgo.html" title="example_cli::CoinSelectionAlgo enum">CoinSelectionAlgo</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.Commands.html" title="example_cli::Commands enum">Commands</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.Keychain.html" title="example_cli::Keychain enum">Keychain</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.TxOutCmd.html" title="example_cli::TxOutCmd enum">TxOutCmd</a></div></div></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.create_tx.html" title="example_cli::create_tx fn">create_tx</a></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.handle_commands.html" title="example_cli::handle_commands fn">handle_commands</a></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.init.html" title="example_cli::init fn">init</a></div><div class="item-right docblock-short">Parses command line arguments and initializes all components, creating
+<!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 `example_cli` crate."><meta name="keywords" content="rust, rustlang, rust-lang, example_cli"><title>example_cli - 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="../example_cli/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="../example_cli/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 example_cli</a></h2><div class="sidebar-elems"><ul class="block"><li class="version">Version 0.2.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><li><a href="#enums">Enums</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Definitions</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="#">example_cli</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/example_cli/lib.rs.html#1-719">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.anyhow"><code>pub use <a class="mod" href="https://docs.rs/anyhow/1.0.81/anyhow/index.html" title="mod anyhow">anyhow</a>;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.bdk_file_store"><code>pub use bdk_file_store;</code></div></div><div class="item-row"><div class="item-left import-item" id="reexport.clap"><code>pub use clap;</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.Args.html" title="example_cli::Args struct">Args</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.CreateTxChange.html" title="example_cli::CreateTxChange struct">CreateTxChange</a></div></div><div class="item-row"><div class="item-left module-item"><a class="struct" href="struct.Init.html" title="example_cli::Init struct">Init</a></div><div class="item-right docblock-short">The initial state returned by <a href="fn.init.html" title="init"><code>init</code></a>.</div></div></div><h2 id="enums" class="small-section-header"><a href="#enums">Enums</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.AddressCmd.html" title="example_cli::AddressCmd enum">AddressCmd</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.CoinSelectionAlgo.html" title="example_cli::CoinSelectionAlgo enum">CoinSelectionAlgo</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.Commands.html" title="example_cli::Commands enum">Commands</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.Keychain.html" title="example_cli::Keychain enum">Keychain</a></div></div><div class="item-row"><div class="item-left module-item"><a class="enum" href="enum.TxOutCmd.html" title="example_cli::TxOutCmd enum">TxOutCmd</a></div></div></div><h2 id="functions" class="small-section-header"><a href="#functions">Functions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.create_tx.html" title="example_cli::create_tx fn">create_tx</a></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.handle_commands.html" title="example_cli::handle_commands fn">handle_commands</a></div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.init.html" title="example_cli::init fn">init</a></div><div class="item-right docblock-short">Parses command line arguments and initializes all components, creating
 a file store with the given parameters, or loading one if it exists.</div></div><div class="item-row"><div class="item-left module-item"><a class="fn" href="fn.planned_utxos.html" title="example_cli::planned_utxos fn">planned_utxos</a></div></div></div><h2 id="types" class="small-section-header"><a href="#types">Type Definitions</a></h2><div class="item-table"><div class="item-row"><div class="item-left module-item"><a class="type" href="type.Database.html" title="example_cli::Database type">Database</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.KeychainChangeSet.html" title="example_cli::KeychainChangeSet type">KeychainChangeSet</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.KeychainTxGraph.html" title="example_cli::KeychainTxGraph type">KeychainTxGraph</a></div></div><div class="item-row"><div class="item-left module-item"><a class="type" href="type.PlannedUtxo.html" title="example_cli::PlannedUtxo type">PlannedUtxo</a></div></div></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="example_cli" 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 ce168eedcda79491f2f502e70721b496c0986189..a45eaff1666dcd1d8e401373700df4a121c13286 100644 (file)
@@ -1 +1 @@
-<!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 `Database` type in crate `example_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, Database"><title>Database in example_cli - 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 type"><!--[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="../example_cli/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="../example_cli/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="#">Database</a></h2><div class="sidebar-elems"><h2><a href="index.html">In example_cli</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">Type Definition <a href="index.html">example_cli</a>::<wbr><a class="type" href="#">Database</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/example_cli/lib.rs.html#32">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust typedef"><code>pub type Database&lt;C&gt; = <a class="struct" href="../bdk_chain/persist/struct.Persist.html" title="struct bdk_chain::persist::Persist">Persist</a>&lt;<a class="struct" href="../bdk_file_store/store/struct.Store.html" title="struct bdk_file_store::store::Store">Store</a>&lt;C&gt;, C&gt;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="example_cli" 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
+<!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 `Database` type in crate `example_cli`."><meta name="keywords" content="rust, rustlang, rust-lang, Database"><title>Database in example_cli - 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 type"><!--[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="../example_cli/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="../example_cli/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="#">Database</a></h2><div class="sidebar-elems"><h2><a href="index.html">In example_cli</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">Type Definition <a href="index.html">example_cli</a>::<wbr><a class="type" href="#">Database</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/example_cli/lib.rs.html#32">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><div class="item-decl"><pre class="rust typedef"><code>pub type Database&lt;C&gt; = <a class="struct" href="../bdk_chain/persist/struct.Persist.html" title="struct bdk_chain::persist::Persist">Persist</a>&lt;Store&lt;C&gt;, C&gt;;</code></pre></div></section></div></main><div id="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="example_cli" 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