Understanding SegWit2X & Replay Attacks

in #bitcoin7 years ago

Screen Shot 2017-10-23 at 10_Fotor.jpg

Segwit2X hard fork will occur in about a month.

This is the hard fork that most of the Bitcoin community is unenthusiastically waiting for.

So if you’ve been wondering what’s the big deal about it, let’s take a look at SegWit2X.

This is an attempt to address the scaling issues currently plaguing Bitcoin by increasing the size or more specifically, the weight of the blocks of the Bitcoin blockchain.
The reason this change can only be implemented as a hard fork is due to the fact that this change requires the legacy nodes to upgrade.
You can think of legacy nodes as the original nodes of the bitcoin blockchain that have never upgraded.
This means they follow the original protocols set in place when Bitcoin was first created.
SegWit2X would require these nodes to accept blocks that they otherwise would have rejected prior to the hard fork.
Because this change would ultimately increase what is being called the weight of a block, this in turn increases the workload for the nodes of the Bitcoin Network. It will also affect the miners.
(I’ll include links down below that go much more in depth on how exactly the nodes and miners will be effected so you can get a better idea of how this hard fork will change things.)

This may sound like a simple and logical move to help the network deal with the increase of transactions, but it’s important to note that like everything else involving Bitcoin things get technical and philosophical.

There is a very important issue with SegWit2X that I think everyone who uses Bitcoin needs to be aware of, and that is the threat of replay attacks.

If a hard fork occurs and neither the new or original blockchain implement protocols and protect against replay attacks, things can go south.
When a blockchain splits, the original blockchain or legacy blockchain and all of its past transactions are the same on the newly split blockchain. This is why we are able to receive an equal amount of the newly created coin if we were holding the original coin at the time of the split.

At the time of the split however, if there is no replay protection protocol implemented by either the legacy blockchain, or the new one, new transactions that occur on either chain could be copied and sent on the other chain. This would cause anyone sending BTC or the new hard forked coin to accidentally send both coins to a lucky recipient.

This also opens the door for malicious actors to receive both coins when the intention was to send only one.

Enter: Replay Protection- a protocol that ensures that new transactions are valid on one blockchain and not the other.

It’s true that either the original blockchain or the newly formed blockchain can implement this replay protection to prevent this type of double spending.
However it would be much easier for the new blockchain to implement this security. This is because the original Bitcoin blockchain network is so widely spread the likelihood that this security protocol would be implemented in time is very slim.

This can be quite confusing to understand so you can find links down below for additional articles and blog posts that go much more into detail on how exactly this hard fork will effect the blocks and how replay attacks happen and how they can be prevented.

Additional Reading/Sources:

Explaining SegWit2X Replay attacks

More on block size vs block weight

Basic Layout of SegWit2X

List of supporters for SegWit2X (includes exchanges and wallets)

Sort:  
There are 2 pages
Pages

Great job explaining everything Heidi

These forks are sort of out of control. Here was the picture I made of what CoinMarketCap is going to look like in 2018.

Love it!

daamn thats sick! .. do I see a steem fork there? shouls i be worried?

That looks like the original steem , not fork

We should all be worried. I put ShitConnect in the #3 spot and UET (Useless Ethereum Token) in the #8th spot. Yikes!!!!!!

This can already happen -- not via hard forks but by normal people forking the BTC code and establishing their own coins.

The scary thing about that-- even though said jokingly-- is that IT MIGHT JUST HAPPEN!

Yeah I made one like that too, only the first 100 coins are all bitcoin forks. lol

great graphic!

thats really made, kinda takes the shine off our precious bitcoin to! feel bad

Excellent description of the upcoming hard fork. Much appreciated.

Great post. Thanks for the valuable information.

Thanks for the overview of some of the mechanics involved there. I have been learning the mechanics of a few different blockchains recently in preparation for launching my own Steem Witness server - which I have just done.

I would be honored and greatly helped if you would consider voting for me as witness here at Steemit - My witness application post is here.

The more votes I get, the more time I can invest in helping improve Steemit. :)

Great info

Very detailed info about SegWit2X. My quetion is: how are the miners going to be affected, positive or negative?

Considering 85% of the hashpower on the network supports 2x, they obviously think it is in their interests.

Since when are twitter polls indicative of community support in one direction or another. In Bitcoin there are exactly 2 metrics that cannot be faked, and one is a centralized bolt-on. The first is obviously hashpower - which has been signalling overwhelming support for 2x.

Additionally, signatures made by BTC addresses containing funds (stakeholders) also cannot be faked. These poll results appear to be more or less in agreement with the hashpower.

It's absurd that anyone would take claims that 2X lacks community support seriously.

Great stuff as always, Heidi.

I looked at the list of supporters that you linked to and laughed when I saw the "LOL" response for SegWit2x. So great.

Andreas Antonopoulos basically seems to prefer Lightning network and off chain solutions saying that in engineering often times the simple way is the wrong way...

Great breakdown on seg 2x 👍

Thanks so much for the summary. Very helpful.

Hey Heidi and thank you for the post! After reading through it (I admit I didn't read the additional sources), I'm left with one main question: If we presently hold Bitcoin, and the replay protections are NOT implemented in time for the split on the SegWit2X fork, what is the best way for one to protect one's interest?

Is it as simple as NOT making transfers until it is implemented? Take the "wait-n-see" approach?

Thanks again!

Thanks for the video. Heidi, do you think that the new SegWit2x coin could take the "bitcoin" name? I know that Garzik is getting ridiculed for advocating SegWit2x, but could it actually turn out that the new coin ends up being the more legitimate successor to bitcoin? Just interested in your thoughts.

If it becomes the chain with the most cumulative proof of work, it should. The same goes for Bitcoin Cash.

Isn't this like central bankers sitting at the top deciding what interest rate and money supply should be?

Upvoted! Well done, I'm new on here so find your blog posts incredibly informative! Thanks :)

With segwit 2x are the mining fees going to be less cause currently with bitcoin I believe that is a downfall of it being used more as a digital currency.

Everybody should just lie low with these upcoming forks. Don't understand how a fork cannot have replay attack protection and that you have to "opt-in" for it. Should be a feature by default.

Keep your BTC safe and don't spend your BTC until the dust has settled.

I also think we are going to be seeing more and more forks appearing.

People are not going to support new coins going further. Bitcoin will remain the king !!!

Hi I upvoted this post could you please upvote my post thanks :)

Thanks for your good information i really love it and thanks to you

Bitcoin hard fork is become a tradition, almost every month there is a new shitcoin out of bitcoin. It looks like scam already. Try to lure all the money to one useless crypto.


I am new to steemit can you help me pleasehy @heiditravels

thinks for the info helps mush

Loading...

could you please add me to your list i am new here and i loved your article!! it's really awesome...

I'm happy you enjoyed learning from it :) you can follow my profile by clicking on the "follow" button near the top right of my profile :)

BTC or the new hard forked coin to accidentally send both coins to a lucky recipient.

I liked your post and learned a lot about blockchains. and how repetitive attacks can be avoided

Verry nice post..

Good review👌

Good review

very informative, thank you for sharing this.
You have made it simpler than it sounds. *thumbs up

Let's keep Satoshi's revolution alive with these t-shirts

https://www.amazon.com/dp/B076Q428LZ/ref=twister_B076Q1MBBT?th=1

Thanks for the overview

SegWit: An optimization proposed by Bitcoin Core developer Pieter Wuille at the end of 2015, SegWit increases the volume of transactions that fit into each block without raising the block size parameter. Specifically, it also removes transaction malleability, an issue that once resolved could lead to a number of network improvements.

Yes, SegWit was implemented as a soft fork recently, now this new segwit2x is mostly rejected by the Core dev team.

Good post bro

I think if you already hold BTC and have no intention to sell it in the short term, the best strategy is to hold onto your coins and stay calm.

Great post Heidi! Thank you for the information, best wishes to you always :)
- @splendorhub

I like this

Great..............!!!

that's very nice post great job @heiditravels hey i request u to check out my traveling blog i post very nice contants there i hope u like it i am so thankfull if u did

Congratulations, your post received one of the top 10 most powerful upvotes in the last 12 hours. You received an upvote from @thejohalfiles valued at 89.41 SBD, based on the pending payout at the time the data was extracted.

If you do not wish to receive these messages in future, reply with the word "stop".

good...........

Me parecio muy interesante

Great post, nice summary. Not sure why after reading some of the comments i feel more scared though

There are 2 pages
Pages