bips icon indicating copy to clipboard operation
bips copied to clipboard

BIP-341: Define c[0] as leaf version plus pubkey parity bit

Open david-bakin opened this issue 3 years ago • 4 comments
trafficstars

Add explicit definition of c[0] as the leaf version and the public key parity bit.

Prior to this change that interesting fact is only implicit in the code of taproot_tweak_pubkey and taproot_sign_script. Making it explicit will help reader understanding of the control block and the script validation rules.

david-bakin avatar Jun 06 '22 17:06 david-bakin

@sipa @jonasnick @ajtowns

luke-jr avatar Jul 25 '22 21:07 luke-jr

Looks good, feel free to squash

jonasnick avatar Aug 16 '22 15:08 jonasnick

@sipa, @jonasnick, @ajtowns: Am I understanding right that you would like this to be merged?

murchandamus avatar Apr 26 '24 20:04 murchandamus