Skip to main content

What's in a blockchain?

What's in a blockchain?

Blockchain technology offers a way to people, who may not know each other, to trust each other through a record that is based upon the approval of everyone involved. This result is achieved by the innovative use of cryptography and distributed ledger technology. This article endeavours to set out the background, to explain the technological foundations and practical implications, and to showcase potential applications of this innovative technology.

Background

When transferring a tangible asset, e.g. an apple, from one person to another we usually validate the transaction through taking possession of the physical good. However, with digital goods, which are usually reproducible at very low costs and ubiquitous (not tied to one place and found everywhere at the same time), the correct allocation of goods to the respective owner is more difficult. Therefore, allocation requires a more sophisticated system of authentication, in order to prevent the double-spending of digital money or double-selling of goods. This can be achieved by the blockchain technology which – through the innovative use of cryptography and distributed ledger technology – makes it impossible to double-spend digital goods that are being stored on the blockchain (such as paying twice with e.g. bitcoins).

Throughout history, transactions have been facilitated with instruments of trust, e.g. paper money, land registries, letters of credit, or banking systems. Trust is being created by reliance to a third party or an intermediary, e.g. for paper money a central bank and private banks dispensing cash in the local currency, or for real property a responsible land registry authority. Also, trust is often backed by regulatory supervision. Economically, the trust facilitated by these intermediaries comes at a price: currency exchange costs, time of required third-party validation, risk of fraud and cyberattacks, etc.

Avoiding these flaws, cutting transaction costs, and providing accessibility is where blockchain technology shines. The decentralised, open and cryptographic nature of blockchain technology allows people to trust each other and to directly transact peer-to-peer, making intermediaries and third parties obsolete.

What’s under the hood?

Blockchain technology is based on the idea of a distributed ledger. Imagine a ledger (a traditional accounting book) continuously being kept, monitored and updated simultaneously by multiple divisions within a corporation or even external parties (such as external auditors, the tax authority etc.). The books are digitally stored and each contains the entire data of the account . In practice, this means each blockchain participant holds an entire copy of all transactions being stored on this ledger.

Each block on the blockchain (comparable to one journal entry on a ledger) contains a number of valid transactions (e.g. data of a payment made or received) and a reference to its predecessor block (via a so called "hash value", which is a unique value computed as a result of the contents of the predecessor block). The predecessor block again contains the hash value of its respective predecessor block, and so on, reaching all the way back to the first block (or journal entry). This linking mechanism is what chains the blocks together, maintains the integrity of the chain and prevents manipulation. Unlike traditional ledgers, where it is possible to add additional transactions retrospectively or to alter the data of prior transactions, this is impossible on the blockchain, since the latest block (or journal entry) contains data of the prior one making it basically immutable. Moreover, the blockchain, due to being publicly available, provides irrefutable proof of any prior transaction and a clear allocation to an individual ID at any given time (a "wallet identifier"). As ownership is attributed  to an individual ID, rather than our personal data (name, address, etc.), transactions on the blockchain provide for quasi-anonymity. However, when signing up for certain bitcoin services (such as trading platforms), one might be required to provide personal data for verification purposes imposed by banking and financial services regulation (for details see "What's in a bitcoin?").

Can the blockchain be hacked or deliberately modified?

If one participant tried to manipulate a prior transaction, e.g. by modifying information in a prior block on the blockchain, the respective hash value stored on its successor block would have to change (and its successor's block value would have to change as well as a result of this change, and so on until the last block). As the latest copy of the blockchain is stored in parallel with all participating entities and the hash values are cross-checked between all nodes when a new block is added to the blockchain, the blockchain system would note the modification prior to the update. Thus, the modified block would not be cleared in the system to become part of the updated blockchain. As the latest copy of the blockchain is stored with all participants simultaneously, to be successful a potential attacker would have to modify the block and all subsequent blocks not only on its own copy of the blockchain, but at least also on half of the copies stored with all the other network participants before the next blockchain update takes place (this is usually done every few minutes). Why 50% of the other participants you might ask? Adding a new block requires consensus between the simple majority of all participants, i.e. if the blockchain copies between participants differ (for whatever reason), the system chooses to update the copy of the blockchain that is the same with most of the participants.

If a participant tried to add an invalid transaction to the blockchain (e.g. in case of cryptocurrency trying to transfer more currency than is attributed to their "wallet identifier"), this would be automatically recognized by the other blockchain participants (as it does not match the prior blocks on the blockchain) and the modified block would not become part of the updated blockchain.

This safeguard also prohibits trying to store the same transaction a second time on the blockchain. This also would only work if the fraudulent participant manages to change more than half of the copies of all participants before the next blockchain update takes place.

As can be seen, the blockchain can be regarded as secure via the principle of decentralized consent of all participants.

What happens during a power or network outage?

The blockchain is dependent on functioning global networks and reliable power supplies, like the internet itself. However, as the blockchain is distributed on all participating computers and, thus, a regional power outage does not interrupt the process of updating the blockchain, it is more robust to external disruption and power outages. Yet, due to overall reduced networking computing power, transforming transaction data into blocks might slow down, resulting in slower confirmation and handling of transactions and of course, the blockchain participants subject to the power outage cannot conduct any transaction as long as they are without electricity. Also, it is no problem if a local copy of the blockchain gets lost due to a power outage. When the power comes back on, the latest version of the blockchain held by the majority of the participants is automatically downloaded again.

What are current applications? What's the potential?

Blockchain technology is the basis for many current applications, like cryptocurrencies, authentication systems (like Everledger for diamond identification or Bitproof), digital asset management (like Colu or Ascribe) and many more in the fintech and IoT sector. However, there are many more applications to come which may be based on the blockchain technology, like the transfer of intangible goods, ensuring privacy by design, access controls or public registries.

Notably, blockchain technology has also paved the way for smart contracts (see  "What's in a bitcoin?").