230 Commits (d31ba285327b959d82e13e02f6454347db6abe55)

Author SHA1 Message Date
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
Daniel Karzel c3f8b4b35b
Handle existing Cfds upon daemon startup 3 years ago
Mariusz Klochowicz 4b8237c9d6
Use current price in profit margin calculations 3 years ago
Mariusz Klochowicz 641905e6be
Display price feed in the UI 3 years ago
Mariusz Klochowicz 699ddcf95a
Use latest github snapshot of xtra 3 years ago
Thomas Eizinger 2922e03ae1
Use `Address::attach_stream` for incoming connections 3 years ago
Thomas Eizinger 904d81d51f
Refactor setup_contract to be just an async function 3 years ago
Thomas Eizinger c74f057254
Move impls to the bottom 3 years ago
Thomas Eizinger 7ce5ea47df
Wait for message to be actually sent on the wire 3 years ago
Thomas Eizinger aaeb2a5809
Have messages return `()` instead of `Result` 3 years ago
Thomas Eizinger e677ba7a74
Replace `taker_inc_message_actor` with `Address::attach_stream` 3 years ago
Thomas Eizinger 0d1406ec63
Replace `in_taker_messages` with `Address::attach_stream` 3 years ago
Thomas Eizinger eda1b88b0a
Introduce a dedicated codec 3 years ago
Thomas Eizinger 47c9b85c1a
Log errors with source chain 3 years ago
Daniel Karzel 2fe376cb55
Work in review comments 3 years ago
Daniel Karzel 608a962b8e
Taker monitors 3 years ago
Daniel Karzel 2fd2c30325
move refund transaction signing onto cfd 3 years ago
Daniel Karzel 4fb84cc58f
Bundle monitoring events that change cfd state 3 years ago