Skip to main content

Block-chain- explained in a simple way

Block-chain as the name suggests is combination of two words, Block-Chain. It is called so because it consists of chain of blocks. Blocks that store data in them. Earlier this technique was used in distributed ledgers for storing the dates in the blocks so that data could not be stored on back date.

What does Block contains?

A Block stores data, Hash and Hash of previous block.

Data: It can be anything that you want to store in blocks. For eg. in Bitcoins Blocks contain transaction information like 'From', 'To' and 'Amount'.

Hash: It is a unique entity like fingerprints. Whenever a block is created it is assigned a unique Hash that separates it from other blocks. Changes made to Block results in changing the Hash of the Block. This is the important feature of Block-Chain technology.

Hash of previous Block: This is the important feature of Block-Chain technology as this forms the chain of blocks.

How does it work?
As each block contains Hash of previous block, therefore the very first block also needs to store some value in 'Hash of previous Block'. First block does not point to any previous block and '0000' is stored for previous hash value, thus first block is known as Genesis Block.

Consider a chain of 3 blocks say A,B and C. If anyone makes changes to block B then its Hash will be changed. As a result block C will become invalid as the value stored in previous Hash would not match with any entry.

It means making changes to any one block will result in invalidating all the following blocks in chain. Because of this feature storing data in block chain is safe.

Hashes are used to prevent tampering. But our computers can calculate 1000 Hashes per seconds, therefore all the following Hashes can be easily re-calculated for making the block-chain valid again.

To overcome this Block-chain introduces 'Proof-of-Work'. Its a mechanism that slows down the creation of new blocks. In Bitcoin, ten minutes are required to calculate Proof of Work and add new block to chain. As a result if changes are made to any block, then recalculating all following blocks will require more time with Proof-of-work.

Another way to security:
Block-chain uses P2P network i.e. everyone is allowed to join the network. On joining everyone gets full copy of block-chain. Node is used to verify if everything is still in order. Whenever anyone adds new block, it is sent to everyone on network. Each node will verify the new block to make sure it has not been tampered. If everything is good, each node will add this block to Block-chain. All nodes in network crates 'Consensus', they agree about which blocks are valid and which are not. Tampered blocks are rejected by other nodes in network.

Therefore with P2P network it is hard to add/tamper any block in the network.

What happens on tampering any block?
Tampering will change all the blocks on network thus block-chain redo Proof-of-work for all blocks. It then takes report of about 50% of P2P network. If approved only then the block will be added to the chain otherwise it is rejected.

Blocks also involve 'Smart Contracts', these are simple programs that re stored on Block-chain. It can be used to automatically exchange coins based on certain conditions. Therefore this technology can also be used for Medical records, e-notary and Collecting taxes.


Popular posts from this blog

Android Pie: Cool features you shouldn't overlook

In this era of technical growth companies have been trying to improve user experience by making device usability better and handy. As mobile phone are being introduced with various new technologies for eg. face recognition which uses AI to enhance the user experience, similarly many other inventions are being worked on at present and support those new features the OS needs to be upgraded to match their pace with the development of technology. Or it may also be said that with advancement in the OS versions the Mobile companies need to be design the phone to cop its level.
Android 9 controls the power of artificial intelligence to provide more from the smart phone. Now it's smarter, faster and adapts with usage.

Tailored to you
Android 9 adapts to users and how they use their phone by learning user preferences as they go. Experience keeps on getting better and better over time, and it keeps things running smoother, longer.

App Actions:
The phone will now readily know about user's…

What is Deep Learning - Explained in General Terms

Deep Learning, Machine Learning and Artificial Intelligence are the terms which are being used interchangeably these days. Suddenly every one is talking about them – irrespective of whether they understand the differences or not! Whether one have been actively following data science or not – everyone would have heard these terms. But no one has a clear understanding of what is Deep Learning. Basically it is subset of Machine Learning which in turn is subset of Artificial Intelligence.

Deep Learning is type of Machine Learning which teaches computers to perform actions by learning from examples. Deep Learning is the key technology being used in Driver-less cars that enables them to recognize a stop sign and differentiate between a person and lamppost.It is the key behind the voice controls in various devices like phone, tablets, TVs and hands-free speakers. Deep Learning is gradually prevailing and getting attention lately. Using it, impossible results have been achieved.

In deep lear…

Chromecast: All you need to know

Digital media player, Chromecast is a small dongle developed by Google for accessing playbacks from mobile device or computers on high definition TVs. The device controls/initiate the playback of internet streamed audio and visual content on TVs through mobile or web Apps. The device supports Google cast for mirroring of content on HD TV's.

Google Cast SDK is a third party modification software which was released on 3rd Feb, 2014. Third party Apps can use google cast for enabling their apps to be accessible through Chromecast on high definition Tvs. After the release, 20,000 google cast ready apps were sold till May 2015. 30 million units of Chromecast are sold till now in US making it the best seller streaming device in US in 2014.

There are three Chromecast device launched till now:
1. Chromecast 1st Generation
2. Chromecast 2nd Generation
3. Chromecast 3rd Generation

Chromecast 1st Generation
It is the first Chromecast device announced on July 24,2013 and was made av…