Krystie
6b2293ad1a
[glm-grade=B] fix(reindex): set phashBlock before GetStakeModifierChecksum in FastImportBlockFile
...
FastImportBlockFile() was calling GetStakeModifierChecksum(pindexNew)
which calls GetBlockHash() which dereferences *phashBlock — but
phashBlock was still null because the mapBlockIndex.insert that sets it
happened 10 lines later. This caused a segfault (exit 139) on every
fresh -reindex with no existing chainstate.
Fix: move the mapBlockIndex.insert + phashBlock assignment before the
GetStakeModifierChecksum call. Pure ordering fix, no logic change.
2026-08-08 02:55:45 -07:00
..
2026-08-07 20:36:35 -07:00
2026-04-05 02:01:14 -07:00
2026-04-05 02:00:58 -07:00
2026-03-19 02:31:23 -07:00
2026-08-07 20:36:35 -07:00
2026-04-29 03:07:14 -07:00
2026-08-06 06:29:44 -07:00
2026-07-31 20:08:39 -07:00
2014-10-05 23:37:30 +02:00
2026-03-12 00:50:34 -07:00
2026-05-08 21:34:24 -07:00
2014-10-05 23:37:30 +02:00
2014-07-16 16:05:09 -07:00
2026-07-11 16:02:35 -07:00
2026-07-07 14:42:30 -07:00
2026-07-31 00:38:45 -07:00
2026-06-15 19:15:43 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2026-08-06 13:42:20 -07:00
2026-08-07 20:36:35 -07:00
2026-08-06 13:42:20 -07:00
2026-07-02 01:29:03 -07:00
2026-05-13 00:44:08 -07:00
2026-07-31 00:38:45 -07:00
2026-06-23 20:13:02 -07:00
2026-08-06 06:29:44 -07:00
2026-07-16 22:20:42 -07:00
2026-05-08 23:43:27 -07:00
2026-08-06 07:26:32 -07:00
2026-08-05 17:58:38 -07:00
2014-07-16 16:05:09 -07:00
2026-03-10 23:34:33 -07:00
2026-05-08 21:34:24 -07:00
2026-05-08 23:08:40 -07:00
2026-05-08 21:34:24 -07:00
2026-04-29 02:55:18 -07:00
2026-04-29 02:55:18 -07:00
2026-04-29 02:55:18 -07:00
2014-07-16 16:05:09 -07:00
2026-05-08 21:34:24 -07:00
2026-05-08 21:34:24 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2026-06-15 19:15:43 -07:00
2026-06-15 19:15:43 -07:00
2026-06-29 13:45:59 -07:00
2026-06-29 13:45:59 -07:00
2026-07-01 14:19:42 -07:00
2026-06-29 13:45:59 -07:00
2026-08-05 17:06:47 -07:00
2026-07-31 00:38:45 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2026-08-03 01:13:57 -07:00
2014-10-05 23:37:30 +02:00
2026-04-29 02:55:18 -07:00
2026-05-08 23:08:40 -07:00
2026-07-31 00:38:45 -07:00
2026-07-31 00:38:45 -07:00
2014-07-16 16:05:09 -07:00
2026-08-08 02:55:45 -07:00
2026-08-05 17:06:47 -07:00
2026-07-16 21:47:21 -07:00
2026-04-03 17:53:35 -07:00
2014-10-05 23:37:30 +02:00
2026-04-03 22:01:37 -07:00
2026-04-03 17:55:41 -07:00
2026-07-31 00:38:45 -07:00
2026-06-29 14:52:53 -07:00
2026-06-29 14:52:53 -07:00
2026-06-29 14:52:53 -07:00
2026-04-26 15:27:14 -07:00
2014-10-05 23:37:30 +02:00
2026-06-30 17:44:09 -07:00
2026-03-19 01:52:40 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-10-05 23:37:30 +02:00
2026-06-27 19:19:30 -07:00
2026-08-03 16:58:38 -07:00
2026-05-10 02:33:40 -07:00
2026-03-16 01:57:50 -07:00
2026-07-31 00:38:45 -07:00
2026-08-01 16:37:22 -07:00
2026-06-29 20:08:06 -07:00
2026-04-19 02:41:42 -07:00
2026-08-05 08:51:00 -07:00
2026-05-08 22:26:31 -07:00
2026-04-26 18:11:00 -07:00
2026-07-31 00:38:45 -07:00
2026-03-09 02:45:04 -07:00
2026-03-09 02:45:04 -07:00
2026-07-07 22:33:26 -07:00
2026-05-08 23:54:05 -07:00
2026-07-31 00:38:45 -07:00
2026-07-31 00:38:45 -07:00
2026-07-31 00:38:45 -07:00
2014-07-16 16:05:09 -07:00
2014-10-05 23:37:30 +02:00
2026-05-09 19:32:44 -07:00
2014-07-16 16:05:09 -07:00
2026-04-23 01:17:51 -07:00
2026-07-11 16:02:35 -07:00
2014-07-16 16:05:09 -07:00
2026-07-31 00:38:45 -07:00
2026-05-08 21:34:24 -07:00
2026-07-31 00:38:45 -07:00
2026-07-31 00:38:45 -07:00
2026-03-10 23:34:33 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-10-05 23:37:30 +02:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2014-07-16 16:05:09 -07:00
2026-03-10 23:34:33 -07:00
2026-05-08 23:08:40 -07:00
2026-07-31 00:38:45 -07:00
2026-06-27 18:17:59 -07:00
2026-07-01 12:21:25 -07:00
2026-04-26 15:27:14 -07:00
2026-03-19 01:52:40 -07:00
2026-07-31 00:40:32 -07:00
2026-07-31 00:38:45 -07:00
2026-07-31 00:38:45 -07:00
2026-08-03 13:01:47 -07:00
2026-06-23 20:13:02 -07:00
2026-07-01 16:09:25 -07:00
2026-07-01 16:09:25 -07:00
2026-05-13 01:01:44 -07:00
2026-08-02 03:55:06 -07:00
2026-06-29 20:08:06 -07:00
2026-06-29 20:08:06 -07:00
2026-04-26 18:01:53 -07:00
2014-10-05 23:37:30 +02:00
2026-04-26 19:03:43 -07:00
2026-07-31 00:38:45 -07:00
2026-07-07 14:42:30 -07:00
2026-07-01 13:29:28 -07:00
2026-08-01 16:37:22 -07:00
2026-04-19 02:09:12 -07:00
2026-05-08 21:34:24 -07:00
2026-07-31 00:38:45 -07:00
2026-07-31 00:38:45 -07:00
2026-06-29 20:08:06 -07:00
2026-06-30 01:01:16 -07:00
2026-06-29 20:08:06 -07:00
2026-06-30 01:01:16 -07:00
2026-06-30 01:01:16 -07:00
2026-07-31 00:38:45 -07:00
2026-06-29 20:08:06 -07:00
2026-07-31 00:38:45 -07:00
2026-07-31 00:38:45 -07:00
2026-06-29 20:08:06 -07:00
2026-06-29 20:08:06 -07:00
2026-05-08 21:34:24 -07:00
2026-03-12 00:50:34 -07:00