Bitcoin Forum
May 24, 2024, 06:39:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Compare fee : Bech32 & P2SH  (Read 180 times)
hugeblack (OP)
Legendary
*
Offline Offline

Activity: 2520
Merit: 3688


View Profile WWW
February 21, 2018, 09:50:53 AM
 #1

Technically, is there any difference between Bech32 "BIP_0173" and P2SH "Pay to script hash/transactions to be sent to a script hash" segwit Transactions?
Why do some say that the transactions fee using  Bech32 will be cheaper than P2SH?

LoyceV
Legendary
*
Offline Offline

Activity: 3318
Merit: 16689


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 21, 2018, 10:47:38 AM
 #2

A lazy quote as answer:
A typical transaction of one input, two outputs is 226 bytes legacy, 166 vbytes P2SH-P2WPKH segwit (27% less), 141 vbytes pure bech32 P2WPKH segwit (38% less).

If you have many inputs, the savings are larger (and less for many outputs). For 10 input, 1 output legacy is 1515 bytes, 953 vbytes P2SH-P2WPKH (37% less), and 722 vbytes P2WPKH (52% less).

Multisignature transactions benefit even more. Multiinput 2 of 3 multisignature transactions in bech32 P2WPKH segwit are 75% smaller.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!