Motivation
Segwit wallets are still using xpub version prefix for segwit in p2sh/native segwit wallets. This is leading to incorrect address derivation from an xpub/xprv
Reference Discussion
- Thread from bitcoin-dev mailing list
- Different bip32 prefixes for various output scripts
Implementation
Already in use by electrum, samouri and trezor