Thomas Eizinger
a9e1a42d56
Merge pull request #113 from comit-network/bitmex-price-feed
3 years ago
Mariusz
342fd0c3b8
Merge pull request #124 from comit-network/fix-happy-path
Fix happy path
3 years ago
Thomas Eizinger
33a27d4d92
Don't dbg log the latest state
3 years ago
Thomas Eizinger
e7f9d24e94
Start contract setup directly after sending the accept
The taker does this unconditionally, we don't need to wait for
another message on the maker side.
3 years ago
Thomas Eizinger
816f9b9791
Buffer incoming messages in case the maker is faster in reaching setup
3 years ago
Thomas Eizinger
49bff80b93
Destruct msg to access variables directly
3 years ago
Thomas Eizinger
7dd527ac72
Let rocket know what we are sending is JSON
3 years ago
Thomas Eizinger
b511f8e40c
Merge pull request #117 from comit-network/no-result-return-values
Cleanup MakerCfdActor
3 years ago
Philipp Hoenisch
d33a05c578
Merge pull request #118 from comit-network/fix-failling-test
Allow for presence/non-presence of index page
3 years ago
Philipp Hoenisch
759d0688e2
Allow for presence/non-presence of index page
A dev might have or might not have built the frontend. If he did not, a get request to `/` will result in a `HTTP::404`. If he did, the containing `index.html` will be returned leading to a `HTTP::200`.
3 years ago
Thomas Eizinger
a879b25a91
Replace unwraps with `?`
3 years ago
Thomas Eizinger
4eb44fd0d8
Move boilerplate to bottom of file
3 years ago
Thomas Eizinger
db29126c87
Have all handlers return `()`
Errors returned from handlers are swallowed. We must not return
errors from handlers.
3 years ago
Lucas Soriano
44937bd645
Merge pull request #100 from comit-network/collaborative-settlement
Add close_transaction API to cfd_protocol lib
3 years ago
Thomas Eizinger
aa331444da
Merge pull request #116 from comit-network/dependabot/cargo/tokio-1.12.0
Bump tokio from 1.11.0 to 1.12.0
3 years ago
Daniel Karzel
21b17b1db5
Merge pull request #102 from comit-network/replace-all-prints
Replace all the remaining println with tracing logs
3 years ago
dependabot[bot]
a7a3713569
Bump tokio from 1.11.0 to 1.12.0
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.11.0...tokio-1.12.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Daniel Karzel
72ffe1b325
Replace all the remaining println with tracing logs
3 years ago
Mariusz
7a1d9cce3f
Merge pull request #115 from comit-network/contract-setup-fix
Send the protocol messages to the actor asynchronously
3 years ago
Mariusz Klochowicz
d407b7f654
Send the protocol messages to the actor asynchronously
`send()` does not actually send anything unless its polled; convert to
`do_send_async()` like elsewhere to send the message.
3 years ago
Mariusz
05192b5b62
Merge pull request #112 from comit-network/taker-msg-fix
Add missing await for the message announcing NewTakerOnline
3 years ago
Thomas Eizinger
25d54078e7
Add BitMex price feed
Fixes #96 .
3 years ago
Mariusz Klochowicz
1ab92469a1
Add missing await for the message announcing NewTakerOnline
Without the await, the message was never sent and the taker could not see new offers.
3 years ago
Lucas Soriano
9eb83fd901
Merge pull request #101 from comit-network/txin-ext
Add TxInExt trait with extract_signatures method
3 years ago
Mariusz
826d5109ca
Merge pull request #98 from comit-network/xtra-maker
Roll-out xtra framework usage in maker
3 years ago
Mariusz Klochowicz
46e9b96fbf
Roll-out xtra framework usage in maker
3 years ago
Mariusz
1c5f0d694d
Merge pull request #109 from comit-network/rocket-tests
Use a dedicated test route for testing maker's authentication
3 years ago
Lucas Soriano del Pino
7eae0271b0
Add TxInExt trait with find_map_signature method
3 years ago
Mariusz Klochowicz
c43d913d3d
Use a dedicated test route for testing maker's authentication
Upcoming rollout of xtra will make instantiating an actor for test purposes much
more cumbersome. These tests don't need the actor, therefore a new route that
does not depend on instantiating one has been created.
3 years ago
Philipp Hoenisch
d5be37e071
Merge pull request #107 from comit-network/authentication-logging
3 years ago
Thomas Eizinger
d994c0b676
Merge pull request #105 from comit-network/dependabot/cargo/tracing-0.1.28
Bump tracing from 0.1.26 to 0.1.28
3 years ago
Thomas Eizinger
e85c61b4e2
Merge pull request #106 from comit-network/dependabot/cargo/bitcoin-0.27.1
Bump bitcoin from 0.27.0 to 0.27.1
3 years ago
Philipp Hoenisch
88554de160
Log username and password
3 years ago
dependabot[bot]
ba22554a1c
Bump tracing from 0.1.26 to 0.1.28
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.26 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.28 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
a64b4abff4
Merge pull request #104 from comit-network/dependabot/cargo/rust_decimal_macros-1.16.0
Bump rust_decimal_macros from 1.15.0 to 1.16.0
3 years ago
Thomas Eizinger
f2dcd8630c
Merge pull request #103 from comit-network/dependabot/cargo/tracing-subscriber-0.2.24
Bump tracing-subscriber from 0.2.20 to 0.2.24
3 years ago
dependabot[bot]
14d1ac53ca
Bump bitcoin from 0.27.0 to 0.27.1
Bumps [bitcoin](https://github.com/rust-bitcoin/rust-bitcoin ) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/rust-bitcoin/rust-bitcoin/releases )
- [Changelog](https://github.com/rust-bitcoin/rust-bitcoin/blob/0.27.1/CHANGELOG.md )
- [Commits](https://github.com/rust-bitcoin/rust-bitcoin/compare/0.27.0...0.27.1 )
---
updated-dependencies:
- dependency-name: bitcoin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
d6865981e6
Bump rust_decimal_macros from 1.15.0 to 1.16.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal ) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/paupino/rust-decimal/releases )
- [Commits](https://github.com/paupino/rust-decimal/commits )
---
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]
2638f573b6
Bump tracing-subscriber from 0.2.20 to 0.2.24
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.20 to 0.2.24.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.24 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Thomas Eizinger
9325070974
Merge pull request #89 from comit-network/maker-auth
3 years ago
Daniel Karzel
65a6345c3e
Merge pull request #97 from comit-network/lock-on-chain
Transaction publication
3 years ago
Daniel Karzel
de66e85d73
Successful publication of lock tx
3 years ago
Thomas Eizinger
c5c6f0df69
Ensure credentials are passed along with API requests
3 years ago
Thomas Eizinger
dda021b37c
Password protect the maker's routes
3 years ago
Philipp Hoenisch
468759e5ca
Merge pull request #99 from comit-network/tracing
3 years ago
Daniel Karzel
a97d3d62bc
Merge pull request #93 from comit-network/contract-setup-fixes
Successful `ContractSetup` phase
3 years ago
Philipp Hoenisch
90ae8ef154
Enable rocket logs by default
3 years ago
Daniel Karzel
d647a69795
Successful `ContractSetup` phase
3 years ago
Thomas Eizinger
47c2fee8c6
Replace axios with fetch
No need for a dependency for simple HTTP requests.
3 years ago
Thomas Eizinger
3cd28e92e0
Remove dead code
3 years ago