Everything You Need to Know About Blockchain

Everything You Need to Know About Blockchain

People ask me frequently, “Please tell me, what is blockchain and how does it work?” I have been using various approaches and media answering this question, whiteboards, paper and even beer-coasters, and recently created a single page canvas combining all my scribbles and drawings to answer this question.

This works very well, with great response and I like to share it including the story that goes with it. Maybe it is somewhat technical but most people follow the explanation quite well and really feel that they have learned something. 

Doing business and transactions between organisations and people requires TRUST. Normally we do not think about this but every day we pay our invoices or buy goods with a debit or credit card, issued by a bank or credit card company who guarantees these payments. These so called middleman are initiated, regulated and audited by governments giving us the required trust. But what if you could arrange this via technology providing us with the same guarantees as a middleman but without the middleman?

This is where blockchain can help us, providing a mechanism to do business without knowing your counter party or their reputation. First used for Bitcoin transactions (crypto-currency) but suitable for any other transaction or contract that we want to register in an immutable and secure manner. Think about registering land property, music rights or mortgages.

In a typical blockchain we recognise four important elements: the hash, the block, the nonce and the consensus model. How does this work?

First let me explain hashing, a key-element in blockchain. Hashing is a mathematical function that converts an arbitrary text into a fixed length digital key. This process is irreversible, every key produced is unique and even the slightest change in the input generates a completely different key. (Observe the W and w difference).

This key, also called the HASH, can be seen as the unique signature or fingerprint of that piece of text or information. (FYI: Hash functions are designed by the United States National Security Agency (NSA) and made available under a royalty free license).

Next, let's have a look at a block and its structure in a simplified model. We distinguish two main parts: the heading of the block with housekeeping details and a section containing the transactions. (In this example you see a set of simple financial transactions, but any transaction can be included.) The housekeeping section is especially important as it is used to link the new block with previous blocks.

Within the heading we see several fields and most are pretty straight forward; version info, time stamp and a copy of the previous block Hash. To secure that the transactions in the block itself are fingerprinted in an irreversible way, a “Transactions Hash” is generated from all entries with the above explained algorithm and added into the header. The information of all these header-fields is then used to generate the Hash, or signature of the block.

So why do we include a NONCE in the header? Creating a signature of a new block is pretty straight forward but makes it also vulnerable for anyone who wants to tamper with its content. Calculating a hash is a matter of milliseconds, so changing a transaction and creating a new hash is very easy, too easy and therefore not 100% secure. We can prevent this by demanding that the Hash of a block starts with leading zeroes which is only possible if we change the input for the hash calculation. This is where the Nonce (Number Once) comes into play, every time we change its value a different hash is generated.

Verifying all possibilities requires serious compute power/time and that makes it unattractive to tamper with the transactions in the new and all depending previous blocks. This process is known as - “the mining of a block”, providing us with the security that transactions are "written in stone and immutable". Mining - especially of crypto-currency - is financially very profitable and more compute power is added on daily basis. To deal with this, the number of leading zeroes is regularly adjusted to balance the increase in compute power. (FYI: Mining reward for the Bitcoin Blockchain is currently 12,5 BtC per block).

Once the right Hash is found, the newly mined block is presented to the network of “fellow” miners for approval and consensus. Typically six fellows have to confirm that the block is correct after which it is added to the chain. This consensus cycle is another security mechanism adding to the robustness of a blockchain.

The process repeats itself and the hash of the recently added block is used as input to mine the next block resulting in a chain of blocks. Impossible to alter without changing the previous block, and the previous block, and the previous block..... Blockchain offers us a highly effective means to organise the need for trust in a different way, secure and clean on a global basis, robust and transparent with no/limited overhead.

Share this article

Leave your comments

Post comment as a guest

terms and condition.
  • Matthew Riedle

    I feel like this website is on a roll lately. Great read !

  • Graeme Morris

    We don't need big banks and national debt based currency or taxes. We can pay for things directly. We can solve our problems without coercion through innovation and entrepreneurship. That is true freedom and self ownership.

  • Lee Yung Shun

    Bitcoin, Ethereum and Ripple will forever transform the financial industry and the way people, companies and governments trade with each other.

  • Kevin James

    I think bitcoin is the money of the future :)

  • Nate O'Brien

    A valuable token of account is required as an incentive to drive the security of any blockchain in a decentralized manner. That's why Bitcoins blockchain is the master blockchain and will continue to be. Private centralized blockchains are not true blockchains and are just shared data bases which are not to be trusted.

  • Daniel Heckmann

    This is some revolutionary stuff! But I highly doubt it will be implemented in my lifetime because of corrupt corporations

  • Dear Readers,

    Thank you for your remarks and comments. :)

    It is clear that Bitcoin paved the road and will play an important role in the future. We see quite a lot of crypto-currencies on the horizon and that will certainly change our way of doing business. On the other side, the blockchain technology can be used for many other use cases and we see already today a number of serious implementations. It is early in the process but this could be bigger than the Internet as it addresses such an important element in our society, TRUST.

    Peter van Emst

  • Antonio Carlos

    Good, insightful article. I recommend it !

Share this article

Peter Van Emst

Blockchain Expert

Peter is a very seasoned and experienced Program/Engagement manager with an international track-record in the Telco, Finance and the IT Management area, both start-ups and well established enterprise companies. This extensive ICT background in combination with his Block-chain know-how and network makes him a great partner for new initiatives in this area.  He is open minded and always interested in new challenges and technical developments connecting with our society. Peter holds a bachelor degree in Economics from the Het Van Hall Instituut. 


Latest Articles

View all
  • Science
  • Technology
  • Companies
  • Environment
  • Global Economy
  • Finance
  • Politics
  • Society