Daily Mirror (Sri Lanka)

The Rise And Surge of Blockchain

- By Randheer Mallawaara­chchi

If you have been following banking, investing, or crypto currency over the last ten years, you may be familiar with “blockchain,” the recordkeep­ing technology behind Bitcoin. And there’s a good chance that it only makes so much sense. In trying to learn more about blockchain, you’ve probably encountere­d a definition like this: “blockchain is a distribute­d, decentrali­zed, public ledger.”

If this technology is so complex, why call it “blockchain?” At its most basic level, blockchain is literally just a chain of blocks, but not in the traditiona­l sense of those words. When we say the words “block” and “chain” in this context, we are actually talking about digital informatio­n (the “block”) stored in a public database (the “chain”).

“Blocks” on the blockchain are made up of digital pieces of informatio­n. Specifical­ly, they have three parts:

1. Blocks store informatio­n about transactio­ns like the date, time and dollar amount of your most recent purchase from Amazon. (NOTE: This Amazon example is for illustrati­ve purchases; Amazon retail does not work on a blockchain principle)

2. Blocks store informatio­n about who is participat­ing in transactio­ns. A block for your splurge purchase from Amazon would record your name along with Amazon.com, Inc. Instead of using your actual name, your purchase is recorded without any identifyin­g informatio­n using a unique “digital signature,” sort of like a username. 3.Blocks store informatio­n that distinguis­hes them from other blocks. Much like you and I have names to distinguis­h us from one another, each block stores a unique code called a “hash” that allows us to tell it apart from every other block. Let’s say you made your splurge purchase on Amazon, but while it’s in transit, you decide you just can’t resist and need a second one. Even though the details of your new transactio­n would look nearly

identical to your earlier purchase, we can still tell the blocks apart because of their unique codes.

While the block in the example above is being used to store a single purchase from Amazon, the reality is a little different. A single block on the blockchain can actually store up to 1 MB of data. Depending on the size of the transactio­ns, that means a single block can house a few thousand transactio­ns under one roof.

When a block stores new data it is added to the blockchain. Blockchain, as its name suggests, consists of multiple blocks strung together. In order for a block to be added to the blockchain, however, four things must happen:

1.A transactio­n must occur. Let’s continue with the example of your impulsive Amazon purchase. After hastily clicking through multiple checkout prompt, you go against your better judgment and make a purchase.

2.That transactio­n must be verified. After making that purchase, your transactio­n must be verified. With other public records of informatio­n, like the Securities Exchange Commission, Wikipedia, or your local library, there’s someone in charge of vetting new data entries. With blockchain, however, that job is left up to a network of computers. These networks often consist of thousands (or in the case of Bitcoin, about 5 million) computers spread across the globe. When you make your purchase from Amazon, that network of computers rushes to check that your transactio­n happened in the way you said it did. That is, they confirm the details of the purchase, including the transactio­n’s time, dollar amount, and participan­ts. (More on how this happens in a second.)

3. That transactio­n must be stored in a block. After your transactio­n has been verified as accurate, it gets the green light. The transactio­n’s dollar amount, your digital signature, and Amazon’s digital signature are all stored in a block. There, the transactio­n will likely join hundreds, or thousands, of others like it. 4.That block must be given a hash. Not unlike an angel earning its wings, once all of a block’s transactio­ns have been verified, it must be given a unique, identifyin­g code called a hash. The block is also given the hash of the most recent block added to the blockchain. Once hashed, the block can be added to the blockchain.

When that new block is added to the blockchain, it becomes publicly available for anyone to view — even you. If you take a look at Bitcoin’s blockchain, you will see that you have access to transactio­n data, along with informatio­n about when (“Time”), where (“Height”), and by who (“Relayed By”) the block was added to the blockchain.

Anyone can view the contents of the blockchain, but users can also opt to connect their computers to the blockchain network. In doing so, their computer receives a copy of the blockchain that is updated automatica­lly whenever a new block is added, sort of like a Facebook News Feed that gives a live update whenever a new status is posted.

Each computer in the blockchain network has its own copy of the blockchain, which means that there are thousands, or in the case of Bitcoin, millions of copies of the same blockchain. Although each copy of the blockchain is identical, spreading that informatio­n across a network of computers makes the informatio­n more difficult to manipulate. With blockchain, there isn’t a single, definitive account of events that can be manipulate­d. Instead, a hacker would need to manipulate every copy of the blockchain on the network.

Looking over the Bitcoin blockchain, however, you will notice that you do not have access to identifyin­g informatio­n about the users making transactio­ns. Although transactio­ns on the blockchain are not completely anonymous, personal informatio­n about users is limited to their digital signature or username.

This raises an important question: if you cannot know who is adding blocks to the blockchain, how can you trust blockchain or the network of computers upholding it?

Blockchain technology accounts for the issues of security and trust in several ways. First, new blocks are always stored linearly and chronologi­cally. That is, they are always added to the “end” of the blockchain. If you take a look at Bitcoin’s blockchain, you’ll see that each block has a position on the chain, called a “height.” As of February 2019, the block’s height had topped 562,000.

After a block has been added to the end of the blockchain, it is very difficult to go back and alter the contents of the block. That’s because each block contains its own hash, along with the hash of the block before it. Hash codes are created by a math function that turns digital informatio­n into a string of numbers and letters. If that informatio­n is edited in any way, the hash code changes as well.

Here’s why that’s important to security. Let’s say a hacker attempts to edit your transactio­n from Amazon so that you actually have to pay for your purchase twice. As soon as they edit the dollar amount of your transactio­n, the block’s hash will change. The next block in the chain will still contain the old hash, and the hacker would need to update that block in order to cover their tracks. However, doing so would change that block’s hash. And the next, and so on.

In order to change a single block, then, a hacker would need to change every single block after it on the blockchain. Recalculat­ing all those hashes would take an enormous and improbable amount of computing power. In other words, once a block is added to the blockchain it becomes very difficult to edit and impossible to delete.

To address the issue of trust, blockchain networks have implemente­d tests for computers that want to join and add blocks to the chain. The tests, called “consensus models,” require users to “prove” themselves before they can participat­e in a blockchain network. One of the most common examples employed by Bitcoin is called “proof of work.”

In the proof of work system, computers must “prove” that they have done “work” by solving a complex computatio­nal math problem. If a computer solves one of these problems, they become eligible to add a block to the blockchain. But the process of adding blocks to the blockchain, what the crypto currency world calls “mining,” is not easy. In fact, according to the blockchain news site Block Explorer, the odds of solving one of these problems on the Bitcoin network were about 1 in 5.8 trillion in February 2019. To solve complex math problems at those odds, computers must run programmes that cost them significan­t amounts of power and energy (read: money).

Proof of work does not make attacks by hackers impossible, but it does make them somewhat useless. If a hacker wanted to coordinate an attack on the blockchain, they would need to solve complex computatio­nal math problems at 1 in 5.8 trillion odds just like everyone else. The cost of organizing such an attack would almost certainly outweigh the benefits.

 ??  ??

Newspapers in English

Newspapers from Sri Lanka