{"id":474,"date":"2021-03-08T16:12:08","date_gmt":"2021-03-08T16:12:08","guid":{"rendered":"https:\/\/www.litebringer.com\/blog\/?p=474"},"modified":"2021-03-29T14:11:38","modified_gmt":"2021-03-29T14:11:38","slug":"what-is-blockchain-consensus","status":"publish","type":"post","link":"https:\/\/www.litebringer.com\/blog\/blockchain\/what-is-blockchain-consensus","title":{"rendered":"What is blockchain consensus?"},"content":{"rendered":"\n

When it comes to blockchain consensus you might have stumbled across “Proof of Work” or “Proof of Stake” but have you ever heard about “Proof of Burn”?<\/p>\n\n\n\n\n\n\n\n

Blockchain technology is widely known for its integrity and consistency of shared data. In order to be safe from corruption, it needs a mechanism to ensure a consensus throughout the whole network.<\/p>\n\n\n\n

The purpose of such a consensus protocol is to make the process of adding a new block to the chain so difficult, that it is not economical to create more than one block at a time. Users should be able to participate actively in establishing a consensus and get a reasonable reward for supporting the integrity and consistency of the network.<\/a><\/p>\n\n\n\n

To ensure this approach is working, there are several different methods that can be applied. A very well-known method is the Proof of Work, which is used by Bitcoin. In the following article, you will find out how networks are protected from forks and manipulation.<\/p>\n\n\n\n

Proof of Work<\/h2>\n\n\n\n

Bitcoin, the first implementation of blockchain technology, was a paradise for tech-enthusiasts when it first started. The consensus-driven algorithm Proof of Work (POW) made it possible to earn money, only using the CPU of a private computer.<\/p>\n\n\n\n

How POW works is pretty simple. To add a list of transactions in the form of a block there has to be proof that the miner fulfilled a complicated task. This means the miner has to solve a cryptographic puzzle. The task is to compute a SHA256-hash using the data of the block. At the same time the hash has to be in a specific format, for example it has to start with \u201c0000\u201d.<\/p>\n\n\n\n

Every 10 minutes on average, a miner can form a block that fits these requirements. Since the number of miners and their computing power has grown quite drastically in the last few years, the difficulty of the task had to be increased as well.<\/p>\n\n\n\n

Some examples of where POW is\/was used:<\/p>\n\n\n\n