davide and Claude Sonnet 5.5
82d078e2d6
Rotate away from a connected server that stopped following the chain (B-86, ELC-21, ARC-26)
...
`server.ping` keeps succeeding on a server that is stalled, and nothing compared its tip
with the others', so it stayed the active server for ever.
- The listener records when the last header was accepted (monotonic clock, a module
attribute so tests can move it).
- After every successful ping, ElectrumListener._check_not_stalled: once the last accepted
header is older than 360s the other servers are asked for their tip
(blockchain.headers.subscribe, ELC-14's timeouts); if any reports a higher height than
ours the session ends with ServerStalledError and run() rotates to the next server. If
none does the chain is just quiet and the session goes on.
No existing test changed. ELC-29 and /admin/electrum (the connection state and the age of
the last header, B-92) are untouched.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com >
2026-10-14 16:01:44 +02:00
..
2026-07-21 10:25:23 +02:00
2026-10-14 15:45:34 +02:00
2026-10-14 15:29:30 +02:00
Give every round its own pool address (B-80, RND-35, DAT-60, DAT-11, REG-14, SEC-08, BET-12, RND-22, WDR-14, SEC-43, API-23, API-36)
2026-10-14 13:52:32 +02:00
2026-07-27 12:20:22 +02:00
2026-08-03 22:32:20 +02:00
2026-08-04 14:13:00 +02:00
Never roll back an ambiguous broadcast as if it had been refused (B-76, TX-04, TX-05, TX-20, TX-21, BET-16, BET-17, BET-23, WDR-11, WDR-12, WDR-16, API-13)
2026-10-14 14:22:20 +02:00
Never roll back an ambiguous broadcast as if it had been refused (B-76, TX-04, TX-05, TX-20, TX-21, BET-16, BET-17, BET-23, WDR-11, WDR-12, WDR-16, API-13)
2026-10-14 14:22:20 +02:00
2026-08-03 23:36:55 +02:00
2026-08-03 22:59:00 +02:00
2026-08-03 22:14:03 +02:00
2026-08-03 22:14:03 +02:00
2026-08-04 16:00:57 +02:00
2026-07-27 00:34:33 +02:00
2026-10-14 15:29:30 +02:00
2026-10-14 15:29:30 +02:00
2026-09-29 16:26:01 +02:00
2026-07-27 10:35:23 +02:00
2026-10-14 12:14:12 +02:00
2026-08-04 14:33:32 +02:00
2026-07-27 15:34:49 +02:00
2026-07-27 16:04:24 +02:00
2026-10-14 15:45:34 +02:00
Never roll back an ambiguous broadcast as if it had been refused (B-76, TX-04, TX-05, TX-20, TX-21, BET-16, BET-17, BET-23, WDR-11, WDR-12, WDR-16, API-13)
2026-10-14 14:22:20 +02:00
2026-10-14 16:01:44 +02:00
2026-07-21 10:25:29 +02:00
Abandon a transaction only on proof, and keep watching failed rows (B-78, TX-15, TX-17, TX-23, TX-26, ELC-28, DAT-33, DAT-36, DAT-69, DAT-72, AUD-11, AUD-12, AUD-31, AUD-39, API-32)
2026-10-14 15:07:09 +02:00
2026-07-27 16:24:05 +02:00
Abandon a transaction only on proof, and keep watching failed rows (B-78, TX-15, TX-17, TX-23, TX-26, ELC-28, DAT-33, DAT-36, DAT-69, DAT-72, AUD-11, AUD-12, AUD-31, AUD-39, API-32)
2026-10-14 15:07:09 +02:00
2026-08-03 16:21:33 +02:00
Give every round its own pool address (B-80, RND-35, DAT-60, DAT-11, REG-14, SEC-08, BET-12, RND-22, WDR-14, SEC-43, API-23, API-36)
2026-10-14 13:52:32 +02:00
2026-10-14 12:14:12 +02:00
2026-08-04 14:18:22 +02:00
2026-08-03 22:32:20 +02:00
2026-10-14 15:29:30 +02:00
Abandon a transaction only on proof, and keep watching failed rows (B-78, TX-15, TX-17, TX-23, TX-26, ELC-28, DAT-33, DAT-36, DAT-69, DAT-72, AUD-11, AUD-12, AUD-31, AUD-39, API-32)
2026-10-14 15:07:09 +02:00
2026-07-27 14:44:15 +02:00
Give every round its own pool address (B-80, RND-35, DAT-60, DAT-11, REG-14, SEC-08, BET-12, RND-22, WDR-14, SEC-43, API-23, API-36)
2026-10-14 13:52:32 +02:00
Give every round its own pool address (B-80, RND-35, DAT-60, DAT-11, REG-14, SEC-08, BET-12, RND-22, WDR-14, SEC-43, API-23, API-36)
2026-10-14 13:52:32 +02:00
2026-08-04 14:13:00 +02:00
Never roll back an ambiguous broadcast as if it had been refused (B-76, TX-04, TX-05, TX-20, TX-21, BET-16, BET-17, BET-23, WDR-11, WDR-12, WDR-16, API-13)
2026-10-14 14:22:20 +02:00
2026-07-21 10:25:38 +02:00
2026-08-03 22:18:33 +02:00
2026-10-14 15:29:30 +02:00
2026-10-14 15:29:30 +02:00
2026-07-27 12:20:22 +02:00
Never roll back an ambiguous broadcast as if it had been refused (B-76, TX-04, TX-05, TX-20, TX-21, BET-16, BET-17, BET-23, WDR-11, WDR-12, WDR-16, API-13)
2026-10-14 14:22:20 +02:00