• An overview of Blockchain. Source: BlockGeeks 2016
    image
  • Decision tree to determine if your app requires blockchain. Source: Peck 2017.
    image
  • Contents of a block. Source: Tech Guru 2017.
    image
  • Technologies powering Blockchain. Source: Flaxman 2017.
    image

Blockchain

Summary

image
An overview of Blockchain. Source: BlockGeeks 2016

Blockchain is an open immutable distributed ledger without centralized control. The ledger is maintained and validated by a peer-to-peer network of computers. Such a ledger could contain any digital asset of value such as cryptocurrencies, land records, birth certificates, insurance claims, concert tickets, the source of diamonds, etc.

Because digital assets can easily be copied, we need a system that prevents fraud. Traditionally, banks, government bodies and private institutions serve as trusted intermediaries. Blockchain aims to bypass them. It does this using clever cryptography to ensure that there's a single version of truth. No one can tamper transactions recorded in the blockchain. We may therefore say that trust is established implicitly via cryptography.

Blockchain was initially used to create and transact a cryptocurrency called Bitcoin. Today, it's anticipated that blockchain can be used for diverse applications and it's set to revolutionize multiple industries.

Milestones

2008

Someone going by the pseudonym Satoshi Nakamoto publishes technical details of a new peer-to-peer electronic cash system, one that avoids centralized banks or intermediaries.

Jan
2009

Bitcoin is launched using blockchain technology. It's the first application of blockchain.

Mar
2013

As some nodes on the Bitcoin network upgrade to version 0.8, others continue mining with version 0.7. An incompatibility between the versions creates a fork, which is basically an alternative chain. Bitcoin loses values but later regains as nodes rollback to version 0.7.

Discussion

  • Why was Blockchain invented?

    The collapse of Lehmann Brothers back in 2008 triggered a global financial crisis from which many economies are yet to fully recover. Perhaps it was this that prompted Satoshi Nakamoto (pseudonym) to think of a method for peers to exchange currencies without involving centralized control. Centralized institutions such as banks fulfil the role of verifying identity, building trust, executing business logic, maintaining records, validating transactions and performing audits. This also implies that consumers are dependent on this controlled system of trust.

    Nakamoto proposed introducing a digital currency called Bitcoin and a peer-to-peer method of transacting bitcoins without involving centralized control. Within such a network, centralized authorities and middlemen are not required. They would not be able to take risky decisions using what belongs to you. Peers can transact with one another directly. Blockchain was the technology that Nakamoto invented to power the creation and transaction of bitcoins, although the term "blockchain" does not appear in his influential paper.

  • Could you explain how Blockchain works?
    Understand the Blockchain in Two Minutes. Source: IFTF 2016.

    In simple technical terms, transactions/items are grouped into blocks, which are then protected using cryptography. Each block comes with a hash that protects the integrity of the block. This hash is computed by nodes, which are computers participating in the blockchain network. A completed block is linked to the previous block and this forms a chain of blocks; hence, the name blockchain.

    Computation of the hash depends on the contents of the current block plus the hash of a previous block. This means that an attacker attempting to tamper a block in the middle will have to recompute the hash values of all subsequent blocks. This is computationally difficult in a distributed system where multiple nodes are working on genuine blocks. Trust in this system is therefore established by the computational complexity of pulling off a successful attack. This complexity is known to be exponential.

    If an attacker attempts to create another version of truth (a parallel chain), the rules of the blockchain will allow only the genuine chain to survive. We call the set of rules consensus mechanism.

  • What are the advantages of using Blockchain?

    Blockchain has the following advantages:

    • Distributed - Since there's no central control, the government or any other authority cannot bring down the system or suddenly change the rules. Participating nodes in the network are all peers and have equal say in keeping the blockchain operational. Often the term "decentralized" is used but by classical definition, nodes in a decentralized network are connected via a hierarchy whereas those in a distributed network are truly peer to peer. The distributed nature of blockchain makes it robust.
    • Transparent - The ledger is public, which means that transactions are visible to everyone participating in the network. Malicious users cannot choose to hide their transactions. Transparency brings with it accountability and verifiability.
    • Immutable - Once data goes into the ledger, it cannot be modified. No one can tamper it to serve their personal gains. Thus, blockchain presents a single version of truth. Data is reliable.
    • Democratic - Anyone can join or leave the network as they wish. No approvals are required. Nodes are given incentives to validate transactions.
  • What are the common criticisms of Blockchain?

    Blockchain's first application, Bitcoin, was used to power criminal activities on the darknet via sites such as Silk Road. Users on the Bitcoin network were anonymous and paid for illegal goods using bitcoins.

    It's been argued that when Blockchain is applied with access control and to private data, it's integrity is compromised. Likewise, the binding of real world assets to digital equivalents requires some form of centralized authority.

    While indeed the chain is immutable, what goes into a block is determined by who controls the private (secret) key. Though the Bitcoin network is distributed, in reality, nodes are assembled into cartels and a few of them could potentially control the network.

    Validating transactions is compute intensive with each block taking ten minutes. In comparison, Visa processes 45K transactions per second and Google Ads gets 30 billion impressions per day. A single bitcoin transaction consumes 5,000 times more energy than a credit card payment. In terms of memory, storing the entire chain takes up 100 GB for Bitcoin, which is duplicated on every node.

    It's been claimed that transaction costs will go up, the technology is too complex and adoption will not be universal.

  • Can Blockchain be compared with TCP/IP?

    Just as TCP/IP changed the way we communicate, Blockchain is going to change the way we exchange value. Just as TCP/IP created the Internet as an open public network without centralized control, Blockchain is creating an open distributed ledger system that can enable all sorts of applications.

    Blockchain, like TCP/IP, is a technological enabler. It's the apps and solutions built on top of blockchain that are going to add value.

  • What could be typical use cases of Blockchain?

    Blockchain is being regarded as a foundational technology, poised to create huge impact to our traditional social-economic systems. Use cases are diverse. Depending on the extent of novelty and complexity, they can be categorized as single use, localized use, substitution, and transformation. While many applications are already out there, Blockchain may take a couple of decades to reach its full potential.

    Here are some use cases:

    • MUSE platform enables music streaming platforms to offer artists a way to monetize.
    • IBM has partnered with food giants to trace the source of contaminated foods. In general, supply chains are going to be transformed.
    • Blockchain is enabling new sharing services including sharing of compute time, storage, SMS and more.
    • Consumers can sell excess energy to their neighbours directly than sell it to the utility company.
    • Land title registration, birth certificates, medical records and identification documents are some examples where blockchain can lower costs and prevent fraud.
    • In stock tradings, settlements that currently take days or weeks can happen in seconds. Middlemen are also eliminated.
  • Are there applications where blockchain should not be used?
    image
    Decision tree to determine if your app requires blockchain. Source: Peck 2017.

    Blockchain may be an overkill for many applications where a shared database may suffice. For performance and energy efficiency, a database is better.

    If your app has multiple readers but only one writer, blockchain is not required. Even if there are multiple writers but they all trust one another and your systems are well protected, blockchain is not required. Even if the writers don't trust one another, but they do trust a third-party, blockchain is not required.

    Many have come up with decision models or flowcharts to help you decide if your app requires blockchain or to select the right type of blockchain.

  • Is Blockchain standardized?

    No, Blockchain is not a standard. There's no standardization body or industry consortium defining it. Blockchain is a technology that's based on cryptography and peer-to-peer network.

    While Blockchain as proposed by Satoshi Nakamoto can be used in its original form, anyone can also modify it to suit their application. This implies that applications built with Blockchain will not interwork with one another. For example, Bitcoin and Ethereum are both built with Blockchain technology but these are two independent applications that won't work together.

    Having said that, there are attempts to standardize the technology. Overseen by The Linux Foundation, Hyperledger is one such effort. R3 and Enterprise Ethereum Alliance are also standardizing it within their scope of interests. Microsoft's Coco is more of a framework than a standard. It's goal is to enable Blockchain adoption in enterprises.

  • What exactly is a block in Blockchain?
    image
    Contents of a block. Source: Tech Guru 2017.

    A simple analogy is that blocks are like pages in a traditional ledger and the entire blockchain is the ledger. A block therefore encapsulates multiple transactions. In the case of Bitcoin, a block has 500 transactions on average and consumes 1MB space on average.

    A block consists of a header, a Merkle summary built from transaction identifiers, and the list of transaction identifiers. The header itself includes hash of the previous block, version info, current timestamp and nonce. Hash of the current block will become part of the next block's header.

    As an example, you may study Bitcoin Block #525510, which was generated in March 2018.

  • Can you enumerate some technical foundations of Blockchain?
    image
    Technologies powering Blockchain. Source: Flaxman 2017.

    Blockchain has brought together existing technologies in an innovative manner:

    • Computations are not partitioned and distributed to the nodes. All nodes in the network do the same computations.
    • Users sign transactions with their private keys while others verify using the corresponding public keys. These keys are generated using the well-known RSA algorithm.
    • The cryptographic hash computed per block is really a fixed length output based on an input of any length. Bitcoin uses SHA-256 to create a 256-bit hash. Given the hash, it's impractical to determine the contents of the block. It's also almost impossible for different contents to result in the same hash.
    • Each transaction in a block has its own hash and these hashes are arranged into a Merkle tree.
    • Each block contains a nonce. Most computer power at a node is expended in finding a suitable nonce such that the resulting hash on the block is valid.

References

  1. Aitken, Roger. 2016. "MUSE: Leveraging Blockchain Technology To Revolutionize Music Industry." Forbes. January 23. Accessed 2017-11-05.
  2. Beall, George. 2017. "Industries with heavy supply chains face major problems. Blockchain tech might be the answer." The Next Web. October 31. Accessed 2017-11-05.
  3. Bheemaiah, Kariappa. 2015. "Block Chain 2.0: The Renaissance of Money." Wired. January 6. Accessed 2017-11-05.
  4. BlockGeeks. 2016. "What is Blockchain Technology? A Step-by-Step Guide For Beginners." BlockGeeks. September 18. Accessed 2017-11-05.
  5. Bloomberg, Jason. 2017. "Eight Reasons To Be Skeptical About Blockchain." Forbes. May 31. Accessed 2017-11-05.
  6. Browne, Ryan. 2017. "IBM partners with Nestle, Unilever and other food giants to trace food contamination with blockchain". CNBC. August 22. Accessed 2017-11-05.
  7. CoinDesk. 2015. "What is Bitcoin?" CoinDesk. March 20. Accessed 2017-11-06.
  8. Cosset, Damien. 2017. "Blockchain: what is in a block?" DEV Community, December 27. Accessed 2018-03-28.
  9. Flaxman, Michael. 2017. "The Blockchain is Evolutionary not Revolutionary." Paxos Engineering Blog, February 23. Accessed 2018-03-28.
  10. Haun, Kathryn. 2016. "How the US government is using blockchain to fight fraud." TEDx Talks, YouTube. October 26. Accessed 2017-11-06.
  11. Helfgott, Adam. 2017. "A Response to Blockchains' Critics: Issues of Scale, Transparency and Threats to Intermediaries." Nasdaq. July 24. Accessed 2017-11-05.
  12. IFTF. 2016. "Understand the Blockchain in Two Minutes." Institute for the Future. April 18. Accessed 2017-11-06.
  13. Iansiti, Marco and Karim R. Lakhani. 2017. "The Truth About Blockchain." Harvard Business Review. January-February. Accessed 2017-11-05.
  14. Investopedia. 2018. "Block (Bitcoin Block)." Accessed 2018-03-28.
  15. Kanaracus, Chris. 2016. "Don't believe the blockchain hype: Examining the weaknesses and risks." ZDNet. April 13. Accessed 2017-11-05.
  16. Lee, Timonthy B. 2013. "Major glitch in Bitcoin network sparks sell-off; price temporarily falls 23%." March 12. Accessed 2017-11-06.
  17. Malanov, Alexey. 2017. "Six myths about blockchain and Bitcoin: Debunking the effectiveness of the technology." Kaspersky Blog. August 18. Accessed 2017-11-05.
  18. Marvin, Rob. 2017. "Blockchain: The Invisible Technology That's Changing the World." PCMag Australia. August 30. Accessed 2017-11-05.
  19. Meunier, Sebastien. 2016. "When do you need blockchain? Decision models." Medium, August 4. Accessed 2018-04-28.
  20. Motl, Luboš. 2017. "Private keys, RSA, digital signatures, blockchain: rudiments of cryptography." The Reference Frame Blog. September 30. Accessed 2017-11-06.
  21. Nakamoto, Satoshi. 2008. "Bitcoin: A Peer-to-Peer Electronic Cash System." Accessed 2017-11-05.
  22. Opray, Max. 2017. "Could a blockchain-based electricity network change the energy market?" The Guardian. July 13. Accessed 2017-11-06.
  23. Peck, Morgen E. 2017. "Do You Need a Blockchain?" IEEE Spectrum, September 29. Accessed 2018-04-28.
  24. Rez, Eva. 2016. "Unchain Blockchain (Part I)." LinkedIn. January 15. Accessed 2017-11-06.
  25. Sean. 2016. "If you understand Hash Functions, you'll understand Blockchains." Decentralize Today. November 26. Accessed 2017-11-05.
  26. Szmigielski, Albert. 2015. "Distributed vs. Decentralized Networks." CryptoIQ. March 2. Accessed 2017-11-06.
  27. Tapscott, Alex. 2016. "Blockchain is Eating Wall Street." TEDx Talks, YouTube. October 26. Accessed 2017-11-06.
  28. Tech Guru. 2017. "BlockChain : Developer's Guide & Use Cases." Tech Guru, June. Accessed 2018-03-27.
  29. Wilkinson, Shawn. 2017. "Blockchain is bringing the sharing economy to everyone." VentureBeat. November 4. Accessed 2017-11-05.
  30. Wilson, Steve. 2016. "Blockchain: Almost Everything You Read Is Wrong." Constellation Research. May 3. Accessed 2017-11-06.

Milestones

2008

Someone going by the pseudonym Satoshi Nakamoto publishes technical details of a new peer-to-peer electronic cash system, one that avoids centralized banks or intermediaries.

Jan
2009

Bitcoin is launched using blockchain technology. It's the first application of blockchain.

Mar
2013

As some nodes on the Bitcoin network upgrade to version 0.8, others continue mining with version 0.7. An incompatibility between the versions creates a fork, which is basically an alternative chain. Bitcoin loses values but later regains as nodes rollback to version 0.7.

Tags

See Also

Further Reading

  1. The Economist. 2015. "The great chain of being sure about things." The Economist. October 31. Accessed 2017-11-05.
  2. Future Thinkers. 2017. "19 Industries The Blockchain Will Disrupt." YouTube. June 15. Accessed 2017-11-06.
  3. Marvin, Rob. 2017. "Blockchain: The Invisible Technology That's Changing the World." PCMag Australia. August 30. Accessed 2017-11-05.
  4. Song, Jimmy. 2018. "Why Blockchain is Hard." Medium, May 14. Accessed 2018-05-26.
  5. Friedl, Steve. 2005. "An Illustrated Guide to Cryptographic Hashes." Unixwiz.net. May 9. Accessed 2017-11-06.

Top Contributors

Last update: 2018-05-26 11:03:10 by sangeetha-prabhu
Creation: 2017-11-04 10:23:34 by sangeetha-prabhu

Article Stats

1774
Words
0
Chats
2
Authors
10
Edits
3
Likes
765
Hits

Cite As

Devopedia. 2018. "Blockchain." Version 10, May 26. Accessed 2018-08-14. https://devopedia.org/blockchain
BETA V0.16