Bitcoin Forum
June 29, 2024, 08:47:53 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: My 2 big reasons why we should use SegWit addresses instead of Legacy addresses  (Read 184 times)
Phu Juck (OP)
Member
**
Offline Offline

Activity: 101
Merit: 27


View Profile
June 26, 2024, 03:58:26 PM
 #1

SegWit (Segregated Witness) was introduced in 2017 for Bitcoin. It was activated as a soft fork according to Bitcoin Improvement Proposal 148 (BIP 148), which enforced SegWit to be activated. SegWit aimed to improve scalability, reduce transaction fees, and fix transaction malleability issues, in addition to more smaller benefits.

Let’s have a look today at why SegWit is a good update for Bitcoin because Segregated Witness (SegWit) addresses for Bitcoin are offering several advantages over legacy addresses:


Native and nested SegWit

Today, we know about native and nested SegWit addresses. While nested SegWit only offers few advantages, native SegWit is what was introduced in 2017, giving us full benefits from SegWit transactions:


_________________________________________________________________________________________________________________ _____________________
1…Legacy-AddressP2PKH (pay to public key hash)
3…Multisignature-AddressP2SH (pay to script hash)
_________________________________________________________________________________________________________________ _____________________
3…nested SegWit-AddressP2WPKH-P2SH (pay to witness public key hash - pay to script hash) / P2WSH-P2SH (pay to witness script hash - pay to script hash)
_________________________________________________________________________________________________________________ _____________________
bc1q…native SegWit-Address (bech32)P2WPKH-bech32 (pay to witness public key hash) / P2WSH-bech32 (pay to witness script hash)
bc1p…Taproot-AddressP2TR-bech32m (pay to tap root)






1. SegWit transaction are cheapest

SegWit offers us compared to Legacy or nested SegWit really low transaction fees and it will reduce our costs paid for transaction fees a lot.
Here’s an overview how large transactions of each type are:  


Type|Input  vbyte|Output vbyte|transaction vbyte
Taproot|57,5|43|111
Native SegWit|68|31|109.5
Nested SegWit|93|32|134
Nested SegWit|140|34|192


For each input, we will save additional transaction fees.

SegWit transactions are simply smaller in size compared to legacy transactions because all witness data (signatures) is separated from transaction data. As a result, we get a lower fee per transaction vbyte.





2. Increased Block Capacity

Bitcoin has a limit of transactions in terms of transaction size for each Block: a limited number of transactions can only be fitted into each Bitcoin block, limiting Bitcoin’s capacity in terms of  transaction size per new block.  
SegWit allows more transactions to be fitted into each block. By separating all witness data, SegWit effectively decreases size limits for each transaction and effectively increases Bitcoin’s block size limit, which helps to process more transactions per block.  
So, SegWit actively helps to reduce congestion in Bitcoin’s mempool.

Overall, using SegWit addresses will help us to reduce transaction costs, have a better network performance and future-proofing for additional improvements and features for Bitcoin.


Which ones are your favorite reasons to use Bitcoin native SegWit addresses?






Sources

Pay-to-taproot (P2TR) transaction fee
Why people should be using SegWit addresses
Minimizing bitcoin transaction fee
Mempool empty! Use this opportunity to Consolidate your small inputs!
Zaguru12
Hero Member
*****
Online Online

Activity: 742
Merit: 901



View Profile WWW
June 26, 2024, 05:05:55 PM
 #2


Bitcoin has a limit of transactions in terms of transaction size for each Block: a limited number of transactions can only be fitted into each Bitcoin block, limiting Bitcoin’s capacity in terms of  transaction size per new block.  
SegWit allows more transactions to be fitted into each block. By separating all witness data, SegWit effectively decreases size limits for each transaction and effectively increases Bitcoin’s block size limit, which helps to process more transactions per block.  
So, SegWit actively helps to reduce congestion in Bitcoin’s mempool.

Overall, using SegWit addresses will help us to reduce transaction costs, have a better network performance and future-proofing for additional improvements and features for Bitcoin.

In a more clearer way SegWit transactions aren’t necessarily smaller in size than legacy transactions. The both address format transactions are same size in byte, the difference is that the way the transaction is calculated is changed from size to weight, it is this SegWit transactions that is smaller in weight than legacy becaus legacy transactions is measured to weigh 4 units/byte and segwit weighs 1 unit/byte, and that’s why the corresponding transaction fees are smaller.

The data too is not removed or separated entirely from the transaction like some people mistakenly assume. It is just moved to witness which is a new field in segwit formats

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Felicity_Tide
Member
**
Offline Offline

Activity: 84
Merit: 66

cout << "Bitcoin";


View Profile
June 26, 2024, 05:11:48 PM
Last edit: June 27, 2024, 10:07:15 PM by Mr. Big
 #3

in as much as you want to pass a very helpful information, you should know that cross posting is not accepted.

Here is your cross posting on a local board : https://bitcointalk.org/index.php?topic=5501147.0

Highly ranked members/mod(achow101) would decide from here.

My apologies. I thought only translated post on local boards are exempted as the rule states. I never knew same post written in plain English can also be posted both on local and other boards.

Phu Juck (OP)
Member
**
Offline Offline

Activity: 101
Merit: 27


View Profile
June 26, 2024, 06:16:21 PM
 #4

In as much as you want to pass a very helpful information, you should know that cross posting is not accepted.

Here is your cross posting on a local board : https://bitcointalk.org/index.php?topic=5501147.0
Local boards are exempt from such a rule.

Highly ranked members/mod(@achow101) would decide from here.
Yes, let moderators decide.
Forsyth Jones
Hero Member
*****
Offline Offline

Activity: 1218
Merit: 714


Duelbits - Play for Free | Win for Real


View Profile WWW
June 26, 2024, 10:48:17 PM
 #5

I think I've been using Segwit bech32 since 2018. I still used legacy for a while, in this year I tested bech32m, but I didn't see much of an advantage in terms of transaction weight/reduced fee.

As bech32m is taproot, perhaps its advantage is to aggregate several signatures into one, for example, if you receive several entries at a single address, perhaps when it comes to spending, it makes up for using bech32m. Someone correct me if I'm wrong.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
hosseinimr93
Legendary
*
Online Online

Activity: 2450
Merit: 5417



View Profile
June 27, 2024, 12:00:26 AM
Merited by vapourminer (1)
 #6

t is this SegWit transactions that is smaller in weight than legacy becaus legacy transactions is measured to weigh 4 units/byte and segwit weighs 1 unit/byte, and that’s why the corresponding transaction fees are smaller.
It's not that legacy transactions data weigh 4 times segwit transactions data. It's only the witness data that is counted differently.
The regular data of a segwit transaction is counted as legacy transactions and the witness data is counted as one quarter the size of the regular data.

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
OcTradism
Hero Member
*****
Offline Offline

Activity: 1792
Merit: 827



View Profile WWW
June 27, 2024, 03:23:44 AM
Merited by vapourminer (2), Apocollapse (1)
 #7

I think I've been using Segwit bech32 since 2018. I still used legacy for a while, in this year I tested bech32m, but I didn't see much of an advantage in terms of transaction weight/reduced fee.

As bech32m is taproot, perhaps its advantage is to aggregate several signatures into one, for example, if you receive several entries at a single address, perhaps when it comes to spending, it makes up for using bech32m. Someone correct me if I'm wrong.
Difference between transactions with Native Segwit bech32 bc1q and with Taproot bech32m bc1p is inputs and outputs.

With inputs, each Taproot input is 10.5 vbytes smaller than Native Segwit input but with each Taproot output, it is 12 vbytes bigger than a Native Segwit output.

So cheaper or more expensive, it depends on inputs and outputs of your transactions in Native Segwit or in Taproot.

https://bitcoinops.org/en/tools/calc-size/

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
dkbit98
Legendary
*
Offline Offline

Activity: 2282
Merit: 7291



View Profile WWW
June 27, 2024, 03:02:49 PM
 #8

Which ones are your favorite reasons to use Bitcoin native SegWit addresses?
There is no much difference compared to other address formats, but I guess with new format there is a bit smaller transaction fees.
Nobody in 2024 should be generating new Legacy addresses anymore and many bitcoin wallets removed this option (from GUI) like Electrum wallet.
However, it's perfectly fine to still use legacy addresses if you have coins stored a long time as a cold storage and you don't want to move them to new addresses.

Real advancement we have with Silent Payments (BIP352) that have much better privacy, but it's not yet supported in all wallets, and it's still in beta.
Silent Payment addresses all start with sp1.




█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Wind_FURY
Legendary
*
Offline Offline

Activity: 2968
Merit: 1852



View Profile
June 28, 2024, 09:33:51 AM
 #9

Quote

My 2 big reasons why we should use SegWit addresses instead of Legacy addresses

1. SegWit transaction are cheapest

2. Increased Block Capacity


But perhaps for HODLing, it's probably better to merely use Legacy addresses. Why? Because they're technically the safest. The other address types are Soft Forks, and the Core Developers are human - there could be bugs. Plus because HODLing is merely for the sake of the HODL, you don't need those extra features in Segwit or Taproot.

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
SquirrelJulietGarden
Hero Member
*****
Offline Offline

Activity: 1372
Merit: 752



View Profile
June 28, 2024, 10:13:12 AM
 #10

But perhaps for HODLing, it's probably better to merely use Legacy addresses. Why? Because they're technically the safest. The other address types are Soft Forks, and the Core Developers are human - there could be bugs. Plus because HODLing is merely for the sake of the HODL, you don't need those extra features in Segwit or Taproot.
It is merely Conspiracy theory with some foundations to back behind but if bugs can cause bitcoin loss stored in addresses with Segwit or Taproot, many people already lost their bitcoins.

If the theory is bug can cause it, Bitcoin Legacy addresses can be compromised too and with more developer contributions, more decentralized nowadays, my theory is it can be safer than in the past with limited developers contributed to Bitcoin developments.

If I have big fund in bitcoin, I will decentralize my fund in Legacy, Segwit addresses.

███▄▀██▄▄
░░▄████▄▀████ ▄▄▄
░░████▄▄▄▄░░█▀▀
███ ██████▄▄▀█▌
░▄░░███▀████
░▐█░░███░██▄▄
░░▄▀░████▄▄▄▀█
░█░▄███▀████ ▐█
▀▄▄███▀▄██▄
░░▄██▌░░██▀
░▐█▀████ ▀██
░░█▌██████ ▀▀██▄
░░▀███
▄▄██▀▄███
▄▄▄████▀▄████▄░░
▀▀█░░▄▄▄▄████░░
▐█▀▄▄█████████
████▀███░░▄░
▄▄██░███░░█▌░
█▀▄▄▄████░▀▄░░
█▌████▀███▄░█░
▄██▄▀███▄▄▀
▀██░░▐██▄░░
██▀████▀█▌░
▄██▀▀██████▐█░░
███▀░░
promise444c5
Full Member
***
Offline Offline

Activity: 336
Merit: 200


Keep Promises !


View Profile
June 28, 2024, 12:13:13 PM
 #11

Quote

My 2 big reasons why we should use SegWit addresses instead of Legacy addresses

1. SegWit transaction are cheapest

2. Increased Block Capacity



But perhaps for HODLing, it's probably better to merely use Legacy addresses. Why? Because they're technically the safest. The other address types are Soft Forks, and the Core Developers are human - there could be bugs. Plus because HODLing is merely for the sake of the HODL, you don't need those extra features in Segwit or Taproot.
For Holders using lumpsum maybe... but  for DCA investors, it might be bad interm of fees even if they will be consolidating their inputs from time to time.
Everything needs an upgrade as it becomes widely accepted, for example all versions  of programming Languages were  subjected to upgrade to form a better version ...
Development in Bitcoin space  brought about better versions like the Segwit era... as times goes on,much advance stuff will continue to add up ... There might even come a time when bitcoin Legacy address will be converted to new ones in such a way that it's compatible with old Legacy address  without having to make a transaction  to the new one (just a thesis  don'tknow if this might be possible)I.e automatically given new address + their old address (transaction will only reveal the new address)

Yamane_Keto
Sr. Member
****
Offline Offline

Activity: 518
Merit: 492



View Profile WWW
June 28, 2024, 12:34:11 PM
 #12

An additional advantage of SegWit is that if your wallet is not able to generate SegWit addresses, it is best to avoid using it as the code has not been modified in a while or the developers need to have a real reason to update to SegWit addresses.

聞こえません。
Fingerprint:  7B466339E31BE9F2566088B7469C8FBE21C99A41
PX-Z
Hero Member
*****
Offline Offline

Activity: 1498
Merit: 872


Top Crypto Casino


View Profile WWW
June 28, 2024, 03:23:59 PM
 #13

Actually, everything about using segwit address are all about pros than using the legacy one. So there's no other excuse that is reasonable and should be considered for not using segwit address.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
mu_enrico
Copper Member
Legendary
*
Offline Offline

Activity: 2380
Merit: 2156


Slots Enthusiast & Expert


View Profile WWW
June 28, 2024, 03:33:07 PM
 #14

Yep, for me (1) it's cheaper than legacy, and (2) it's already supported everywhere. It's not like a few years ago when I couldn't withdraw to bc1 addresses. Nowadays, I rarely see wallets with legacy addresses as their default.

The reason someone still uses the 1-addresses is probably that they already had them pre-fork and want to keep the coins unsplit.

███████████████████████
████████████████████
██████████████████
████████████████████
███▀▀▀█████████████████
███▄▄▄█████████████████
██████████████████████
██████████████████████
███████████████████████
█████████████████████
███████████████████
███████████████
████████████████████████
███████████████████████████
███████████████████████████
███████████████████████████
█████████▀▀██▀██▀▀█████████
█████████████▄█████████████
███████████████████████
████████████████████████
████████████▄█▄█████████
████████▀▀███████████
██████████████████
▀███████████████████▀
▀███████████████▀
█████████████████████████
O F F I C I A L   P A R T N E R S
▬▬▬▬▬▬▬▬▬▬
ASTON VILLA FC
BURNLEY FC
BK8?.
..PLAY NOW..
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!