Skip to content

fix: BCH's Pubkey/Schnorr signature detection in inputs#395

Merged
maltemoeser merged 1 commit intocitp:v0.6from
maltemoeser:fix/schnorr-signature-handling
Apr 15, 2020
Merged

fix: BCH's Pubkey/Schnorr signature detection in inputs#395
maltemoeser merged 1 commit intocitp:v0.6from
maltemoeser:fix/schnorr-signature-handling

Conversation

@maltemoeser
Copy link
Copy Markdown
Member

BREAKING CHANGE: Reparsing existing BCH parsings is strongly recommended.

This fixes that BCH's new Schnorr signatures are erroneously detected as public keys because both can have a length of 65 bytes.

Based on mplattner@910dade

@maltemoeser
Copy link
Copy Markdown
Member Author

Laut integrity check ist das parsing mit meinem patch identisch zu deinem: https://gist.github.com/maltemoeser/82810ee894ac7d40d8a0912591f3fb4d

BREAKING CHANGE: Reparsing existing BCH parsings is strongly recommended.

This fixes that BCH's new Schnorr signatures are erroneously detected as public keys because both can have a length of 65 bytes.

Based on mplattner@910dade
@maltemoeser maltemoeser force-pushed the fix/schnorr-signature-handling branch from 7e62b6b to 0b7a723 Compare April 13, 2020 22:35
@maltemoeser maltemoeser requested a review from mplattner April 14, 2020 03:10
Copy link
Copy Markdown
Collaborator

@mplattner mplattner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, can be merged.

@maltemoeser maltemoeser merged commit abaaea0 into citp:v0.6 Apr 15, 2020
@maltemoeser maltemoeser deleted the fix/schnorr-signature-handling branch April 15, 2020 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants