Pulling the Blockchain apart.. The transaction life-cycle

Edzo Botjes
Ignation
Published in
5 min readAug 11, 2017

Popping the hood of something magical

Unraveling what the blockchain is, how it works and what the benefits are is pretty difficult. It took me many weeks to only get a rough idea on what is going on.

Therefore I will share my journey and understanding, to help others to get a bit more knowledge on this subject. So that we will not get sold snakeoil when talking to a blockchain consultant.

The ideas behind the Blockchain is a combination of various complex idea’s and systems. While this combination provides significant value, its consequent complexity makes it difficult to grasp in a short period of time.

https://medium.com/the-mission/a-brief-history-of-blockchain-an-investors-perspective-e9b6605aad68

PULLING IT APART

https://bitsonblocks.net/2015/09/09/a-gentle-introduction-to-blockchain-technology/

In the previous blog I stated that the blockchain is nothing more then a collection of transactions. Those transactions are sealt together in packages of X number of transaction. Those packages are called blocks that are linked in a specific order, hence the name blockchain. A blockchain is comparable to a daisy chain :)

https://commons.wikimedia.org/wiki/File:Daisy_chain.JPG

To pull stuff apart it is important to know what the overall picture is, so that we can start pulling at the various parts of the whole. Lets start with looking at the life cycle of a transaction on a blockchain.

THE TRANSACTION LIFE CYCLE

Below we have a few Blockchain (and Bitcoin) transactions visualised.

Overall the sequence of steps are;

  1. Someone Requests a Transaction via something called a wallet.
  2. The transaction is send (broadcast) to all participation computers in the specific blockchain network.
  3. Every computer in the network checks (validate) the transaction against some validation rules that are set by the creators of the specific blockchain network.
  4. Validated transactions are stored into a block and are sealt with a lock (hash).
  5. This block becomes part of the blockchain when other computers in the network validate if the lock on the block is correct.
  6. Now the transaction is part of the blockchain and can not be altered in any way.

In the following graphics the steps are illustrated and I have written down the steps also. You will see that everybody is using a different way of naming the steps but overall the content is the same.

Insurance Funda

http://insurancefunda.in/bitcoin-cryptocurrency/

This is the most clear and easy to understand overview of the steps in the blockchain.

  1. Someone requests a transaction
  2. Transaction broadcasted to P2P computers (nodes).
  3. Validation, miners verify the transaction.
  4. Transactions combined to form a data block.
  5. New block added to existing Blockchain.
  6. The transaction is complete.

Deloitte

https://dupress.deloitte.com/dup-us-en/focus/tech-trends/2016/blockchain-applications-and-trust-in-a-global-economy.html

The image has a high resolution when you click on the source. The steps or elements depicted are

  1. Transaction
  2. Verification
  3. Structure
  4. Validation
  5. Blockchain Mining
  6. The chain
  7. Built-in Defense.

Wall Street Analyst

http://wallstanalyst.com/bitcoin-progression-towards-world-acceptance/

The description in this article is pretty clear. The steps identified here are.

  1. Send payment destination address.
  2. Payment destination address is published to the network for all to see.
  3. Payment transaction is done securely from origin address to destination address.
  4. The transaction is confirmed, processed and secured by the network and blockchain.

i-Scoop & Accenture

http://usblogs.pwc.com/emerging-technology/a-primer-on-blockchain-infographic/ https://www.i-scoop.eu/fintech/blockchain-distributed-ledger-technology/

This image is a cut out from a larger infographic created by Accenture. The steps identified here are

  1. Request of transaction is submitted to the network.
  2. The transaction is validated by the network.
  3. The verified transaction is combined with other verified transactions into a block in the blockchain.
  4. Transaction is complete.

Bambora

https://www.bambora.com/en/ca/blog/bitcoin-explained/
  1. Open your wallet and scan the address to which you want to send money.
  2. Select the amount of money and send the transaction.
  3. The wallet secures the payment so you know the sender of the money.
  4. The transaction is validated by the network and made part of the mining process.
  5. Mining is in progress and is done when a minder earns a bitcoin.
  6. The network validates the result of the mining process.
  7. The receiver of the money gets a confirmation of the successful transaction.

Techno Llama

http://www.technollama.co.uk/blockchains-and-the-challenges-of-decentralization

This blog is IMHO to abstract, but then this can also give new insights. The steps that are defined are.

  1. There is intention to send money from A to B.
  2. The transaction is put into a block.
  3. The block is send to all members of the network.
  4. The network validates the block.
  5. The block is added to the chain.
  6. The money is moved from A to B.

Zero hedge

http://www.zerohedge.com/news/2013-05-12/visualizing-how-bitcoin-transaction-works

This is a great roadmap, but to extensive for just someone without any knowledge to read.

  1. Wallets & Addresses
    The sending and receiving party of the transaction have a wallet that contains addresses with money and can create new addresses when needed.
  2. Creating a new (receiving) address
    create a new address for receiving the money for a transaction.
  3. Submitting a Payment
    here the sender tells the wallet how much money is to be send to the receiving address and this is translated into a transaction.
  4. Verifying the transaction
    in this step the transaction if being verified by computers in the network and bundled in transaction blocks
  5. Cryptographic Hashes
    the blocks are locked together with cryptographic hashes.
  6. Transaction verified
    The transaction is verified and part of the chain of blocks and therefor is it not possible to change this ever.

--

--

Edzo Botjes
Ignation

A Shrek look a like and loves Coffee, Roadtripping, Zen, IT, Enterprise Engineering, SMACT, Group Dynamics, Business & IT Innovation, Food & American Football