-
Notifications
You must be signed in to change notification settings - Fork 38k
fuzz: cleanups for versionbits fuzzer #21489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fuzz: cleanups for versionbits fuzzer #21489
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
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. |
cr ACK aa7f418 |
if (blocks.size() + period*2 > max_blocks) break; | ||
if (blocks.size() + 2 * period > max_blocks) break; | ||
} | ||
// NOTE: fuzzed_data_provider may be fully consumed at this point and should not be used further |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Tested ACK aa7f418 |
Github-Pull: bitcoin#21489 Rebased-From: aa7f418
Backported in #21614 |
Github-Pull: bitcoin#21489 Rebased-From: aa7f418
Github-Pull: bitcoin#21489 Rebased-From: aa7f418
Github-Pull: bitcoin#21489 Rebased-From: aa7f418
Github-Pull: bitcoin#21489 Rebased-From: aa7f418
Followups for #21380, shouldn't change coverage. Marking as draft to avoid introducing conflicts for the speedy trial PRs.