Commit graph

1 commit

Author SHA1 Message Date
Jakob Notland
acfed56475 Remove oracle_cash quickfix introduced Apr 24 2026
Deletes all oracle_cash infrastructure: the background poller
(oracle_cash.rs), DB layer (db/oracle/oracle_cash.rs), RPC endpoints
(cash/closest, cash/history), table init, and all wiring in main.rs.

usd_per_bch_at_or_before is simplified to a single get_closest(&None, ts)
call now that Delphi v2 data is indexed in the same delphi_entry table.
Returns anyhow::Result<Decimal> and errors instead of silently returning
zero when no oracle price is available. Callers updated with ?.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 13:09:46 +02:00