aboutsummaryrefslogtreecommitdiff
path: root/src/secp256k1
diff options
context:
space:
mode:
authorDavid Bakin <david@bakins-bits.com>2022-05-24 13:03:42 -0700
committerDavid Bakin <david@bakins-bits.com>2022-05-25 12:51:01 -0700
commitbd7c5e2f0a1b572decdf3a4bafe4ee990e1f4953 (patch)
treefe04b41c657cab800be99218c830f2f03380f01d /src/secp256k1
parent90e49c1ececd6296c6ec6109cea525a208c0626e (diff)
Add BIP-341 specified constraints to `ComputeTaprootMerkleRoot`
BIP 341 specifies constraints on the size of the control block _c_ used to compute the taproot merkle root. > The last stack element is called the control block _c_, and must have > length _33 + 32m_, for a value of m that is an integer between 0 and > 128, inclusive. Fail if it does not have such a length. (See BIP-341 "Script Validation Rules" here: https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#script-validation-rules)
Diffstat (limited to 'src/secp256k1')
0 files changed, 0 insertions, 0 deletions