bitcoin/src/script
Antoine Poinsot bfb036756a
Miniscript support in output descriptors
Miniscript descriptors are defined under P2WSH context (either `wsh()`
or `sh(wsh())`).
Only sane Miniscripts are accepted, as insane ones (although valid by
type) can have surprising behaviour with regard to malleability
guarantees and resources limitations.
As Miniscript descriptors are longer and more complex than "legacy"
descriptors, care was taken in error reporting to help a user determine
for what reason a provided Miniscript is insane.

Co-authored-by: Pieter Wuille <pieter.wuille@gmail.com>
2022-07-14 12:11:44 +02: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 Miniscript support in output descriptors 2022-07-14 12:11:44 +02: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: nit: don't return after assert(false) 2022-05-30 15:16:45 +02:00
miniscript.h miniscript: add a helper to find the first insane sub with no child 2022-07-14 12:03:49 +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 sign: Use sigdata taproot spenddata when signing 2022-06-27 16:47:48 -04:00
sign.h Fill PSBT Taproot output data to/from SignatureData 2022-06-27 16:47:48 -04:00
signingprovider.cpp Store TaprootBuilder in SigningProviders instead of TaprootSpendData 2022-06-27 16:47:48 -04:00
signingprovider.h Store TaprootBuilder in SigningProviders instead of TaprootSpendData 2022-06-27 16:47:48 -04:00
standard.cpp Assert that TaprootBuilder is Finalized during GetSpendData 2022-06-27 16:47:48 -04:00
standard.h Add TaprootBuilder::GetTreeTuples 2022-06-27 16:47:48 -04:00