Block Chain
Block Chain
Block Chain
What is BlockChain ?
• A blockchain, originally block chain, is a continuously growing
list of records, called blocks, which are linked and secured
using cryptography.
• This technique was originally described in 1991 by a group of
researchers and was originally intended to timestamp digital
documents so that it’s not possible to backdate them or to
tamper with them.
• However it went by mostly unused until it was adapted by
Satoshi Nakamoto to create digital crypto-currency Bitcoin in
2009.
What is BlockChain ?
• A blockchain is a distributed ledger that is completely open to
anyone.
• It is having interesting quality that once some data has been
recorded inside a blockchain, it becomes very difficult to
change it.
How BlockChain Works?
• Each block contains some data, the hash of the block and the
hash of the previous block.
• The data that is stored inside a block depends on the type of
blockchain.
• The Hash in the block identifies a block and all of its contents
and it’s always unique, just as fingerprint.
• Once the block is created, it’s hash is being calculated.
Changing something inside the block will cause the hash to
change.
• So hashes are very useful when you want to detect changes to
block.
How BlockChain Works?
• So, if the fingerprint of a block changes, it is no longer the
same block.
• The third element inside each block is the hash of the
previous block. And this effectively creates a chain of blocks
and this technique makes a Blockchain so secure.
How BlockChain Works?
• Here, someone tampers with the second block. This causes the Hash of the block to change as well.
•In turn, that will make block 3 and all the following blocks invalid because they no longer store a valid
hash of the previous block.
•But using hashes is not enough to prevent tampering. Computers these days are very fast and can
calculate hundreds of thousands of hashes per second. You can effectively tamper with a block and
recalculate all the hashes of other blocks to make your blockchain valid again.