Thomas Eizinger
f631de9ab0
Bump sha2 and hkdf to latest versions
3 years ago
Lucas Soriano
d81f313a8e
Revert "Release version 0.3.1"
3 years ago
Lucas Soriano
c25d000e44
Revert "Re-use order fee rate for close transaction"
3 years ago
itchymax
2bf6d867c6
Prepare release 0.3.1
3 years ago
luckysori
f06d00e6a6
Re-use order fee rate for close transaction
3 years ago
itchymax
205a61ab9e
Prepare release 0.3.0
3 years ago
dependabot[bot]
94de2ab87a
Bump itertools from 0.10.1 to 0.10.3
Bumps [itertools](https://github.com/rust-itertools/itertools ) from 0.10.1 to 0.10.3.
- [Release notes](https://github.com/rust-itertools/itertools/releases )
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.10.1...v0.10.3 )
---
updated-dependencies:
- dependency-name: itertools
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
luckysori
69bbac5e1e
Allow maker to control lock and commit transaction fee rate
3 years ago
Thomas Eizinger
d8ce3151a1
Use latest bdk HEAD
3 years ago
dependabot[bot]
8a7b201e09
Bump vergen from 5.1.18 to 5.2.0
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.18 to 5.2.0.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.18...5.2.0 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
60f8d441c0
Upgrade `maia`
This gives us access to the `TxBuilder` for the lock transaction.
3 years ago
itchymax
88f64a0bba
Prepare release 0.2.0
3 years ago
Daniel Karzel
fbdc6c5e77
Hello message
3 years ago
dependabot[bot]
071a9efd9b
Bump bdk from 0.13.0 to 0.14.0
Bumps [bdk](https://github.com/bitcoindevkit/bdk ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/bitcoindevkit/bdk/releases )
- [Changelog](https://github.com/bitcoindevkit/bdk/blob/v0.14.0/CHANGELOG.md )
- [Commits](https://github.com/bitcoindevkit/bdk/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: bdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
ef926f8525
Bump rust_decimal_macros from 1.17.0 to 1.18.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases )
- [Commits](https://github.com/paupino/rust-decimal/compare/1.17.0...1.18.0 )
---
updated-dependencies:
- dependency-name: rust_decimal_macros
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
64a7d5f23c
Bump reqwest from 0.11.6 to 0.11.7
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.6...v0.11.7 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
c1e0835fc7
Bump rust_decimal from 1.17.0 to 1.18.0
Bumps [rust_decimal](https://github.com/paupino/rust-decimal ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases )
- [Commits](https://github.com/paupino/rust-decimal/compare/1.17.0...1.18.0 )
---
updated-dependencies:
- dependency-name: rust_decimal
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Lucas Soriano del Pino
760c686559
Only specify dependency patches in lockfile
The argument `rev` seems to be ignored altogether after `cargo update`
finds a different patch to use. See
https://github.com/itchysats/itchysats/pull/767#discussion_r759826354 .
3 years ago
Lucas Soriano del Pino
17ed9deb3f
Update patched xtra dependency
The new revision includes
413dc807bd
which could prevent some bugs.
3 years ago
dependabot[bot]
1d70b614e2
Bump anyhow from 1.0.50 to 1.0.51
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.50 to 1.0.51.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.50...1.0.51 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
itchymax
26b75b75d6
Prepare release 0.1.2
3 years ago
dependabot[bot]
8fd42a8b8f
Bump rust-embed from 6.2.0 to 6.3.0
Bumps [rust-embed](https://github.com/pyros2097/rust-embed ) from 6.2.0 to 6.3.0.
- [Release notes](https://github.com/pyros2097/rust-embed/releases )
- [Changelog](https://github.com/pyros2097/rust-embed/blob/master/changelog.md )
- [Commits](https://github.com/pyros2097/rust-embed/commits )
---
updated-dependencies:
- dependency-name: rust-embed
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
8806e9970c
Bump vergen from 5.1.17 to 5.1.18
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.17 to 5.1.18.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.17...5.1.18 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
3b66dc35f5
Bump derive_more from 0.99.16 to 0.99.17
Bumps [derive_more](https://github.com/JelteF/derive_more ) from 0.99.16 to 0.99.17.
- [Release notes](https://github.com/JelteF/derive_more/releases )
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.16...v0.99.17 )
---
updated-dependencies:
- dependency-name: derive_more
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
45223375cd
Bump anyhow from 1.0.48 to 1.0.50
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.48 to 1.0.50.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.48...1.0.50 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
a01717db8f
Bump serde_json from 1.0.71 to 1.0.72
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.71 to 1.0.72.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.71...v1.0.72 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
10b0445540
Bump ndarray from 0.15.3 to 0.15.4
Bumps [ndarray](https://github.com/rust-ndarray/ndarray ) from 0.15.3 to 0.15.4.
- [Release notes](https://github.com/rust-ndarray/ndarray/releases )
- [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md )
- [Commits](https://github.com/rust-ndarray/ndarray/compare/0.15.3...0.15.4 )
---
updated-dependencies:
- dependency-name: ndarray
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
4999d3bfa8
Bump futures from 0.3.17 to 0.3.18
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.17 to 0.3.18.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.17...0.3.18 )
---
updated-dependencies:
- dependency-name: futures
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
7a5b03fbea
Bump anyhow from 1.0.47 to 1.0.48
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.47...1.0.48 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
532c1093bb
Bump anyhow from 1.0.45 to 1.0.47
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.45 to 1.0.47.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.45...1.0.47 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
cd5cbd5a39
Bump serde_json from 1.0.70 to 1.0.71
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.70 to 1.0.71.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.70...v1.0.71 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Mariusz Klochowicz
beb10e84fd
Don't use tokio feature from xtra
Prefer using our FutureExt to enforce keeping RemoteHandles to prevent zombie
tasks.
3 years ago
dependabot[bot]
7e96cb367c
Bump tokio from 1.13.1 to 1.14.0
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.13.1 to 1.14.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
b8f328e6ff
Bump tokio from 1.13.0 to 1.13.1
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.13.0...tokio-1.13.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
969441b778
Bump serde_json from 1.0.69 to 1.0.70
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.69 to 1.0.70.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.69...v1.0.70 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
94f878b22d
Bump time from 0.3.4 to 0.3.5
Bumps [time](https://github.com/time-rs/time ) from 0.3.4 to 0.3.5.
- [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.4...v0.3.5 )
---
updated-dependencies:
- dependency-name: time
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
065a685d43
Bump serde_json from 1.0.68 to 1.0.69
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.68 to 1.0.69.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.68...v1.0.69 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Mariusz Klochowicz
a6392c6d00
Use xtra-productivity from comit-network
3 years ago
itchymax
c3fc1ca871
Prepare release 0.1.1
3 years ago
Mariusz Klochowicz
b3abfd027b
Depend on cfd protocol from `maia` repository
Cfd protocol got moved into a separate repository.
All references of `cfd_protocol` were renamed to `maia`.
Patch cargo.toml with a fixed git revision until it gets a public release.
3 years ago
dependabot[bot]
8feb70bfce
Bump vergen from 5.1.16 to 5.1.17
Bumps [vergen](https://github.com/rustyhorde/vergen ) from 5.1.16 to 5.1.17.
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/5.1.16...5.1.17 )
---
updated-dependencies:
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Mariusz Klochowicz
fbb0744960
Provide feedback about maker failed actions in HTTP response
Invoke user actions (cfd actions & posting a new sell order) synchronously in
order to be able to communicate the results.
Use HttpApiProblem to send error details to the frontend in a standard way.
3 years ago
dependabot[bot]
98df5cebd0
Bump anyhow from 1.0.44 to 1.0.45
Bumps [anyhow](https://github.com/dtolnay/anyhow ) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/anyhow/releases )
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.44...1.0.45 )
---
updated-dependencies:
- dependency-name: anyhow
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
rishflab
b7a8370b0b
Authenticate connection with maker
Use the IK noise handshake pattern to authenticate the maker
given knowledge of the maker's static public key.
https://noiseexplorer.com/patterns/IK/
3 years ago
dependabot[bot]
be61e9b40a
Bump bdk from 0.12.0 to 0.13.0
Bumps [bdk](https://github.com/bitcoindevkit/bdk ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/bitcoindevkit/bdk/releases )
- [Changelog](https://github.com/bitcoindevkit/bdk/blob/v0.13.0/CHANGELOG.md )
- [Commits](https://github.com/bitcoindevkit/bdk/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: bdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
3805e6cbe0
Bump tokio from 1.12.0 to 1.13.0
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.12.0...tokio-1.13.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
d59a4cd972
Bump tokio-util from 0.6.8 to 0.6.9
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.6.8 to 0.6.9.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.6.8...tokio-util-0.6.9 )
---
updated-dependencies:
- dependency-name: tokio-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
376b5ac23a
Bump clap from 3.0.0-beta.4 to 3.0.0-beta.5
Bumps [clap](https://github.com/clap-rs/clap ) from 3.0.0-beta.4 to 3.0.0-beta.5.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/commits )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Mariusz Klochowicz
a5285ed510
Roll-out usage of a mocking framework in actor tests
Mockall is a mocking framework that removes the need for writing more actors,
making tests easier to write.
Summary:
- add one more layer of indirection (a trait per actor type: Wallet, Oracle, Monitor)
- Mocks implementing the actor traits (with default stubbed implementations if no extra
behaviour needed)
- references to the mocks are being passed into the tests (via Arc<Mutex>>), allowing
for dynamically changing the behaviour and adding assertions. This also
aids readability, as the mock setup can be collocated with a particular
test, if the test needs something extra
Fixes #450
3 years ago
rishflab
7e2ee5883b
Encrypt network communication using the noise protocol
The which do not fit into the 65535 byte message size
limit of the noise protocol are chunked before
encryption. This feature was introduced to handle the
very large messages which contained the CET's.
More research is required into the NOISE_PARAMS and
whether they can be used to configure snow elegantly
handle authentication.
3 years ago