Bitcoin–Monero Cross-chain Atomic Swap
Go to file
bors[bot] 01dd0b5177
Merge #919 #977 #978 #998 #999 #1003 #1004 #1005
919: update option documentation to specify amount format r=delta1 a=icy-ux

The current amount format is very confusing (see #667). Add documentation to
explain the correct format to use when withdrawing BTC.

977: Bump async-compression from 0.3.8 to 0.3.12 r=delta1 a=dependabot[bot]

Bumps [async-compression](https://github.com/Nemo157/async-compression) from 0.3.8 to 0.3.12.
<details>
<summary>Commits</summary>
<ul>
<li><a href="7e9ecbb336"><code>7e9ecbb</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/140">#140</a></li>
<li><a href="b73c063f98"><code>b73c063</code></a> Bump version to 0.3.12</li>
<li><a href="711aff3858"><code>711aff3</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/139">#139</a></li>
<li><a href="4577e830b1"><code>4577e83</code></a> Use only <code>std</code> feature for <code>brotli</code></li>
<li><a href="40f2446f20"><code>40f2446</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/138">#138</a></li>
<li><a href="9dd06201dd"><code>9dd0620</code></a> Bump version to 0.3.11</li>
<li><a href="ea9ebad269"><code>ea9ebad</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/131">#131</a></li>
<li><a href="15a0ab8294"><code>15a0ab8</code></a> Update zstd dependency</li>
<li><a href="ca078b4ba7"><code>ca078b4</code></a> Merge <a href="https://github-redirect.dependabot.com/Nemo157/async-compression/issues/137">#137</a></li>
<li><a href="36563e871a"><code>36563e8</code></a> Bump version to 0.3.10</li>
<li>Additional commits viewable in <a href="https://github.com/Nemo157/async-compression/compare/0.3.8...0.3.12">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=async-compression&package-manager=cargo&previous-version=0.3.8&new-version=0.3.12)](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>

978: Bump serde_json from 1.0.74 to 1.0.79 r=delta1 a=dependabot[bot]

Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.74 to 1.0.79.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.79</h2>
<ul>
<li>Allow <code>RawValue</code> deserialization to propagate <code>\u</code> escapes for unmatched surrogates, which can later by deserialized to Vec&lt;u8&gt; (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/830">#830</a>, thanks <a href="https://github.com/lucacasonato"><code>`@​lucacasonato</code></a>)</li>`
</ul>
<h2>v1.0.78</h2>
<ul>
<li>Support deserializing as <code>&amp;RawValue</code> in map key position, which would previously fail with <em>&quot;invalid type: newtype struct&quot;</em> (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/851">#851</a>)</li>
</ul>
<h2>v1.0.77</h2>
<ul>
<li>Include discord invite links in the published readme</li>
<li>Improve compile error on compiling with neither <code>std</code> nor <code>alloc</code> feature enabled</li>
<li>Include integration tests in published package (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/578">#578</a>)</li>
</ul>
<h2>v1.0.76</h2>
<ul>
<li>Fix a build error when features <code>raw_value</code> and <code>alloc</code> are enabled while <code>std</code> is disabled (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/850">#850</a>)</li>
</ul>
<h2>v1.0.75</h2>
<ul>
<li>Fix deserialization of small integers in arbitrary_precision mode (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/845">#845</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7025523603"><code>7025523</code></a> Release 1.0.79</li>
<li><a href="7e56a406e5"><code>7e56a40</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/830">#830</a> from lucacasonato/support_lone_surrogates_in_raw_value</li>
<li><a href="977975ee65"><code>977975e</code></a> Ignore buggy ptr_arg clippy lint</li>
<li><a href="aa78d6ca4e"><code>aa78d6c</code></a> Resolve needless_borrow clippy lint</li>
<li><a href="98cafacefe"><code>98cafac</code></a> Release 1.0.78</li>
<li><a href="2d81cbd113"><code>2d81cbd</code></a> Move raw_value test imports to block of imports</li>
<li><a href="cbb0342ba0"><code>cbb0342</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/851">#851</a> from serde-rs/rawkey</li>
<li><a href="e5cdfcc7ee"><code>e5cdfcc</code></a> Support deserializing map key as &amp;RawValue</li>
<li><a href="6a3fb68979"><code>6a3fb68</code></a> Add test of deserializing a &amp;RawValue in map key position</li>
<li><a href="d8512af496"><code>d8512af</code></a> Release 1.0.77</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.74...v1.0.79">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.74&new-version=1.0.79)](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>

998: Bump Swatinem/rust-cache from 1.3.0 to 1.4.0 r=delta1 a=dependabot[bot]

Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.3.0 to 1.4.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Swatinem/rust-cache/blob/v1/CHANGELOG.md">Swatinem/rust-cache's changelog</a>.</em></p>
<blockquote>
<h2>1.4.0</h2>
<ul>
<li>Clean both <code>debug</code> and <code>release</code> target directories.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="cb2cf0cc7c"><code>cb2cf0c</code></a> 1.4.0</li>
<li><a href="74e8e24b6d"><code>74e8e24</code></a> Update dependencies, clean both debug and release targets</li>
<li><a href="f8f67b7515"><code>f8f67b7</code></a> Add a LICENSE file</li>
<li><a href="5b2b053862"><code>5b2b053</code></a> Improve Cache Details documentation (<a href="https://github-redirect.dependabot.com/Swatinem/rust-cache/issues/49">#49</a>)</li>
<li><a href="3bb3a9a087"><code>3bb3a9a</code></a> update deps and rebuild</li>
<li><a href="d127014599"><code>d127014</code></a> update dependencies</li>
<li><a href="801365cd81"><code>801365c</code></a> hint that checkout has to be used first (<a href="https://github-redirect.dependabot.com/Swatinem/rust-cache/issues/34">#34</a>)</li>
<li><a href="c5ed9ba6b7"><code>c5ed9ba</code></a> update dependencies and rebuild</li>
<li><a href="536c94f32c"><code>536c94f</code></a> Cache-on-failure support (<a href="https://github-redirect.dependabot.com/Swatinem/rust-cache/issues/22">#22</a>)</li>
<li>See full diff in <a href="https://github.com/Swatinem/rust-cache/compare/v1.3.0...v1.4.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Swatinem/rust-cache&package-manager=github_actions&previous-version=1.3.0&new-version=1.4.0)](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>

999: Bump tracing from 0.1.29 to 0.1.33 r=delta1 a=dependabot[bot]

Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.29 to 0.1.33.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing's releases</a>.</em></p>
<blockquote>
<h2>tracing 0.1.33</h2>
<p>This release adds new <code>span_enabled!</code> and <code>event_enabled!</code> variants of the
<code>enabled!</code> macro, for testing whether a subscriber would specifically enable a
span or an event.</p>
<h3>Added</h3>
<ul>
<li><code>span_enabled!</code> and <code>event_enabled!</code> macros (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1900">#1900</a>)</li>
<li>Several documentation improvements (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2010">#2010</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2012">#2012</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Compilation warning when compiling for &lt;=32-bit targets (including <code>wasm32</code>)
(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2060">#2060</a>)</li>
</ul>
<p>Thanks to <a href="https://github.com/guswynn"><code>`@​guswynn</code></a>,` <a href="https://github.com/arifd"><code>`@​arifd</code></a>,` <a href="https://github.com/hrxi"><code>`@​hrxi</code></a>,` <a href="https://github.com/CAD97"><code>`@​CAD97</code></a>,` and <a href="https://github.com/name1e5s"><code>`@​name1e5s</code></a>` for contributing to
this release!</p>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1900">#1900</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/1900">tokio-rs/tracing#1900</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2010">#2010</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/2010">tokio-rs/tracing#2010</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2012">#2012</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/2012">tokio-rs/tracing#2012</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2060">#2060</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/2060">tokio-rs/tracing#2060</a></p>
<h2>tracing 0.1.32</h2>
<p>This release reduces the overhead of creating and dropping disabled
spans significantly, which should improve performance when no <code>tracing</code>
subscriber is in use or when spans are disabled by a filter.</p>
<h3>Fixed</h3>
<ul>
<li><strong>attributes</strong>: Compilation failure with <code>--minimal-versions</code> due to a
too-permissive <code>syn</code> dependency (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1960">#1960</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Reduced <code>Drop</code> overhead for disabled spans (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1974">#1974</a>)</li>
<li><code>tracing-attributes</code>: updated to [0.1.20][attributes-0.1.20]</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1974">#1974</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/1974">tokio-rs/tracing#1974</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1960">#1960</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/1960">tokio-rs/tracing#1960</a>
[attributes-0.1.20]: <a href="https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.20">https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.20</a></p>
<h2>tracing 0.1.31</h2>
<p>This release increases the minimum supported Rust version (MSRV) to 1.49.0. In
addition, it fixes some relatively rare macro bugs.</p>
<h3>Added</h3>
<ul>
<li>Added <code>tracing-forest</code> to the list of related crates (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1935">#1935</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="40fb304370"><code>40fb304</code></a> tracing: prepare to release v0.1.33 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2061">#2061</a>)</li>
<li><a href="d91af65bde"><code>d91af65</code></a> chore(ci): add a minimal-versions check (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2015">#2015</a>)</li>
<li><a href="ce613f8795"><code>ce613f8</code></a> journald: remove span field prefixes; add separate fields for span data (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1968">#1968</a>)</li>
<li><a href="b0146c5784"><code>b0146c5</code></a> subscriber: add missing <code>Filter::on_record</code> for to <code>EnvFilter</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2058">#2058</a>)</li>
<li><a href="d554b2b589"><code>d554b2b</code></a> subscriber: add inherent impls for <code>EnvFilter</code> methods (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2057">#2057</a>)</li>
<li><a href="75f82ece4c"><code>75f82ec</code></a> subscriber: fix empty string handling in <code>EnvFilter::builder().parse</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2052">#2052</a>)</li>
<li><a href="66514cde8c"><code>66514cd</code></a> chore: fix Rust 1.60 warnings (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2056">#2056</a>)</li>
<li><a href="38da7ea655"><code>38da7ea</code></a> tracing: fix issues compiling for WASM/other &lt;=32-bit platforms (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2060">#2060</a>)</li>
<li><a href="8f240e6b6f"><code>8f240e6</code></a> core: prepare to release 0.1.24 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2042">#2042</a>)</li>
<li><a href="42888dc5c9"><code>42888dc</code></a> subscriber: prepare to release v0.3.10 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/2041">#2041</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-0.1.29...tracing-0.1.33">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tracing&package-manager=cargo&previous-version=0.1.29&new-version=0.1.33)](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>

1003: Bump strum from 0.23.0 to 0.24.0 r=delta1 a=dependabot[bot]

Bumps [strum](https://github.com/Peternator7/strum) from 0.23.0 to 0.24.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md">strum's changelog</a>.</em></p>
<blockquote>
<h2>0.24.0</h2>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/212">#212</a>. Fix some clippy lints</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/209">#209</a>. Use <code>core</code> instead of <code>std</code> in a few places.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/206">#206</a>. Add <code>get_documentation()</code> to <code>EnumMessage</code>. This provides
the ability to get the doc comment for a variant. Currently, very little formatting is done. That is subject to change.
Please do not abuse this feature. Rust docs are meant for developer documentation, not long messages for users. However,
this may be useful in some situations so we've added support for it.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/202">#202</a>. Add a missing doc comment</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/201">#201</a>. Upgrade Heck version</p>
</li>
</ul>
<h2>0.23.1</h2>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/193">#193</a> Fixes an ambiguity introduced by <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/186">#186</a> when your enum has a variant called Error.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/192">#192</a> The work done in <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/189">#189</a> was lost in other PR's. This re-added the functionality to support no-std.</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/Peternator7/strum/commits">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strum&package-manager=cargo&previous-version=0.23.0&new-version=0.24.0)](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>

1004: Bump serde_with from 1.12.0 to 1.12.1 r=delta1 a=dependabot[bot]

Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.12.0 to 1.12.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with's releases</a>.</em></p>
<blockquote>
<h2>serde_with v1.12.1</h2>
<h2>Fixed</h2>
<ul>
<li>Depend on a newer <code>serde_with_macros</code> version to pull in some fixes.
<ul>
<li>Account for generics when deriving implementations with <code>SerializeDisplay</code> and <code>DeserializeFromStr</code> <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/413">#413</a></li>
<li>Provide better error messages when parsing types fails <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/423">#423</a></li>
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c46454c20c"><code>c46454c</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/427">#427</a></li>
<li><a href="a1b17510a1"><code>a1b1751</code></a> Fix syntax error in the release script</li>
<li><a href="c60c753e78"><code>c60c753</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/426">#426</a></li>
<li><a href="99a440ad29"><code>99a440a</code></a> Bump versions to release macro fixes / improvements</li>
<li><a href="77c2f593d6"><code>77c2f59</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/425">#425</a></li>
<li><a href="86f9eac005"><code>86f9eac</code></a> Replace <code>parse_type_from_string</code> with new <code>FromMeta</code> implementation</li>
<li><a href="05e9bb5b20"><code>05e9bb5</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/424">#424</a></li>
<li><a href="8264ee5451"><code>8264ee5</code></a> Rework pre installed tools in the devcontainer</li>
<li><a href="e4681d500d"><code>e4681d5</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/421">#421</a></li>
<li><a href="c94da71c18"><code>c94da71</code></a> Fix wrong clippy warning</li>
<li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v1.12.0...v1.12.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_with&package-manager=cargo&previous-version=1.12.0&new-version=1.12.1)](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>

1005: Bump rust_decimal_macros from 1.22.0 to 1.23.1 r=delta1 a=dependabot[bot]

Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.22.0 to 1.23.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a88e9ae26b"><code>a88e9ae</code></a> Version 1.23.1 (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/502">#502</a>)</li>
<li><a href="0971386d9a"><code>0971386</code></a> Fixes no_std compile by avoiding to_string (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/501">#501</a>)</li>
<li><a href="13735d63a3"><code>13735d6</code></a> Remove keyword since crates.io only supports 5</li>
<li><a href="7a171cfdc9"><code>7a171cf</code></a> Version 1.23.0 (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/499">#499</a>)</li>
<li><a href="88125c81cb"><code>88125c8</code></a> Implement BorshSchema (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/498">#498</a>)</li>
<li><a href="2de2a6dd2f"><code>2de2a6d</code></a> Fix Decimal::to_i64 for I64::MIN (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/496">#496</a>)</li>
<li><a href="168fa67932"><code>168fa67</code></a> Add TryFrom impls to primitive types (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/493">#493</a>)</li>
<li><a href="4b97ec42c7"><code>4b97ec4</code></a> Inv implementation for Decimal  (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/495">#495</a>)</li>
<li><a href="2d43258460"><code>2d43258</code></a> Minor description changes to help with discoverability (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/490">#490</a>)</li>
<li><a href="34060a2a27"><code>34060a2</code></a> Additional serde test for arbitrary precision (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/487">#487</a>)</li>
<li>See full diff in <a href="https://github.com/paupino/rust-decimal/compare/1.22.0...1.23.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rust_decimal_macros&package-manager=cargo&previous-version=1.22.0&new-version=1.23.1)](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: icy-ux <>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 13:34:02 +00:00
.cargo .cargo/config.toml for specifying linker 2021-03-15 14:36:05 +11:00
.github Merge #919 #977 #978 #998 #999 #1003 #1004 #1005 2022-04-14 13:34:02 +00: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 #919 #977 #978 #998 #999 #1003 #1004 #1005 2022-04-14 13:34:02 +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 #919 #977 #978 #998 #999 #1003 #1004 #1005 2022-04-14 13:34:02 +00:00
Cargo.toml Update secp256kfun and rand to latest version 2021-05-25 15:35:13 +10:00
CHANGELOG.md Reduce required confirmations for Bitcoin transactions from 2 to 1 2022-04-13 16:16:36 +02: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.