Ava Chow
a3fb1f80ac
Merge bitcoin/bitcoin#28791 : snapshots: don't core dump when running -checkblockindex after loadtxoutset
...
cdc6ac4126 snapshots: don't core dump when running -checkblockindex after `loadtxoutset` (Mark Friedenbach)
Pull request description:
Transaction counts aren't known for block history loaded from a snapshot. If you start with `-checkblockindex` after loading a snapshot, the bitcoin daemon will core dump. The test suite does not check for this because all the snapshots have no non-coinbase transactions (all blocks prior to the snapshot are assumed to have `nTx = 1`).
Recommend for backport to 26.x
ACKs for top commit:
fjahr:
utACK cdc6ac4126
achow101:
ACK cdc6ac4126
pablomartin4btc:
tACK cdc6ac4126
Tree-SHA512: f7488a85cc29056e2ac443ce8f34aea4dfde6ba246efce82235d6a4dca2dca4344f07b93c93424b4addcb83e4cb2ae49a3ebb37d89840d42d2aeea35904cab04
2024-01-16 15:02:53 -05:00
..
2024-01-02 11:12:32 -05:00
2023-12-11 17:42:17 +01:00
2023-11-16 11:36:22 +10:00
2023-12-04 15:39:15 -04:00
2024-01-11 11:01:28 -06:00
2024-01-05 10:42:10 +00:00
2024-01-12 13:48:02 +00:00
2024-01-05 10:42:10 +00:00
2024-01-03 11:23:27 +00:00
2023-11-28 08:44:41 -05:00
2023-12-23 13:26:00 +01:00
2024-01-12 12:03:52 +00:00
2023-12-08 06:54:00 -03:00
2024-01-04 14:40:28 +00:00
2023-11-19 18:43:29 +01:00
2024-01-16 13:35:45 -05:00
2024-01-05 11:22:31 +01:00
2024-01-12 20:09:08 -05:00
2023-12-11 18:22:13 +01:00
2023-12-15 15:20:54 +01:00
2023-12-06 11:22:42 -05:00
2024-01-15 16:19:53 -05:00
2023-11-21 17:37:25 +01:00
2023-11-21 17:37:25 +01:00
2023-11-02 14:09:27 -04:00
2023-11-02 14:09:27 -04:00
2023-12-04 15:39:15 -04:00
2024-01-09 15:27:08 -06:00
2023-12-11 13:08:46 -05:00
2023-11-16 11:36:22 +10:00
2023-12-04 15:39:15 -04:00
2023-11-16 11:14:13 +10:00
2023-11-14 08:45:30 +10:00
2023-11-28 12:42:07 +01:00
2023-11-21 13:15:44 +00:00
2023-11-24 14:41:58 +00:00
2023-12-11 18:22:13 +01:00
2023-11-16 11:36:22 +10:00
2023-12-11 18:22:13 +01:00
2023-11-30 11:28:19 +01:00
2023-11-16 11:36:22 +10:00
2024-01-10 14:11:32 -05:00
2023-12-04 15:39:15 -04:00
2024-01-07 16:24:08 -06:00
2024-01-10 14:11:32 -05:00
2023-12-04 15:39:15 -04:00
2023-12-23 13:26:00 +01:00
2023-12-23 13:26:00 +01:00
2023-12-15 11:03:25 +10:00
2023-12-20 15:59:48 +10:00
2024-01-05 15:17:50 +00:00
2024-01-02 11:12:32 -05:00
2023-11-20 15:57:50 -03:00
2024-01-09 15:38:57 +01:00
2023-11-28 17:49:41 +01:00
2023-11-28 17:49:41 +01:00
2024-01-16 13:35:45 -05:00
2023-11-23 13:43:39 +01:00
2024-01-09 12:46:52 -05:00
2023-12-27 16:39:32 -05:00
2023-11-07 14:11:58 -05:00
2023-11-07 14:11:58 -05:00
2023-12-06 11:22:42 -05:00
2023-12-02 22:03:08 +01:00
2023-11-20 14:02:27 +01:00
2023-11-13 14:17:59 +01:00
2023-11-30 11:28:19 +01:00
2023-11-28 12:42:07 +01:00
2023-11-07 15:00:38 -05:00
2024-01-05 10:42:10 +00:00
2023-12-15 15:21:22 +01:00
2023-11-28 12:42:07 +01:00
2023-12-15 15:20:54 +01:00
2023-11-30 11:27:54 +01:00
2024-01-10 14:11:32 -05:00
2023-12-17 21:13:44 +01:00
2023-12-19 17:12:45 +01:00
2023-12-08 13:14:46 +00:00
2023-12-08 13:14:46 +00:00
2023-12-07 11:06:01 +01:00
2023-11-16 11:36:22 +10:00
2024-01-16 15:02:53 -05:00
2023-11-30 14:28:46 -05:00
2023-11-22 11:48:21 +01:00
2024-01-02 12:40:11 +01:00