SegWit For Bitcoin Is Finally Here! Find Out What Has Changed.

in bitcoin •  7 years ago  (edited)

SegWit For Bitcoin Is Finally Locked In! 

Yes, you read that correctly Steemians! Segwit for BTC is finally here! BIP91 will lock in this period and we will officially have SegWit on Bitcoin! Cheers to the BTC and crypto community! Below I attempted to explain some of the issues SegWit was implemented to fix, how it fixes them, and who benefits from this implementation. Enjoy! 

The Malleability Issue 

For starters, you need to know that each individual BTC transaction is identified with a 64-digit hexadecimal hash called a transaction identifier (TXID). The TXID is based on two inputs:  the coins being spent, and who will be able to spend the results of the transaction. 

Unfortunately, the way the txid was previously quantified allowed anyone to make minor changes to the transaction that would not change its meaning, but would change the txid. This is called third-party malleability. BIP 62 (dealing with malleability) attempted to address these issues, but was too complicated to implement as consensus checks had been withdrawn. 

Before SegWit, users would submit a transaction with a specific txid to the network. After submission, some users would find that a third-party (usually a node on the network relaying your transaction) had modified the transaction slightly. The miner who included your transaction in a block could also be responsible for the txid change. The modification could result in the user's transaction spending the same coins and paying the same addresses, but being confirmed under a completely different txid.  

SegWit is able to prevent third-party and scriptSig malleability by allowing Bitcoin users to transfer the malleable parts of the transaction into the transaction witness, which segregates that witness so that changes to the witness do not affect the calculation of the txid.

Who benefits?  

  • Wallet authors who track spent bitcoins: SegWit makes it easier to monitor the status of your own outgoing transactions. Simply look them up by txid.   


  • Anyone spending unconfirmed transactions: For example, if Bill pays Jim in transaction 1, and Jim uses that payment to pay Alex in transaction 2, then Bill's payment gets malleated by a third party and confirmed with a different txid. Now transaction 2 is now invalid because of the change in txid and Alex has not been paid. If Jim is trustworthy, he will reissue the payment to Alex; but if he isn’t, he can simply keep those bitcoins for himself. SegWit eliminates this issue. 

 

  • All Blockchain users: micropayment channels, and anticipated new smart contracts, become less complicated to design, understand, and monitor. 


I hope this post helped some of you better understand the reasoning behind why SegWit was implemented and what it means for BTC users! 


Best wishes Steemians,

NV_Trader

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

this will catapult bitcoin to new highs! when it was speculated that bitcoin may reach 10k dollars, I never doubted because of this ..... now, it is happening before my very eyes ..... SegWit is what kept bitcoin from growing, now that it is finally here and done and dusted, BITCOIN IS GONNA BE BOMB! if you are yet to invest in bitcoin, do it quickly before it goes sky high!

nice post!
great info

thanks for this!

peace...

No problem brotha, thanks for taking the time to read it! Also I couldn't agree more regarding segwit&bitcoin. To the moon!

Congratulations @nv-trader! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You made your First Comment
You got a First Vote
Award for the number of upvotes
Award for the number of comments

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Nice post! I will follow you from now on. +upvote

Congratulations @nv-trader! You have received a personal award!

1 Year on Steemit
Click on the badge to view your Board of Honor.

Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - The results, the winners and the prizes

Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @nv-trader! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!