35 Commits (63f57adc47bb4de10c52bdb7048bf7bc508e44e2)

Author SHA1 Message Date
Daniel Karzel 32351efe67
Oracle attestation should not affect all cfds 3 years ago
Mariusz Klochowicz bcb0c53ff8
Rename `MustRefund` Cfd state to `PendingRefund` 3 years ago
Thomas Eizinger 499d3c6606
Disallow `.unwrap` in prod code and use expect for remaining ones 3 years ago
Thomas Eizinger b8fc783a69
Use xtra_productivity in `monitor::Actor` for non-fallible functions 3 years ago
Lucas Soriano del Pino 79c377a7b8
Introduce maker ActorSystem 3 years ago
Daniel Karzel cbfb40186a
Notify monitor actor to watch for collaborative close tx 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
Lucas Soriano del Pino 16e1f95ec0
Replace CFD actor Address with MessageChannel in monitor::Actor 3 years ago
Mariusz Klochowicz 5964ec53cf
Monitor for close finality 3 years ago
Thomas Eizinger 67a39aa5bd
Re-introduce library 3 years ago
Thomas Eizinger 9c0d320dc1
Rename `OracleEventId` 3 years ago
Daniel Karzel bf596dfdad
Make payout and attestation price available in `model::Attestation` 3 years ago
Lucas Soriano del Pino 70107f4d81
Implement From<model::cfd::Cet> for monitor::Cet 3 years ago
Lucas Soriano del Pino 380740e312
Monitor CETs based on a script pubkey in the transaction 3 years ago
Lucas Soriano del Pino 6a9144f7a1
Make monitor::Cet private 3 years ago
Daniel Karzel 8d03901565
Avoid spamming the logs and add Todo 3 years ago
Daniel Karzel 179952ce5b
Cleanup `awaiting_status` in case we don't have remaining subscriptions 3 years ago
Daniel Karzel 9cf09b209e
Fix monitoring 3 years ago
Daniel Karzel ad7a024c02
Separate `Attestation` struct in model 3 years ago
Philipp Hoenisch 1eb332d6fd
Bug fix: overflow 3 years ago
Lucas Soriano del Pino 5cd723441d
Implement rollover protocol in daemons 3 years ago
Daniel Karzel 159240cc9f
Wire in automatic CET publication 3 years ago
Daniel Karzel 2f9a969aba
Use `OracleEventId` instead of `String` for `Attestation` id 3 years ago
Philipp Hoenisch 20648e821b
Allow more than one attestation event per CFD 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
Daniel Karzel 42b4701bc7
Non-collaborative close by publishing commit tx 3 years ago
Lucas Soriano del Pino 23d7c6110f
Watch relevant olivia announcements and attestations 3 years ago
Daniel Karzel c3f8b4b35b
Handle existing Cfds upon daemon startup 3 years ago
Daniel Karzel 2fe376cb55
Work in review comments 3 years ago
Daniel Karzel 4fb84cc58f
Bundle monitoring events that change cfd state 3 years ago
Lucas Soriano del Pino 366c415314
Introduce monitor actor 3 years ago