mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-11-17 15:26:14 +00:00
7f2aa59880
504: Bump bdk from 0.6.0 to 0.7.0 r=thomaseizinger a=dependabot[bot] Bumps [bdk](https://github.com/bitcoindevkit/bdk) from 0.6.0 to 0.7.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/bitcoindevkit/bdk/blob/v0.7.0/CHANGELOG.md">bdk's changelog</a>.</em></p> </details> <details> <summary>Commits</summary> <ul> <li><a href="766570abfd
"><code>766570a</code></a> Bump version to 0.7.0</li> <li><a href="934ec366d9
"><code>934ec36</code></a> Use the released <code>testutils-macros</code></li> <li><a href="d0733e9496
"><code>d0733e9</code></a> Bump version in <code>src/lib.rs</code></li> <li><a href="3c7a1f5918
"><code>3c7a1f5</code></a> Bump <code>testutils-macros</code> to <code>v0.6.0</code></li> <li><a href="85aadaccd2
"><code>85aadac</code></a> Update changelog in preparation of <code>v0.7.0</code></li> <li><a href="fad0fe9f30
"><code>fad0fe9</code></a> Update create transaction example code</li> <li><a href="47f26447da
"><code>47f2644</code></a> continue signing when finding already finalized inputs</li> <li><a href="3608ff9f14
"><code>3608ff9</code></a> Merge commit 'refs/pull/341/head' of github.com:bitcoindevkit/bdk into releas...</li> <li><a href="898dfe6cf1
"><code>898dfe6</code></a> get psbt inputs with bounds check</li> <li><a href="7961ae7f8e
"><code>7961ae7</code></a> Check index out of bound also for tx inputs not only for psbt inputs</li> <li>Additional commits viewable in <a href="https://github.com/bitcoindevkit/bdk/compare/v0.6.0...v0.7.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=bdk&package-manager=cargo&previous-version=0.6.0&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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> 547: Print the Bitcoin address to the terminal as a QR code r=thomaseizinger a=xscd It helps to fund the Bitcoin address with your mobile device without a need to copy-paste the receive address. Here is how it looks like under different terminals: 1) Gnome Terminal: ![1](https://user-images.githubusercontent.com/46658470/120103390-0e87dd80-c158-11eb-9e0f-da5af89ea8d7.png) 2) Alacritty: ![2](https://user-images.githubusercontent.com/46658470/120103398-1ba4cc80-c158-11eb-89c0-8a54e8902658.png) 3) Kitty: ![3](https://user-images.githubusercontent.com/46658470/120103411-265f6180-c158-11eb-95e1-b37c2d16c2b6.png) 4) Konsole: ![4](https://user-images.githubusercontent.com/46658470/120103421-2f503300-c158-11eb-83bf-82d55b6e2dd8.png) 556: Bump rust_decimal from 1.14.1 to 1.14.2 r=thomaseizinger a=dependabot[bot] Bumps [rust_decimal](https://github.com/paupino/rust-decimal) from 1.14.1 to 1.14.2. <details> <summary>Commits</summary> <ul> <li><a href="16b41cc58c
"><code>16b41cc</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/394">#394</a> from paupino/version/1.14.2</li> <li><a href="c7bd3bf987
"><code>c7bd3bf</code></a> Version 1.14.2</li> <li><a href="c0117ddc36
"><code>c0117dd</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/issues/393">#393</a> from paupino/issue/392</li> <li><a href="a231fbf12c
"><code>a231fbf</code></a> Fixes issue with remainder overflow</li> <li>See full diff in <a href="https://github.com/paupino/rust-decimal/compare/1.14.1...1.14.2">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.1&new-version=1.14.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> 563: Bump tokio from 1.6.0 to 1.7.0 r=thomaseizinger a=dependabot[bot] Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.6.0 to 1.7.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.7.0</h2> <h1>1.7.0 (June 15, 2021)</h1> <h3>Added</h3> <ul> <li>net: add named pipes on windows (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3760">#3760</a>)</li> <li>net: add <code>TcpSocket</code> from <code>std::net::TcpStream</code> conversion (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3838">#3838</a>)</li> <li>sync: add <code>receiver_count</code> to <code>watch::Sender</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3729">#3729</a>)</li> <li>sync: export <code>sync::notify::Notified</code> future publicly (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3840">#3840</a>)</li> <li>tracing: instrument task wakers (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3836">#3836</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>macros: suppress <code>clippy::default_numeric_fallback</code> lint in generated code (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3831">#3831</a>)</li> <li>runtime: immediately drop new tasks when runtime is shut down (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3752">#3752</a>)</li> <li>sync: deprecate unused <code>mpsc::RecvError</code> type (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3833">#3833</a>)</li> </ul> <h3>Documented</h3> <ul> <li>io: clarify EOF condition for <code>AsyncReadExt::read_buf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3850">#3850</a>)</li> <li>io: clarify limits on return values of <code>AsyncWrite::poll_write</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3820">#3820</a>)</li> <li>sync: add examples to Semaphore (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3808">#3808</a>)</li> </ul> <h2>Tokio v1.6.2</h2> <h3>Fixes</h3> <ul> <li>test: sub-ms <code>time:advance</code> regression introduced in 1.6 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3852">#3852</a>)</li> </ul> <p><a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3852">#3852</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/pull/3852">tokio-rs/tokio#3852</a></p> <h2>Tokio v1.6.1</h2> <p>This release reverts <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3518">#3518</a> because it doesn't work on some kernels due to a kernel bug. (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3803">#3803</a>)</p> <p><a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3518">#3518</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3518">tokio-rs/tokio#3518</a> <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3803">#3803</a>: <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3803">tokio-rs/tokio#3803</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="34c6a26c01
"><code>34c6a26</code></a> chore: prepare Tokio v1.7.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3863">#3863</a>)</li> <li><a href="97e7830364
"><code>97e7830</code></a> net: provide NamedPipe{Client, Server} types and builders (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3760">#3760</a>)</li> <li><a href="606206ecad
"><code>606206e</code></a> Merge branch 'tokio-1.6.x' into merge-1.6.x</li> <li><a href="dfe4013ff2
"><code>dfe4013</code></a> chore: prepare Tokio 1.6.2 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3859">#3859</a>)</li> <li><a href="18779aa2e2
"><code>18779aa</code></a> time: fix time::advance() with sub-ms durations (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3852">#3852</a>)</li> <li><a href="2c24a028f6
"><code>2c24a02</code></a> chore: re-enable test_socket_pair on FreeBSD (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3844">#3844</a>)</li> <li><a href="f55b77aadd
"><code>f55b77a</code></a> tracing: emit waker op as str instead as Debug (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3853">#3853</a>)</li> <li><a href="21de476ae7
"><code>21de476</code></a> sync: export sync::notify::Notified future publicly (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3840">#3840</a>)</li> <li><a href="cb147a2b3f
"><code>cb147a2</code></a> sync: deprecate mpsc::RecvError (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3833">#3833</a>)</li> <li><a href="f759240254
"><code>f759240</code></a> chore: update version in README.md (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3851">#3851</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.6.0...tokio-1.7.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.6.0&new-version=1.7.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> 564: Bump thomaseizinger/create-pull-request from 1.0.0 to 1.1.0 r=thomaseizinger a=dependabot[bot] Bumps [thomaseizinger/create-pull-request](https://github.com/thomaseizinger/create-pull-request) from 1.0.0 to 1.1.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/thomaseizinger/create-pull-request/blob/master/CHANGELOG.md">thomaseizinger/create-pull-request's changelog</a>.</em></p> <blockquote> <h2>[1.1.0] - 2021-06-16</h2> <h3>Added</h3> <ul> <li>Git hook to make sure we always run <code>yarn build</code> before committing any Typescript changes. This should prevent dist/index.js from getting out of date.</li> <li>Support for setting a proxy using the <code>HTTPS_PROXY</code> environment variable</li> <li>Support for GitHub Enterprise by reading <code>process.env.GITHUB_REPOSITORY</code></li> </ul> <h3>Fixed</h3> <ul> <li>action.yml suggested to use <code>github-token</code> as the input where as in reality, we are looking for an input <code>github_token</code> (note the underscore!)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="285345fb83
"><code>285345f</code></a> Add support for creating PR's in ghes and behind proxy (<a href="https://github-redirect.dependabot.com/thomaseizinger/create-pull-request/issues/41">#41</a>)</li> <li><a href="13c98abb44
"><code>13c98ab</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/thomaseizinger/create-pull-request/issues/37">#37</a> from orestesgaolin/patch-1</li> <li><a href="5c8c2b6c09
"><code>5c8c2b6</code></a> Fix parameters in the example</li> <li><a href="1dde00b9ad
"><code>1dde00b</code></a> Adapt LICENSE</li> <li><a href="655db51f4a
"><code>655db51</code></a> Automatically set the hookspath to our git hooks</li> <li><a href="cedbbbb2ba
"><code>cedbbbb</code></a> Update README.md</li> <li><a href="2cd3e70bc6
"><code>2cd3e70</code></a> Add readme note about inputs</li> <li><a href="faf5ed2aa5
"><code>faf5ed2</code></a> Define Inputs type through type magic on payloads types</li> <li><a href="3fb1c8b1be
"><code>3fb1c8b</code></a> Fixing git url in package.json</li> <li><a href="e46f94e6ae
"><code>e46f94e</code></a> Add git hook for making sure we update index.js</li> <li>Additional commits viewable in <a href="https://github.com/thomaseizinger/create-pull-request/compare/1.0.0...1.1.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thomaseizinger/create-pull-request&package-manager=github_actions&previous-version=1.0.0&new-version=1.1.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> Co-authored-by: xscd <xscd@pm.me>
87 lines
3.1 KiB
TOML
87 lines
3.1 KiB
TOML
[package]
|
|
name = "swap"
|
|
version = "0.7.0"
|
|
authors = [ "The COMIT guys <hello@comit.network>" ]
|
|
edition = "2018"
|
|
description = "XMR/BTC trustless atomic swaps."
|
|
|
|
[lib]
|
|
name = "swap"
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
async-compression = { version = "0.3", features = [ "bzip2", "tokio" ] }
|
|
async-trait = "0.1"
|
|
atty = "0.2"
|
|
backoff = { version = "0.3", features = [ "tokio" ] }
|
|
base64 = "0.13"
|
|
bdk = "0.7"
|
|
big-bytes = "1"
|
|
bitcoin = { version = "0.26", features = [ "rand", "use-serde" ] }
|
|
bmrng = "0.5"
|
|
config = { version = "0.11", default-features = false, features = [ "toml" ] }
|
|
conquer-once = "0.3"
|
|
curve25519-dalek = { package = "curve25519-dalek-ng", version = "4" }
|
|
data-encoding = "2.3"
|
|
dialoguer = "0.8"
|
|
directories-next = "2"
|
|
ecdsa_fun = { git = "https://github.com/LLFourn/secp256kfun", default-features = false, features = [ "libsecp_compat", "serde" ] }
|
|
ed25519-dalek = "1"
|
|
futures = { version = "0.3", default-features = false }
|
|
itertools = "0.10"
|
|
libp2p = { version = "0.38", default-features = false, features = [ "tcp-tokio", "yamux", "mplex", "dns-tokio", "noise", "request-response", "websocket", "ping" ] }
|
|
libp2p-async-await = { git = "https://github.com/comit-network/rust-libp2p-async-await" }
|
|
miniscript = { version = "5", features = [ "serde" ] }
|
|
monero = { version = "0.12", features = [ "serde_support" ] }
|
|
monero-rpc = { path = "../monero-rpc" }
|
|
pem = "0.8"
|
|
prettytable-rs = "0.8"
|
|
proptest = "1"
|
|
qrcode = "0.12"
|
|
rand = "0.8"
|
|
rand_chacha = "0.3"
|
|
reqwest = { version = "0.11", features = [ "rustls-tls", "stream", "socks" ], default-features = false }
|
|
rust_decimal = { version = "1", features = [ "serde-float" ] }
|
|
rust_decimal_macros = "1"
|
|
serde = { version = "1", features = [ "derive" ] }
|
|
serde_cbor = "0.11"
|
|
serde_json = "1"
|
|
sha2 = "0.9"
|
|
sigma_fun = { git = "https://github.com/LLFourn/secp256kfun", default-features = false, features = [ "ed25519", "serde" ] }
|
|
sled = "0.34"
|
|
structopt = "0.3"
|
|
strum = { version = "0.21", features = [ "derive" ] }
|
|
thiserror = "1"
|
|
time = "0.2"
|
|
tokio = { version = "1", features = [ "rt-multi-thread", "time", "macros", "sync", "process", "fs", "net" ] }
|
|
tokio-socks = "0.5"
|
|
tokio-tungstenite = { version = "0.14", features = [ "rustls-tls" ] }
|
|
tokio-util = { version = "0.6", features = [ "io" ] }
|
|
toml = "0.5"
|
|
torut = { version = "0.1", default-features = false, features = [ "v3", "control" ] }
|
|
tracing = { version = "0.1", features = [ "attributes" ] }
|
|
tracing-appender = "0.1"
|
|
tracing-futures = { version = "0.2", features = [ "std-future", "futures-03" ] }
|
|
tracing-subscriber = { version = "0.2", default-features = false, features = [ "fmt", "ansi", "env-filter", "chrono", "tracing-log", "json" ] }
|
|
url = { version = "2", features = [ "serde" ] }
|
|
uuid = { version = "0.8", features = [ "serde", "v4" ] }
|
|
void = "1"
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
tokio-tar = "0.3"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
zip = "0.5"
|
|
|
|
[dev-dependencies]
|
|
bdk-testutils = { version = "0.4" }
|
|
bitcoin-harness = { git = "https://github.com/coblox/bitcoin-harness-rs" }
|
|
get-port = "3"
|
|
hyper = "0.14"
|
|
monero-harness = { path = "../monero-harness" }
|
|
port_check = "0.1"
|
|
serde_cbor = "0.11"
|
|
spectral = "0.6"
|
|
tempfile = "3"
|
|
testcontainers = "0.12"
|