Skip to content

Commit 0ccec2f

Browse files
committed
deploy: 615f71d
1 parent 9c8a7f2 commit 0ccec2f

28 files changed

+1432
-804
lines changed

404.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
<!doctype html><html lang=en-us><head><title>404 | rust-bitcoin
2-
</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.140.2"><link rel=canonical href=/404.html><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><h1>NOT FOUND</h1><p>You just hit a route that doesn't exist...</p></main></div><footer class=footer>© 2025 rust-bitcoin, Built with
1+
<!doctype html><html lang=en-us><head><title>404 | rust-bitcoin</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.148.2"><link rel=canonical href=/404.html><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><h1>NOT FOUND</h1><p>You just hit a route that doesn't exist...</p></main></div><footer class=footer>© 2025 rust-bitcoin, Built with
32
<a href=https://gohugo.io class=footerLink>Hugo</a> and
43
<a href=https://github.com/LordMathis/hugo-theme-nightfall class=footerLink>Nightfall</a> theme</footer></div></body></html>

about/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!doctype html><html lang=en-us><head><title>About | rust-bitcoin
2-
</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.140.2"><link rel=canonical href=/about/><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div class=postWrapper><h1>About</h1><div><p><strong>rust-bitcoin</strong> refers to the GitHub rust-bitcoin organization and also to the main repository (and
1+
<!doctype html><html lang=en-us><head><title>About | rust-bitcoin</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.148.2"><link rel=canonical href=/about/><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div class=postWrapper><h1>About</h1><div><p><strong>rust-bitcoin</strong> refers to the GitHub rust-bitcoin organization and also to the main repository (and
32
Rust crate) within that organization.</p><p>The rust-bitcoin crate is a library that supports the Bitcoin network protocol and associated
43
primitives. It is designed for Rust programs built to work with the Bitcoin network.</p><h3 id=crates>Crates</h3><p>The rust-bitcoin organization includes a number of repositories containing various Rust crates that
54
you may find useful when writing Rust code that interacts with the Bitcoin network.</p><ul><li><p><a href=https://github.com/rust-bitcoin/rust-bitcoincore-rpc>rust-bitcoincore-rpc</a>: A client library for

blog/hello/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!doctype html><html lang=en-us><head><title>Hello | rust-bitcoin
2-
</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.140.2"><link rel=canonical href=/blog/hello/><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div class=postWrapper><h1>Hello</h1><div><p>Hello from the rust-bitcoin devs.</p><p>The &ldquo;rust-bitcoin devs&rdquo; is the group of developers responsible for writing and maintaining the
1+
<!doctype html><html lang=en-us><head><title>Hello | rust-bitcoin</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.148.2"><link rel=canonical href=/blog/hello/><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div class=postWrapper><h1>Hello</h1><div><p>Hello from the rust-bitcoin devs.</p><p>The &ldquo;rust-bitcoin devs&rdquo; is the group of developers responsible for writing and maintaining the
32
repositories under the GitHub <a href=https://github.com/rust-bitcoin>rust-bitcoin</a> organization.</p><p>We aim to write code that is correct according to the Bitcoin protocol and APIs that are hard to
43
misuse - <strong>no foot-guns!</strong> We also try to make things fast.</p><p>We welcome any and all contributions. Be aware that because of the stated aims above our review
54
cycle is sometimes drawn out and can be quite particular, don&rsquo;t let that put you off - you too can

blog/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!doctype html><html lang=en-us><head><title>Blogs | rust-bitcoin
2-
</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.140.2"><link rel=canonical href=/blog/><link href=/blog/index.xml rel=alternate type=application/rss+xml title><link href=/blog/index.xml rel=feed type=application/rss+xml title><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div><div class=listHeader><h1>Blogs</h1></div><div><a href=/blog/release-0.30.0/><div class=postListItem role=listitem><div class=postHeader><span class=postTitle>Release 0.30.0 is out!</span>
1+
<!doctype html><html lang=en-us><head><title>Blogs | rust-bitcoin</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.148.2"><link rel=canonical href=/blog/><link href=/blog/index.xml rel=alternate type=application/rss+xml title><link href=/blog/index.xml rel=feed type=application/rss+xml title><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div><div class=listHeader><h1>Blogs</h1></div><div><a href=/blog/release-0.30.0/><div class=postListItem role=listitem><div class=postHeader><span class=postTitle>Release 0.30.0 is out!</span>
32
<span class=postDate>March 21, 2023</span></div><div class=postExcerpt><p><p><code>rust-bitcoin</code> <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/index.html>version 0.30.0</a> is out now.</p></p></div></div></a><a href=/blog/hello/><div class=postListItem role=listitem><div class=postHeader><span class=postTitle>Hello</span>
43
<span class=postDate>February 15, 2023</span></div><div class=postExcerpt><p><p>Hello from the rust-bitcoin devs.</p></p></div></div></a></div></div></main></div><footer class=footer>© 2025 rust-bitcoin, Built with
54
<a href=https://gohugo.io class=footerLink>Hugo</a> and

blog/release-0.30.0/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<!doctype html><html lang=en-us><head><title>Release 0.30.0 is out! | rust-bitcoin
2-
</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.140.2"><link rel=canonical href=/blog/release-0.30.0/><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div class=postWrapper><h1>Release 0.30.0 is out!</h1><div><p><code>rust-bitcoin</code> <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/index.html>version 0.30.0</a> is out now.</p><p>This is a rather large release so we decided to write an update guide for you guys. If this guide is
1+
<!doctype html><html lang=en-us><head><title>Release 0.30.0 is out! | rust-bitcoin</title><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><meta name=generator content="Hugo 0.148.2"><link rel=canonical href=/blog/release-0.30.0/><link href=/sass/main.min.4e3efe637d21e3743f006dbceaa8d8f10952bb4f4d19989c58c5afb0fc120a52.css rel=stylesheet></head><body><div class=flexWrapper><header class=headerWrapper><div class=header><div><a href=/><span class=terminal>[email protected] ~ $</span></a></div><nav class=headerLinks><ul><li><a href=/about title>~/about</a></li><li><a href=/book title>~/cookbook</a></li><li><a href=/blog title>~/blog</a></li></ul></nav></div></header><div class=content><main class=main><div class=postWrapper><h1>Release 0.30.0 is out!</h1><div><p><code>rust-bitcoin</code> <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/index.html>version 0.30.0</a> is out now.</p><p>This is a rather large release so we decided to write an update guide for you guys. If this guide is
32
not useful or lacking in some way please do let us know so we can do better.</p><p>First a little excuse for why this is going to be so painful. We try to deprecate things when we
43
make API breaking changes, using</p><pre><code> #[deprecated(since = &quot;x.y.z&quot;, note = &quot;use foobar instead&quot;)]
54
</code></pre><p>This allows us to give you a hint on how to upgrade by way of the compiler. The problem we hit was
@@ -8,7 +7,7 @@
87
the 1.0 release, we got a bit sloppy with deprecation this release - sorry about that. We are very
98
much trying to get to a place where we can commit to our APIs and stabilize the codebase, that is
109
the primary goal of development at the moment. If you have API changing suggestions or requests
11-
please get them into us now so your needs can be met.</p><p>Without further ado, here is the upgrade guide. Enjoy!</p><h2 id=suggested-steps>Suggested steps</h2><p>We suggest that you take these steps when upgrading:</p><ol start=0><li>Make sure to update other dependency versions in <code>Cargo.toml</code> if you use them explicitly: <code>bitcoin_hashes</code> to 0.12.0, <code>secp256k1</code> to 0.27.0</li><li>Remove all occurrences of <code>util::</code> referring to our crate</li><li>Replace <code>Script</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/script/struct.ScriptBuf.html><code>ScriptBuf</code></a> (<code>s/\([^A-Za-z0-9]\)Script\([^A-Za-z0-9]\)/\1ScriptBuf\2/g</code> should work in most cases)</li><li>Replace instances of <code>.parse::&lt;Address>()</code> with <code>.parse::&lt;Address&lt;_>>()</code></li><li>Call <code>require_network(network)</code> on parsed addresses (you&rsquo;ll get no method found for <code>Address&lt;NetworkUnchecked></code> errors)</li><li>Replace <code>locktime</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/locktime/absolute/index.html><code>locktime::absolute</code></a></li><li>Replace <code>PackedLockTime</code> with just <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/locktime/absolute/struct.LockTime.html><code>LockTime</code></a></li><li>Import key types from the <code>key</code> submodule rather than <code>schnorr</code> or <code>ecdsa</code></li><li>Replace <code>SchnorrSighashType</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/sighash/struct.TapSighashType.html><code>TapSighashType</code></a></li><li>Replace <code>TapBranchHash</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/taproot/struct.TapNodeHash.html><code>TapNodeHash</code></a></li><li>Change <code>hash_newtype!(FooHash, sha256::Hash, 32, doc="A hash of foo.");</code> to:</li></ol><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-rust data-lang=rust><span style=display:flex><span>hash_newtype! {
10+
please get them into us now so your needs can be met.</p><p>Without further ado, here is the upgrade guide. Enjoy!</p><h2 id=suggested-steps>Suggested steps</h2><p>We suggest that you take these steps when upgrading:</p><ol start=0><li>Make sure to update other dependency versions in <code>Cargo.toml</code> if you use them explicitly: <code>bitcoin_hashes</code> to 0.12.0, <code>secp256k1</code> to 0.27.0</li><li>Remove all occurrences of <code>util::</code> referring to our crate</li><li>Replace <code>Script</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/script/struct.ScriptBuf.html><code>ScriptBuf</code></a> (<code>s/\([^A-Za-z0-9]\)Script\([^A-Za-z0-9]\)/\1ScriptBuf\2/g</code> should work in most cases)</li><li>Replace instances of <code>.parse::&lt;Address>()</code> with <code>.parse::&lt;Address&lt;_>>()</code></li><li>Call <code>require_network(network)</code> on parsed addresses (you&rsquo;ll get no method found for <code>Address&lt;NetworkUnchecked></code> errors)</li><li>Replace <code>locktime</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/locktime/absolute/index.html><code>locktime::absolute</code></a></li><li>Replace <code>PackedLockTime</code> with just <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/locktime/absolute/struct.LockTime.html><code>LockTime</code></a></li><li>Import key types from the <code>key</code> submodule rather than <code>schnorr</code> or <code>ecdsa</code></li><li>Replace <code>SchnorrSighashType</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/sighash/struct.TapSighashType.html><code>TapSighashType</code></a></li><li>Replace <code>TapBranchHash</code> with <a href=https://docs.rs/bitcoin/0.30.0/bitcoin/taproot/struct.TapNodeHash.html><code>TapNodeHash</code></a></li><li>Change <code>hash_newtype!(FooHash, sha256::Hash, 32, doc="A hash of foo.");</code> to:</li></ol><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-rust data-lang=rust><span style=display:flex><span><span style=color:#a6e22e>hash_newtype!</span> {
1211
</span></span><span style=display:flex><span> <span style=color:#e6db74>/// A hash of foo.
1312
</span></span></span><span style=display:flex><span><span style=color:#e6db74></span> <span style=color:#66d9ef>pub</span> <span style=color:#66d9ef>struct</span> <span style=color:#a6e22e>FooHash</span>(sha256::Hash);
1413
</span></span><span style=display:flex><span>}

0 commit comments

Comments
 (0)