Block chain (database)

A block chain or blockchain is a permissionless distributed database based on the bitcoin protocol[1] that maintains a continuously growing list of data records hardened against tampering and revision, even by its operators. The initial and most widely known application of block chain technology is the public ledger of transactions for bitcoin,[2] which has been the inspiration for similar implementations often known as altchains.[3]

Etymology

The block chain consists of blocks that hold timestamped batches of recent valid transactions. Each block includes the hash of the prior block, linking the blocks together. The linked blocks form a chain, with each additional block reinforcing those before it,[1] thus giving the database type its name.[4]

Model

A block chain implementation consists of two kinds of records: transactions and blocks.

Transactions

Transactions are the content to be stored in the block chain.Transactions are created by participants using the system. In the case of cryptocurrencies, a transaction is created anytime a bitcoin owner sends cryptocurrency to another.

System users create transactions that are passed from node to node on a best-effort basis. The system implementing the block chain defines a valid transaction. In cryptocurrency applications, a valid transaction must be digitally signed, spend one or more unspent outputs of previous transactions, and the sum of transaction outputs must not exceed the sum of inputs.

Blocks

Blocks record and confirm when and in what sequence transactions enter and are logged in the block chain. Blocks are created by users known as "miners" who use specialized software or equipment designed specifically to create blocks.

In a cryptocurrency system, miners are incentivized to create blocks to collect two types of rewards: a pre-defined per-block award, and fees offered within the transactions themselves, payable to any miner who successfully confirms the transaction.

Decentralisation

Every node in a decentralized cryptocurrency system has at least a partial copy of the block chain. This avoids the need to have a centralized database.[5] Transactions of the form payer X sends Y currency to payee Z are broadcast to this network using software applications. Network nodes can validate transactions, add them to their copy and then broadcast these ledger additions to other nodes.[6]:ch. 8

Cryptocurrencies use various timestamping schemes, such as proof-of-work, to avoid the need for a trusted third party to timestamp transactions. This prevents users from double-spending their coins.[7]

Whereas a conventional ledger records the transfers of actual bills or promissory notes that exist apart from it, the block chain is the only place that cryptocurrency can be said to exist, in the form of unspent outputs of transactions.[6]:ch. 5

Advantages

The core advantages of the block chain architecture include the following:

Debates

An ongoing[8] debate[9][10] disputes whether a block chain-like system without a native cryptocurrency can still be considered a block chain.[11][12]

Some have argued that cryptocurrency-less block chains serve as a distributed version of multiversion concurrency control (MVCC) in databases.[13] Just as MVCC prevents two transactions from concurrently modifying a single object in a database, block chains prevent two transactions from spending a single output in a block chain.

Others have interpreted block chains in a different way, arguing that block chains are more akin to finite state machine automata "where the state of the system is updated sequentially, via atomic transitions (transactions) that are replicated across every machine, in order."[14]

Applications

Sidechains

Sidechains[15] are networks based on the bitcoin protocol that are isolated from the block chain, allowing activity to exist in isolation until confirmation on the block chain, at which point transferability becomes bidirectional. Examples:

Alternative block chains

Alternate block chains (altchains) are based on bitcoin technology in concept and/or code. These designs generally add functionalty to the block chain 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.[17] Starting with a strong focus on financial applications, block chain technology is extending to activities including decentralized applications and collaborative organisations that eliminate a middleman.[18] Notable designs include:

Rights management

The music industry lacks complete information about the rights holders for musical works. These include performers, composers and songwriters.[22] Block chain technology can be used to 'provide the secure issuance and distribution of digital assets, including listing and registration of musical works for its clients and helping collecting societies provide more transparency and efficiency to all market participants'.[23]

Trusted timestamp

The bitcoin block chain can be used as a trusted timestamp for arbitrary messages. Third party application services store messages directly in the block chain, allowing anyone who has the block chain to read the message.[24][25][26][27] Bitcoin core developer Mike Hearn among others discouraged embedding large messages in the bitcoin block chain, criticizing it as "bloat".[28][29][30]

Other applications store a hash value in the block chain, recording data existence and confirming data integrity without revealing data and without bloating the block chain.[31][32] This information can be used to implement "colored coins" or side chains to support functionality such as smart contracts.

See also

References

  1. 1 2 Satoshi Nakamoto (2008). "Bitcoin: A Peer-to-Peer Electronic Cash System" (PDF). Bitcoin.org. Retrieved 31 October 2008.
  2. Antonopoulos, Andreas (December 2014). Mastering Bitcoin - Unlocking Digital Cryptocurrencies. O'Reilly Media. ISBN 1-4493-7403-4. Retrieved 3 November 2015.
  3. "Blockchains and the Internet of Things". Postscapes.
  4. "How does Bitcoin work?". Bitcoin.org. Retrieved 20 May 2015.
  5. Jerry Brito and Andrea Castillo (2013). "Bitcoin: A Primer for Policymakers" (PDF). Mercatus Center. George Mason University. Retrieved 22 October 2013.
  6. 1 2 Andreas M. Antonopoulos (April 2014). Mastering Bitcoin. Unlocking Digital Crypto-Currencies. O'Reilly Media. Retrieved 23 October 2014.
  7. Joshua Kopstein (12 December 2013). "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 "blockchain"
  8. "It's All About the Blockchain - Money and State". Money and State. Retrieved 2015-11-02.
  9. Reutzel, Bailey. "A Very Public Conflict Over Private Blockchains". Payments Source. SourceMedia.
  10. "Blockchain".
  11. "Blockchain Bandwagon Lesson". dinbits. 2015.
  12. "Why the Bitcoin Blockchain Beats Out Competitors". American Banker. 2015.
  13. Greenspan, Gideon. "Ending the bitcoin vs blockchain debate".
  14. "Secrets of Consistent Hashchains I: Eventual Consistency". Engineering DAPPs. Retrieved 2015-11-02.
  15. Adam Black, Matt Corallo, Luke Dashjr, Mark Friedenback, Gregory Maxwell, Andrew Miller, Andrew Poelstra, Jorge Timon, and Pieter Wuille (2014). "An explanation of Bitcoin Sidechains". Retrieved 22 October 2014.
  16. SAMBURAJ DAS (2015). "The First SideChain for Bitcoin Exchanges". CrryptoCoinsNews.
  17. "Why Bitcoin may herald a new era in finance". www.economistinsights.com. The Economist Group. Retrieved 9 June 2015.
  18. "Primavera De Filippi: From competition to cooperation". TEDxCambridge. Retrieved 8 October 2015.
  19. Ayral, Sandrine. "Bitcoin 2.0 Crowdfunding Is Real Crowdfunding". Techcrunch. Retrieved 27 January 2016.
  20. Miller, Carl. "In 2015 social media companies strengthened their rule. In 2016 they will face rebellion". The Telegraph. Retrieved 27 January 2016.
  21. Coppola, Benmeleh, Gabrielle, Yaacov. "This Israeli Ride-Sharing App Is the Utopian, Hippie Uber". Bloomberg. Retrieved 27 January 2016.
  22. "Blockchain will become the operating system for music?".
  23. "Blockchain will fix music data".
  24. Aaron van Wirdum. "Student Aims to Boost Free Speech with Bitcoin Messaging App".
  25. Ken Shirriff. "Hidden surprises in the Bitcoin blockchain and how they are stored: Nelson Mandela, Wikileaks, photos, and Python software".
  26. "Bitcoin Strings: blockchain in words"
  27. "CryptoGraffiti".
  28. Daniel Cawrey. "Why New Forms of Spam Could Bloat Bitcoin's Block Chain".
  29. "What are the key differences between different ways of embedding messages in the blockchain?".
  30. Danny Bradbury. "Bitcoin, schmitcoin. Let's play piggyback on the blockchain".
  31. "What is proof of existence?".
  32. Danny Bradbury."Developers Battle Over Bitcoin Block Chain".
This article is issued from Wikipedia - version of the Saturday, February 13, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.