4 ms·
How does Bitcoin "enforce new rules" without creating a hard fork?
by crazypython 5y ago
How does Bitcoin "enforce new rules" without creating a hard fork?
- sp332 5y agoIt is a soft fork. https://bitcoinmagazine.com/technical/bip-8-bip-9-or-modern-soft-fork-activation-how-bitcoin-could-upgrade-next https://bitcoinmagazine.com/technical/bip-8-bip-9-or-modern-... "The nice thing about adding or tightening rules is that anything that an upgraded node considers valid, a non-upgraded node considers valid, too." The signalling mechanism is a way for the miners to vote ahead of time whether they will follow to the new fork or not. If more than 10% of the hash power of the network does not signal that it will follow, then the fork is called off and won't happen.
- nullc 5y agoThe same was a sculptor extracts a bust from a block of raw marble -- subtractive geometry. Bitcoin's rules specify what isn't allowed and violating that breaks compatibility, but the system can become more restrictive without becoming incompatible. Huge chunks of the space of possible inputs was set aside for futures use by allowing them in blocks without imposing any structure (while disallowing them for loose transactions so nodes won't inadvertently relay transactions which are invalid due to rules they don't understand). In that sense all future features are already complete latent inside the system and to make them useful the community need only chip away at all the permitted inputs which aren't compatible with the desired new functionality. :)
- rocqua 5y agoThe idea is that, under the old version, the transactions enforcing new rules look like "anyone can spend this transaction". Hence, old clients still accept these transactions, they just don't verify them. The new nodes do verify those transactions, which prevents unauthorized transactions from reaching the blockchain, as long as there are enough new nodes.
- sp332 5y agoI think the confusion is that the old nodes might create new chains that the new nodes will not follow. But with >90% of the hash power of the network on one side, the old-style blocks will be orphaned pretty quickly. And all clients will follow the longest chain they consider legitimate, so old-style blocks will just be ignored after they are orphaned.