Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement BIP 118 validation (SIGHASH_ANYPREVOUT) #56

Merged
merged 8 commits into from
May 7, 2024

Conversation

ajtowns
Copy link

@ajtowns ajtowns commented May 2, 2024

Forward port from #34

@ajtowns ajtowns added this to the 27.x milestone May 2, 2024
@ajtowns ajtowns force-pushed the 202404-inq27-apo branch 2 times, most recently from d1c5874 to efbac17 Compare May 2, 2024 04:16
@ajtowns ajtowns added the bip118 label May 2, 2024
@ajtowns ajtowns force-pushed the 202404-inq27-apo branch from efbac17 to 1c6f718 Compare May 6, 2024 22:09
ajtowns and others added 8 commits May 7, 2024 20:07
Introduce `KeyVersion` in preparation for defining new behaviours via
BIP 342's "unknown public key type" upgrade mechanism.
… was conserved

This fuzz targets copied the SignatureHashSchnorr function for Bitcoin
Core 23.0 and checks the output of the APO-ready SignatureHashSchnorr
from this branch against it.

This is to make sure the behaviour of the function was not changed for
non ANYPREVOUT keys, which would make some previously valid signatures
invalid and, even worse, some previously invalid signatures valid.
@ajtowns ajtowns force-pushed the 202404-inq27-apo branch from 1c6f718 to cf1ed61 Compare May 7, 2024 10:13
@ajtowns ajtowns merged commit 011ad33 into bitcoin-inquisition:27.x May 7, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants