elements/src/script
David Bakin bd7c5e2f0a 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)
2022-05-25 12:51:01 -07:00
..
bitcoinconsensus.cpp Use spans of std::byte in serialize 2022-01-02 11:40:31 +01:00
bitcoinconsensus.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
descriptor.cpp Merge bitcoin/bitcoin#24462: For descriptor pubkey parse errors, include context information 2022-03-23 09:38:54 +01:00
descriptor.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
interpreter.cpp Add BIP-341 specified constraints to ComputeTaprootMerkleRoot 2022-05-25 12:51:01 -07:00
interpreter.h Precomputed hashes are note #16 in BIP341 2022-04-25 11:58:42 -04:00
keyorigin.h Implement operator< for KeyOriginInfo and CExtPubKey 2021-12-10 08:29:47 -05:00
miniscript.cpp miniscript: the 'd:' wrapper must not be 'u' 2022-04-18 16:03:29 +02:00
miniscript.h doc: Convert remaining comments to clang-tidy format 2022-04-06 15:37:07 +02:00
script.cpp script: move CheckMinimalPush from interpreter to script.h 2022-03-17 14:09:06 +01:00
script.h script: expose getter for CScriptNum, add a BuildScript helper 2022-03-17 14:09:07 +01:00
script_error.cpp Implement Tapscript script validation rules (BIP 342) 2020-10-12 17:18:24 -07:00
script_error.h scripted-diff: Bump copyright headers 2020-12-31 09:45:41 +01:00
sigcache.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
sigcache.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
sign.cpp refactor: use C++11 default initializers 2022-05-17 17:18:58 +01:00
sign.h refactor: Change * to & in MutableTransactionSignatureCreator 2022-05-04 11:49:29 +02:00
signingprovider.cpp scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
signingprovider.h scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
standard.cpp script: make IsPushdataOp non-static 2022-03-17 14:09:06 +01:00
standard.h refactor: Remove defunct attributes.h includes 2022-05-21 13:54:33 -05:00