MarcoFalke c65c77c721
Merge #14039: Disallow extended encoding for non-witness transactions
bb530efa18 Disallow extended encoding for non-witness transactions (Pieter Wuille)

Pull request description:

  BIP144 specifies that transactions without witness should use the legacy encoding, which is currently not enforced.

  This rule was present in the original SegWit implementation (https://github.com/bitcoin/bitcoin/pull/8149), but was subsequently dropped (https://github.com/bitcoin/bitcoin/pull/8589).

  As all hashes, txids, and weights are always computed over a reserialized version of a transaction, it is mostly harmless to permit extended encoding for non-segwit transactions, but I'd rather strictly follow the BIP.

ACKs for commit bb530e:
  instagibbs:
    utACK bb530efa18
  stevenroose:
    utACK bb530efa1872ec963417f61da9a95185c7a7a7d6

Tree-SHA512: 1aeccd6a555f43784fefb076ce2e8ad2f5ba7be49840544a50050d0390f82373f87201bf56cf8bb30841b4f9cd893b382261a080da875d4e11ab7051f8640dbe
2019-04-25 14:15:43 -04:00
..
2019-01-26 12:45:48 -05:00
2018-09-07 08:21:14 -04:00
2019-04-09 17:53:08 -04:00
2019-01-16 13:54:18 -05:00
2018-12-29 10:15:01 +01:00
2019-04-09 17:53:08 -04:00
2019-01-24 19:47:07 -08:00
2018-09-04 13:11:26 +02:00
2019-02-04 12:20:42 +00:00
2019-02-22 17:38:45 -08:00
2019-02-22 17:38:45 -08:00
2019-04-10 12:16:52 +01:00
2018-12-29 10:15:01 +01:00
2019-04-09 17:53:08 -04:00
2019-04-09 17:53:08 -04:00
2019-01-31 15:00:56 +00:00
2019-01-18 00:34:47 +00:00
2019-04-09 17:53:08 -04:00
2019-04-10 11:48:47 -04:00
2019-01-24 15:58:49 -08:00
2018-12-29 10:15:01 +01:00
2018-11-14 12:19:28 -05:00
2019-02-25 10:12:29 -05:00
2018-12-14 16:26:13 -05:00