BTCP-Rebase/src/script
Wladimir J. van der Laan 9f23c16599
Merge #13721: Bugfixes for BIP 174 combining and deserialization
fad231ad41 Fix merging of global unknown data in PSBTs (Andrew Chow)
41df035ee1 Check that PSBT keys are the correct length (Andrew Chow)

Pull request description:

  This PR fixes a few bugs that were found and adds tests checking for these errors.

  Specifically:
  - Single byte keys are checked to actually be one byte.
  - Unknown global data must be merged when combining two PSBTs.

Tree-SHA512: c0e7b4bc607d510cc005aaa7c0813ee58c5467ab7ce4adce485522dfeee92b1af3d29fe89df778b0ea812bb3827e085b30e04d4f4ebcefd8364d809573991332
2018-07-25 15:04:25 +02:00
..
bitcoinconsensus.cpp bitcoinconsensus: invalid flags should be set to bitcoinconsensus_error type, add test cases covering bitcoinconsensus error codes 2018-07-13 22:13:10 +01:00
bitcoinconsensus.h Fix missing or inconsistent include guards 2018-03-22 16:23:04 +01:00
interpreter.cpp scripted-diff: Remove trailing whitespaces 2018-07-24 20:46:23 +01:00
interpreter.h Generic TransactionSignatureCreator works with both CTransaction and CMutableTransaction 2018-05-30 16:01:36 +02:00
ismine.cpp Do not expose invalidity from IsMine 2018-06-17 16:28:04 -07:00
ismine.h Do not expose invalidity from IsMine 2018-06-17 16:28:04 -07:00
script.cpp Remove template matching and pseudo opcodes 2018-05-29 14:40:18 -07:00
script.h Remove template matching and pseudo opcodes 2018-05-29 14:40:18 -07:00
script_error.cpp Add constant scriptCode policy in non-segwit scripts 2018-05-05 04:26:12 +08:00
script_error.h Add constant scriptCode policy in non-segwit scripts 2018-05-05 04:26:12 +08:00
sigcache.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sigcache.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sign.cpp Merge #13721: Bugfixes for BIP 174 combining and deserialization 2018-07-25 15:04:25 +02:00
sign.h Merge #13721: Bugfixes for BIP 174 combining and deserialization 2018-07-25 15:04:25 +02:00
standard.cpp Remove redundant unused variables 2018-07-18 09:39:31 +02:00
standard.h Add P2WSH destination helper and use it instead of manual hashing 2018-06-17 19:44:50 -07:00