Bitcoin scalability problem
The bitcoin scalability problem is a consequence of the fact that blocks in the blockchain are limited to one megabyte in size. Blocks larger than one megabyte are automatically rejected by the network as invalid. Bitcoin blocks carry the transactions on the bitcoin network since the last block has been created.:ch. 2 This allows for around three transactions per second maximum capacity rate.
The one-megabyte limit has created a bottleneck in bitcoin, resulting in increasing transaction fees and delayed processing of transactions that cannot be fit into a block. Various proposals have come forth on how to scale bitcoin and a contentious debate has resulted. Business Insider in 2017 characterized this debate as an "ideological battle over bitcoin's future."
On 21 July 2017 bitcoin miners locked-in a software upgrade referred to as Bitcoin Improvement Proposal (BIP) 91, meaning that the controversial Segregated Witness upgrade will activate at block 477,120 with the associated block size increase to two megabytes occurring three months later in November.
A fork referring to a blockchain is what happens when a blockchain splits into two paths forward. Forks on the bitcoin network regularly occur as part of the mining process. They happen when two miners find a block at a similar point in time. As a result, the network briefly forks. This fork is subsequently resolved by the software which automatically chooses the longest chain, thereby orphaning the extra blocks added to the shorter chain (that were dropped by the longer chain). A blockchain can also fork when developers change rules in the software used to determine which transactions are valid.
As per CoinDesk, a hard fork is a change of rules that allows to create new blocks not considered valid by the older software. As per Investopedia, a hard fork term refers to a situation when a blockchain splits into two separate chains in consequence of the use of two distinct sets of rules trying to govern the system.
Bitcoin XT and Bitcoin Classic both proposed a block size limit parameter increase called a "hard fork" by Core contributor Eric Lombrozo as a method to improve scalability, however support for both proposals fell over time. Bitcoin Unlimited also proposes to adjust a block size limit, which may result in a hard fork.
A hard fork can split a network if all the network participants don't follow the fork. For example, Ethereum Classic came into existence as a result of the hard fork of the Ethereum network, which was a response to the DAO hack.
Per CoinDesk, in contrast to a hard fork, a soft fork is a change of rules that creates blocks recognized as valid by the old software. Per Investopedia, a soft fork can also split the network when non-upgraded software creates blocks not considered valid by the new rules.
Segregated Witness is an example of a soft fork proposal. Blockstream co-founder and developer Pieter Wuille proposed Segregated Witness in December 2015. Segregated Witness (SegWit) is an update aimed at solving transaction malleability, a known quirk in the bitcoin software. Segregated Witness is a system by which the signature data is segregated from other transaction data. Segregated Witness has been proposed as a solution for scaling, and has impacts in two ways. First, CoinTelegraph predicts it to expand capacity in the range of about two megabytes immediately after SegWit’s activation (compared to bitcoin's current one megabyte capacity).[not in citation given] Second, by solving transaction malleability, CoinTelegraph supposes SegWit to allow new second-layer solutions on top of bitcoin.[not in citation given]
A user-activated soft fork (UASF) is a controversial idea that explores how to perform a blockchain upgrade that is not supported by those who provide the network's hashing power.
Proposed scaling solutionsEdit
Various proposals for scaling bitcoin have been presented. In 2015, BIP 100 by Jeff Garzik and BIP 101 by Gavin Andresen were introduced. By mid 2015, some developers were supporting a block size limit to as high as eight megabytes.
- Bitcoin XT was proposed in 2015 to increase the transaction processing capacity of bitcoin by increasing the block size limit.
- Bitcoin Classic was proposed in 2016 to increase the transaction processing capacity of bitcoin by increasing the block size limit.
- In 2016 an agreement of some miners and developers colloquially termed "The Hong Kong Agreement" was made that contained a timetable that would see both the activation of the Segregated Witness (SegWit) proposal made in December 2015 by Bitcoin Core developers, and the development of a block size limit increase to 2 MB. However, both timelines were missed.
- Bitcoin Unlimited advocates for miner flexibility to increase the block size limit and is supported by mining pools ViaBTC, AntPool, investor Roger Ver and Bitcoin Unlimited chief scientist Peter Rizun. Bitcoin Unlimited proposal is different from Bitcoin Core in that the block size parameter is not hard-coded, and rather the nodes and miners flag support for the size that they want, using an idea they refer to as 'emergent consensus'. Those behind Bitcoin Unlimited proposal argue that from an ideological standpoint the miners should decide about the scaling solution, since they are the ones whose hardware secure the network.
- BIP148 is a proposal that has been referred to as a User Activated Soft Fork (UASF) or a "populist uprising". It was planned to be triggered on 1 August 2017, and it sought to force miners to activate Segregated Witness. It became unnecessary because miners opted to vote for SegWit activation using the BIP91 scheme.
Activated scaling proposalsEdit
- Changes how data is stored in each bitcoin block.
- Provides a boost in transaction capacity while remaining compatible with earlier versions of bitcoin software.
- Fixes transaction malleability that has been a roadblock for other bitcoin projects.
- Implementation of the Lightning Network has become feasible.
In May 2017 Digital Currency Group (not to be confused with the Digital Currency Initiative of the MIT Media Lab) announced it had offered a proposal, referred to as SegWit2x ("the New York Agreement"), activating Segregated Witness at an 80% threshold of the total bitcoin hashrate, signaling at bit 4; and activating a 2 MB block size limit within six months with support in excess of 80% of the total bitcoin hash rate. In June 2017 the Segregated Witness proposal was further complicated with claims that it might violate patents filed with the USIPO. As of mid-2017 the SegWit2x proposal had support in excess of 90% of the hashrate, however the SegWit2x proposal has been controversial in that work on the project is limited to an invitation only group of developers. In mid-July 2017 it became apparent that miners supported implementation of the Segwit part of the agreement before the 1 August 2017 UASF, thereby attempting to avoid the risk of a hard fork for the bitcoin network. On 21 July, BIP 91 locked-in, meaning that Segregated Witness upgrade would activate at block 477,120. By 8 August another milestone was reached when 100% of the bitcoin mining pools signaled support for SegWit, although SegWit would not be fully activated until 21 August at the earliest, after which miners would begin rejecting blocks that do not support SegWit. On 24 August 2017 (at Block 481,824) Segregated Witness went live.[not in citation given] Most bitcoin transactions have not been using the upgrade, but they have not been able to since the BIP 173 address format standardization had not been completed. In the first week of October the proportion of bitcoin transactions using SegWit rose from 7% to 10%.
Bitcoin Cash, a hard fork of the bitcoin blockchain was born at on 1 August 2017 (since block 478559). After the hard fork, bitcoin holders owned equal amounts of both bitcoin (BTC) and Bitcoin Cash (BCH). Bitcoin Cash increased block size from one megabyte to eight megabytes, without incorporating SegWit. By the evening of 1 August 2017, BCH had the third highest market capitalization of any cryptocurrency (after BTC and Ethereum). Many cryptocurrency exchanges suspended service for the days surrounding 1 August 2017. Americans wondering whether their acquisition of Bitcoin Cash is taxable as income, or not taxable, as a division of property have received no guidance from the Internal Revenue Service.
Other scaling proposalsEdit
The implementation of Segregated Witness in August 2017 was only the first half of the so-called "New York Agreement" by which those who wanted to increase effective block size by SegWit compromised with those who wanted to increase block size by a hard fork to a larger block size. The second half of SegWit2x involves a hard fork in November 2017 to increase the blocksize to 2 megabytes.
SegWit has been authored by a people not involved with SegWit2x, and many of them are opposed to SegWit2x.
The SegWit2X hard fork is even more controversial than was the Bitcoin Cash hard fork. Some companies that originally supported the New York Agreement have backed-out of supporting the proposal, including F2Pool, Bitwala, SurBTC, and Wayniloans. The hard fork in November could result in another bitcoin blockchain in addition to the second blockchain created in August. The cryptocurrency exchanges Bitfinex, HitBTC, and CEX.io have declared that the original chain will be "BTC", and the new two megabyte chain will be "B2X", whereas the position of Bitstamp, bitFlyer, Kracken, and other exchanges has not been formally announced. Several signatories to the New York Agreement (including Coinbase, Blockchain, and Xapo) have indicated that they will not decide which chain is to be called "bitcoin" until after the hard fork.
A major issue of contention is the choice of SegWit2x developers to implement opt-in replay protection, rather than the strong replay protection implemented by the bitcoin cash hard fork. Opt-in replay protection means that the Segwit2x chain will still accept transactions intended for the original chain, in addition to replay protected transactions only valid on Segwit2x. Users sending transactions on the original bitcoin chain, or who fail to send replay protected Segwit2x transactions, will both be vulnerable to having their transactions replayed to the other chain. This may result in accidental loss of funds. This absence of strong replay protection has created considerable controversy in the bitcoin community.
Greg Maxwell, a prominent Bitcoin Core contributor and Blockstream employee has claimed that a previous agreement to increase the block size had been made under duress. Implementation of SegWit2x will increase transaction fees to miners and reduce transaction fees Blockstream makes on sidechains — as well as increase the power of miners while reducing the power of core developers. Some SegWit2x supporters are eager to minimize the perceived power of Bitcoin Core developers over bitcoin protocol development, whereas some opponents do not want to see more power concentrated in the hands of fewer miners.
On November 8, 2017 the developers of SegWit2x announced that the hard fork planned for around November 16, 2017 has been canceled for the time being due to a lack of sufficient consensus. In the wake of the failure of plans for the hard fork to double the bitcoin block size, Bitcoin Classic, which was begun in 2016 to solve the bitcoin scalability problem, ceased operation, declaring that Bitcoin Cash is now the only hope for bitcoin to become scalable. Although there was a substantial bitcoin sell-off (and a substantial rally of bitcoin cash) after the news, bitcoin prices recovered, reportedly based on bitcoin as a store of value, even if bitcoin has a scalability problem as a medium of exchange.
The Lightning Network is an in-development project that aims to fix the bitcoin scalability problem by scaling "off-chain". It aims to allow for a microchannel state update without any blockchain usage (in the usual non-adversarial case), making micropayments realistic (and fee-less). Lightning Network will require putting a funding transaction on the blockchain to open a channel. As of 16 November 2017[update], the Lightning Network is in alpha.
- Hayes, Adam (18 October 2016). "The Three Major Bitcoin Protocols Explained". Investopedia. Retrieved 18 January 2017.
- Andrew Marshall (2 March 2017). "Bitcoin Scaling Problem, Explained". The Coin Telegraph. Retrieved 4 July 2017.
- Andreas M. Antonopoulos (April 2014). Mastering Bitcoin. Unlocking Digital Crypto-Currencies. O'Reilly Media. ISBN 978-1-4493-7404-4.
- Jordan Pearson (14 October 2016). "'Bitcoin Unlimited' Hopes to Save Bitcoin from Itself". Motherboard. Vice Media LLC. Retrieved 17 January 2017.
- Oscar Williams-Grut and Rob Price (26 March 2017). "A Bitcoin civil war is threatening to tear the digital currency in 2 — here's what you need to know". Business Insider. Retrieved 2 July 2017.
- Hertig, Alyssa (21 July 2017). "BIP 91 Locks In: What This Means for Bitcoin and Why It's Not Scaled Yet". CoinDesk. Retrieved 21 July 2017.
- "What Could Happen to Bitcoin? A Visual Guide to Scaling Outcomes". CoinDesk. 18 July 2017. Retrieved 24 July 2017.
- Amy Castor (27 March 2017). "A Short Guide to Bitcoin Forks". CoinDesk. Retrieved 1 July 2017.
- Hayes, Adam (21 March 2017). "Can Bitcoin Hard Fork?". Investopedia. Retrieved 8 June 2017.
- Alyssa Hertig (24 May 2017). "Keep Calm and Bitcoin On? Developers Aren't Worrying About a Fork". CoinDesk. Retrieved 1 July 2017.
- Adinolfi, Joseph. "Exclusive: Grayscale launches digital-currency fund backed by Silver Lake's co-founder Hutchins". MarketWatch. Retrieved 27 April 2017.
- Wirdum, Aaron van. "Rejecting Today's Hard Fork, the Ethereum Classic Project Continues on the Original Chain: Here's Why". Bitcoin Magazine. Retrieved 27 April 2017.
- "Soft Fork". investopedia.com. Investopedia. Retrieved 21 July 2017.
- Corin Faife (5 January 2017). "Will 2017 Bring an End to Bitcoin's Great Scaling Debate?". CoinDesk. Retrieved 4 July 2017.
- Andrew Marshall (20 April 2017). "SegWit, Explained". CoinTelegraph. Retrieved 1 July 2017.
- Evander Smart (19 October 2016). "'Why is My Bitcoin Transaction Taking So Long?' Here's Why". The Coin Telegraph. Retrieved 4 July 2017.
- Alex Hern. "Bitcoin's forked: chief scientist launches alternative proposal for the currency". the Guardian. Retrieved 20 August 2015.
- Rizzo, Pete (19 January 2016). "Making Sense of Bitcoin's Divisive Block Size Debate". CoinDesk. Retrieved 22 June 2017.
- Pete Rizzo & Alyssa Hertig (24 May 2017). "Bitcoin's New Scaling 'Agreement': The Reaction". CoinDesk. Retrieved 29 June 2017.
- Alyssa Hertig (14 May 2017). "CoinDesk Explainer: The Bitcoin Unlimited Debate". CoinDesk. Retrieved 29 June 2017.
- Pete Rizzo (20 March 2017). "CoinDesk Explainer: Bitcoin Unlimited: Mining Power Should Determine Hard Fork". CoinDesk. Retrieved 2 July 2017.
- Alyssa Hertig (8 June 2017). "Bitcoin's 'Independence Day': Could Users Tip the Scales in the Scaling Debate?". CoinDesk. Retrieved 29 June 2017.
- Hertig, Alyssa (23 August 2017). "SegWit Goes Live: Why Bitcoin's Big Upgrade Is a Blockchain Game-Changer". CoinDesk. Retrieved 23 August 2017.
- van Wirdum, Aaron (23 August 2017). "Segregated Witness Activates on Bitcoin: This is What to Expect". Bitcoin Magazine. Retrieved 24 August 2017.
- Alyssa Hertig (23 June 2017). "Top Secret? Bitcoin Scaling Plan Segwit2x Leaves More Questions Than Answers". CoinDesk. Retrieved 29 June 2017.
- "Leading bitcoin ecosystem participants reach consensus on scaling issue". Econo Times. Econo Times. 25 May 2017. Retrieved 23 June 2017.
- "Segregated Witness and the Possibility of Patent Infringement". Nigeria Times. Nigeria Times. 3 June 2017. Retrieved 23 June 2017.
- CNBC (14 July 2017). "Dispute could mean financial panic in bitcoin". Associated Press. Retrieved 19 July 2017.
- Suberg, William (18 July 2017). "Suddenly, Bitcoin Hard Fork Looks Unlikely As Chinese Exchange Readies For SegWit". COINTELEGRAPH. Retrieved 18 July 2017.
- Castor, Amy (18 July 2017). "CoinDesk Explainer: How BIP 91 Enacts SegWit While Avoiding a Bitcoin Split". CoinDesk. Retrieved 18 July 2017.
- Hertig, Alyssa (8 August 2017). "It's Official: Segregated Witness Will Activate on Bitcoin". CoinDesk. Retrieved 9 August 2017.
- Suberg, William (9 October 2017). "Bitcoin: $4600, 50% Dominance, Forks Leave Altcoins No Room For Moon". CoinTelegraph. Retrieved 9 October 2017.
- Coleman, Lester (25 July 2017). "Bitmain Clarifies Its 'Bitcoin Cash' Fork Position". CryptoCoinsNews. Retrieved 27 July 2017.
- Popper, Nathaniel (25 July 2017). "Some Bitcoin Backers Are Defecting to Create a Rival Currency". The New York Times. Retrieved 28 July 2017.
- Song, Jimmy (24 July 2017). "Bitcoin Cash: What You Need to Know". MEDIUM. Retrieved 28 July 2017.
- Norrie, Adam (29 July 2017). "Bitcoin Cash: Another Fork in the Road for Bitcoin". CryptoCoinsNews. Retrieved 29 July 2017.
- Pollock, Darryn (2 August 2017). "Bitcoin Cash Third-Biggest Cryptocurrency On First Day of Creation". COINTELEGRAPH. Retrieved 2 August 2017.
- "Gatecoin Service Preparation for the UASF and MAHF on 1 August 2017". Gatecoin. 28 July 2017. Retrieved 28 July 2017.
- Helms, Kevin (18 July 2017). "13 Japanese Exchanges Agree to Suspend Bitcoin Service on August 1". BITCOIN.COM. Retrieved 27 July 2017.
- "Our plans to handle potential BTC network disruptions". POLONIEX. 24 July 2017. Retrieved 27 July 2017.
- "Bitcoin Hard Fork: Our Position". Bitstamp. 27 July 2017. Retrieved 27 July 2017.
- Saunders, Laura (25 August 2017). "No One Knows How Much to Pay in Bitcoin Cash Taxes". The Wall Street Journal. Retrieved 25 August 2017.
- Haywood, Matthew (16 August 2017). "Segwit2x, 'The New York Agreement'". bravenewcoin.com. Retrieved 6 October 2017.
- Hertig, Alyssa (12 July 2017). "Explainer: What Is SegWit2x and What Does It Mean for Bitcoin?". CoinDesk. Retrieved 6 October 2017.
- Suberg, William (4 October 2017). "SegWit2x 'Maximum Disruption' Could Be Sending Bitcoin Towards $4000". cointelegraph.com. Retrieved 10 October 2017.
- tendencialglobal (18 September 2017). "Segwit2X loses support between mining groups and blockchain companies". cryptocurrency. Steemit. Retrieved 7 October 2017.
- Wilmoth, Josiah (19 September 2017). "SegWit2x, NYA Bitcoin Agreement Loses Another Signatory". cryptocoinsnews.com. Retrieved 11 October 2017.
- Suberg, William (10 October 2017). "Barry Silbert Agreement Loses Support As SurBTC Exchange Appeals to Bitcoin Core Devs". cointelegraph.com. Retrieved 10 October 2017.
- Hertig, Alyssa (6 October 2017). "Calm Before the Fork? Segwit2x Goes Silent as Bitcoin Spilt Looms". CoinDesk. Retrieved 6 October 2017.
- van Wirdum, Aaron (28 October 2017). "To B2X or Not to B2X: How Exchanges Will List the SegWit2x Coin". Bitcoin Magazine. Retrieved 7 November 2017.
- Wilmoth, Josiah (3 November 2017). "Bitcoin Wallet BitGo's Segwit2x Stance 'Based Primarily on Market Price'". cryptocoinnews.com. Retrieved 4 November 2017.
- Song, Jimmy (4 October 2017). "How Segwit2x Replay Protection Works". bitcointechtalk.com. Retrieved 6 October 2017.
- van Wirdum, Aaron (22 September 2017). "SegWit2X and the Case for Strong Replay Protection (And Why It's Controversial)". Bitcoin Magazine. Retrieved 6 October 2017.
- Piasecki, Piotr (31 October 2017). "Blockstream vs miners - looking at the incentives around the SegWit2x fork". bravenewcoin.com. Retrieved 3 November 2017.
- van Wirdum, Aaron (6 October 2017). "2x or NO2X: Why Some Want to Hard Fork Bitcoin — and Why Others Do Not". Bitcoin Magazine. Retrieved 6 November 2017.
- Hertig, Alyssa (8 November 2017). "2x Called Off: Bitcoin Hard Fork Suspended for Lack of Consensus". CoinDesk. Retrieved 8 November 2017.
- Vigna, Paul (8 November 2017). "Bitcoin Dodges Split That Threatened Its Surging Price". The Wall Street Journal. Retrieved 8 November 2017.
- O'Leary, Rachel Rose (10 November 2017). "Bitcoin Classic to Cease Code Support In Wake of 2x Suspension". CoinDesk. Retrieved 10 November 2017.
- Buck, Jon (14 November 2017). "After Declines, Bitcoin Comes Back Stronger". COINTELEGRAPH. Retrieved 14 November 2017.
- Mamoria, Mohit (15 November 2017). "Lightning Network, Explained". COINTELEGRAPH. Retrieved 16 November 2017.