DanS
3bb4eb3a5a
fix: harden ThreadNotifyWallets IBD read-retry (crash + abandoned disconnects)
...
Two defects in the IBD ReadBlockFromDisk retry path of ThreadNotifyWallets:
- The connect-loop rebuild indexed recentlyConflicted.first.at(pindex), which
throws std::out_of_range for a block whose conflict entry was drained in an
earlier retry cycle. Uncaught under cs_main in the notify boost thread, that
aborts the node and crash-loops. Use operator[] (empty-list default), i.e.
best-effort conflict notifications, instead of throwing.
- The disconnect-loop IBD break fell through into the connect loop, which
advanced pindexLastTip to the new tip and permanently abandoned the pending
disconnect notifications (leaving wallet witness/anchor state desynced from
the chain). Add a flag so the break skips the connect loop this cycle and
truly retries the disconnect on the next one.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-08 05:48:39 +02:00
..
2026-03-19 09:30:50 -05:00
2026-03-19 09:30:50 -05:00
2024-02-27 23:59:59 +01:00
2026-07-06 01:57:18 -05:00
2026-07-06 01:57:18 -05:00
2026-07-08 05:48:39 +02:00
2026-03-19 09:30:50 -05:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-03-03 17:28:49 -06:00
2023-12-04 05:10:48 +00:00
2026-07-07 06:35:46 +02:00
2024-03-15 15:16:04 -04:00
2024-10-01 10:49:13 -04:00
2020-10-21 07:28:10 -04:00
2024-02-27 23:59:59 +01:00
2025-12-30 16:38:42 -05:00
2024-02-27 23:59:59 +01:00
2020-10-21 07:28:10 -04:00
2024-02-27 23:59:59 +01:00
2026-07-06 01:57:18 -05:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2023-01-06 15:23:22 +00:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2021-01-23 22:18:57 -05:00
2026-07-07 06:35:46 +02:00
2020-10-21 07:28:10 -04:00
2020-12-16 08:30:32 -05:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-06-28 16:11:38 -05:00
2026-03-09 16:39:00 -05:00
2026-06-30 16:42:37 -05:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2025-06-08 19:11:04 +02:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2018-12-31 21:41:05 -11:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2026-06-28 16:04:51 -05:00
2024-02-27 23:59:59 +01:00
2024-09-24 09:35:20 -04:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-01-01 15:24:57 -05:00
2024-02-27 23:59:59 +01:00
2026-03-03 17:28:49 -06:00
2024-02-27 23:59:59 +01:00
2025-08-08 21:58:39 -04:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-01-01 15:24:57 -05:00
2024-02-27 23:59:59 +01:00
2024-11-09 09:18:08 -05:00
2024-02-27 23:59:59 +01:00
2024-10-01 10:49:13 -04:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2024-03-15 13:33:18 -04:00
2024-03-15 13:33:18 -04:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-07-08 05:48:39 +02:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-07-06 01:57:18 -05:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-03-19 09:30:50 -05:00
2024-02-27 23:59:59 +01:00
2026-07-08 05:48:39 +02:00
2026-07-08 05:48:39 +02:00
2026-07-06 01:57:18 -05:00
2026-07-06 01:57:18 -05:00
2024-02-27 23:59:59 +01:00
2026-06-28 16:58:31 -05:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2021-08-09 17:40:35 -04:00
2026-03-19 09:30:50 -05:00
2025-12-30 02:37:40 -05:00
2026-03-05 05:22:44 -06:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-07-08 05:48:39 +02:00
2026-06-19 12:30:10 -05:00
2024-02-27 23:59:59 +01:00
2026-06-29 21:22:54 -05:00
2026-06-29 21:22:54 -05:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-04-18 06:41:25 -07:00
2024-03-15 15:14:26 -04:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-28 11:38:07 -05:00
2024-02-28 11:39:22 -05:00
2024-02-27 23:59:59 +01:00
2024-09-27 22:40:46 +02:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-10-22 08:50:39 -04:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-03-19 09:30:50 -05:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-06-30 16:42:37 -05:00
2026-06-30 16:42:37 -05:00
2024-10-01 10:49:13 -04:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2024-06-09 11:22:21 -04:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2024-02-27 23:59:59 +01:00
2026-07-08 05:48:39 +02:00
2024-02-27 23:59:59 +01:00
2026-03-04 18:42:42 -06:00
2026-03-04 18:42:42 -06:00
2024-02-27 23:59:59 +01:00