fuzz: improve scriptpubkeyman target#30563
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. 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. |
|
cc: @maflcko |
4875808 to
fd7cd3b
Compare
For that input, it was calling Now, it will just call |
maflcko
left a comment
There was a problem hiding this comment.
lgtm ACK fd7cd3b8b24ad86dae5c16addbb5acafa18efc0a
The goal of this improvement is to reduce TopUp calls which can lead to timeouts.
fd7cd3b to
401cc4e
Compare
|
Force-pushed addressing #30563 (comment) |
|
lgtm ACK 401cc4e |
|
ACK 401cc4e |
Fixes #30541
This PR aims to improve
scriptpubkeymantarget to avoid timeouts. The input provided in #30541 takes too much time to run because it basically calls onlyMarkUnusedAddresses(300 times * number of spks). The following changes were made to improve it:MarkUnusedAddresses, do it with one of the spks per iteration.AddDescriptorKeycall since it is already covered withAddWalletDescriptor.