669: Bump serde_cbor from 0.11.1 to 0.11.2 r=thomaseizinger a=dependabot[bot]
Bumps [serde_cbor](https://github.com/pyfisch/cbor) from 0.11.1 to 0.11.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/pyfisch/cbor/releases">serde_cbor's releases</a>.</em></p>
<blockquote>
<h2>PROJECT IS ARCHIVED</h2>
<p>After almost 6 years it is time to retire this crate. This implementation of CBOR for serde is used in hundreds of projects with widely differing needs. Besides the standard features it contains code for no-std environments, a packed encoding and CBOR tags.
However while these features are useful to many people they sometimes interact poorly with each others and with optional features of serde itself. Because I don't use the crate myself and because of the potential for new errors I have been reluctant to accept any changes or additional features for the crate. Since this situation is unlikely to change anytime soon and no one else stepped up to maintain this crate I am archiving the repository today. If the crate works for you there is no need to switch to another implementation. However if you encounter problems or for new projects I recommend you take a look at these crates:</p>
<ul>
<li><a href="https://crates.io/crates/ciborium">ciborium</a></li>
<li><a href="https://crates.io/crates/minicbor">minicbor</a></li>
</ul>
<h2>Update to serde 1.0.0</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="347a3f096d"><code>347a3f0</code></a> Final commit, archive project</li>
<li><a href="a218403a52"><code>a218403</code></a> Fix rustfmt issues in CI jobs (<a href="https://github-redirect.dependabot.com/pyfisch/cbor/issues/192">#192</a>)</li>
<li><a href="d012830653"><code>d012830</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/pyfisch/cbor/issues/176">#176</a> from ctm/packed_clarification_and_minimization</li>
<li><a href="3d6d7a2de7"><code>3d6d7a2</code></a> Clarify packed format and provide an example that also uses legacy_enums()</li>
<li>See full diff in <a href="https://github.com/pyfisch/cbor/compare/v0.11.1...v0.11.2">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_cbor&package-manager=cargo&previous-version=0.11.1&new-version=0.11.2)](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>
731: Release version 0.8.3 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/1196685695.
I've updated the changelog and bumped the versions in the manifest files in this commit: 4ff74a3940.
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>
727: Release version 0.8.3 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/1193551539.
I've updated the changelog and bumped the versions in the manifest files in this commit: deadb7d4c8.
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>
726: Release version 0.8.3 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/1192970084.
I've updated the changelog and bumped the versions in the manifest files in this commit: 2a4ffaeacb.
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>
724: Handle errors when waiting for subscriptions r=rishflab a=rishflab
We were not thorough enough in PR #705 and there were some remaining
unhandled errors.
Co-authored-by: rishflab <rishflab@hotmail.com>
716: Release version 0.8.2 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/1188401341.
I've updated the changelog and bumped the versions in the manifest files in this commit: fb0a20106856597ab75239548396d6a9ff52c5dc.
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>
704: Allow withdrawing and viewing of the bitcoin balance on swap-cli r=rishflab a=devbordecraft
Same mechanics of the ASB but on swap-cli as discussed in #694
Co-authored-by: devbordecraft <devbordecraft>
705: Handle Results of waiting for timelocks to expire r=rishflab a=da-kami
Fixes an issue where the CLI is transitioning into a `CancelTimelockExpired` state but the timelock is actually not expired yet.
This happened because watching for confirmations errored and the error was not handled but the same behaviour as reaching the cancel timelock height was applied.
For now this PR will fail the execution in case of the block height watching logic failing. Eventually there should be a more resilient strategy that includes retries.
Co-authored-by: Daniel Karzel <daniel@comit.network>
Co-authored-by: rishflab <rishflab@hotmail.com>
Bob was timing out if the encrypted signature could not be sent in 60
seconds. This behaviour is unnecessary because we are racing against
the cancel timelock anyway. By timing out before this, we remove the
opportunity for bob and alice to re-establish a connection.
657: Load wallet in monero-wallet-rpc on demand if necessary r=thomaseizinger a=thomaseizinger
cc `@sethsimmons`
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
Previously, we relied on the wallet in the `monero-wallet-rpc` daemon
to be loaded as we do on startup. As a consequence of this expectation,
restarting `monero-wallet-rpc` to fix bugs like #652 resulted in the
ASB no longer operating correctly.
To fix this, we now load the wallet on-demand in case the daemon responds
with the error code -13.
Ideally, we would implement this behaviour generically using the proxy
pattern on the `MoneroWalletRpc` trait. Unfortunately, when attempting
to do so we uncover a limitation in the design of `jsonrpc_client`.
This limitation is tracked in https://github.com/thomaseizinger/rust-jsonrpc-client/issues/47.
Once fixed, we can implement this logic in a more robust way that is not
tied to the `check_tx_key` RPC call but applies to any RPC call automatically.
681: Move "Lost connection" log line from WARN to Debug r=thomaseizinger a=sethsimmons
Per #660, moving the log line on a peer closing connection outside of a swap to DEBUG instead of WARN, as there is no action that can be taken by the ASB owner.
Fixes#660.
Co-authored-by: Seth Simmons <sethsimmons@protonmail.com>
Per #660, moving the log line on a peer closing connection outside of a swap to DEBUG instead of WARN, as there is no action that can be taken by the ASB owner.
668: Bump tracing-subscriber from 0.2.19 to 0.2.20 r=thomaseizinger a=dependabot[bot]
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.2.19 to 0.2.20.
<details>
<summary>Commits</summary>
<ul>
<li><a href="26506d5eaa"><code>26506d5</code></a> subscriber: prepare to release v0.2.20 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1514">#1514</a>)</li>
<li><a href="0049ae3d82"><code>0049ae3</code></a> core: prepare to release 0.1.19 (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1513">#1513</a>)</li>
<li><a href="306598d5db"><code>306598d</code></a> opentelemetry: prepare for 0.15.0 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1501">#1501</a>) (<a href="https://github-redirect.dependabot.com/tokio-rs/tracing/issues/1506">#1506</a>)</li>
<li><a href="e6c53e649d"><code>e6c53e6</code></a> examples: use <code>tempfile</code> in<code>fmt-multiple-writers</code></li>
<li><a href="1b8fce963d"><code>1b8fce9</code></a> chore: don't include dev-dependencies in MSRV builds at all</li>
<li><a href="7279cf04fe"><code>7279cf0</code></a> chore: ignore unmaintained warning for <code>net2</code> in <code>cargo audit</code></li>
<li><a href="20e1588cfb"><code>20e1588</code></a> examples: use <code>tempfile</code> in <code>inferno-flame</code></li>
<li><a href="058c9e2519"><code>058c9e2</code></a> flame: replace <code>tempdir</code> with <code>tempfile</code></li>
<li><a href="edc85a9ba8"><code>edc85a9</code></a> appender: replace <code>tempdir</code> with <code>tempfile</code></li>
<li><a href="cc40b68ed0"><code>cc40b68</code></a> examples: bump <code>hyper</code> dep to 0.14.11</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.19...tracing-subscriber-0.2.20">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.19&new-version=0.2.20)](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>
665: Bump serde_json from 1.0.64 to 1.0.66 r=thomaseizinger a=dependabot[bot]
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.64 to 1.0.66.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p>
<blockquote>
<h2>v1.0.66</h2>
<ul>
<li>Preserve exponent signifier and unary plus in exponent of arbitrary_precision numbers (<a href="https://github-redirect.dependabot.com/serde-rs/json/issues/786">#786</a>, thanks <a href="https://github.com/ruifengx"><code>`@ruifengx</code></a>)</li>`
</ul>
<h2>v1.0.65</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6346bb3003"><code>6346bb3</code></a> Release 1.0.66</li>
<li><a href="7780a670e7"><code>7780a67</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/789">#789</a> from serde-rs/orpattern</li>
<li><a href="53e6ce4a67"><code>53e6ce4</code></a> Restore compatiblity with older rustc after PR 786</li>
<li><a href="c38fc6530b"><code>c38fc65</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/serde-rs/json/issues/786">#786</a> from ruifengx/master</li>
<li><a href="c9193d4ed9"><code>c9193d4</code></a> Release 1.0.65</li>
<li><a href="f20557691d"><code>f205576</code></a> Merge pull request 788 from jplatte/doc-cfg</li>
<li><a href="6f15a0e1b2"><code>6f15a0e</code></a> Add doc(cfg(feature = "std")) attribute where appropriate</li>
<li><a href="d8f70a3861"><code>d8f70a3</code></a> Add CI job to ensure documentation can be built</li>
<li><a href="e2978b6a77"><code>e2978b6</code></a> Document unbounded_depth, raw_value feature-gated API via doc_cfg</li>
<li><a href="21523246e5"><code>2152324</code></a> Make arbitrary_precision preserve the exact string representation</li>
<li>Additional commits viewable in <a href="https://github.com/serde-rs/json/compare/v1.0.64...v1.0.66">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=serde_json&package-manager=cargo&previous-version=1.0.64&new-version=1.0.66)](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>
664: Bump anyhow from 1.0.42 to 1.0.43 r=thomaseizinger a=dependabot[bot]
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.42 to 1.0.43.
<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.43</h2>
<ul>
<li>Take -Zallow-features restrictions from Cargo configuration file into account on sufficiently new versions of nightly Cargo (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/157">#157</a>, thanks <a href="https://github.com/jonhoo"><code>`@jonhoo</code></a>)</li>`
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="39899cc168"><code>39899cc</code></a> Release 1.0.43</li>
<li><a href="f8108162d4"><code>f810816</code></a> Touch up PR 157</li>
<li><a href="a3aba77275"><code>a3aba77</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/157">#157</a> from jonhoo/fix-156</li>
<li><a href="6c20a068bb"><code>6c20a06</code></a> Include Cargo rustc configuration in probe</li>
<li><a href="277894316c"><code>2778943</code></a> Merge pull request 160 from BramBonne/version-bump</li>
<li><a href="496cba42ea"><code>496cba4</code></a> Bump minor version</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.42...1.0.43">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.42&new-version=1.0.43)](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>
663: Bump rust_decimal from 1.14.3 to 1.15.0 r=thomaseizinger a=dependabot[bot]
Bumps [rust_decimal](https://github.com/paupino/rust-decimal) from 1.14.3 to 1.15.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="a7288bbcbc"><code>a7288bb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/410">#410</a> from paupino/version/1.15</li>
<li><a href="4e03adcfe6"><code>4e03adc</code></a> Added information about maths-nopanic</li>
<li><a href="3a1dce353a"><code>3a1dce3</code></a> Update version.md for release</li>
<li><a href="76f1c914bf"><code>76f1c91</code></a> Added Build.md with build instructions</li>
<li><a href="5b1da93a73"><code>5b1da93</code></a> Merge branch 'master' of github.com:paupino/rust-decimal into version/1.15</li>
<li><a href="fad2d4f989"><code>fad2d4f</code></a> Minor documentation improvements</li>
<li><a href="67b50ad8d1"><code>67b50ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/408">#408</a> from paupino/issue/401</li>
<li><a href="cfcb502460"><code>cfcb502</code></a> Merge branch 'master' into issue/401</li>
<li><a href="e8727e146f"><code>e8727e1</code></a> Fixes linting warning for log10 logic</li>
<li><a href="bb347caa6a"><code>bb347ca</code></a> Merge branch 'master' into issue/401</li>
<li>Additional commits viewable in <a href="https://github.com/paupino/rust-decimal/compare/1.14.3...1.15.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rust_decimal&package-manager=cargo&previous-version=1.14.3&new-version=1.15.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>