550 Commits (996b09187d6e51330acb9e9bfc89295ab41449ce)

Author SHA1 Message Date
Lucas Soriano del Pino 09c331f547
Replace CFD actor Address with MessageChannel in oracle::Actor 3 years ago
Lucas Soriano del Pino 16e1f95ec0
Replace CFD actor Address with MessageChannel in monitor::Actor 3 years ago
Daniel Karzel 7665f4cdfc
Collaborative close payout 3 years ago
Mariusz Klochowicz 801b05cf5b
Borrow CfdState when updating state in the database 3 years ago
Mariusz Klochowicz 4ffb9bff91
Propose settlement based on the payout curve and current BitMex price 3 years ago
Mariusz Klochowicz 5964ec53cf
Monitor for close finality 3 years ago
Thomas Eizinger 67a39aa5bd
Re-introduce library 3 years ago
Lucas Soriano del Pino 641819bfb3
Edit payout_curve::calculate docstring 3 years ago
Thomas Eizinger b546c45d7f
Only process CFDs where we have a DLC 3 years ago
Mariusz Klochowicz 0b74c478b1
Print unpublished transaction hex for debugging purposes 3 years ago
Thomas Eizinger 3a45c328ea
Remove unwrap from main and improve error messages 3 years ago
Thomas Eizinger b8aa0a6486
Remove dbg! in test 3 years ago
Thomas Eizinger a416283094
Only fetch attestation that are likely to have occured 3 years ago
Thomas Eizinger 013d9f2ef0
Introduce drop-in replacement for tokio::spawn that logs errors 3 years ago
Thomas Eizinger fbcb629a8e
Properly model event IDs 3 years ago
Thomas Eizinger f37b0a8d7c
Drop `async` and `Result` from fn signature 3 years ago
Thomas Eizinger e919b7a0a0
Prefer `.parse` over `FromStr` to avoid an import 3 years ago
Thomas Eizinger f38cac0ce5
Refer to types within `fmt` module via module qualifier 3 years ago
Thomas Eizinger 9c0d320dc1
Rename `OracleEventId` 3 years ago
Daniel Karzel 5beb401e79
Transaction ids and payout in the UI 3 years ago
Daniel Karzel a385342db1
Add txid to `model::Attesttion` so we can easily access it 3 years ago
Daniel Karzel bf596dfdad
Make payout and attestation price available in `model::Attestation` 3 years ago
Lucas Soriano del Pino 11e2771c45
Rename MonitorEvent to MonitorAttestation 3 years ago
Lucas Soriano del Pino 5b9a9db6df
Only fetch announcements when needed 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
DelicioiusHair 15229d31cf
Add ultra-fancy payout curve module 3 years ago
Thomas Eizinger d2d4c216db
Don't fail attestation sync just because it is not attested yet 3 years ago
Thomas Eizinger 2eaaf3ab9e
Add error message to JSON deserializer 3 years ago
Thomas Eizinger c1c3f9e0d9
Parallelize fetching of announcements via self messages 3 years ago
Thomas Eizinger c0a1c9c82b
Re-organize oracle module a bit 3 years ago
Thomas Eizinger 4197373dbf
Use the same code for computing the next attestation event 3 years ago
Mariusz Klochowicz e050bdc043
Sign and broadcast collaborative settlement 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
Thomas Eizinger b0129aef77
Await futures in random order 3 years ago
Thomas Eizinger 3c34004ce6
Only fetch announcements we don't already have 3 years ago
Daniel Karzel 39c73f3d63
Transition `PendingOpen` to `PendingOpen` upon attestation 3 years ago
Philipp Hoenisch d31ba28532
Make HTTP listen address configurable 3 years ago
Daniel Karzel b470a9d4fc
Save Bitcoin amount `as_sat` in db 3 years ago
Daniel Karzel d6aed063fc
Missing CFD feed updates 3 years ago
Daniel Karzel cea476c606
More resilient loop error handling 3 years ago
Daniel Karzel 9666b63cb7
Optional state transition and early exit 3 years ago
Daniel Karzel 94b3a35abd
Add attestation to `PendingOpen` in case we receive attestation in that state 3 years ago
Daniel Karzel 6fce3a686e
Fix typo 3 years ago
Daniel Karzel d55a8f0403
Pass on attestation upon `CommitFinality` 3 years ago
Daniel Karzel d86fd3493b
Display `CetStatus` as part of `NotReady` error 3 years ago
Daniel Karzel ad7a024c02
Separate `Attestation` struct in model 3 years ago