- Every script of type NULL_DATA must be unspendable
- The only know types of unspendable scripts are NULL_DATA and certain NONSTANDARD scripts
fuzz: Check that NULL_DATA is unspendable #20761
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2012-testFuzzNullData changing 1 files +7 −1-
MarcoFalke commented at 1:10 pm on December 24, 2020: member
-
fanquake added the label Tests on Dec 24, 2020
-
fuzz: Check that NULL_DATA is unspendable fa26303286
-
MarcoFalke force-pushed on Dec 24, 2020
-
in src/test/fuzz/script.cpp:85 in fa26303286
88@@ -82,7 +89,6 @@ FUZZ_TARGET_INIT(script, initialize_script) 89 (void)script.IsPayToScriptHash(); 90 (void)script.IsPayToWitnessScriptHash(); 91 (void)script.IsPushOnly(); 92- (void)script.IsUnspendable();
murtyjones commented at 2:46 pm on December 24, 2020:What do these lines do? Push the output tosolutions
?
sipa commented at 3:01 am on December 25, 2020:Nothing. They increase coverage.mjdietzx approvedmjdietzx commented at 7:07 pm on December 24, 2020: contributorAck fa2630328687645fbc7dd1ea46aac32514025715DrahtBot commented at 0:13 am on December 25, 2020: memberThe following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Conflicts
Reviewers, this pull request conflicts with the following ones:
- #20765 (fuzz: check that certain script TxoutType are nonstandard by mjdietzx)
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.
sipa commented at 3:02 am on December 25, 2020: memberutACK fa2630328687645fbc7dd1ea46aac32514025715MarcoFalke merged this on Dec 25, 2020MarcoFalke closed this on Dec 25, 2020
MarcoFalke deleted the branch on Dec 25, 2020sidhujag referenced this in commit 619e064ec0 on Dec 25, 2020practicalswift commented at 7:59 pm on December 27, 2020: contributorPost-merge ACK
Thanks for improving the fuzzing harnesses!
luke-jr commented at 1:22 am on January 3, 2021: memberPost-merge utACKMarcoFalke referenced this in commit 2dab2d239a on Jan 3, 2021sidhujag referenced this in commit 560045c438 on Jan 3, 2021PastaPastaPasta referenced this in commit 6530682b84 on Apr 3, 2022DrahtBot locked this on Aug 16, 2022
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-19 06: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-19 06: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