What is Blockchain?

"ARISE BE FEARLESS BE STRONG. TAKE THE RESPONSIBILITY ON YOURSELF AND KNOW THAT YOU ARE THE CREATORS OF YOUR FUTURE. ALL THE HELP AND POWER YOU SEEK LIES WITHIN YOU.SO RISE AND CREATE YOUR OWN FUTURE."
-BY SWAMI VIVEKANAND


What you should know to take part in any blockchain related technology or debates are as follow:
1)What is Blockchain?
2)Understanding SHA256 Hash(Algorithm currently used by Bitcoin )
3)Immutable Ledger
4)Distributed P2P network(The Nonce)
5)How Mining Works (The Cryptographic Puzzle)
6)Consensus Protocol(Defence against Attackers, Competing chains)

What is Blockchain?

The blockchain is now one of the famous technology of the 21st century. Blockchain now serving mainly in the field of security and cryptocurrency. Initially, the Blockchain term explained by Stuart Haber and W. Scott Stornetta the year 1991 in his paper called "How To Timestamp Digital Document".This Technology become a hot topic when Satoshi Nakamoto published a paper on the cryptography mailing list at metzdowd.com describing the bitcoin digital currency in the year 2008. It was titled " Bitcoin: A Peer-to-Peer Electronic Cash System".In January 2009, he released the first Bitcoin software that launched the network and the first units of the bitcoin cryptocurrency, called bitcoins.
Wikipedia gave a simple definition i.e. It is a growing list of records called blocks, which are linked and secured using cryptography. But it is much complex from the above definition.

Understanding SHA256 Hash


If you are coming from the CS/IT background you must have studied in your curriculum. Since it is very hard to explain the whole algorithm in a few lines but one can understand like everyone have fingerprints which can be used to identify a person, this same principle can be used to identify document also, using SHA256(Secure Hash Algorithm 256 ). It generated a unique hash code for documents which contains 64 characters, each character is 4 bit long since 64*4=256 bit memory space taken by this algorithm hence it is called a SHA256 hash algorithm. This algorithm is not used for just document it can be used for any file, media i.e. audio and video, executable file etc.
You can use other algorithms also but it should satisfy the following requirements.
1)One way 
2)Deterministic 
3)Fast Computation
4)The Avalanche Effect
5)Must Withstand Collisions  

Immutable Ledger


Suppose you want to buy a home, what you do you pay money and buy it but how you tell people that this property belongs to you. In exchange for money, you get a deed which proves that you are the owner. You have to take that deed to government authority where you registered your home.
In traditional ledger, we normally use written letter or some excel sheet to registered but it is not securable. Since if anyone hacked the government system than he easily can temper the data.
So if we use the blockchain since every block is linked with other hence if anyone tempered with one block it changes all the further block and one can easily detect that somebody hacked the system.
Hence Blockchain Called as Immutable Ledger


Distributed  P2P Network

To achieve more security blockchain uses a distributed network. Immutable ledger can be broken by a hacker if he calculated all the hash value for all the block then we never know that somebody temper our data and owner will lose their ownership plus all the data also be erased. In the distributed network all the blockchain is distributed over every computer and if one block updated than every block which is located on the .different computer must be changed. If hacker able to change data than all the computer have to update that change since hacker change only one computer we can compare from other computers and say that data was temper by someone. 
so if a hacker wants to temper the data that he has to be temper at least more than 50% computers data since than when comparison took place than hacker will win and all computer agreed on that changed data. It is next to impossible since it requires lots of computational power and practically it is not physible.

How Mining Works


Mining is the process of discovering or producing new bitcoin i.e. adding a block in the blockchain.
In terms of Bitcoin, it maintains a public ledger that contains past transaction, and mining is the process of adding a new transaction to this ledger. In mining, we had to guess the hash value of bitcoin and it has a range in which bitcoins hash value lie and we had a nonce value which can be used to mine new bitcoins since there are billions of hash value hence it require lots of computational power and electricity. We may pay around 5-6 lac rupees of electricity bill for one day of the mining process. Mining requires a high power computer and more importantly LUCK.


Consensus Protocol

In consensus protocol, we have certain check before a new block or bitcoin added in blockchain it verifies various check value if it passes from that then it will add the block. Hence any hacker tries to hack and try to mine using the malicious way it protects the blockchain.
In the case of competing for a chain, it is the most useful protocol. Competing chain means suppose two new blocks added simultaneously that which is to be added in all the computer. In this case, this protocol plays an important role. In this case, we have to consider a block which has the more computational power to generate hash value would be considered and that block will be added to all the computer and the other will be discarded.


Thank You
Happy Machine Learning(Blockchain)

Author:-Vikas Maurya

  





Comments

  1. Next one , on AI vs machine learning 😍

    ReplyDelete
  2. Great info! Very simple and easy…nobody can explain as interesting as this. I appreciate your time and effort on making things simple and easily understandable. I have bookmarked your site.

    Buy Silver Coins In San Francisco

    ReplyDelete
  3. Good post. if you are finding difficulty to understand deeply the whole concept of blockchain then i have found for you easy way to understand blockchain.
    Take a quick look at:
    Blockchain Technology
    What is Blockchain
    History Of Blockchain
    How Blockchain Works


    ReplyDelete
  4. Hiii...Thanks for sharing Great information...Nice post...Keep move on...
    Blockchain Training in Hyderabad

    ReplyDelete

Post a Comment

Popular posts from this blog

How to start Machine Learning?

Artificial Intelligence: Boon or bane?

What is Augmented Reality or Virtual Reality?