unit-e
unit-e copied to clipboard
Get rid of non-witness P2SH
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:
- Make P2SH scripts non-standard.
- Stop interpreting serialized
redeemScript. - Remove the implementation of P2SH.