unit-e icon indicating copy to clipboard operation
unit-e copied to clipboard

Get rid of non-witness P2SH

Open nzmdn opened this issue 6 years ago • 0 comments

In the presence of P2WSH P2SH becomes useless, and its implementation increases technical debt. Removing P2SH will allow us to simplify the script interpreter and to get rid of special cases like witness programs in P2SH.

We can disable P2SH gradually in the following steps:

  1. Make P2SH scripts non-standard.
  2. Stop interpreting serialized redeemScript.
  3. Remove the implementation of P2SH.

nzmdn avatar Feb 01 '19 14:02 nzmdn