Skip to content

Sync BIP to match taproot code for SigMsg()#1075

Closed
remyers wants to merge 1 commit intobitcoin:masterfrom
remyers:patch-2
Closed

Sync BIP to match taproot code for SigMsg()#1075
remyers wants to merge 1 commit intobitcoin:masterfrom
remyers:patch-2

Conversation

@remyers
Copy link
Copy Markdown

@remyers remyers commented Mar 2, 2021

Add epoch, tapleaf_hash, keyversion and codeseparator_pos serialization to SigMsg().
Update max message length and length computation in footnote: "What is the output length of SigMsg()?"

Add epoch, tapleaf_hash, keyversion and codeseparator_pos serialization to SigMsg(). 
Update max message length and length computation in footnote: "What is the output length of SigMsg()?"
@sipa
Copy link
Copy Markdown
Member

sipa commented Mar 2, 2021

NACK, all of these things are in the BIPs already.

The epoch is prefixed to the output of SigMsg. BIP342 suffixes additional data to it.

@remyers
Copy link
Copy Markdown
Author

remyers commented Mar 2, 2021

Oops, missed the concatenation in the signature validation section.

@remyers remyers closed this Mar 2, 2021
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