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()?"
Sync BIP to match taproot code for SigMsg() #1075
pull remyers wants to merge 1 commits into bitcoin:master from remyers:patch-2 changing 1 files +7 −2-
remyers commented at 1:41 PM on March 2, 2021: none
-
6f4b4cb71d
Sync BIP to match taproot code for 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 commented at 5:48 PM on March 2, 2021: member
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 commented at 7:42 PM on March 2, 2021: none
Oops, missed the concatenation in the signature validation section.
- remyers closed this on Mar 2, 2021