Close the smaller state inconsistencies (B-96, BET-02, BET-07, WDR-01, WDR-15, TX-16, TX-18, TX-27, TX-29, DEP-15, DEP-16, AUD-30, AUD-46, DAT-22)
- bet/withdrawal routes read listener.client after taking the user lock - a reduced full-balance withdrawal is checked against the minimum again - a bet covered only by pending balance answers balance_pending_confirmation - a recovered bet/withdrawal/payout writes bet_placed/withdrawal_sent/payout_sent - an abandoned payout clears winner/fee/reserve amounts with payout_txid - the reconciler pings SSE only for rows it changed - closing_stalled every 30 minutes past the deadline; closing_waiting_since on /rounds/current - one refresh per user at a time; a failed refresh no longer ends the Electrum session Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
24e5fc3d8b
commit
9520c80dcf
23 files changed
+445
-151
No files matched your search
+3
-1
@@ -492,7 +492,9 @@ con `docker compose logs app` ([architettura.md](architettura.md) ARC-09).
|
||||
|
||||
- **[OPS-14]**
|
||||
**Sintomi.** `GET /rounds/current` riporta `status: "closing"` a lungo, con
|
||||
`has_pending_bets` vero; nel log compare
|
||||
`has_pending_bets` vero e `closing_waiting_since` valorizzato; dopo 30 minuti oltre la
|
||||
scadenza il registro di audit riceve `closing_stalled` (con i txid ancora in volo), ripetuto
|
||||
ogni 30 minuti ([TX-29](transazioni-e-riconciliazione.md#riconciliazione)); nel log compare
|
||||
`round N: N bet(s) still in flight at close time, waiting` o nulla (il
|
||||
controllo principale non scrive). In "Transazioni pendenti" c'è almeno una
|
||||
riga `bet` di quel round in `building` o `pending`.
|
||||
|
||||
Reference in new issue
Block a user