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>
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>
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>
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>
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.
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>
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<E, F, G> {
#[error("thing {0} ({0:?})")]
Variant(E),
#[error("some error")]
Delegate(#[source] SomeError<F>),
#[error("err 0o{val:o}")]
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<E, F, G> std::error::Error for MyError<E, F, G>
where
SomeError<F>: std::error::Error + 'static,
Self: std::fmt::Debug + std::fmt::Display;
<p>impl<E, F, G> std::fmt::Display for MyError<E, F, G>
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<'_, str></code>, <code>Cow<'_, [u8]></code>, or <code>Cow<'_, [u8; N]></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<Cow<'a, str>></code>.</p>
<pre lang="rust"><code>#[serde_as]
#[derive(Deserialize, Serialize)]
struct Data<'a> {
#[serde_as(as = "Option<[BorrowCow; 1]>")]
nested: Option<[Cow<'a, str>; 1]>,
}
</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<'_, str></code>, <code>Cow<'_, [u8]></code>, or <code>Cow<'_, [u8; N]></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<Cow<'a, str>></code>.</p>
<pre lang="rust"><code>#[serde_as]
#[derive(Deserialize, Serialize)]
struct Data<'a> {
#[serde_as(as = "Option<[BorrowCow; 1]>")]
nested: Option<[Cow<'a, str>; 1]>,
}
</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>
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>
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>
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.
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.
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>
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
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.
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>
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.