189 Commits (31b562e85d7686eac79b52f5664f166bbf056092)

Author SHA1 Message Date
Lucas Soriano del Pino 62c8ffb65b
Avoid overlapping CETs in dummy payouts 3 years ago
Lucas Soriano del Pino fdd41c9c37
Use new generate_payouts API 3 years ago
Mariusz Klochowicz 36c04140f6
Optimise data structure used for settlement proposals 3 years ago
Daniel Karzel 8cc20534d4
Remove debug message 3 years ago
Daniel Karzel 8a2f2b83cc
`BTreeMap` for announcements in cfd actors 3 years ago
Daniel Karzel 5842ff37a8
Maker uses latest announcements from oracle in contract setup 3 years ago
Daniel Karzel 61d62e7263
Taker uses latest announcements from oracle to start contract setup 3 years ago
Daniel Karzel da339bd139
Maker publishes `OracleEventId` as part of offer 3 years ago
Daniel Karzel b8e9ac6f1b
Introduce `OracleEventId` wrapper type 3 years ago
Philipp Hoenisch 20648e821b
Allow more than one attestation event per CFD 3 years ago
Mariusz Klochowicz 30a549c8bb
Allow accepting/rejecting settlement proposals in the maker daemon 3 years ago
Philipp Hoenisch 0c3241d9f8
Calculate Profit/Loss in BTC and % 3 years ago
Lucas Soriano del Pino 27727cdb03
Use olivia's attestation scheme instead of dlcspecs' 3 years ago
Daniel Karzel eef1b7348b
Transition cfd to new state when handling an event 3 years ago
Thomas Eizinger b09ac7a35e
Deserialize response from olivia correctly 3 years ago
Daniel Karzel 13814813a9
Refresh feed after state transition after monitor event 3 years ago
Daniel Karzel 60e4b2cee0
Fix transition to `CommitFinality` from `PendingCommit` 3 years ago
Daniel Karzel fed9a8bde6
Fix commit transaction publication 3 years ago
Thomas Eizinger 1560d86698
Move re-broadcasting functionality from actor ctor to housekeeping 3 years ago
Thomas Eizinger a49e1d342f
Rename `cleanup` module to `housekeeping` 3 years ago
Thomas Eizinger 069cdd2f45
Add test for monitoring actor 3 years ago
Thomas Eizinger 0ce2375ef7
Make Actor generic over electrum client implementation 3 years ago
Thomas Eizinger eee0fdac25
Rework monitoring actor to use local state instead of tasks 3 years ago
Thomas Eizinger 7b8b80052a
Refer to symbols within `std::fmt` via `fmt::` 3 years ago
Thomas Eizinger f028ca662d
Don't take announcements from oracle for now 3 years ago
Thomas Eizinger 7375ab1508
Actually construct the correct URLs 3 years ago
Thomas Eizinger 4ac13e405e
Make sure we can request HTTPS urls 3 years ago
Daniel Karzel 550bdcdd22
Integrate settlement endpoint into actions 3 years ago
Daniel Karzel 9c02592836
Pass order_id instead of msg to handle func 3 years ago
Daniel Karzel a43312de2d
Don't panic in endpoints 3 years ago
Daniel Karzel 592e81c897
Re-trigger sending commit in case we start up in `PendingCommit` 3 years ago
Daniel Karzel 42b4701bc7
Non-collaborative close by publishing commit tx 3 years ago
Daniel Karzel 2eb135d155
Simplify state transition code 3 years ago
Thomas Eizinger 296fd98cf0
Add dummy payouts 3 years ago
Thomas Eizinger 43b1d08898
Add API for calculating payout curve 3 years ago
Thomas Eizinger ee785354f3
Directly initialize feed with list of current CFDs 3 years ago
Thomas Eizinger fa2ca990a1
Use the same database connection throughout the actor setup 3 years ago
Mariusz cf08326c64
Add a taker endpoint for initiating collaborative settlement (#175) 3 years ago
Lucas Soriano del Pino 23d7c6110f
Watch relevant olivia announcements and attestations 3 years ago
Daniel Karzel faaaed8705
Remove unused code 3 years ago
Thomas Eizinger fa87ad90c6
Use sqlite for BDK's database 3 years ago
Thomas Eizinger 57fe104d9c
Selectively depend on bdk features 3 years ago
Thomas Eizinger a219d90dd0
Update to bdk 0.12 3 years ago
Daniel Karzel a2fbfedc02
UI state mapping & dynamic actions 3 years ago
Thomas Eizinger 00883af0a9
Don't panic on unexpected messages 3 years ago
Thomas Eizinger cf5a3752d3
Improve readability of special handling for electrum error 3 years ago
Thomas Eizinger fdd50e889e
Fix parsing of electrum error response 3 years ago
Mariusz Klochowicz 28ecd8a680
Clean up message handlers in maker_cfd actor 3 years ago
Mariusz Klochowicz bfbaee08ac
Use current price in profit margin calculations 3 years ago
Mariusz Klochowicz 3badba7067
Revert "Use current price in profit margin calculations" 3 years ago