Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
p2p-governor: Make the arbitraryScriptOf generator more general and u…
…se it more Rather than arbitraryShortScriptOf which was fixed to scripts of exactly 5, we now pick any size between 1 and any max size (but still capped by the QC size). So this will give more variation in script size. For gossip scripts, this will give more variation, and we also change the max size from being 5 to the square root of the QC size, so that will scale up to 10 for size 100.
- Loading branch information
Showing
2 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters