Introduction to blockchain consensus mechanisms

Introduction to blockchain consensus mechanisms

Blockchain networks combine groups of transactions into collections (blocks) that are added to each other (chains). The blocks use a function to ensure that values ​​are not reused in transactions, thus avoiding the problem of double spending. The network then uses a blockchain consensus mechanism to agree that a given block is valid.

Blockchains have developed a number of consensus mechanisms to be used for validation. This article explores the most common blockchain consensus mechanisms and some real-world variations.

Certificate of employment

For people who want to understand blockchain, the original Bitcoin white paper is a good place to start. It introduces Bitcoin as a peer-to-peer electronic cash system and discusses the first blockchain consensus mechanism, Proof of Work. This mechanism is the seed from which all other blockchain consensus mechanisms grow.

Any consensus mechanism exists to solve a problem. Proof of Work was developed to solve the problem of double consumption, where some users may attempt to transfer the same resources more than once. The first challenge for a blockchain network was thus to ensure that values ​​were only transferred once.

Bitcoin’s developers wanted to avoid using a centralized “coin” to track all transactions moving through the blockchain. While such a coin could certainly deny double-spending transactions, it would be a centralized solution. Decentralization of control over assets was the whole point of the blockchain.

Instead, Proof of Work moves the job of validating transactions to individual nodes in the network. When each node receives a transaction, it attempts the expensive computation required to discover a rare hash. The resulting “proof of work” ensures that a certain amount of time and computing power was spent by the node to accept a block of transactions. Once a block is hashed, it is disseminated to the network with a signature. Provided it meets the criteria for validity, other nodes in the network accept this new block, add it to the end of the chain, and start work on the next block when new transactions arrive.

Copyright © 2022 IDG Communications, Inc.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *