Commit Graph

1755 Commits

Author SHA1 Message Date
dependabot[bot]
6d5f73f6d1
Bump hyper from 0.14.12 to 0.14.13
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.12 to 0.14.13.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.12...v0.14.13)

---
updated-dependencies:
- dependency-name: hyper
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-07 23:49:31 +00:00
bors[bot]
b6461a3d33
Merge #791
791: Bump tokio from 1.8.0 to 1.12.0 r=rishflab a=dependabot[bot]

Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.0 to 1.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio's releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.12.0</h2>
<h1>1.12.0 (September 21, 2021)</h1>
<h3>Fixed</h3>
<ul>
<li>mpsc: ensure <code>try_reserve</code> error is consistent with <code>try_send</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4119">#4119</a>)</li>
<li>mpsc: use <code>spin_loop_hint</code> instead of <code>yield_now</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4115">#4115</a>)</li>
<li>sync: make <code>SendError</code> field public (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4097">#4097</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li>io: add POSIX AIO on FreeBSD (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4054">#4054</a>)</li>
<li>io: add convenience method <code>AsyncSeekExt::rewind</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4107">#4107</a>)</li>
<li>runtime: add tracing span for <code>block_on</code> futures (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4094">#4094</a>)</li>
<li>runtime: callback when a worker parks and unparks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4070">#4070</a>)</li>
<li>sync: implement <code>try_recv</code> for mpsc channels (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4113">#4113</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>macros: run runtime inside <code>LocalSet</code> when using macro (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4027">#4027</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>docs: clarify CPU-bound tasks on Tokio (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4105">#4105</a>)</li>
<li>mpsc: document spurious failures on <code>poll_recv</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4117">#4117</a>)</li>
<li>mpsc: document that <code>PollSender</code> impls <code>Sink</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4110">#4110</a>)</li>
<li>task: document non-guarantees of <code>yield_now</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4091">#4091</a>)</li>
<li>time: document paused time details better (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4061">#4061</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4103">#4103</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4027">#4027</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4027">tokio-rs/tokio#4027</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4054">#4054</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4054">tokio-rs/tokio#4054</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4061">#4061</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4061">tokio-rs/tokio#4061</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4070">#4070</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4070">tokio-rs/tokio#4070</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4091">#4091</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4091">tokio-rs/tokio#4091</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4094">#4094</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4094">tokio-rs/tokio#4094</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4097">#4097</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4097">tokio-rs/tokio#4097</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4103">#4103</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4103">tokio-rs/tokio#4103</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4105">#4105</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4105">tokio-rs/tokio#4105</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4107">#4107</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4107">tokio-rs/tokio#4107</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4110">#4110</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4110">tokio-rs/tokio#4110</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4113">#4113</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4113">tokio-rs/tokio#4113</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4115">#4115</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4115">tokio-rs/tokio#4115</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4117">#4117</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4117">tokio-rs/tokio#4117</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4119">#4119</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/4119">tokio-rs/tokio#4119</a></p>
<h2>Tokio v1.11.0</h2>
<h1>1.11.0 (August 31, 2021)</h1>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="1ed89aa5cf"><code>1ed89aa</code></a> chore: prepare Tokio v1.12.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4123">#4123</a>)</li>
<li><a href="d9b2dc81ca"><code>d9b2dc8</code></a> task: improve JoinHandle::abort cancellation doc (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4121">#4121</a>)</li>
<li><a href="8e54145c8b"><code>8e54145</code></a> ci: make loom tests optional (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4112">#4112</a>)</li>
<li><a href="279e8b001a"><code>279e8b0</code></a> sync: document spurious failures on poll_recv (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4117">#4117</a>)</li>
<li><a href="e9f6faee67"><code>e9f6fae</code></a> mpsc: ensure try_reserve error is consistent with try_send (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4119">#4119</a>)</li>
<li><a href="f1b89675eb"><code>f1b8967</code></a> mpsc: use spin_loop_hint instead of yield_now (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4115">#4115</a>)</li>
<li><a href="ddd33f2b05"><code>ddd33f2</code></a> sync: implement try_recv for mpsc channels (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4113">#4113</a>)</li>
<li><a href="8e92f05795"><code>8e92f05</code></a> io: update the mio-aio dev-dependency (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4116">#4116</a>)</li>
<li><a href="957ed3eac0"><code>957ed3e</code></a> runtime: callback when a worker parks and unparks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4070">#4070</a>)</li>
<li><a href="ab34805849"><code>ab34805</code></a> time: more docs on advance (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/4103">#4103</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.8.0...tokio-1.12.0">compare view</a></li>
</ul>
</details>
<br />


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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-07 22:58:17 +00:00
bors[bot]
72e75c6e02
Merge #808
808: Release version 0.9.0 r=rishflab a=comit-botty-mc-botface

Hi `@rishflab!`

This PR was created in response to a manual trigger of the release workflow here: https://github.com/comit-network/xmr-btc-swap/actions/runs/1316127753.
I've updated the changelog and bumped the versions in the manifest files in this commit: 6f47964e8d.

Merging this PR will create a GitHub release and upload any assets that are created as part of the release build.

Co-authored-by: COMIT Botty McBotface <botty@coblox.tech>
2021-10-07 22:25:13 +00:00
COMIT Botty McBotface
6f47964e8d Prepare release 0.9.0 2021-10-07 12:21:11 +00:00
bors[bot]
90bf702b99
Merge #805
805: Remove unused command line argument from the balance command r=rishflab a=rishflab

The target block is irrelevant when calculating the balance.

Closes #793 

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-10-07 09:22:46 +00:00
bors[bot]
7de3e23bb0
Merge #802 #803
802: Bump tracing-subscriber from 0.2.20 to 0.2.25 r=rishflab a=dependabot[bot]

Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.20 to 0.2.25.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tracing/releases">tracing-subscriber's releases</a>.</em></p>
<blockquote>
<h2>tracing-subscriber 0.2.23</h2>
<p>This release fixes a few bugs in the per-layer filtering API added in
v0.2.21.</p>
<h3>Fixed</h3>
<ul>
<li><strong>env-filter</strong>: Fixed excessive <code>EnvFilter</code> memory use (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1568">#1568</a>)</li>
<li><strong>filter</strong>: Fixed a panic that may occur in debug mode when using
per-layer filters together with global filters (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1569">#1569</a>)</li>
<li>Fixed incorrect documentation formatting (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1572">#1572</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1568">#1568</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1568">#1568</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1569">#1569</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1569">#1569</a>
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1572">#1572</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1572">#1572</a></p>
<h2>tracing-subscriber 0.2.22</h2>
<p>This fixes a regression where the <code>filter::ParseError</code> type was
accidentally renamed.</p>
<h3>Fixed</h3>
<ul>
<li><strong>filter</strong>: Fix <code>filter::ParseError</code> accidentally being renamed to
<code>filter::DirectiveParseError</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1558">#1558</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1558">#1558</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/pull/1558">tokio-rs/tracing#1558</a></p>
<h2>tracing-subscriber 0.2.21</h2>
<p>This release introduces the [<code>Filter</code>] trait, a new API for [per-layer
filtering][plf]. This allows controlling which spans and events are
recorded by various layers individually, rather than globally.</p>
<p>In addition, it adds a new [<code>Targets</code>] filter, which provides a
lighter-weight version of the filtering provided by [<code>EnvFilter</code>], as
well as other smaller API improvements and fixes.</p>
<h3>Deprecated</h3>
<ul>
<li><strong>registry</strong>: <code>SpanRef::parent_id</code>, which cannot properly support
per-layer filtering. Use <code>.parent().map(SpanRef::id)</code> instead.
(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1523">#1523</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li><strong>layer</strong> <code>Context</code> methods that are provided when the <code>Subscriber</code>
implements <code>LookupSpan</code> no longer require the &quot;registry&quot; feature flag
(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1525">#1525</a>)</li>
<li><strong>layer</strong> <code>fmt::Debug</code> implementation for <code>Layered</code> no longer requires
the <code>S</code> type parameter to implement <code>Debug</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1528">#1528</a>)</li>
</ul>
<h3>Added</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6692aaf738"><code>6692aaf</code></a> subscriber: prepare to release 0.2.25 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1622">#1622</a>)</li>
<li><a href="29ffdbc2b2"><code>29ffdbc</code></a> subscriber: forward <code>Filtered::downcast_raw</code> to wrapped Layer (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1619">#1619</a>)</li>
<li><a href="645f282eee"><code>645f282</code></a> attributes: prepare to release 0.1.18 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1621">#1621</a>)</li>
<li><a href="7dda7f5e90"><code>7dda7f5</code></a> attributes: remove unnecessary quote_spanned!  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1617">#1617</a>)</li>
<li><a href="243a3e2d2f"><code>243a3e2</code></a> attributes: fix compile error with instrumented async functions  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1616">#1616</a>)</li>
<li><a href="ac74ba0ca5"><code>ac74ba0</code></a> attributes: suppress <code>clippy::suspicious_else</code> without nop let (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1614">#1614</a>)</li>
<li><a href="66cd79f72a"><code>66cd79f</code></a> attributes: prepare to release v0.1.17 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1611">#1611</a>)</li>
<li><a href="3ee87f3cb9"><code>3ee87f3</code></a> core: prepare to release 0.1.21 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1610">#1610</a>)</li>
<li><a href="84c1c264ad"><code>84c1c26</code></a> chore: fix CI tracing-core nostd testing tracing</li>
<li><a href="c9db496a95"><code>c9db496</code></a> attributes: skip <code>async</code> spans if level disabled (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1607">#1607</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.25">compare view</a></li>
</ul>
</details>
<br />


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

803: Bump tracing from 0.1.27 to 0.1.29 r=rishflab a=dependabot[bot]

Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.27 to 0.1.29.
<details>
<summary>Commits</summary>
<ul>
<li><a href="d0ef14d3f5"><code>d0ef14d</code></a> tracing: prepare to release v0.1.29  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1623">#1623</a>)</li>
<li><a href="6692aaf738"><code>6692aaf</code></a> subscriber: prepare to release 0.2.25 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1622">#1622</a>)</li>
<li><a href="29ffdbc2b2"><code>29ffdbc</code></a> subscriber: forward <code>Filtered::downcast_raw</code> to wrapped Layer (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1619">#1619</a>)</li>
<li><a href="645f282eee"><code>645f282</code></a> attributes: prepare to release 0.1.18 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1621">#1621</a>)</li>
<li><a href="7dda7f5e90"><code>7dda7f5</code></a> attributes: remove unnecessary quote_spanned!  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1617">#1617</a>)</li>
<li><a href="243a3e2d2f"><code>243a3e2</code></a> attributes: fix compile error with instrumented async functions  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1616">#1616</a>)</li>
<li><a href="ac74ba0ca5"><code>ac74ba0</code></a> attributes: suppress <code>clippy::suspicious_else</code> without nop let (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1614">#1614</a>)</li>
<li><a href="66cd79f72a"><code>66cd79f</code></a> attributes: prepare to release v0.1.17 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1611">#1611</a>)</li>
<li><a href="3ee87f3cb9"><code>3ee87f3</code></a> core: prepare to release 0.1.21 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1610">#1610</a>)</li>
<li><a href="84c1c264ad"><code>84c1c26</code></a> chore: fix CI tracing-core nostd testing tracing</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.29">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.27&new-version=0.1.29)](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>
2021-10-07 04:12:11 +00:00
bors[bot]
9e67b1d57c
Merge #795
795: Bump time from 0.3.2 to 0.3.3 r=rishflab a=dependabot[bot]

Bumps [time](https://github.com/time-rs/time) from 0.3.2 to 0.3.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's changelog</a>.</em></p>
<blockquote>
<h2>0.3.3 [2021-09-25]</h2>
<h3>Added</h3>
<ul>
<li><code>Parsed::parse_item</code></li>
<li><code>Parsed::parse_items</code></li>
<li><code>Parsed::parse_literal</code></li>
<li>Builder methods for <code>Parsed</code></li>
<li>The <code>format_description!</code> macro now supports the <code>case_sensitive</code> modifier.</li>
</ul>
<h3>Changed</h3>
<p>The minimum supported version is now 1.51.0.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d700977ce9"><code>d700977</code></a> v0.3.3 release</li>
<li><a href="7af75c14a0"><code>7af75c1</code></a> Improve test coverage</li>
<li><a href="150e970b7c"><code>150e970</code></a> Add builder methods for <code>Parsed</code></li>
<li><a href="483ef989d0"><code>483ef98</code></a> Eliminate need to specify type name in macro</li>
<li><a href="01570b4bfd"><code>01570b4</code></a> Remove pedantic lints</li>
<li><a href="159cedbf6e"><code>159cedb</code></a> Handle case insensitive modifiers in macro</li>
<li><a href="7b3c9482ba"><code>7b3c948</code></a> Remove erroneous lints that have been patched</li>
<li><a href="8eb0d424f0"><code>8eb0d42</code></a> Split parsing benchmark by component</li>
<li><a href="e4d09e20e5"><code>e4d09e2</code></a> Bump MSRV to 1.51</li>
<li><a href="9882c7ae5a"><code>9882c7a</code></a> Reduce build artefacts</li>
<li>Additional commits viewable in <a href="https://github.com/time-rs/time/compare/v0.3.2...v0.3.3">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=time&package-manager=cargo&previous-version=0.3.2&new-version=0.3.3)](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>
2021-10-07 03:46:11 +00:00
rishflab
214730743f Remove unused command line argument from the balance command
The target block is irrelevant when calculating the balance.
2021-10-07 14:32:50 +11:00
bors[bot]
bf9e2d0f77
Merge #806
806: Upgrade bitcoin and bdk to latest version r=rishflab a=thomaseizinger

The latest version allows us to access `miniscript` via `bdk` which
removes the need for declaring it as an extra dependency.


Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
2021-10-07 02:13:13 +00:00
bors[bot]
58fd9c135a
Merge #798
798: Add subcommand to print internal bitcoin wallet descriptor r=rishflab a=rishflab

Example:

```
 cargo run --package swap --bin swap -- export-bitcoin-wallet

{"descriptor":"wpkh(xprv9s21ZrQH143K2q85eUf2ppCtti2Zar6aDCW5dCC5DG9VvutJ3cpe3Qf9wZpQeraNf9JEuGem1RyJZQMEWCN2DpWyL5WbsvmSW6wbL7Jq53H/84'/0'/0'/0/*)","blockheight":0,"label":"cli-bitcoin"}
```

closes #700 

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-10-07 01:57:08 +00:00
Thomas Eizinger
4de8b0ebc4
Upgrade bitcoin and bdk to latest version
The latest version allows us to access `miniscript` via `bdk` which
removes the need for declaring it as an extra dependency.
2021-10-07 12:27:37 +11:00
rishflab
e42812ba37 Add subcommand to print internal bitcoin wallet descriptor
Example:

 cargo run --package swap --bin swap -- export-bitcoin-wallet

{"descriptor":"wpkh(xprv9s21ZrQH143K2q85eUf2ppCtti2Zar6aDCW5dCC5DG9VvutJ3cpe3Qf9wZpQeraNf9JEuGem1RyJZQMEWCN2DpWyL5WbsvmSW6wbL7Jq53H/84'/0'/0'/0/*)","blockheight":0,"label":"cli-bitcoin"}
2021-10-07 11:22:04 +11:00
bors[bot]
9ea73a8e66
Merge #780
780: Sqlite database r=rishflab a=rishflab

Closes #427, #762, #770

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-10-06 23:26:43 +00:00
rishflab
4ea5f347cc Remove flaky test
This test only passes sometimes and needs to have. It fails regularly
on a94c320021, a commit which just
shuffles modules around.
2021-10-07 10:00:17 +11:00
rishflab
2c5e0c0323 Use sqlite in tests 2021-10-07 09:52:26 +11:00
rishflab
cdfc8419ad Implement human-readable serialization for monero private key
Some of the swap states were unable to be serialized using
serde_json because this was not implemented.
2021-10-07 09:51:47 +11:00
dependabot[bot]
06afe3d17d
Bump tracing from 0.1.27 to 0.1.29
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.27 to 0.1.29.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.29)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 11:08:45 +00:00
dependabot[bot]
0c4c716730
Bump tracing-subscriber from 0.2.20 to 0.2.25
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.20 to 0.2.25.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.25)

---
updated-dependencies:
- dependency-name: tracing-subscriber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 11:08:32 +00:00
rishflab
8fb15ba7aa Init db after tracing 2021-10-06 08:22:55 +11:00
rishflab
f91d8ab45c Replace chrono with time lib 2021-10-06 08:22:55 +11:00
rishflab
394adb0a4f Add subcommand to print config
This subcommand has been introduced to make it easy for users to find
the location of the deprecated sled database in case they wish to delete
it. This feature should also resolve difficulties users were facing when
 trying to find where xmr-btc-swap was storing their data.
2021-10-06 08:22:55 +11:00
rishflab
05a28dc37a Add --sled flag to use deprecated sled db 2021-10-06 08:22:54 +11:00
rishflab
0f7876c107 Add auto-migration from sled to sqlite on startup 2021-10-06 08:22:54 +11:00
rishflab
a738c9df8a Remove multiple occurrences of db initialisation 2021-09-30 18:59:40 +10:00
rishflab
7efdb96a50 Add sqlite database implementation 2021-09-30 18:59:12 +10:00
rishflab
da9d09aa5e Create Database trait
Use domain types in database API to prevent leaking of database types.
This trait will allow us to smoothly introduce the sqlite database.
2021-09-30 18:56:52 +10:00
rishflab
a94c320021 Reorganise modules for multiple database implementations 2021-09-30 18:54:23 +10:00
dependabot[bot]
6a8c925a0b
Bump time from 0.3.2 to 0.3.3
Bumps [time](https://github.com/time-rs/time) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](https://github.com/time-rs/time/compare/v0.3.2...v0.3.3)

---
updated-dependencies:
- dependency-name: time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 11:07:34 +00:00
dependabot[bot]
68ea2c829b
Bump tokio from 1.8.0 to 1.12.0
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.8.0 to 1.12.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.8.0...tokio-1.12.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 11:10:21 +00:00
bors[bot]
0e4891fcc0
Merge #771
771: Bump dprint/check from 1.5 to 2.0 r=rishflab a=dependabot[bot]

Bumps [dprint/check](https://github.com/dprint/check) from 1.5 to 2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dprint/check/releases">dprint/check's releases</a>.</em></p>
<blockquote>
<h2>v2.0</h2>
<p>No release notes provided.</p>
<h2>v1.6</h2>
<p>Upgrades to dprint 0.17</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="22f4fe0ab3"><code>22f4fe0</code></a> chore: update README.md</li>
<li><a href="afcd0d0deb"><code>afcd0d0</code></a> feat: always use latest dprint version (<a href="https://github-redirect.dependabot.com/dprint/check/issues/5">#5</a>)</li>
<li><a href="c0bed7c846"><code>c0bed7c</code></a> chore: run the CI on pull requests</li>
<li><a href="f134765a04"><code>f134765</code></a> chore(release): Upgrade to dprint 0.17.0 (<a href="https://github-redirect.dependabot.com/dprint/check/issues/3">#3</a>)</li>
<li>See full diff in <a href="https://github.com/dprint/check/compare/v1.5...v2.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dprint/check&package-manager=github_actions&previous-version=1.5&new-version=2.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>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-16 14:54:56 +00:00
bors[bot]
89c35bdb61
Merge #753 #754 #764
753: Bump thiserror from 1.0.28 to 1.0.29 r=rishflab a=dependabot[bot]

Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.28 to 1.0.29.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/thiserror/releases">thiserror's releases</a>.</em></p>
<blockquote>
<h2>1.0.29</h2>
<ul>
<li>
<p>Support error types containing generic type parameters (<a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/148">#148</a>, <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/149">#149</a>, <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/150">#150</a>, <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/151">#151</a>)</p>
<pre lang="rust"><code>use thiserror::Error;
<p>#[derive(Error, Debug)]
pub enum MyError&lt;E, F, G&gt; {
#[error(&quot;thing {0} ({0:?})&quot;)]
Variant(E),
#[error(&quot;some error&quot;)]
Delegate(#[source] SomeError&lt;F&gt;),
#[error(&quot;err 0o{val:o}&quot;)]
Octal { val: G },
}
</code></pre></p>
<p>In the above example, thiserror would automatically generate the following pair of generic trait impls.</p>
<pre lang="rust"><code>impl&lt;E, F, G&gt; std::error::Error for MyError&lt;E, F, G&gt;
where
    SomeError&lt;F&gt;: std::error::Error + 'static,
    Self: std::fmt::Debug + std::fmt::Display;
<p>impl&lt;E, F, G&gt; std::fmt::Display for MyError&lt;E, F, G&gt;
where
E: std::fmt::Debug + std::fmt::Display,
G: std::fmt::Octal;
</code></pre></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c7dd271dcd"><code>c7dd271</code></a> Release 1.0.29</li>
<li><a href="4b581e3fb9"><code>4b581e3</code></a> Skip a redundant Member clone</li>
<li><a href="19a15cb0c7"><code>19a15cb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/152">#152</a> from dtolnay/bounds</li>
<li><a href="f688fd7009"><code>f688fd7</code></a> Handle multiple bounds from the same format string on the same field</li>
<li><a href="113fcaa225"><code>113fcaa</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/151">#151</a> from dtolnay/bounds</li>
<li><a href="72abba6f04"><code>72abba6</code></a> Deduplicate inferred bounds</li>
<li><a href="34f5931ada"><code>34f5931</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/150">#150</a> from dtolnay/bounds</li>
<li><a href="cc65053651"><code>cc65053</code></a> Implied bounds for the remaining std::fmt traits</li>
<li><a href="0a1c5bd7bb"><code>0a1c5bd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/thiserror/issues/149">#149</a> from dtolnay/bound</li>
<li><a href="3e699aa43b"><code>3e699aa</code></a> Implied bounds for transparent attribute</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/thiserror/compare/1.0.28...1.0.29">compare view</a></li>
</ul>
</details>
<br />


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

754: Bump serde_with from 1.9.4 to 1.10.0 r=rishflab a=dependabot[bot]

Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.9.4 to 1.10.0.
<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.10.0</h2>
<h3>Added</h3>
<ul>
<li>
<p>Add <code>BorrowCow</code> which instructs serde to borrow data during deserialization of <code>Cow&lt;'_, str&gt;</code>, <code>Cow&lt;'_, [u8]&gt;</code>, or <code>Cow&lt;'_, [u8; N]&gt;</code>. (<a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/347">#347</a>)
The implementation is for <a href="https://github-redirect.dependabot.com/serde-rs/serde/pull/2072#pullrequestreview-735511713">serde#2072</a> and <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2016">serde#2016</a>, about <code>#[serde(borrow)]</code> not working for <code>Option&lt;Cow&lt;'a, str&gt;&gt;</code>.</p>
<pre lang="rust"><code>#[serde_as]
#[derive(Deserialize, Serialize)]
struct Data&lt;'a&gt; {
    #[serde_as(as = &quot;Option&lt;[BorrowCow; 1]&gt;&quot;)]
    nested: Option&lt;[Cow&lt;'a, str&gt;; 1]&gt;,
}
</code></pre>
<p>The <code>#[serde(borrow)]</code> annotation is automatically added by the <code>#[serde_as]</code> attribute.</p>
</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Bump MSRV to 1.46, since the dev-dependency bitflags requires that version now.</li>
<li><code>flattened_maybe!</code> no longer requires the <code>serde_with</code> crate to be available with a specific name.
This allows renaming the crate or using <code>flattened_maybe!</code> through a re-export without any complications.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/blob/master/CHANGELOG.md">serde_with's changelog</a>.</em></p>
<blockquote>
<h2>[1.10.0] - 2021-09-04</h2>
<h3>Added</h3>
<ul>
<li>
<p>Add <code>BorrowCow</code> which instructs serde to borrow data during deserialization of <code>Cow&lt;'_, str&gt;</code>, <code>Cow&lt;'_, [u8]&gt;</code>, or <code>Cow&lt;'_, [u8; N]&gt;</code>. (<a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/347">#347</a>)
The implementation is for <a href="https://github-redirect.dependabot.com/serde-rs/serde/pull/2072#pullrequestreview-735511713">serde#2072</a> and <a href="https://github-redirect.dependabot.com/serde-rs/serde/issues/2016">serde#2016</a>, about <code>#[serde(borrow)]</code> not working for <code>Option&lt;Cow&lt;'a, str&gt;&gt;</code>.</p>
<pre lang="rust"><code>#[serde_as]
#[derive(Deserialize, Serialize)]
struct Data&lt;'a&gt; {
    #[serde_as(as = &quot;Option&lt;[BorrowCow; 1]&gt;&quot;)]
    nested: Option&lt;[Cow&lt;'a, str&gt;; 1]&gt;,
}
</code></pre>
<p>The <code>#[serde(borrow)]</code> annotation is automatically added by the <code>#[serde_as]</code> attribute.</p>
</li>
</ul>
<h2>Changed</h2>
<ul>
<li>Bump MSRV to 1.46, since the dev-dependency bitflags requires that version now.</li>
<li><code>flattened_maybe!</code> no longer requires the <code>serde_with</code> crate to be available with a specific name.
This allows renaming the crate or using <code>flattened_maybe!</code> through a re-export without any complications.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4087080599"><code>4087080</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/358">#358</a></li>
<li><a href="ed3abe27a9"><code>ed3abe2</code></a> Release new versions</li>
<li><a href="b35bd81c3a"><code>b35bd81</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/356">#356</a></li>
<li><a href="9ebccbfa5a"><code>9ebccbf</code></a> Restructure the serde_as documentation</li>
<li><a href="fbb2ad6ecd"><code>fbb2ad6</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/357">#357</a></li>
<li><a href="522c58a543"><code>522c58a</code></a> <code>--test-threads 1</code> is broken on tarpaulin 0.18.1</li>
<li><a href="d1ccf6d998"><code>d1ccf6d</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/354">#354</a></li>
<li><a href="1c4982b3cf"><code>1c4982b</code></a> Update changelog</li>
<li><a href="011c778565"><code>011c778</code></a> Merge <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/353">#353</a></li>
<li><a href="50e23b1813"><code>50e23b1</code></a> Fix even more typos</li>
<li>Additional commits viewable in <a href="https://github.com/jonasbb/serde_with/compare/v1.9.4...v1.10.0">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.9.4&new-version=1.10.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>

764: Bump sha2 from 0.9.6 to 0.9.8 r=rishflab a=dependabot[bot]

Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.6 to 0.9.8.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a7431da030"><code>a7431da</code></a> release sha2 v0.9.8 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/318">#318</a>)</li>
<li><a href="93d895de72"><code>93d895d</code></a> sha2: Fix bug in the AVX2 backend (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/314">#314</a>)</li>
<li><a href="726e3c3978"><code>726e3c3</code></a> Release sha2 v0.9.7 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/313">#313</a>)</li>
<li><a href="efda00dd6b"><code>efda00d</code></a> Add x86 intrinsics support for sha2-512 (<a href="https://github-redirect.dependabot.com/RustCrypto/hashes/issues/312">#312</a>)</li>
<li>See full diff in <a href="https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.9.8">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=sha2&package-manager=cargo&previous-version=0.9.6&new-version=0.9.8)](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>
2021-09-15 03:21:48 +00:00
bors[bot]
95405f54f0
Merge #772 #773
772: Bump sled from 0.34.6 to 0.34.7 r=rishflab a=dependabot[bot]

Bumps [sled](https://github.com/spacejam/sled) from 0.34.6 to 0.34.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/spacejam/sled/releases">sled's releases</a>.</em></p>
<blockquote>
<h2>0.34.7</h2>
<h2>Bug Fixes</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/spacejam/sled/issues/1314">#1314</a> Fix a bug in Subscriber's Future impl.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/spacejam/sled/blob/v0.34.7/CHANGELOG.md">sled's changelog</a>.</em></p>
<blockquote>
<h1>0.34.7</h1>
<h2>Bug Fixes</h2>
<ul>
<li><a href="https://github-redirect.dependabot.com/spacejam/sled/issues/1314">#1314</a> Fix a bug in Subscriber's Future impl.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d81865d07f"><code>d81865d</code></a> Cut 0.34.7</li>
<li><a href="1893ea4efc"><code>1893ea4</code></a> Bump dependencies</li>
<li><a href="9364ca685b"><code>9364ca6</code></a> Expand the store-pending pattern to Subscriber::next_timeout</li>
<li><a href="c8a31e383f"><code>c8a31e3</code></a> Follow <a href="https://github.com/rrichardson"><code>`@​rrichardson</code></a>'s` lead and only poll oneshots in one place</li>
<li><a href="7fdd90002f"><code>7fdd900</code></a> Store pending oneshot for subscriber future</li>
<li>See full diff in <a href="https://github.com/spacejam/sled/compare/v0.34.6...v0.34.7">compare view</a></li>
</ul>
</details>
<br />


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

773: Bump anyhow from 1.0.43 to 1.0.44 r=rishflab a=dependabot[bot]

Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.44</h2>
<ul>
<li>Mark error constructors cold to help LLVM optimize code paths not leading to error (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/166">#166</a>, thanks <a href="https://github.com/stepancheg"><code>`@​stepancheg</code></a>)</li>`
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6c97c59375"><code>6c97c59</code></a> Release 1.0.44</li>
<li><a href="447eff84b0"><code>447eff8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/166">#166</a> from stepancheg/cold</li>
<li><a href="fa9bcc0457"><code>fa9bcc0</code></a> Mark error constructors cold</li>
<li><a href="b3c5e25860"><code>b3c5e25</code></a> Mirror PR 162 from readme to rustdoc</li>
<li><a href="bec8204d5f"><code>bec8204</code></a> Reword PR 162</li>
<li><a href="4d3adef908"><code>4d3adef</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/162">#162</a> from ArekPiekarz/readme-backtrace</li>
<li><a href="b45d6490c4"><code>b45d649</code></a> Ignore unhelpful Clippy lint in build script</li>
<li><a href="58b873a3cd"><code>58b873a</code></a> Add to README using backtraces on stable channel</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.43&new-version=1.0.44)](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>
2021-09-15 02:59:05 +00:00
bors[bot]
2a3a80e9dc
Merge #775
775: Bump tracing from 0.1.26 to 0.1.27 r=rishflab a=dependabot[bot]

Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
<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.27</h2>
<p>This release adds a new <a href="https://docs.rs/tracing/0.1.27/tracing/struct.Span.html#method.or_current"><code>Span::or_current</code></a> method to aid in
efficiently propagating span contexts to spawned threads or tasks.
Additionally, it updates the <a href="https://crates.io/crates/tracing-core"><code>tracing-core</code></a> version to <a href="https://github.com/tokio-rs/tracing/releases/tag/tracing-core-0.1.20">0.1.20</a> and
the <a href="https://crates.io/crates/tracing-attributes"><code>tracing-attributes</code></a> version to <a href="https://github.com/tokio-rs/tracing/releases/tag/tracing-attributes-0.1.16">0.1.16</a>, ensuring that a number
of new features in those crates are present.</p>
<h3>Fixed</h3>
<ul>
<li><strong>instrument</strong>: Added missing <code>WithSubscriber</code> implementations for
futures and other types (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1424">#1424</a>)</li>
</ul>
<h3>Added</h3>
<ul>
<li><code>Span::or_current</code> method, to help with efficient span context
propagation (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1538">#1538</a>)</li>
<li><strong>attributes</strong>: add <code>skip_all</code> option to <code>#[instrument]</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1548">#1548</a>)</li>
<li><strong>attributes</strong>: record primitive types as primitive values rather than
as <code>fmt::Debug</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1378">#1378</a>)</li>
<li><strong>core</strong>: <code>NoSubscriber</code>, a no-op <code>Subscriber</code> implementation
(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1549">#1549</a>)</li>
<li><strong>core</strong>: Added <code>Visit::record_f64</code> and support for recording
floating-point values (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1507">#1507</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1522">#1522</a>)</li>
<li>A large number of documentation improvements and fixes (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1369">#1369</a>,
<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1398">#1398</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1435">#1435</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1442">#1442</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1524">#1524</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1556">#1556</a>)</li>
</ul>
<p>Thanks to new contributors <a href="https://github.com/dzvon"><code>`@​dzvon</code></a>` and <a href="https://github.com/mbergkvist"><code>`@​mbergkvist</code></a>,` as well as <a href="https://github.com/teozkr"><code>`@​teozkr</code></a>,`
<a href="https://github.com/maxburke"><code>`@​maxburke</code></a>,` <a href="https://github.com/LukeMathWalker"><code>`@​LukeMathWalker</code></a>,` and <a href="https://github.com/jsgf"><code>`@​jsgf</code></a>,` for contributing to this release!</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c24621f22f"><code>c24621f</code></a> tracing: prepare to release v0.1.27  (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1561">#1561</a>)</li>
<li><a href="47036aa61d"><code>47036aa</code></a> attributes: prepare to release v0.1.16 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1560">#1560</a>)</li>
<li><a href="00ffaee5c9"><code>00ffaee</code></a> subscriber: prepare to release 0.2.22 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1559">#1559</a>)</li>
<li><a href="2a329ec3ab"><code>2a329ec</code></a> chore: docs and tests cleanups(<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1556">#1556</a>)</li>
<li><a href="6df3fd14df"><code>6df3fd1</code></a> subscriber: fix <code>filter::ParseError</code> accidentally being renamed (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1558">#1558</a>)</li>
<li><a href="47f1cd2bdb"><code>47f1cd2</code></a> subscriber: prepare to release v0.2.21 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1555">#1555</a>)</li>
<li><a href="c4b0058d9b"><code>c4b0058</code></a> core: prepare to release 0.1.20 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1554">#1554</a>)</li>
<li><a href="cdb7115e22"><code>cdb7115</code></a> subscriber: add more cross-references to documentation (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1553">#1553</a>)</li>
<li><a href="78036a5a84"><code>78036a5</code></a> subscriber: add <code>Targets</code> filter, a lighter-weight <code>EnvFilter </code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1550">#1550</a>)</li>
<li><a href="665170ddc3"><code>665170d</code></a> attributes: add <code>skip_all</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1548">#1548</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27">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.26&new-version=0.1.27)](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>
2021-09-15 02:04:21 +00:00
dependabot[bot]
edfe415bee
Bump tracing from 0.1.26 to 0.1.27
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27)

---
updated-dependencies:
- dependency-name: tracing
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-14 11:08:48 +00:00
dependabot[bot]
f2371582fc
Bump anyhow from 1.0.43 to 1.0.44
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 11:08:24 +00:00
dependabot[bot]
5818a7105b
Bump sled from 0.34.6 to 0.34.7
Bumps [sled](https://github.com/spacejam/sled) from 0.34.6 to 0.34.7.
- [Release notes](https://github.com/spacejam/sled/releases)
- [Changelog](https://github.com/spacejam/sled/blob/v0.34.7/CHANGELOG.md)
- [Commits](https://github.com/spacejam/sled/compare/v0.34.6...v0.34.7)

---
updated-dependencies:
- dependency-name: sled
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 11:08:04 +00:00
dependabot[bot]
9acb3f2d5b
Bump dprint/check from 1.5 to 2.0
Bumps [dprint/check](https://github.com/dprint/check) from 1.5 to 2.0.
- [Release notes](https://github.com/dprint/check/releases)
- [Commits](https://github.com/dprint/check/compare/v1.5...v2.0)

---
updated-dependencies:
- dependency-name: dprint/check
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 11:07:09 +00:00
bors[bot]
e860c051d3
Merge #769
769: Change message log level to debug to allow enabling through flag r=rishflab a=rishflab

We do not have a way to enable tracing through a command line
argument so it did not make sense to have these messages set to
trace. Ideally a trace flag should be added but it is not that
straightforward with structopt. We could add a --log-level arg
that allows you select a log level but this is verbose.

Closes #759


Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-11 23:04:34 +00:00
bors[bot]
906ad9b283
Merge #765
765: Enable log timestamps using explicit command line flag r=rishflab a=rishflab

https://github.com/comit-network/xmr-btc-swap/discussions/760

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-11 22:41:38 +00:00
rishflab
3ba1ed2bcb Change message log level to debug to allow enabling through flag
We do not have a way to enable tracing through a command line
argument so it did not make sense to have these messages set to
trace. Ideally a trace flag should be added but it is not that
straightforward with structopt. We could add a --log-level arg
that allows you select a log level but this is verbose.
2021-09-11 22:17:32 +10:00
rishflab
ee6524a75f Timestamp logs by default on the ASB
Disable timestamps using the command line flag
2021-09-11 21:57:07 +10:00
rishflab
e380052610 Split monolithic unit test into separate unit tests per assertion 2021-09-10 15:12:54 +10:00
rishflab
679b155db1 Enable log timestamps using explicit command line flag
Previously logs were only timestamped when the ASB was run in an
interactive terminal or if the logs were output as JSON. JSON logs and
ASB output in an interactive terminal are no longer timestamped by
default.
2021-09-09 21:42:07 +10:00
rishflab
19836a1051 Rename variables to match struct fields 2021-09-09 21:41:26 +10:00
dependabot[bot]
6b38d1a917
Bump sha2 from 0.9.6 to 0.9.8
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.6 to 0.9.8.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.9.8)

---
updated-dependencies:
- dependency-name: sha2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-09 11:09:24 +00:00
bors[bot]
1a2b42ccd1
Merge #721
721: Make --force the default behaviour for manual recovery r=rishflab a=rishflab

Also removed the --force flag

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-09 10:46:29 +00:00
rishflab
110a5d2229 Inform user if cancel tx is has already been published
Alice and Bob can both submit cancel. A scenario exists where one of
them may try and manually cancel but the other party has already
published cancel. Log a message to notify the user this has happened.
Add reusable function to check error for bitcoin rpc error code
2021-09-09 18:08:18 +10:00
rishflab
f511ff093c Make --force the default behaviour for manual recovery
Remove the force flag. There is a resume command that tries to
gracefully restarts the protocol and tries to execute the happy path.
Remove e2e tests which test the --force flag.
2021-09-09 18:08:18 +10:00
bors[bot]
7be6bcd4f5
Merge #763
763: Move "swap started" UI message after swap confirmed with ASB r=rishflab a=rishflab

The "swap started" message was being too early, before the ASB had
confirmed they could perform the swap. This was leading to a confusing
scenario where the UI incorrectly indicated to the user that the swap
had started. Users were trying to resume or refund the swaps but there
was no swap id in the db. Moving this message after the swap setup
should resolve this problem. Closes #756, #729, #560.

Co-authored-by: rishflab <rishflab@hotmail.com>
2021-09-09 07:20:44 +00:00
rishflab
0afe83e4e8 Move "swap started" UI message after swap confirmed with ASB
The "swap started" message was being too early, before the ASB had
confirmed they could perform the swap. This was leading to a confusing
scenario where the UI incorrectly indicated to the user that the swap
had started. Users were trying to resume or refund the swaps but there
was no swap id in the db. Moving this message after the swap setup
should resolve this problem. Closes #756, #729, #560.
2021-09-09 16:58:17 +10:00