Bitcoin–Monero Cross-chain Atomic Swap
Go to file
bors[bot] 59a62fa256
Merge #979 #981 #982 #990
979: Bump futures from 0.3.17 to 0.3.21 r=klochowicz a=dependabot[bot]

Bumps [futures](https://github.com/rust-lang/futures-rs) from 0.3.17 to 0.3.21.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/releases">futures's releases</a>.</em></p>
<blockquote>
<h2>0.3.21</h2>
<ul>
<li>Fix potential data race in <code>FlattenUnordered</code> that introduced in 0.3.20 (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2566">#2566</a>)</li>
</ul>
<h2>0.3.20</h2>
<ul>
<li>Fix stacked borrows violations when <code>-Zmiri-tag-raw-pointers</code> is enabled. This raises MSRV of <code>futures-task</code> to 1.45. (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2548">#2548</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2550">#2550</a>)</li>
<li>Change <code>FuturesUnordered</code> to respect yielding from future (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2551">#2551</a>)</li>
<li>Add <code>StreamExt::{flatten_unordered, flat_map_unordered}</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2083">#2083</a>)</li>
</ul>
<h2>0.3.19</h2>
<ul>
<li>Remove unstable <code>read-initializer</code> feature (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2534">#2534</a>)</li>
<li>Fix panic in <code>FuturesUnordered</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2535">#2535</a>)</li>
<li>Fix compatibility issue with <code>FuturesUnordered</code> and tokio's cooperative scheduling (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2527">#2527</a>)</li>
<li>Add <code>StreamExt::count</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2495">#2495</a>)</li>
</ul>
<h2>0.3.18</h2>
<ul>
<li>Fix unusable <code>Sink</code> implementation on <code>stream::Scan</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2499">#2499</a>)</li>
<li>Make <code>task::noop_waker_ref</code> available without <code>std</code> feature (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2505">#2505</a>)</li>
<li>Add async <code>LineWriter</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2477">#2477</a>)</li>
<li>Remove dependency on <code>proc-macro-hack</code>. This raises MSRV of utility crates to 1.45. (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2520">#2520</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md">futures's changelog</a>.</em></p>
<blockquote>
<h1>0.3.21 - 2022-02-06</h1>
<ul>
<li>Fix potential data race in <code>FlattenUnordered</code> that introduced in 0.3.20 (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2566">#2566</a>)</li>
</ul>
<h1>0.3.20 - 2022-02-06</h1>
<p>NOTE: This release has been yanked due to a bug fixed in 0.3.21.</p>
<ul>
<li>Fix stacked borrows violations when <code>-Zmiri-tag-raw-pointers</code> is enabled. This raises MSRV of <code>futures-task</code> to 1.45. (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2548">#2548</a>, <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2550">#2550</a>)</li>
<li>Change <code>FuturesUnordered</code> to respect yielding from future (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2551">#2551</a>)</li>
<li>Add <code>StreamExt::{flatten_unordered, flat_map_unordered}</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2083">#2083</a>)</li>
</ul>
<h1>0.3.19 - 2021-12-18</h1>
<ul>
<li>Remove unstable <code>read-initializer</code> feature (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2534">#2534</a>)</li>
<li>Fix panic in <code>FuturesUnordered</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2535">#2535</a>)</li>
<li>Fix compatibility issue with <code>FuturesUnordered</code> and tokio's cooperative scheduling (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2527">#2527</a>)</li>
<li>Add <code>StreamExt::count</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2495">#2495</a>)</li>
</ul>
<h1>0.3.18 - 2021-11-23</h1>
<p>NOTE: This release has been yanked. See <a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2529">#2529</a> for details.</p>
<ul>
<li>Fix unusable <code>Sink</code> implementation on <code>stream::Scan</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2499">#2499</a>)</li>
<li>Make <code>task::noop_waker_ref</code> available without <code>std</code> feature (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2505">#2505</a>)</li>
<li>Add async <code>LineWriter</code> (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2477">#2477</a>)</li>
<li>Remove dependency on <code>proc-macro-hack</code>. This raises MSRV of utility crates to 1.45. (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2520">#2520</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fc1e325021"><code>fc1e325</code></a> Release 0.3.21</li>
<li><a href="20279ebbfc"><code>20279eb</code></a> <code>FlattenUnordered</code>: improve wakers behavior (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2566">#2566</a>)</li>
<li><a href="75dca5ae7f"><code>75dca5a</code></a> Fix MSRV in futures-task readme</li>
<li><a href="55281c8c8d"><code>55281c8</code></a> Release 0.3.20</li>
<li><a href="591b982af8"><code>591b982</code></a> Redefine executor and compat modules in futures crate (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2564">#2564</a>)</li>
<li><a href="94b508bfcb"><code>94b508b</code></a> Basic <code>StreamExt::{flatten_unordered, flat_map_unordered}</code> impls (<a href="https://github-redirect.dependabot.com/rust-lang/futures-rs/issues/2083">#2083</a>)</li>
<li><a href="dca16fafa5"><code>dca16fa</code></a> Do not auto-create PR on fork</li>
<li><a href="a9795a9243"><code>a9795a9</code></a> Automatically creates PR when no_atomic_cas.rs needs to be updated</li>
<li><a href="4841888d68"><code>4841888</code></a> Update comments in build scripts</li>
<li><a href="85706b6d67"><code>85706b6</code></a> Clean up ci/no_atomic_cas.sh</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/futures-rs/compare/0.3.17...0.3.21">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=futures&package-manager=cargo&previous-version=0.3.17&new-version=0.3.21)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

981: Bump structopt from 0.3.25 to 0.3.26 r=klochowicz a=dependabot[bot]

Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.25 to 0.3.26.
<details>
<summary>Commits</summary>
<ul>
<li><a href="97e92a3755"><code>97e92a3</code></a> v0.3.26</li>
<li><a href="2bdd6b49ad"><code>2bdd6b4</code></a> Clarification on maintenance since clap v3 is out</li>
<li><a href="2736281a64"><code>2736281</code></a> Upgrade heck</li>
<li><a href="358cccf9af"><code>358cccf</code></a> [docs] Add output to all examples</li>
<li><a href="4c1a8fcb2f"><code>4c1a8fc</code></a> Link to the clap API in the documentation that says all clap methods can be used</li>
<li><a href="ffd4772156"><code>ffd4772</code></a> Typo</li>
<li>See full diff in <a href="https://github.com/TeXitoi/structopt/compare/v0.3.25...v0.3.26">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=structopt&package-manager=cargo&previous-version=0.3.25&new-version=0.3.26)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

982: Bump serde from 1.0.133 to 1.0.136 r=klochowicz a=dependabot[bot]

Bumps [serde](https://github.com/serde-rs/serde) from 1.0.133 to 1.0.136.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p>
<blockquote>
<h2>v1.0.136</h2>
<ul>
<li>Improve default error message when <code>Visitor</code> fails to deserialize a u128 or i128 (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2167">#2167</a>)</li>
</ul>
<h2>v1.0.135</h2>
<ul>
<li>Update discord channels listed in readme</li>
</ul>
<h2>v1.0.134</h2>
<ul>
<li>Improve error messages on deserializing NonZero integers from a 0 value (<a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2158">#2158</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="02bd79a0ba"><code>02bd79a</code></a> Release 1.0.136</li>
<li><a href="c3ce2c934a"><code>c3ce2c9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2167">#2167</a> from serde-rs/error128</li>
<li><a href="0d71ac84b5"><code>0d71ac8</code></a> Render 128-bit integer value into Visitor errors</li>
<li><a href="82c3eb7ba4"><code>82c3eb7</code></a> Add test of visitor error messages</li>
<li><a href="8932c852a5"><code>8932c85</code></a> Release 1.0.135</li>
<li><a href="9f3dd3c7c4"><code>9f3dd3c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2163">#2163</a> from serde-rs/discord</li>
<li><a href="dd9b415ff9"><code>dd9b415</code></a> Add discord invite links</li>
<li><a href="3bb4a5a4f6"><code>3bb4a5a</code></a> Release 1.0.134</li>
<li><a href="6164627bea"><code>6164627</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2159">#2159</a> from serde-rs/nonzero</li>
<li><a href="51aaf496d4"><code>51aaf49</code></a> Write better Visitor for NonZero integers</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/serde/compare/v1.0.133...v1.0.136">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde&package-manager=cargo&previous-version=1.0.133&new-version=1.0.136)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

990: Bump hyper from 0.14.16 to 0.14.18 r=klochowicz a=dependabot[bot]

Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.16 to 0.14.18.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/hyper/releases">hyper's releases</a>.</em></p>
<blockquote>
<h2>v0.14.18</h2>
<h2>Bug Fixes</h2>
<ul>
<li><strong>ffi:</strong> don't build C libraries by default (<a href="1c6637060e">1c663706</a>)</li>
</ul>
<h2>Features</h2>
<ul>
<li><strong>client:</strong> add <code>HttpInfo::local_addr()</code> method (<a href="055b4e7ea6">055b4e7e</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2767">#2767</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/ilyatrefilov"><code>`@​ilyatrefilov</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2760">hyperium/hyper#2760</a></li>
<li><a href="https://github.com/stephank"><code>`@​stephank</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2765">hyperium/hyper#2765</a></li>
<li><a href="https://github.com/kubuzetto"><code>`@​kubuzetto</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2768">hyperium/hyper#2768</a></li>
<li><a href="https://github.com/lqd"><code>`@​lqd</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2770">hyperium/hyper#2770</a></li>
</ul>
<h2>v0.14.17</h2>
<h2>Bug Fixes</h2>
<ul>
<li><strong>client:</strong> avoid panics in uses of <code>Instant</code> on buggy OSes (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2746">#2746</a>) (<a href="dcdd6d1090">dcdd6d10</a>)</li>
</ul>
<h2>Features</h2>
<ul>
<li><strong>client:</strong> implement the HTTP/2 extended CONNECT protocol from RFC 8441 (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2682">#2682</a>) (<a href="5ec094caa5">5ec094ca</a>)</li>
<li><strong>error:</strong> add <code>Error::message</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2737">#2737</a>) (<a href="6932896a7f">6932896a</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2732">#2732</a>)</li>
<li><strong>http1:</strong> implement obsolete line folding (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2734">#2734</a>) (<a href="1f0c177b35">1f0c177b</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/waywardmonkeys"><code>`@​waywardmonkeys</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2721">hyperium/hyper#2721</a></li>
<li><a href="https://github.com/monoid"><code>`@​monoid</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2727">hyperium/hyper#2727</a></li>
<li><a href="https://github.com/olix0r"><code>`@​olix0r</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/hyperium/hyper/pull/2746">hyperium/hyper#2746</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/hyperium/hyper/blob/master/CHANGELOG.md">hyper's changelog</a>.</em></p>
<blockquote>
<h3>v0.14.18 (2022-03-22)</h3>
<h4>Bug Fixes</h4>
<ul>
<li><strong>ffi:</strong> don't build C libraries by default (<a href="1c6637060e">1c663706</a>)</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>client:</strong> add <code>HttpInfo::local_addr()</code> method (<a href="055b4e7ea6">055b4e7e</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2767">#2767</a>)</li>
</ul>
<h3>v0.14.17 (2022-02-10)</h3>
<h4>Bug Fixes</h4>
<ul>
<li><strong>client:</strong> avoid panics in uses of <code>Instant</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2746">#2746</a>) (<a href="dcdd6d1090">dcdd6d10</a>)</li>
</ul>
<h4>Features</h4>
<ul>
<li><strong>client:</strong> implement the HTTP/2 extended CONNECT protocol from RFC 8441 (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2682">#2682</a>) (<a href="5ec094caa5">5ec094ca</a>)</li>
<li><strong>error:</strong> add <code>Error::message</code> (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2737">#2737</a>) (<a href="6932896a7f">6932896a</a>, closes <a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2732">#2732</a>)</li>
<li><strong>http1:</strong> implement obsolete line folding (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2734">#2734</a>) (<a href="1f0c177b35">1f0c177b</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="53f15e5870"><code>53f15e5</code></a> v0.14.18</li>
<li><a href="740654e55d"><code>740654e</code></a> refactor(error): improve error message when user body ends early</li>
<li><a href="1e9cd4f292"><code>1e9cd4f</code></a> docs(ffi): document nightly requirement for FFI</li>
<li><a href="bd591f43fd"><code>bd591f4</code></a> chore(ci): test FFI on CI using nightly</li>
<li><a href="1c6637060e"><code>1c66370</code></a> fix(ffi): don't build C libraries by default</li>
<li><a href="055b4e7ea6"><code>055b4e7</code></a> feat(client): add <code>HttpInfo::local_addr()</code> method</li>
<li><a href="ce2bfa9ea6"><code>ce2bfa9</code></a> docs(conduct): add custom CODE_OF_CONDUCT</li>
<li><a href="6464c0ed49"><code>6464c0e</code></a> docs(upgrade): fix typo in upgrade docs (<a href="https://github-redirect.dependabot.com/hyperium/hyper/issues/2765">#2765</a>)</li>
<li><a href="75345222d7"><code>7534522</code></a> chore(ci): increase MSRV to 1.49</li>
<li><a href="4fcfe1f4ba"><code>4fcfe1f</code></a> docs(client): Add tcp feature for Client::new docs</li>
<li>Additional commits viewable in <a href="https://github.com/hyperium/hyper/compare/v0.14.16...v0.14.18">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=hyper&package-manager=cargo&previous-version=0.14.16&new-version=0.14.18)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 11:33:38 +00:00
.cargo .cargo/config.toml for specifying linker 2021-03-15 14:36:05 +11:00
.github Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
docs Change to rino nodes 2022-03-20 11:31:21 +01:00
monero-harness Merge #975 2022-03-20 11:05:37 +00:00
monero-rpc Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
monero-wallet Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
swap Merge #975 2022-03-20 11:05:37 +00:00
.gitignore Push cargo lock to git as we are building a binary 2020-12-01 09:31:41 +11:00
bors.toml Remove flaky test 2021-10-07 10:00:17 +11:00
Cargo.lock Merge #979 #981 #982 #990 2022-04-13 11:33:38 +00:00
Cargo.toml Update secp256kfun and rand to latest version 2021-05-25 15:35:13 +10:00
CHANGELOG.md Merge #975 2022-03-20 11:05:37 +00:00
CONTRIBUTING.md Create CONTRIBUTING.md 2021-06-29 10:58:00 +10:00
dprint.json Update dprint plugins to fix CI error 2022-04-09 19:39:49 +02:00
LICENSE Change license to GPLv3 2020-10-12 17:13:25 +11:00
README.md Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00
rust-toolchain.toml Update dependencies and rust-toolchain to 1.59 2022-03-12 13:05:36 +02:00

XMR to BTC Atomic Swap

This repository hosts an MVP for atomically swapping BTC to XMR. It implements the protocol described in section 3 of this paper.

More information about the protocol in this presentation and this blog post.

Currently, swaps are only offered in one direction with the swap CLI on the buying side (send BTC, receive XMR). We are working on implementing a protocol where XMR moves first, but are currently blocked by advances on Monero itself. You can read this blogpost for more information.

Quick Start

  1. Download the latest swap binary release for your operating system.
  2. Find a seller to swap with:
./swap --testnet list-sellers
  1. Swap with a seller:
./swap --testnet buy-xmr --receive-address <YOUR MONERO ADDRESS> --change-address <YOUR BITCOIN CHANGE ADDRESS> --seller <SELLER MULTIADDRESS>

For more detailed documentation on the CLI, see this README.

Becoming a Market Maker

Swapping of course needs two parties - and the CLI is only one of them: The taker that occasionally starts a swap with a market maker.

If you are interested in becoming a market maker you will want to run the second binary provided in this repository: asb - the Automated Swap Backend. Detailed documentation for the asb can be found in this README.

Safety

This software is using cryptography that has not been formally audited. While we do our best to make it safe, it is up to the user to evaluate whether or not it is safe to use for their purposes. Please also see section 15 and 16 of the license.

Keep in mind that swaps are complex protocols, it is recommended to not do anything fancy when moving coins in and out. It is not recommended to bump fees when swapping because it can have unpredictable side effects.

Contributing

We are encourage community contributions whether it be a bug fix or an improvement to the documentation. Please have a look at the contribution guidelines.

Rust Version Support

Please note that only the latest stable Rust toolchain is supported. All stable toolchains since 1.58 should work.

Contact

Feel free to reach out to us in the COMIT-Monero Matrix channel.