550 Commits (996b09187d6e51330acb9e9bfc89295ab41449ce)

Author SHA1 Message Date
Lucas Soriano del Pino 79c377a7b8
Introduce maker ActorSystem 3 years ago
Lucas Soriano del Pino 4b9dae8c7d
Make taker_cfd::Actor generic over other actor addresses 3 years ago
Lucas Soriano del Pino 20c76f6134
Use MessageChannel instead of send_to_socket::Actor 3 years ago
Thomas Eizinger ac73ddf3a1
Embed correct frontend :face_palm: 3 years ago
Daniel Karzel cbfb40186a
Notify monitor actor to watch for collaborative close tx 3 years ago
DelicioiusHair 6d6c40436d Fix up SQL queries 3 years ago
Thomas Eizinger 6d033264e8
Fetch announcement in case it is not present but requested 3 years ago
Thomas Eizinger fc2b5fe482
Sync with Olivia every 5 seconds 3 years ago
Lucas Soriano del Pino a2b2a04a3a
Make maker_cfd::Actor generic over other actor addresses 3 years ago
Lucas Soriano del Pino 05c1674ae3
Use MessageChannel in taker's post_cfd_action HTTP handler 3 years ago
Thomas Eizinger 7c8d5e110b
Don't expose panicking code paths to the user 3 years ago
Lucas Soriano del Pino e2f926388a
Introduce taker_cfd::CfdAction enum 3 years ago
Thomas Eizinger d00ac5bfdd
Don't return plain-text errors to the user 3 years ago
Lucas Soriano del Pino 1dbe127db9
Use MessageChannel in post_order_request HTTP handler 3 years ago
Thomas Eizinger 443e206a0b
Remove unused tempfile dependency 3 years ago
Thomas Eizinger 907f6b97f6
Run tests against in-memory DB 3 years ago
Thomas Eizinger 296be594a4
Add test for a variety of state updates 3 years ago
Thomas Eizinger bfabf0c7b1
Make it less verbose to construct simple states 3 years ago
Thomas Eizinger 44e62cff29
Reduce boilerplate in constructing `CfdStateCommon` 3 years ago
Thomas Eizinger ca93714746
Refactor `insert_new_cfd_state_by_order_id` to `append_cfd_state` 3 years ago
Thomas Eizinger 8d72104641
Make DB tests more readable by reducing boilerplate 3 years ago
Thomas Eizinger 9c3ef98965
Use pretty assertions 3 years ago
Thomas Eizinger b5dd3d0caa
Take `Cfd` by reference if we don't need to consume it 3 years ago
Thomas Eizinger 18d5506f46
Don't use Default for test instance 3 years ago
Thomas Eizinger ed63d595f3
Directly return `PoolConnection` 3 years ago
Daniel Karzel b47d91ad6e
Extend DB test suite 3 years ago
Thomas Eizinger 8c8cbe759c
Close connections with takers that don't adhere to the message format 3 years ago
Thomas Eizinger 414d520afd
Introduce dedicated actor for forwarding only `Ok` messages 3 years ago
Daniel Karzel 7355c339a6
Remove todo in favour of warning for awareness 3 years ago
Daniel Karzel 0d9cf7df85
Always cleanup order upon rejection 3 years ago
Lucas Soriano del Pino 1342db80b1
Use MessageChannel in post_cfd_action HTTP handler 3 years ago
Lucas Soriano del Pino f393e42113
Introduce maker_cfd::CfdAction enum 3 years ago
Thomas Eizinger 237f4c25bf
Revert "Db refactor" 3 years ago
Lucas Soriano del Pino 3d9601e665
Use MessageChannel in post_sell_order HTTP handler 3 years ago
Mariusz Klochowicz 3730cfae36
Reduce code duplication in cfd actors 3 years ago
Philipp Hoenisch e1206d38f0
Provide margin of counterparty 3 years ago
Lucas Soriano del Pino 370d40f0c2
Use MessageChannels in maker_inc_connections::Actor 3 years ago
Philipp Hoenisch 6b116bfdbd
Log details if order was rejected 3 years ago
Philipp Hoenisch 2cc2822075
Set default log level for whole crate 3 years ago
Mariusz Klochowicz 6779486f76
Create wrapper functions to avoid the need for manually refreshing feed 3 years ago
Mariusz Klochowicz dc0abb92d3
Remove stale TODO 3 years ago
Philipp Hoenisch 535e238d52
Add hard boundaries to take order request 3 years ago
Daniel Karzel dce6eb3c3d
Remove Todo because we already have a ticket 3 years ago
Daniel Karzel a44f05b381
Lock in profit on collaborative close price 3 years ago
Mariusz Klochowicz 43a1a74185
Make PendingClose a UI-only state of a CFD 3 years ago
Mariusz Klochowicz 7f63b7689e
Display link to collaborative settlement transaction in the Cfd details 3 years ago
DelicioiusHair 5cf88a2b01 DB code rebasing for #88 3 years ago
Thomas Eizinger f043928250
Introduce a `fan_out::Actor` instead of iterating in the `oracle::Actor` 3 years ago
Daniel Karzel 9c6511a141
Re-order the contract setup for resilient error handling 3 years ago
Daniel Karzel 95d8910013
Monitor oracle attestation after completed setup 3 years ago