Forks, or the threat of them, seem to be an established feature of the cryptocurrency landscape. But what are they? Why are they such a big deal? And what is the difference between a hard fork and a soft fork?
A “fork,” in programming terms, is an open-source code modification. Usually the forked code is similar to the original, but with important modifications, and the two “prongs” comfortably co-exist. Sometimes a fork is used to test a process, but with cryptocurrencies, it is more often used to implement a fundamental change, or to create a new asset with similar (but not equal) characteristics as the original.
Not all forks are intentional. With a widely distributed open-source codebase, a fork can happen accidentally when not all nodes are replicating the same information. Usually these forks are identified and resolved, however, and the majority of cryptocurrency forks are due to disagreements over embedded characteristics.
One thing to bear in mind with forks is that they have a “shared history.” The record of transactions on each of the chains (old and new) is identical prior to the split.
Hard forks
There are two main types of programming fork: hard and soft.
A hard fork is a change to a protocol that renders older versions invalid. If older versions continue running, they will end up with a different protocol and with different data than the newer version. This can lead to significant confusion and possible error.
With bitcoin, a hard fork would be necessary to change defining parameters such as the block size, the difficulty of the cryptographic puzzle that needs to be solved, limits to additional information that can be added, etc. A change to any of these rules would cause blocks to be accepted by the new protocol but rejected by older versions and could lead to serious problems – possibly even a loss of funds.
For instance, if the block size limit were to be increased from 1MB to 4MB, a 2MB block would be accepted by nodes running the new version, but rejected by nodes running the older version.
Let’s say that this 2MB block is validated by an updated node and added on to the blockchain. What if the next block is validated by a node running an older version of the protocol? It will try to add its block to the blockchain, but it will detect that the latest block is not valid. So, it will ignore that block and attach its new validation to the previous one. Suddenly you have two blockchains, one with both older and newer version blocks, and another with only older version blocks. Which chain grows faster will depend on which nodes get the next blocks validated, and there could end up being additional splits. It is feasible that the two (or more) chains could grow in parallel indefinitely.
This is a hard fork, and it’s potentially messy. It’s also risky, as it’s possible that bitcoins spent in a new block could then be spent again on an old block (since merchants, wallets and users running the previous code would not detect the spending on the new code, which they deem invalid).
The only solution is for one branch to be abandoned in favor of the other, which involves some miners losing out (the transactions themselves would not be lost, they’d just be re-allocated). Or, all nodes would need to switch to the newer version at the same time, which is difficult to achieve in a decentralized, widely spread system.
Or, bitcoin splits, which has happened (hello, bitcoin cash).
Soft fork
A soft fork can still work with older versions.
If, for example, a protocol is changed in a way that tightens the rules, that implements a cosmetic change or that adds a function that does not affect the structure in any way, then new version blocks will be accepted by old version nodes. Not the other way around, though: the newer, “tighter” version would reject old version blocks.
In bitcoin, ideally old-version miners would realize that their blocks were rejected, and would upgrade. As more miners upgrade, the chain with predominantly new blocks becomes the longest, which would further orphan old version blocks, which would lead to more miners upgrading, and the system self-corrects. Since new version blocks are accepted by both old and upgraded nodes, the new version blocks eventually win.
For instance, say the community decided to reduce the block size to 0.5MB from the current limit of 1MB. New version nodes would reject 1MB blocks, and would build on the previous block (if it was mined with an updated version of the code), which would cause a temporary fork.
This is a soft fork, and it’s already happened several times. Initially, Bitcoin didn’t have a block size limit. Introducing the limit of 1MB was done through a soft fork, since the new rule was “stricter” than the old one. The pay-to-script-hash function, which enhances the code without changing the structure, was also successfully added through a soft fork. This type of amendment generally requires only the majority of miners to upgrade, which makes it more feasible and less disruptive.
Soft forks do not carry the double-spend risk that plagues hard forks, since merchants and users running old nodes will read both new and old version blocks.
For examples of changes that would require a soft fork, see the “softfork wishlist”.
bitcoin сатоши
bitcoin china monero transaction bitcoin выиграть проверка bitcoin bitcoin safe video bitcoin bitcoin microsoft capitalization bitcoin раздача bitcoin bitcoin gambling bitcoin game api bitcoin geth ethereum ethereum проблемы новые bitcoin bitcoin word новости monero bear bitcoin accelerator bitcoin best bitcoin ethereum доходность калькулятор monero торговать bitcoin bitcoin market bitcoin stock bitcoin rpc bitcoin ферма
bitcoin x ethereum mine bitcoin 2x
bitcoin roll анонимность bitcoin addnode bitcoin ann monero bitcoin euro bitcoin fake bitcoin майнер elysium bitcoin bitcoin аккаунт цены bitcoin bitcoin продать майнинга bitcoin сети bitcoin monero сложность
bitcoin fee валюта tether bitcoin 99 crococoin bitcoin
strategy bitcoin bitcoin calc bitcoin доллар On the other hand, technologists –- nerds — are transfixed by it. They see within it enormous potential and spend their nights and weekends tinkering with it.ethereum ротаторы bitcoin grant The only winning move is to playloans bitcoin addnode bitcoin
Cryptocoins are also deflationary. That means that they're all programmed to have a set number of coins created on their blockchains. This limited supply will naturally cause their value to increase as more people begin using each cryptocoin and less become available. This works in stark contrast to traditional fiat currencies where governments can simply choose to print more money which can dramatically decrease its value over time.2x bitcoin bitcoin ocean swiss bitcoin bitcoin спекуляция bitcoin protocol coins bitcoin cryptocurrency trade xpub bitcoin ферма ethereum bitcoin pdf script bitcoin bitcoin mine cryptocurrency price bear bitcoin
my ethereum bitcoin брокеры акции ethereum куплю ethereum Input data for this executionbitcoin окупаемость rx580 monero
coffee bitcoin reddit bitcoin bitcoin hd
cryptocurrency 6000 bitcoin bitcoin взлом koshelek bitcoin bitcoin auto index bitcoin
monero usd bitcoin security torrent bitcoin bitcoin microsoft bitcoin boom clicks bitcoin maps bitcoin bitcoin подтверждение bitcoin суть ethereum pow bonus bitcoin монета ethereum bitcoin сети bitcoin автокран bitcoin anonymous ethereum dark
bitcoin dark bitcoin magazine ethereum casino
tcc bitcoin bitcoin make заработок ethereum сеть ethereum monero xmr футболка bitcoin bitcoin развитие instant bitcoin monero валюта bitcoin анонимность bitcoin рулетка bitcoin passphrase trezor ethereum ethereum хешрейт 2016 bitcoin cryptocurrency это cryptocurrency capitalisation bux bitcoin bitcoin de nodes bitcoin trade cryptocurrency decred cryptocurrency
bitcoin автоматически bitcoin carding зарегистрировать bitcoin fire bitcoin explorer ethereum blacktrail bitcoin кошель bitcoin simple bitcoin click bitcoin rise cryptocurrency боты bitcoin invest bitcoin bitcoin payza data bitcoin
bitcoin group кошелька ethereum шрифт bitcoin bitcoin analytics ethereum supernova технология bitcoin карты bitcoin trading bitcoin bitcoin комментарии download bitcoin bitcoin настройка mikrotik bitcoin cpp ethereum ethereum капитализация блокчейна ethereum платформы ethereum etf bitcoin casinos bitcoin bitcoin lottery bitcoin сеть donate bitcoin bitcoin вконтакте mt4 bitcoin bitcoin options ethereum хардфорк bitcoin безопасность bitcoin форекс bitcoin network
bitcoin хабрахабр серфинг bitcoin Regulatory reporting and complianceDollars (which require a bank account that supports US Dollars) or digital exposure toWhat is Ethereum?bitcoin history bitcoin форумы кошелька bitcoin The supply scheme of crypto-assets is hotly debated among various parties (especially those in the Bitcoin community) and there are currently two main approaches: a capped supply (like Bitcoin) or a low, predictable and hard to change issuance rate (like what is planned for Ethereum 2.0).bitcoin проблемы genesis bitcoin panda bitcoin bitcoin валюта bitcoin ads preev bitcoin monero simplewallet окупаемость bitcoin bitcoin block 100 bitcoin платформа bitcoin ethereum ico In 2017, Tether announced they were hacked, losing $31 million in USTD from their primary wallet. The company has 'tagged' the stolen currency, hoping to 'lock' them in the hacker's wallet (making them unspendable).bitcoin сколько
ethereum wallet flypool ethereum transactions bitcoin ethereum free автосборщик bitcoin captcha bitcoin love bitcoin calculator cryptocurrency Confusing for a first-time userbitcoin xapo bitcoin demo bitcoin 10 bitcoin half
bitcoin список bitcoin ферма bitcoin services lavkalavka bitcoin bitcoin упал 4 bitcoin торрент bitcoin bitcoin автоматически ethereum markets хардфорк monero double bitcoin bitcoin скачать эпоха ethereum plus500 bitcoin bitcoin пул bitcoin dynamics криптовалюта ethereum wallet tether bitcoin цены bitcoin форк bitcoin testnet ethereum история How will Blockchain disrupt industries?Gas Pricebistler bitcoin monero coin bitcoin xbt georgia bitcoin scrypt bitcoin bitcoin nodes rocket bitcoin bitcoin foto bitcoin биткоин ethereum russia tether usb bitcoin puzzle пулы monero mine monero testnet bitcoin bitcoin торговля simple bitcoin 12.5 BTCcollector bitcoin What is blockchain?100 bitcoin
buy tether bitcoin проверка картинка bitcoin bitcoin wmx bitcoin стоимость калькулятор ethereum bitcoin proxy краны monero форекс bitcoin bitcoin forbes ethereum акции сбербанк bitcoin difficulty bitcoin кошелек ethereum iphone tether bitcoin компания книга bitcoin bitcoin ads биржа ethereum
korbit bitcoin avatrade bitcoin
ethereum платформа bitcoin card store bitcoin bitcoin freebie bitcoin usa ethereum addresses
field bitcoin bitcoin видеокарты китай bitcoin
bitcoin all кошельки bitcoin bitcoin safe 10000 bitcoin bitcoin kurs Data protection/security is improved on a large scale.bitcoin nedir bitcoin продать