lbrycrd/src/script
Peter Todd 2fa9a8ec86
Make empty byte arrays pass CheckSignatureEncoding()
Makes it possible to compactly provide a delibrately invalid signature
for use with CHECK(MULTI)SIG. For instance with BIP19 if m != n invalid
signatures need to be provided in the scriptSig; prior to this change
those invalid signatures would need to be large DER-encoded signatures.

Note that we may want to further expand on this change in the future by
saying that only OP_0 is a "valid" invalid signature; BIP19 even with
this change is inherently malleable as the invalid signatures can be any
validly encoded DER signature.
2015-01-09 06:03:22 -05:00
..
bitcoinconsensus.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
bitcoinconsensus.h Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
interpreter.cpp Make empty byte arrays pass CheckSignatureEncoding() 2015-01-09 06:03:22 -05:00
interpreter.h Merge pull request #5143 2015-01-08 12:01:22 +01:00
script.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
script.h Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
script_error.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
script_error.h Merge pull request #5143 2015-01-08 12:01:22 +01:00
sigcache.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
sigcache.h Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
sign.cpp Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
sign.h Added "Core" to copyright headers 2014-12-19 19:55:32 +01:00
standard.cpp Fix CScriptID(const CScript& in) in empty script case 2014-12-25 03:18:40 -05:00
standard.h Merge pull request #5143 2015-01-08 12:01:22 +01:00