Wednesday, January 30, 2019

Beginners Guide to Blockchain Technology (Part 2)

In part two of this series, we will focus on a concept called hashing.  I will use the same metaphor from the previous article to explain hashing. If we go back to our example of the train, the coupler is a mechanism used to connect carriages and the engine of the train, as shown in the image below.

The coupler comes in different shapes and sizes: buffer and chain, link and pin, and bell-and-hook are few examples of couplers. Just like a coupler for a train, the concept is similar and used in blockchains to connect blocks. The blocks of a blockchain are linked to its immediate predecessor using a hash. The first block in the blockchain is called the "Genesis" block or Block 0, and its link lies out in the system. The below diagram is a simplified version of how the Bitcoin blockchain looks and, generally, blockchains follow the same pattern.



from DZone.com Feed http://bit.ly/2UqNES1

No comments:

Post a Comment