estuary
estuary copied to clipboard
Task - Create deal monitoring/reconciliation worker
Abstract all deal-monitoring/reconciliation code into this worker.
The basic idea is that this worker will continuously monitor the content_deals
table for existing deals and check if they need repairs (slashed), need renewals (deals about to expire), or failed data transfer.
When a content_deal
is about to expire(needs renewal), is slashed, or failed, the worker will create a replacement content_deal
(which the deal-making worker will pick up) and mark the bad deal with its replacement_id
.
The UI will show the deal is being replaced.
@en0ma should this be assigned to you? :)
@en0ma should this be assigned to you? :)
yes