fuzz: cleanups for versionbits fuzzer #21489
pull ajtowns wants to merge 1 commits into bitcoin:master from ajtowns:202103-versionbits-fuzz-followups changing 1 files +24 −18-
ajtowns commented at 1:28 am on March 21, 2021: memberFollowups for #21380, shouldn’t change coverage. Marking as draft to avoid introducing conflicts for the speedy trial PRs.
-
fuzz: cleanups for versionbits fuzzer aa7f418fe3
-
fanquake added the label Tests on Mar 21, 2021
-
DrahtBot commented at 2:10 am on March 21, 2021: member
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #21507 (Implement BIP8 lockinontimeout by achow101)
- #21393 (BIP 341: Add Speedy Trial activation parameters by achow101)
- #21392 (Implement BIP 8 based Speedy Trial activation by achow101)
- #21377 (Speedy trial support for versionbits by ajtowns)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
-
MarcoFalke commented at 6:55 am on March 21, 2021: membercr ACK aa7f418fe32b3ec53285693a7731decd99be4528
-
in src/test/fuzz/versionbits.cpp:213 in aa7f418fe3
207@@ -203,7 +208,7 @@ FUZZ_TARGET_INIT(versionbits, initialize) 208 } 209 210 // don't risk exceeding max_blocks or times may wrap around 211- if (blocks.size() + period*2 > max_blocks) break; 212+ if (blocks.size() + 2 * period > max_blocks) break; 213 } 214 // NOTE: fuzzed_data_provider may be fully consumed at this point and should not be used further
MarcoFalke commented at 6:59 am on March 21, 2021:
ajtowns commented at 7:24 am on March 21, 2021:The way it currently is makes way more sense to me; I had a go the other way to see if it’d make better use of fuzz magic somehow, but it doesn’t; so sticking with what I like.practicalswift commented at 10:33 am on March 21, 2021: contributorTested ACK aa7f418fe32b3ec53285693a7731decd99be4528fanquake marked this as ready for review on Mar 24, 2021fanquake merged this on Mar 24, 2021fanquake closed this on Mar 24, 2021
ajtowns added the label Needs backport (0.21) on Mar 24, 2021MarcoFalke referenced this in commit 7ed4ddb5ad on Apr 6, 2021MarcoFalke removed the label Needs backport (0.21) on Apr 6, 2021MarcoFalke commented at 9:39 am on April 6, 2021: memberBackported in #21614MarcoFalke referenced this in commit 4546ac5af1 on Apr 7, 2021luke-jr referenced this in commit 1468f18edf on Apr 7, 2021luke-jr referenced this in commit d8e54337bd on Apr 7, 2021MarcoFalke referenced this in commit b8af67eeef on Apr 16, 2021DrahtBot locked this on Aug 18, 2022
ajtowns DrahtBot MarcoFalke practicalswiftLabels
Tests
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 09:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me