Bitcoin Forum
April 26, 2024, 12:53:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can a soft fork result in a permanent split of the blockchain?  (Read 164 times)
Yougu (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 4


View Profile
December 20, 2018, 01:09:15 AM
Merited by Jet Cash (1), mu_enrico (1)
 #1

Taking a look at soft forks I understand that soft forks are initiated by miners upgrading to a stricter set of rules. Blocks generated by miners operating under the new rules are recognized by nodes running under the old set of rules.

If the a majority of miners switches to the new (stricter) rules, the blockchain will only consist of blocks generated by them at some point. This is due to the fact, that miners running under the new set of rules reject blocks mined under the old set of rules, but nodes operating under the old set accept their blocks.

If only a minority of miners switches to the new rules, there is the risk that the blockchain ultimately forks. We end up in a situation similar to a hard fork. Miners running on the new software will only recognize blocks mined by miners who have updated and reject blocks that have been mined by miners running under the old set of rules. Since miners who have updated their software are in the minority, their chain is not the longest chain. It will therefore be disregarded by miners operating under the old set of rules which results in a permanent split of the blockchain.

Is that understanding of a soft fork correct?
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714092819
Hero Member
*
Offline Offline

Posts: 1714092819

View Profile Personal Message (Offline)

Ignore
1714092819
Reply with quote  #2

1714092819
Report to moderator
1714092819
Hero Member
*
Offline Offline

Posts: 1714092819

View Profile Personal Message (Offline)

Ignore
1714092819
Reply with quote  #2

1714092819
Report to moderator
1714092819
Hero Member
*
Offline Offline

Posts: 1714092819

View Profile Personal Message (Offline)

Ignore
1714092819
Reply with quote  #2

1714092819
Report to moderator
squatter
Legendary
*
Offline Offline

Activity: 1666
Merit: 1196


STOP SNITCHIN'


View Profile
December 20, 2018, 01:20:54 AM
Merited by Jet Cash (1), mu_enrico (1)
 #2

If only a minority of miners switches to the new rules, there is the risk that the blockchain ultimately forks. We end up in a situation similar to a hard fork. Miners running on the new software will only recognize blocks mined by miners who have updated and reject blocks that have been mined by miners running under the old set of rules. Since miners who have updated their software are in the minority, their chain is not the longest chain. It will therefore be disregarded by miners operating under the old set of rules which results in a permanent split of the blockchain.

Is that understanding of a soft fork correct?

Yes, that's an accurate description.

The only distinction I'd make is that it's only permanent if the legacy chain remains the most-work (longest) chain forever. If the soft fork chain ever overtakes the legacy chain regarding accumulated work, it'll result in a chain reorganization. All of the legacy chain's history between the fork and the reorg would be lost.

This is why it's ideal to have a supermajority of miner support before activating a soft fork. It ensures backward compatibility so there is no chain split.

Yougu (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 4


View Profile
December 21, 2018, 08:22:51 AM
 #3

Thanks squatter!
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!