This repository was archived by the owner on May 19, 2020. It is now read-only.

Description
https://twitter.com/hrdng/status/955516803425464320
The main difference is that P2SH-wrapped segwit puts the witness program in the redeemScript, adding 22+ bytes when you spend the input, but native segwit puts the witness program is the scriptPubKey and leaves the whole scriptSig blank.
@harding