Add coin-grinder example test #31352
pull yancyribbens wants to merge 1 commits into bitcoin:master from yancyribbens:add-coin-grinder-example changing 1 files +23 −0-
yancyribbens commented at 5:08 pm on November 22, 2024: contributorIn understanding the coin-grinder algorithm, I find it useful to run the algorithm with the parameters given in the example code. I thing it would be useful to add to the test-framework.
-
DrahtBot commented at 5:08 pm on November 22, 2024: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/31352.
Reviews
See the guideline for information on the review process.
Type Reviewers Concept NACK brunoerg If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
-
test: Add coin-grinder example
Adds a test that traces the example given in the documentation
-
yancyribbens force-pushed on Nov 22, 2024
-
brunoerg commented at 11:33 am on November 26, 2024: contributorAccording to https://corecheck.dev/bitcoin/bitcoin/pulls/31352, this PR does not bring any new test coverage for coin selection. What are you exactly testing here that is not covered yet? If you simply are reproducing the example code, so I tend to concept NACK on adding this to the test, the example is only an example.
-
yancyribbens commented at 5:34 pm on November 26, 2024: contributor
If you simply are reproducing the example code, so I tend to concept NACK on adding this to the test, the example is only an example.
That’s fair. I wanted a way to follow the example code to trace values during various assignments and conditions. I figured since I wrote the test it might be useful to add, although if not, I can still use it and we can close the PR.
-
yancyribbens closed this on Nov 27, 2024
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-12-03 18: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-12-03 18: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