Bitcoin scalability problem

Last updated

Number of transactions per month, on a logarithmic scale Bitcoin transactions per month.svg
Number of transactions per month, on a logarithmic scale

The Bitcoin scalability problem refers to the limited capability of the Bitcoin network to handle large amounts of transaction data on its platform in a short span of time. [1] It is related to the fact that records (known as blocks) in the Bitcoin blockchain are limited in size and frequency. [2]

Contents

Bitcoin's blocks contain the transactions on the bitcoin network. [3] :ch. 2 The on-chain transaction processing capacity of the bitcoin network is limited by the average block creation time of 10 minutes and the original block size limit of 1 megabyte. These jointly constrain the network's throughput. The transaction processing capacity maximum estimated using an average or median transaction size is between 3.3 and 7 transactions per second. [2] There are various proposed and activated solutions to address this issue.

Background

The block size limit, in concert with the proof-of-work difficulty adjustment settings of bitcoin's consensus protocol, constitutes a bottleneck in bitcoin's transaction processing capacity. This can result in increasing transaction fees and delayed processing of transactions that cannot be fit into a block. [4] 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." [5]

Efficiency improvements

Technical optimizations may decrease the amount of computing resources required to receive, process and record bitcoin transactions, allowing increased throughput without placing extra demand on the bitcoin network. These modifications can be to either the network, in which case a fork is required, or to individual node software (such as Bitcoin Core).

"Layer 2" systems

A Lightning Network overview

The Lightning Network (LN) is a protocol that aims to improve bitcoin's scalability and speed without sacrificing trustless operation. [9] The Lightning Network requires putting a funding transaction on the blockchain to open a payment channel. Once a channel is opened, connected participants are able to make rapid payments within the channel or may route payments by "hopping" between channels at intermediate nodes for little to no fee.

In January 2018 Blockstream launched a payment processing system for web retailers called "Lightning Charge", noted that lightning was live on mainnet with 200 nodes operating as of 27 January 2018 and advised it should still be considered "in testing".

On 15 March 2018, Lightning Labs released the beta version of its lnd Lightning Network implementation for bitcoin mainnet, and on 28 March 2018, ACINQ released a mainnet beta of its eclair implementation and desktop application.

In January 2019 the online retailer Bitrefill announced that it receives more payments in Bitcoin via the lightning network than any other cryptocurrency they accept.

In June 2021, the Legislative Assembly of El Salvador voted legislation to make Bitcoin legal tender in El Salvador. [10] [11] [12] The decision was based on the success of the Bitcoin Beach ecosystem in El Zonte that used a LN based wallet. The government will be introducing a wallet utilising the Lightning Network protocol while giving the freedom for citizens to use other Bitcoin Lightning wallets. [13]

Block size increases

Bitcoin's transaction throughput is limited by two parameters:

Bitcoin has a block time of 10 minutes and a block size of 1 MB. Various increases to this limit, and proposals to remove it completely, have been proposed over bitcoin's history. Implementing any of these proposals involves a fork.

Litecoin produces blocks four times faster than Bitcoin which leads to a 4x improvement in throughput. Dogecoin has even more throughput with a block time of 1 minute. Bitcoin Cash has a block size of 32 MB and hence 32x more throughput than Bitcoin. Bitcoin SV removed the block size limit altogether.

Proposed

See also

Related Research Articles

Double-spending is the unauthorized production and spending of money, either digital or conventional. It represents a monetary design problem: a good money is verifiably scarce, and where a unit of value can be spent more than once, the monetary property of scarcity is challenged. As with counterfeit money, such double-spending leads to inflation by creating a new amount of copied currency that did not previously exist. Like all increasingly abundant resources, this devalues the currency relative to other monetary units or goods and diminishes user trust as well as the circulation and retention of the currency.

<span class="mw-page-title-main">Bitcoin</span> Decentralized digital currency

Bitcoin is the first decentralized cryptocurrency. Based on a free-market ideology, bitcoin was invented in 2008 by Satoshi Nakamoto, an unknown entity. Use of bitcoin as a currency began in 2009, with the release of its open-source implementation. In 2021, El Salvador adopted it as legal tender. It is mostly seen as an investment and has been described by some scholars as an economic bubble. As bitcoin is pseudonymous, its use by criminals has attracted the attention of regulators, leading to its ban by several countries as of 2021.

<span class="mw-page-title-main">Bitcoin protocol</span> Rules that govern the functioning of Bitcoin

The bitcoin protocol is the set of rules that govern the functioning of bitcoin. Its key components and principles are: a peer-to-peer decentralized network with no central oversight; the blockchain technology, a public ledger that records all bitcoin transactions; mining and proof of work, the process to create new bitcoins and verify transactions; and cryptographic security.

<span class="mw-page-title-main">Ethereum</span> Open-source blockchain computing platform

Ethereum is a decentralized blockchain with smart contract functionality. Ether is the native cryptocurrency of the platform. Among cryptocurrencies, ether is second only to bitcoin in market capitalization. It is open-source software.

<span class="mw-page-title-main">Bitcoin Core</span> Bitcoin node and wallet software

Bitcoin Core is free and open-source software that serves as a bitcoin node and provides a bitcoin wallet which fully verifies payments. It is considered to be bitcoin's reference implementation. Initially, the software was published by Satoshi Nakamoto under the name "Bitcoin", and later renamed to "Bitcoin Core" to distinguish it from the network. It is also known as the Satoshi client. Bitcoin Core includes a transaction verification engine and connects to the bitcoin network as a full node.

A blockchain is a distributed ledger with growing lists of records (blocks) that are securely linked together via cryptographic hashes. Each block contains a cryptographic hash of the previous block, a timestamp, and transaction data. Since each block contains information about the previous block, they effectively form a chain, with each additional block linking to the ones before it. Consequently, blockchain transactions are resistant to alteration because, once recorded, the data in any given block cannot be changed retroactively without altering all subsequent blocks and obtaining network consensus to accept these changes. This protects blockchains against nefarious activities such as creating assets "out of thin air", double-spending, counterfeiting, fraud, and theft.

Monero is a cryptocurrency which uses a blockchain with privacy-enhancing technologies to obfuscate transactions to achieve anonymity and fungibility. Observers cannot decipher addresses trading Monero, transaction amounts, address balances, or transaction histories.

<span class="mw-page-title-main">Blockstream</span> Blockchain technology company

Blockstream is a blockchain technology company led by co-founder Adam Back, headquartered in Victoria, British Columbia, Canada, with offices and staff worldwide. The company develops products and services for the storage and transfer of cryptocurrency.

A decentralised application is an application that can operate autonomously, typically through the use of smart contracts, that run on a decentralized computing, blockchain or other distributed ledger system. Like traditional applications, DApps provide some function or utility to its users. However, unlike traditional applications, DApps operate without human intervention and are not owned by any one entity, rather DApps distribute tokens that represent ownership. These tokens are distributed according to a programmed algorithm to the users of the system, diluting ownership and control of the DApp. Without any one entity controlling the system, the application is therefore decentralised.

<span class="mw-page-title-main">Ethereum Classic</span> Blockchain computing platform

Ethereum Classic is a blockchain-based distributed computing platform that offers smart contract (scripting) functionality. It is open source and supports a modified version of Nakamoto consensus via transaction-based state transitions executed on a public Ethereum Virtual Machine (EVM).

The Lightning Network (LN) is a payment protocol built on the bitcoin blockchain. It is intended to enable fast transactions among participating nodes and has been proposed as a solution to the bitcoin scalability problem.

<span class="mw-page-title-main">Bitcoin Cash</span> Cryptocurrency that is a fork of bitcoin

Bitcoin Cash is a cryptocurrency that is a fork of bitcoin. Launched in 2017, Bitcoin Cash is considered an altcoin or spin-off of bitcoin. In November 2018, Bitcoin Cash further split into two separate cryptocurrencies: Bitcoin Cash (BCH) and Bitcoin Satoshi Vision (BSV).

Segregated Witness, or SegWit, is the name used for an implemented soft fork change in the transaction format of Bitcoin.

A cryptocurrency wallet is a device, physical medium, program or an online service which stores the public and/or private keys for cryptocurrency transactions. In addition to this basic function of storing the keys, a cryptocurrency wallet more often offers the functionality of encrypting and/or signing information. Signing can for example result in executing a smart contract, a cryptocurrency transaction, identification, or legally signing a 'document'.

In blockchain, a fork is defined variously as:

In cryptocurrencies, an unspent transaction output (UTXO) is a distinctive element in a subset of digital currency models. A UTXO represents a certain amount of cryptocurrency that has been authorized by a sender and is available to be spent by a recipient. The utilization of UTXOs in transaction processes is a key feature of many cryptocurrencies, but it primarily characterizes those implementing the UTXO model.

A blockchain is a shared database that records transactions between two parties in an immutable ledger. Blockchain documents and confirms pseudonymous ownership of all transactions in a verifiable and sustainable way. After a transaction is validated and cryptographically verified by other participants or nodes in the network, it is made into a "block" on the blockchain. A block contains information about the time the transaction occurred, previous transactions, and details about the transaction. Once recorded as a block, transactions are ordered chronologically and cannot be altered. This technology rose to popularity after the creation of Bitcoin, the first application of blockchain technology, which has since catalyzed other cryptocurrencies and applications.

Algorand is a proof-of-stake blockchain and cryptocurrency. Algorand's native cryptocurrency is called ALGO.

Nervos Network is a proof-of-work blockchain platform which consists of multiple blockchain layers that are designed for different functions. The native cryptocurrency of this layer is called CKB. Smart contracts and decentralized applications can be deployed on the Nervos blockchain. The Nervos Network was founded in 2018.

References

  1. [The Limits to Blockchain? Scaling vs. Decentralization.] Social Science Research Network. Cybersecurity, Privacy & Networks eJournal. Accessed 21 April 2019.
  2. 1 2 Croman, Kyle; Eyal, Ittay (2016). "On Scaling Decentralized Blockchains" (PDF). Financial Cryptography and Data Security. Lecture Notes in Computer Science. Vol. 9604. pp. 106–125. doi:10.1007/978-3-662-53357-4_8. ISBN   978-3-662-53356-7 . Retrieved 10 December 2017. The maximum throughput is the maximum rate at which the blockchain can confirm transactions. Today, bitcoin's maximum throughput is 3.3–7 transactions/sec [1]. This number is constrained by the maximum block size and the inter-block time.
  3. Antonopoulos, Andreas M. (April 2014). Mastering Bitcoin. Unlocking Digital Crypto-Currencies. O'Reilly Media. ISBN   978-1-4493-7404-4.
  4. Pearson, Jordan (14 October 2016). "'Bitcoin Unlimited' Hopes to Save Bitcoin from Itself". Motherboard. Vice Media LLC. Retrieved 17 January 2017.
  5. Williams-Grut, Oscar; Price, Rob (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.
  6. "kanzure/diyhpluswiki". GitHub. 9 October 2021.
  7. "[WIP] Aggregate signature module implementation by apoelstra · Pull Request #461 · bitcoin-core/Secp256k1". GitHub .
  8. "Note that aggsig paper was rejected by ysangkok · Pull Request #479 · bitcoin-core/bitcoincore.org". GitHub.
  9. Antonopoulos, Andreas (2017). Mastering Bitcoin (2nd ed.). O'Reilly. pp. 297–304. ISBN   978-1491954386.
  10. Aleman, Marcos (9 June 2021). "El Salvador makes Bitcoin legal tender". Associated Press. Retrieved 16 June 2021.
  11. "El Salvador aprueba el uso de Bitcoin como moneda de intercambio". Agencia EFE (in Spanish). 9 June 2021. Retrieved 16 June 2021.
  12. "El Salvador first country to approve bitcoin as legal tender". Agence France Presse. 9 June 2021. Retrieved 16 June 2021.
  13. @nayibbukele (28 June 2021). "Aclarando la desinformación que están..." (Tweet) via Twitter.
  14. Alex Hern (17 August 2015). "Bitcoin's forked: chief scientist launches alternative proposal for the currency". the Guardian. Retrieved 20 August 2015.
  15. Vigna, Paul (8 November 2017). "Bitcoin Dodges Split That Threatened Its Surging Price". The Wall Street Journal . Archived from the original on 8 November 2017. Retrieved 8 November 2017.