lbrycrd/src/script
Wladimir J. van der Laan 339da9ca41
Merge #11411: script: Change SignatureHash input index check to an assert.
5ddf560 script: Change SignatureHash input index check to an assert. (Jim Posen)

Pull request description:

  In the SignatureHash function, the input index must refer to a valid index. This is not enforced equally in the segwit/non-segwit branches and should be an assertion rather than returning a error hash.

Tree-SHA512: a775fc9e9bd9835c0ab36368aa45ab3d53e38f31fd4d2b8684a77ee6028c854c363df038681a59358b30138957573ad63b71d4a722c16e0830fb4fa72669ef39
2017-10-02 15:10:40 +02:00
..
bitcoinconsensus.cpp scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
bitcoinconsensus.h scripted-diff: Use the C++11 keyword nullptr to denote the pointer literal instead of the macro NULL 2017-08-07 07:36:37 +02:00
interpreter.cpp script: Change SignatureHash input index check to an assert. 2017-09-27 19:49:18 -07:00
interpreter.h Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
ismine.cpp Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
ismine.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
script.cpp Sanity check transaction scripts in DecodeHexTx 2017-06-07 14:07:26 -07:00
script.h Fix invalid memory access in CScript::operator+= 2017-09-11 13:40:31 +10:00
script_error.cpp Add error string for CLEANSTACK script violation, preventing an "unknown error" if the CLEANSTACK error condition is set. 2017-09-29 01:48:43 -07:00
script_error.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sigcache.cpp scripted-diff: stop using the gArgs wrappers 2017-08-14 17:02:10 +02:00
sigcache.h Use the override specifier (C++11) where we expect to be overriding the virtual function of a base class 2017-06-28 02:12:06 +02:00
sign.cpp Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
sign.h Declare single-argument (non-converting) constructors "explicit" 2017-08-16 16:33:25 +02:00
standard.cpp Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00
standard.h Implement BIP173 addresses and tests 2017-09-28 16:24:30 -07:00