merge-script
2db00278ea
Merge bitcoin/bitcoin#31910 : qa: fix an off-by-one in utxo snapshot fuzz target and sanity check its snapshot data
...
63b534f97e fuzz: sanity check hardcoded snapshot in utxo_snapshot target (Antoine Poinsot)
3b85eba83a test util: split up ConnectBlock from MineBlock (Antoine Poinsot)
d1527f6b88 qa: correct off-by-one in utxo snapshot fuzz target (Antoine Poinsot)
Pull request description:
The assumeutxo data for the fuzz target could change and invalidate the hash silently, preventing the fuzz target from reaching some code paths. Fix this by introducing a unit test which would break if the snapshot data the fuzz target relies on were to change.
In implementing this i noticed the height used for coins in the fuzz target is actually off-by-one (as if the first block in the created chain was the genesis but it's block `1`), so fix that too.
ACKs for top commit:
mzumsande:
Code Review ACK 63b534f97e
fjahr:
tACK 63b534f97e
Tree-SHA512: 2399b6e74db9b78aab8efba67c57a405d2d7d880ae3b7d8518a1c96cc6266f61f5e77722cd999adeac5d3e03e73d84cf9ae7bdbcc0afae198cc87049dde4012f
2025-03-21 16:46:54 +08:00
..
2025-02-12 11:39:37 -05:00
2024-04-18 10:27:25 +01:00
2024-12-13 14:22:25 +01:00
2024-09-13 21:59:29 -04:00
2024-12-13 14:22:25 +01:00
2025-03-05 22:30:28 +01:00
2024-10-19 19:16:04 +02:00
2025-03-12 19:46:54 +01:00
2023-12-06 15:44:38 +01:00
2024-07-01 10:26:46 -04:00
2024-08-05 14:51:47 +02:00
2024-05-29 18:55:04 +02:00
2023-11-30 11:27:21 +01:00
2024-12-13 14:22:25 +01:00
2023-11-14 08:45:30 +10:00
2023-12-09 19:31:06 +01:00
2023-10-06 19:43:32 +02:00
2024-12-02 16:25:13 -05:00
2024-10-07 13:49:36 -04:00
2025-02-12 11:39:37 -05:00
2024-12-02 13:48:04 +01:00
2024-09-18 20:03:47 +02:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:46:54 +01:00
2025-03-12 19:46:54 +01:00
2024-09-21 12:37:36 +02:00
2023-08-17 15:31:27 -04:00
2023-08-17 15:31:56 -04:00
2023-12-09 19:31:06 +01:00
2023-12-09 19:31:06 +01:00
2024-08-28 15:56:15 +01:00
2024-10-26 23:44:15 +02:00
2024-03-18 10:32:00 -04:00
2025-03-12 19:46:54 +01:00
2024-05-16 10:16:08 -05:00
2023-03-21 13:54:11 +01:00
2025-01-20 17:43:58 +01:00
2025-02-25 10:15:00 +01:00
2024-06-12 15:21:31 +02:00
2025-02-21 10:43:41 +01:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:46:54 +01:00
2023-12-04 15:39:15 -04:00
2024-12-13 14:22:25 +01:00
2025-02-21 10:43:01 +01:00
2024-05-09 15:56:04 +02:00
2024-12-13 14:22:25 +01:00
2024-08-05 15:45:58 +01:00
2025-01-06 15:43:04 +00:00
2024-05-16 10:16:08 -05:00
2023-11-28 17:49:41 +01:00
2024-09-04 15:04:53 -04:00
2025-02-04 11:53:03 -05:00
2025-03-12 19:46:54 +01:00
2023-12-14 20:10:21 +00:00
2025-03-12 19:46:54 +01:00
2024-04-18 10:27:25 +01:00
2024-03-12 12:59:02 -04:00
2025-01-06 15:43:04 +00:00
2024-12-13 14:22:25 +01:00
2023-05-30 16:27:21 -03:00
2025-01-15 15:44:03 +01:00
2024-12-13 14:22:25 +01:00
2025-03-13 11:13:13 +00:00
2025-03-12 19:46:54 +01:00
2025-03-16 09:26:37 +01:00
2023-04-04 18:33:08 +02:00
2024-12-02 15:09:31 +01:00
2024-07-19 15:39:02 +02:00
2025-03-13 11:13:13 +00:00
2025-02-12 11:39:37 -05:00
2023-11-14 17:41:26 +01:00
2024-09-04 15:04:53 -04:00
2025-03-12 19:46:54 +01:00
2024-09-02 15:43:33 +01:00
2024-09-04 15:04:53 -04:00
2023-11-14 08:45:30 +10:00
2024-12-17 12:55:38 -05:00
2024-12-17 12:55:38 -05:00
2024-10-26 23:44:15 +02:00
2024-12-13 14:22:25 +01:00
2024-07-06 09:06:36 -04:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2024-12-13 14:22:25 +01:00
2025-03-13 11:47:41 +00:00
2023-11-23 17:57:53 +01:00
2023-12-09 19:31:06 +01:00
2023-12-09 19:31:06 +01:00
2025-03-12 19:46:54 +01:00
2024-12-13 14:22:25 +01:00
2024-09-20 16:05:28 +01:00
2024-08-09 11:18:45 +01:00
2024-08-21 00:41:56 +02:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:46:54 +01:00
2023-11-14 08:45:30 +10:00
2025-01-06 15:43:04 +00:00
2025-03-12 19:46:54 +01:00
2024-07-10 09:40:47 +02:00
2025-01-15 12:16:08 +01:00
2024-09-06 09:08:10 -04:00
2024-06-13 11:20:49 +01:00
2023-07-13 20:37:14 +02:00
2024-12-13 14:22:25 +01:00
2023-11-30 11:28:19 +01:00
2023-11-30 11:28:19 +01:00
2024-12-17 12:55:38 -05:00
2025-02-07 13:55:57 -05:00
2025-02-20 14:00:21 -05:00
2025-01-29 18:05:16 -05:00
2025-03-12 19:45:37 +01:00
2025-02-21 10:43:01 +01:00
2025-03-21 16:46:54 +08:00
2025-01-06 15:43:04 +00:00
2024-12-13 14:22:25 +01:00
2025-03-12 19:45:37 +01:00
2023-07-13 20:37:14 +02:00