Block chain (database)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search

A blockchain[1][2][3] — originally, block chain[4][5] — is a distributed database that maintains a continuously-growing list of records called blocks secured from tampering and revision.[1] Each block contains a timestamp and a link to a previous block.[6]:6

The blockchain is a technology that underlies bitcoin—conceived in 2008 and first implemented in 2009—where it serves as the public ledger for all transactions.[1] In the bitcoin case, every compatible client is able to connect to the network, send new transactions to it, verify transactions, and take part in the competition to create new blocks.[7]:ch. 01 The competition creating new blocks is known as mining.[7]:ch. 01 The bitcoin design has been the inspiration for other applications.[1][3]

Definition

A blockchain consists of blocks that hold batches of valid transactions. Each block includes the hash of the prior block in the blockchain, linking the two. The linked blocks form a chain.[1]

In addition to a secure hash based history, any blockchain database has a specified algorithm for scoring different versions of the history so that one with a higher value can be selected over others. Peers supporting the database don't have the exact same version of the history at all times, rather they keep the highest scoring version of the database that they currently know of. Whenever a peer receives a higher scoring version (usually the old version with a single new block added) they extend or overwrite their own database and retransmit the improvement to their peers. There is never an absolute guarantee that any particular entry will remain in the best version of the history forever, but because blockchains are typically built to add the score of new blocks onto old blocks and there are incentives to only work on extending with new blocks rather than overwriting old blocks, the probability of an entry becoming superseded goes down as more blocks are built on top of it, eventually becoming very low.[7]:ch. 08[8][1]

History

The blockchain format was first invented for bitcoin, as a solution to the problem of making a database both secure and widely distributed.[citation needed]

As of 2014, "Blockchain 2.0" was a term used in the distributed blockchain database field.[9][10]

The Economist described one implementation of this second-generation programmable blockchain as coming with "a programming language that allows users to write more sophisticated smart contracts, thus creating invoices that pay themselves when a shipment arrives or share certificates which automatically send their owners dividends if profits reach a certain level."[1]

In 2016, the central securities depository of the Russian Federation (NSD) announced a pilot project based on blockchain technology.[11] Various regulatory bodies in the music industry have started testing models that use blockchain technology for royalty collection and management of copyrights around the world.[12]

Description

In the bitcoin context, a blockchain is a digital ledger that records every bitcoin transaction that has ever occurred.[1]

A blockchain implementation consists of two kinds of records: transactions and blocks.[1]

Decentralization

[13]

Every node in a decentralized system has a copy of the blockchain. No centralized "official" copy exists and no user is "trusted" more than any other.[4] Transactions are broadcast to the network using software applications. Mining nodes validate transactions, add them to the block they're creating and then broadcast the completed block to other nodes.[7]:ch. 08 Blockchains use various timestamping schemes, such as proof-of-work to serialize changes.[14]

Openness

Since all early blockchains were permissionless, controversy has arisen over whether permissioned databases of chained blocks of data should even be considered blockchains. The debate is ongoing and disputes whether a private system with verifiers tasked and authorized (permissioned) by a central authority, should still be considered a blockchain.[15][16][17][18][19]

Proponents of permissioned or private chains argue that the term "blockchain" may be applied to any data structure that batches data into timestamped blocks, these blockchains serve as a distributed version of multiversion concurrency control (MVCC) in databases.[20] Just as MVCC prevents two transactions from concurrently modifying a single object in a database, blockchains prevent two transactions from spending the same single output in a block chain.[21]:30–31

Opponents say that the permissioned systems look like traditional corporate databases, not supporting decentralized verification of the data, and that such systems are not hardened against tampering and revision by their operators.[15][17] The Harvard Business Review defines blockchain as a distributed ledger or database open to anyone,[22] and the Computerworld claims that "much of [blockchain hype] is nothing more than snake oil and spin".[23]

Permissionless

Both Bitcoin and Ethereum are open (public) blockchains. As of September 2016, Bitcoin trades at the highest market capitalization while Ethereum is the second.[24] Both of them currently secure their blockchain by requiring new entries include a proof of work. Ethereum plans to switch to a proof of stake in the future.[25]

Permissioned

The New York Times notes that many corporations are using blockchain networks "with private blockchains, independent of the public system."[3]

Disadvantages
  • Nikolai Hampton pointed out in Computerworld that "There is also no need for a ‘51 percent’ attack on a private blockchain, as the private blockchain (most likely) already controls 100 percent of all block creation resources. If you could attack or damage the blockchain creation tools on a private corporate server, you could effectively control 100 percent of their network and alter transactions however you wished."[23] This has a set of particularly profound adverse implications during a financial crises or debt crises like the financial crisis of 2007–08, where politically powerful actors may make decisions that favor some groups at the expense of others
  • "The Bitcoin blockchain is protected by the massive group mining effort. It’s unlikely that any private blockchain will try to protect records using gigawatts of computing power — it’s time consuming and expensive."[23]
  • "Within a private blockchain there is also no ‘race’; there’s no incentive to use more power or discover blocks faster than competitors. This means that many in-house blockchain solutions will be nothing more than cumbersome databases."[23]

Applications

Blockchains are a technology that may be integrated into multiple areas. Examples include a payment system and digital currency, facilitating crowdsales, or implementing prediction markets and generic governance tools.[26]

Major applications of blockchain include cryptocurrencies—including Bitcoin, BlackCoin, Dash, Nxt and Ripple—and blockchain platforms—Factom as a distributed registry, Gems for decentralized messaging, MaidSafe (software) for decentralized applications, Storj for a distributed cloud, and Tezos for decentralized voting.[27]

Applications

The Harvard Business Review conducted a two-year research project exploring how blockchain technology can securely move and store host "money, titles, deeds, music, art, scientific discoveries, intellectual property, and even votes".[22] Furthermore, major portions of the financial industry are implementing distributed ledgers for use in banking[28][29] (and faster than expected according to a September 2016 IBM study).[30]

Alternative blockchains

Alternative blockchains (altchains) are based on bitcoin technology in concept and/or code.[6] These designs generally add functionality to the blockchain design. Altchains can provide solutions including other digital currencies, although tokens used in these designs are not always considered to be such. Altchains target performance, anonymity, storage and applications such as smart contracts.[31] Starting with a strong focus on financial applications, blockchain technology is extending to activities including decentralized applications and collaborative organizations that eliminate a middleman.[32][non-primary source needed] Notable designs include:

Other uses

Blockchain technology can be used to create a permanent, public, transparent ledger system for compiling data on sales, storing rights data, and tracking digital use and payments to content creators, such as musicians.[36] A concept such as Imogen Heap's Mycelia[37] A service was launched in July 2016 that allows managers to use a blockchain for tracking high-value parts moving through a supply chain. Everledger is "building systems to record the movement of diamonds from mines to jewelry stores" and is one of the inaugural clients of IBM's blockchain-based tracking service.[38]

Commercial offerings

Distributed ledgers and other blockchain inspired software are being developed by commercial organizations for various applications:

See also

References

  1. 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 Economist Staff (2015-10-31). "Blockchains: The great chain of being sure about things". The Economist. Retrieved 18 June 2016. [Subtitle] The technology behind bitcoin lets people who do not know or trust each other build a dependable ledger. This has implications far beyond the crypto currency. 
  2. Morris, David Z. (2016-05-15). "Leaderless, Blockchain-Based Venture Capital Fund Raises $100 Million, And Counting". Fortune (magazine). Retrieved 2016-05-23. 
  3. 3.0 3.1 3.2 Popper, Nathan (2016-05-21). "A Venture Fund With Plenty of Virtual Capital, but No Capitalist". New York Times. Retrieved 2016-05-23. 
  4. 4.0 4.1 Brito, Jerry & Castillo, Andrea (2013). "Bitcoin: A Primer for Policymakers" (PDF). Fairfax, VA: Mercatus Center, George Mason University. Retrieved 22 October 2013. 
  5. Trottier, Leo (2016-06-18). "original-bitcoin" (self-published code collection). github. Retrieved 2016-06-18. This is a historical repository of Satoshi Nakamoto's original bit coin sourcecode .
  6. 6.0 6.1 "Blockchain". Investopedia. Retrieved 19 March 2016. Based on the Bitcoin protocol, the blockchain database is shared by all nodes participating in a system. 
  7. 7.0 7.1 7.2 7.3 Antonopoulos, Andreas M. (2014). Mastering Bitcoin. Unlocking Digital Cryptocurrencies. Sebastopol, CA: O'Reilly Media. ISBN 1449374034. Retrieved 3 November 2015. 
  8. Nakamoto, Satoshi (October 2008). "Bitcoin: A Peer-to-Peer Electronic Cash System" (PDF). bitcoin.org. Retrieved 28 April 2014. 
  9. Swanson, Tim (2014-04-08). "Blockchain 2.0 – Let a Thousand Chains Blossom". LTB Network. Retrieved 2016-03-30. 
  10. "Block Chain 2.0: The Renaissance of Money". Wired. January 2015. Retrieved 2016-04-06. 
  11. Yakovlev, Alexander [interviewee] & Kovlyagina, Tatiana [interviewer] (2016-04-15). "НРД проголосовал за блокчейн" [NSD blockchain vote]. Bankir.ru (in Russian). Retrieved 18 June 2016. "Национальный расчетный депозитарий запустил пилотный проект на основе технологии распределенного реестра. Создание прототипа системы электронного голосования владельцев облигаций на блокчейне анонсировал на Биржевом форуме председатель правления НРД Эдди Астанин [The National Settlement Depository started the pilot project based on the technology of the distributed register. Creation of the prototype system of electronic voting for owners of bonds based on blockchain was announced at the Exchange forum by the chairman of the board of NSD, Eddie Astanin.] 
  12. Aitken, Roger. "MUSE: Leveraging Blockchain Technology To Revolutionize Music Industry". forbes.com. Retrieved 18 June 2016. 
  13. "What is Blockchain Technology? A Step-by-Step Guide For Beginners". blockgeeks.com. Retrieved 2016-10-03. 
  14. Kopstein, Joshua (2013-12-12). "The Mission to Decentralize the Internet". The New Yorker. Retrieved 30 December 2014. The network's 'nodes'—users running the bitcoin software on their computers—collectively check the integrity of other nodes to ensure that no one spends the same coins twice. All transactions are published on a shared public ledger, called the 'block chain' 
  15. 15.0 15.1 Voorhees, Erik (2015-10-30). "It's All About the Blockchain". Money and State. Retrieved 2015-11-02. 
  16. Reutzel, Bailey (2015-07-13). "A Very Public Conflict Over Private Blockchains". PaymentsSource. New York, NY: SourceMedia, Inc. Retrieved 18 June 2016. 
  17. 17.0 17.1 Casey, Michael J. (2015-04-15). "Moneybeat/BitBeat: Blockchains Without Coins Stir Tensions in Bitcoin Community". The Wall Street Journal. Retrieved 18 June 2016. 
  18. dinbits Staff (2015-11-03). "The "Blockchain Technology" Bandwagon Has A Lesson Left To Learn". dinbits.com. Retrieved 2016-06-18. 
  19. DeRose, Chris (2015-06-26). "Why the Bitcoin Blockchain Beats Out Competitors". American Banker. Retrieved 18 June 2016. 
  20. Greenspan, Gideon (2015-07-19). "Ending the bitcoin vs blockchain debate". multichain.com. Retrieved 2016-06-18. 
  21. Tapscott, Don; Tapscott, Alex (May 2016). The Blockchain Revolution: How the Technology Behind Bitcoin is Changing Money, Business, and the World. ISBN 978-0670069972. 
  22. 22.0 22.1 Tapscott, Don (10 May 2016). "The Impact of the Blockchain Goes Beyond Financial Services". Harvard Business Review. Retrieved 16 May 2016. 
  23. 23.0 23.1 23.2 23.3 Hampton, Nikolai (2016-09-05). "Understanding the blockchain hype: Why much of it is nothing more than snake oil and spin". Computerworld. IDG. Retrieved 2016-09-05. 
  24. "Crypto-Currency Market Capitalizations". CoinMarketCap. Retrieved 2016-09-17. 
  25. "Ethereum's Gold Rush is Drawing Bitcoin Miners to Ethereum". Bitcoin Mining. 2016-06-20. Retrieved 2016-09-17. 
  26. Tarun, Parker (2016-08-04). "stolen. Maybe that’s healthy". Mixpanel. The Signal. Retrieved 2016-08-07. 
  27. Tapscott, Don; Tapscott, Alex (May 2016). The Blockchain Revolution: How the Technology Behind Bitcoin is Changing Money, Business, and the World. p. 94. ISBN 978-0670069972. major cryptocurrencies—Bitcoin, BlackCoin, Dash, Nxt and Ripple--to the major blockchain platforms--Lightning for peer-to-peer crowdfunding, Factom as a distributed registry, Gems for decentralized messaging, MaidSafe for decentralized applications, Storj for a distributed cloud, and Tezos for decentralized voting 
  28. Epstein, Jim (2016-05-06). "Is Blockchain Technology a Trojan Horse Behind Wall Street's Walled Garden?". Reason. Retrieved 2016-06-29. mainstream misgivings about working with a system that's open for anyone to use. Many banks are partnering with companies building so-called private blockchains that mimic some aspects of Bitcoin's architecture except they're designed to be closed off and accessible only to chosen parties. ... [but some believe] that open and permission-less blockchains will ultimately prevail even in the banking sector simply because they're more efficient. 
  29. Redrup, Yolanda (2016-06-29). "ANZ backs private blockchain, but won't go public". Australia Financial Review. Retrieved 2016-07-07. Blockchain networks can be either public or private. Public blockchains have many users and there are no controls over who can read, upload or delete the data and there are an unknown number of pseudonymous participants. In comparison, private blockchains also have multiple data sets, but there are controls in place over who can edit data and there are a known number of participants. 
  30. Kelly, Jemima (2016-09-28). "Banks adopting blockchain 'dramatically faster' than expected: IBM". Reuters. Retrieved 2016-09-28. 
  31. "Why Bitcoin may herald a new era in finance". www.economistinsights.com. The Economist Group. Retrieved 9 June 2015. 
  32. De Filippi, Primavera. From competition to cooperation. TEDxCambridge. Retrieved 8 October 2015. 
  33. Coppola, Gabrielle & Benmeleh, Yaacov. "This Israeli Ride-Sharing App Is the Utopian, Hippie Uber". Bloomberg. Retrieved 27 January 2016. 
  34. Ayral, Sandrine. "Bitcoin 2.0 Crowdfunding Is Real Crowdfunding". Techcrunch. Retrieved 27 January 2016. 
  35. Miller, Carl. "In 2015 social media companies strengthened their rule. In 2016 they will face rebellion". The Telegraph. Retrieved 27 January 2016. 
  36. http://fortune.com/2016/09/22/blockchain-music-disruption/
  37. Bartlett, Jamie (6 September 2015). "Imogen Heap: saviour of the music industry?". theguardian.com. Retrieved 18 June 2016. 
  38. Nash, Kim S. (2016-07-14). "IBM Pushes Blockchain into the Supply Chain". Wall Street Journal. Retrieved 2016-07-24. 
  39. Allison, Ian (2016-05-03). "Deloitte to build Ethereum-based 'digital bank' with New York City's ConsenSys". International Business Times. 
  40. Allison, Ian (2016-01-20). "R3 connects 11 banks to distributed ledger using Ethereum and Microsoft Azure". International Business Times. 
  41. "Hyperledger blockchain code almost comes together for IoT". rethink-iot.com. 1 April 2016. Retrieved 18 June 2016. 
  42. "SafeShare Releases First Blockchain Insurance Solution For Sharing Economy". EconoTimes. 2016-03-18. Retrieved 2016-06-15. 
  43. https://www.cryptocoinsnews.com/swiss-industry-consortium-use-ethereums-blockchain/

Further reading