© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
J. T. GeorgeIntroducing Blockchain Applicationshttps://doi.org/10.1007/978-1-4842-7480-4_8

8. The Consensus Algorithms for Blockchains Project

Joseph Thachil George1  
(1)
Rome, Italy
 

This project is a basic blockchain written in Python. It is a set of blocks that are linked together in such a way that the information they store is impossible to modify (and more and more difficult as more blocks are joined to the blockchain).

The PoW (Proof of Work) algorithm is used to mine every block in this blockchain. Its purpose is to find a hash of all the data saved in the blocks that meets certain criteria. For this purpose, each block has a variable data called nonce ...

Get Introducing Blockchain Applications: Understand and Develop Blockchain Applications Through Distributed Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.