Post
Topic
Board Beginners & Help
Merits 2 from 2 users
Re: Legacy to Segwit Wallets
by
o_e_l_e_o
on 18/03/2021, 10:31:14 UTC
⭐ Merited by Charles-Tim (1) ,SquirrelJulietGarden (1)
the results are still around 52% reduction. I hope I am correct.
The best you can reach is around a 54% reduction. A P2PKH input is 148 vbytes, while a P2WPKH input is 68 vbytes, for a difference of 80 vbytes. 80/148 = 0.54. There are of course other differences between the size of outputs and the size of the transaction header, but these are very small compared to the size of inputs.

- With a same seed, you can create two types of addresses in Electrum: Legacy and Segwit.
You will need different seed phrases to do this. Unlike BIP39 seed phrases, Electrum seed phrases have a version byte built in to them, which specifies whether the seed phrase will generate a Legacy wallet or a Segwit wallet.