Jon Atack
Jon Atack
Updated with feedback from @john-moffett and @fanquake (thanks!)
Rebased, squashed the money helper changes to one commit, and de-duplicated a shared `add_coin` method by extracting it to a test utility.
Trivial rebase per `git range-diff 52ddbd5 d34bc34 e6de5ad` for the merge of #26345. Thank you for the ACKs, @john-moffett and @pinheadmz, mind re-ACKing? I don't have a strong opinion on...
> If a majority of the values are now `0` and `1` Only 1% was 0 and 1% was 1. I liked that it would check edge cases often enough...
@glozow Thanks for bringing it up! The rationale was in this thread: https://github.com/bitcoin/bitcoin/pull/26940#discussion_r1083532109. I noticed this as well, and that `src/test/util/chainstate.h` has the same dependency, and made a patch to...
> setup_common can't use any of the random functions without creating a circular dependency Addressed with #27425.
Thanks for working on this!
Re-concept ACK (not sure if it's ready for review).
I agree but didn't see how to update the fuzz tests to do it -- happy to update with suggestions.