Peter Todd b24ff47c64
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.

Rebased-From: 2fa9a8ec86033b809a1c48f0396c3482c0d5d33c
Github-Pull: #5627
2015-01-26 12:10:29 +01:00
..
2014-11-20 17:22:06 +01:00
2015-01-23 16:23:54 +01:00
2014-11-03 16:16:40 +01:00
2014-10-27 04:16:48 -07:00
2014-11-03 16:16:40 +01:00
2014-11-03 16:16:40 +01:00
2014-12-03 10:52:58 +00:00
2014-12-03 10:52:58 +00:00
2014-12-03 10:52:58 +00:00
2014-11-03 16:16:40 +01:00
2014-12-03 10:52:58 +00:00
2014-12-03 10:52:58 +00:00
2014-12-05 11:24:39 +01:00
2014-11-20 17:22:02 +01:00
2014-11-20 17:22:02 +01:00
2014-12-01 14:57:58 +01:00
2014-12-01 14:57:58 +01:00
2014-12-03 10:52:58 +00:00
2014-12-05 11:39:18 +01:00
2014-08-28 22:25:21 +02:00
2014-12-03 10:52:58 +00:00
2014-11-03 16:16:40 +01:00
2014-11-20 17:22:02 +01:00
2014-11-25 08:18:33 +01:00
2014-12-03 10:52:58 +00:00
2014-11-03 16:16:40 +01:00
2014-10-03 04:29:51 +02:00