fanquake
c17d4d3b6b
Merge bitcoin/bitcoin#26662 : fuzz: Add HeadersSyncState target
...
3153e7d779 [fuzz] Add HeadersSyncState target (dergoegge)
53552affca [headerssync] Make m_commit_offset protected (dergoegge)
Pull request description:
This adds a fuzz target for the `HeadersSyncState` class.
I am unsure how well this is able to cover the logic since it is just processing unserialized CBlockHeaders straight from the fuzz input (headers are sometimes made continuous). However, it does manage to get to the redownload phase so i thought it is better then not having fuzzing at all.
It would also be nice to fuzz the p2p logic that is using `HeadersSyncState` (e.g. `TryLowWorkHeadersSync`, `IsContinuationOfLowWorkHeadersSync`) but that likely requires some more work (refactoring👻 ).
ACKs for top commit:
mzumsande:
ACK 3153e7d779
Tree-SHA512: 8a4630ceeeb30e4eeabaa8eb5491d98f0bf900efe7cda07384eaac9f2afaccfbcaa979cc1cc7f0b6ca297a8f5c17a7759f94809dd87eb87d35348d847c83e8ab
2023-04-11 16:17:04 +01:00
..
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-26 18:11:13 -05:00
2021-12-30 19:36:57 +02:00
2022-04-20 14:35:52 +01:00
2022-12-24 23:49:50 +00:00
2023-03-23 12:55:18 +01:00
2023-01-13 09:40:57 +00:00
2021-12-30 19:36:57 +02:00
2022-09-05 15:38:33 +02:00
2022-12-13 15:08:24 -05:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-03-21 13:04:21 +00:00
2023-02-02 09:00:15 -05:00
2023-02-03 10:33:31 -05:00
2023-03-27 16:00:02 +02:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2021-12-17 10:46:39 +01:00
2023-01-30 18:12:21 -05:00
2023-01-30 18:12:21 -05:00
2021-12-30 19:36:57 +02:00
2021-08-21 19:25:33 +02:00
2021-12-30 19:36:57 +02:00
2022-12-13 15:08:24 -05:00
2022-12-13 15:08:24 -05:00
2022-12-13 15:08:24 -05:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2023-03-21 13:54:11 +01:00
2021-12-30 19:36:57 +02:00
2023-03-23 12:55:18 +01:00
2021-08-21 19:25:33 +02:00
2022-12-24 23:49:50 +00:00
2022-12-12 21:06:04 +00:00
2023-01-13 09:40:57 +00:00
2023-02-17 13:34:40 -05:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2022-12-13 15:08:24 -05:00
2023-01-26 10:44:05 +01:00
2021-08-04 19:20:32 +08:00
2022-07-18 12:06:14 -06:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2022-12-13 15:08:24 -05:00
2023-04-05 11:43:42 +01:00
2022-01-06 22:14:16 -05:00
2021-09-22 10:39:08 +02:00
2021-12-30 19:36:57 +02:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-02-17 13:34:40 -05:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-03 19:31:29 -06:00
2021-12-30 19:36:57 +02:00
2023-01-13 09:40:57 +00:00
2023-01-23 17:29:41 +01:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2023-01-19 15:56:58 +01:00
2023-01-19 15:56:58 +01:00
2023-01-13 09:40:57 +00:00
2022-12-24 23:49:50 +00:00
2021-10-05 11:10:37 +02:00
2023-01-26 10:44:05 +01:00
2023-01-13 09:40:57 +00:00
2021-12-30 19:36:57 +02:00
2022-12-13 15:08:24 -05:00
2022-03-30 20:00:23 +01:00
2021-11-12 19:51:55 +00:00
2022-12-24 23:49:50 +00:00
2023-02-16 10:01:33 +00:00
2023-01-13 09:40:57 +00:00
2021-11-12 19:51:55 +00:00
2022-12-13 15:08:24 -05:00
2023-01-13 09:40:57 +00:00
2022-12-24 23:49:50 +00:00
2023-03-27 16:37:31 +02:00
2021-09-29 13:24:14 +02:00
2021-12-30 19:36:57 +02:00
2021-11-12 19:51:55 +00:00
2022-12-24 23:49:50 +00:00
2023-01-26 10:44:05 +01:00
2023-01-26 10:44:05 +01:00
2023-03-26 20:17:55 +01:00
2023-01-26 10:36:18 +00:00
2021-12-30 19:36:57 +02:00
2022-12-24 23:49:50 +00:00
2023-02-01 11:33:35 +01:00
2023-03-23 12:55:18 +01:00
2022-12-24 23:49:50 +00:00
2023-01-03 19:31:29 -06:00