{"id":12584,"date":"2019-07-22T13:38:31","date_gmt":"2019-07-22T08:08:31","guid":{"rendered":"https:\/\/www.technologyforyou.org\/?p=12584"},"modified":"2019-07-22T13:38:31","modified_gmt":"2019-07-22T08:08:31","slug":"8-blockchain-consensus-mechanisms-you-should-know-about","status":"publish","type":"post","link":"https:\/\/www.technologyforyou.org\/8-blockchain-consensus-mechanisms-you-should-know-about\/","title":{"rendered":"8 blockchain consensus mechanisms you should know about"},"content":{"rendered":"<blockquote><p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">Blockchain networks use a consensus mechanism among the various existing blockchains, based on the required resources and desired outcome.<\/span><\/strong><\/p><\/blockquote>\n<p class=\"reader-author-info__text reader-author-info__name t-16 t-bold reader-author-info__meta-author-detail--has-hover mr2\"><span style=\"font-family: arial, helvetica, sans-serif;\"><strong>By Naveen Joshi &#8211;\u00a0<span class=\"lt-line-clamp__line lt-line-clamp__line--last\">Director at Allerin<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Blockchain has made headlines constantly due to the\u00a0<a href=\"https:\/\/blockonomi.com\/cryptocurrency-growth-young-people\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">popularity of cryptocurrencies<\/a>\u00a0such as Bitcoin and Ethereum. Multiple organizations are utilizing cryptocurrencies to create new revenue streams. Also, organizations are deploying blockchain for various applications such as securing data and verifying the identity of investors. These applications utilize various types of blockchain consensus mechanisms. <\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Blockchain consensus mechanisms basically help guarantee that all nodes on a network are synchronized and its transactions are legitimate. Such consensus mechanisms are necessary for blockchain networks to ensure that every node is connected to the same network and all transactions are regularly verified. Every blockchain network cannot use the same consensus mechanism as different outcomes are desirable with different applications. Organizations and blockchain developers must make informed decisions while choosing a blockchain consensus mechanism. Hence, blockchain and business leaders can work backwards from the desired results to a suitable consensus mechanism.<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">Types of blockchain consensus mechanisms<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Blockchain consensus mechanisms can be divided into 8 types:<\/span><\/p>\n<div class=\"slate-resizable-image-embed slate-image-embed__resize-full-width\"><span style=\"font-family: arial, helvetica, sans-serif;\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/media.licdn.com\/dms\/image\/C4E12AQGK84qEq8RJlw\/article-inline_image-shrink_1500_2232\/0?e=1569456000&amp;v=beta&amp;t=FBP7Uv9Dx8bqG3aRP2JdjeMIEUAhdYFIW2jUeajM_xY\" alt=\"No alt text provided for this image\" data-media-urn=\"\" data-li-src=\"https:\/\/media.licdn.com\/dms\/image\/C4E12AQGK84qEq8RJlw\/article-inline_image-shrink_1500_2232\/0?e=1569456000&amp;v=beta&amp;t=FBP7Uv9Dx8bqG3aRP2JdjeMIEUAhdYFIW2jUeajM_xY\" \/><\/span><\/div>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">1. Proof of Work<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Proof of Work (POW) process is also called mining and the miners are known as nodes. Miners solve complicated mathematical puzzles that require extensive computational power. For this purpose, miners utilize multiple mining methods like CPU mining, GPU mining, FPGA mining, mining pools, ASIC mining, and many more. After solving mathematical puzzles, a miner receives a block as reward if they are the first one to find the solution. Additionally, the puzzles can only be solved with trial and error. Hence, miners require an increasing amount of computational power for finding solutions quickly.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">The level of difficulty for the puzzles changes according to the speed at which the blocks are being mined. In case the blocks are created quickly, then the puzzles would get more difficult and vice versa. Therefore, new blocks have to be created within a particular time frame to carefully adjust the difficulty level of puzzles. Several popular cryptocurrencies like Bitcoin utilize Proof of Work process. However, Proof of Work consensus mechanism consumes resources at a staggering rate.\u00a0<a href=\"https:\/\/digiconomist.net\/bitcoin-energy-consumption\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">According to sources,<\/a>\u00a0Bitcoin\u2019s current estimated annual power consumption is 51.13 TWh. Hence, this approach can be expensive.<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">2. Proof of Stake<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Proof of Stake (POS) uses a randomized process to figure out who gets a chance to produce the next block. Blockchain users can lock up their tokens for a certain time for becoming a validator. After becoming a validator, users can be able to produce blocks. Validators can also be selected based on the design of blockchain. Generally, the user who owns the biggest stake or owns coins for the longest period of time has better odds of creating a new block. Validators usually get rewarded for their work with all or part of transaction fees of all the transactions carried out in the block they created. Alternatively, validators may receive a specific amount of coins due to inflation. With this approach, Proof of Stake method offers incentives to validators for maintaining the blockchain network. Proof of Stake is more energy efficient compared to other blockchain consensus mechanisms like Proof of Work.<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">3. Delegated Proof of Stake<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">In Delegated Proof of Stake process, users can stake their coins and vote for a particular number of delegates. The weight of a user\u2019s vote is based on their stake. For instance, if a user \u2018X\u2019 stakes 20 coins for a delegate and another user \u2018Y\u2019 stakes 2, then X\u2019s vote will have more weight compared to that of Y. The delegate that receives the highest number of votes gets a chance to produce new blocks. Delegates get rewarded with transaction fees or a specific amount of coins just like other blockchain consensus mechanisms such as Proof of Stake. Delegated Proof of Stake (DPOS) mechanism is one of the fastest blockchain consensus mechanisms. This mechanism can handle a higher number of transactions compared to Proof of Work mechanism. Due to its stake-weighted voting system, DPOS is often considered as a digital democracy.<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">4. Proof of Capacity<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">In Proof of Capacity method, solutions to complex mathematical puzzles are stored in digital storages such as hard disks. This entire process is called plotting. After a storage device is filled with solutions for mathematical puzzles, users can utilize it for producing blocks. Users who are fastest in finding the solutions get a chance to create a new block. Hence, users with the highest storage capacity will have to higher chances of producing a new block.<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">5. Proof of Elapsed Time<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Proof of Elapsed Time process randomly and fairly decides the producer of a new block based on the time they have spent waiting. For this purpose, the mechanism provides a random wait time for each user and the user whose wait time finishes the earliest will produce a new block. This consensus mechanism only works if the system can verify that no users can run multiple nodes and the wait time is truly random.<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">6. Proof of Identity<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Proof of Identity compares the private key of a user with an authorized identity. Basically, Proof of Identity is a piece of cryptographic evidence for a user\u2019s private key that is cryptographically attached to a specific transaction. Any identified user from a blockchain network can create a block of data that can be presented to anyone in the network. Proof of Identity ensures integrity and authenticity of created data. Additionally,\u00a0<a href=\"https:\/\/www.allerin.com\/blog\/making-smart-cities-secure-with-blockchain\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">smart cities can use blockchain<\/a>\u00a0consensus mechanisms like Proof of Identity to\u00a0<a href=\"https:\/\/www.allerin.com\/blog\/can-blockchain-make-identity-and-access-management-more-secure\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">verify the identity<\/a>\u00a0of their citizens.<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">7. Proof of Authority<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Proof of Authority mechanism is a modified version of Proof of Stake where the identities of validators in the network are at stake. In this scenario, the identity is the correspondence between validators\u2019 personal identification and their official documentation to help verify their identity. These validators stake their reputation on the network. In Proof of Authority, the nodes that become validators are the only ones allowed to produce new blocks. Validators whose identity is at stake are incentivized to secure and preserve the blockchain network. Also, the number of validators is fairly small (i.e. 25 or less).<\/span><\/p>\n<p><strong><span style=\"font-family: arial, helvetica, sans-serif;\">8. Proof of Activity<\/span><\/strong><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Proof of Activity mechanism is the combination of Proof of Work and Proof of Stake. In Proof of Activity, miners try to find the solution to a puzzle and claim their reward. However, the blocks created in Proof of Activity mechanism are simple templates with mining reward address and header information. The header information is then used to choose a random group of validators for signing a block. The validators with larger stakes will have greater odds of being selected to sign a new block. Once the selected validators sign a new block, it becomes a part of the network. In case the block stays unsigned by some validators, it gets discarded and a new block is utilized. The network fees generated in the process are distributed between the winning miner and the validators.<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\">Despite having similar goals, various blockchain consensus mechanisms ensure consensus with a varying approach. A single reliable consensus mechanism does not exist yet but the existing ones have evolved over time to meet the needs of blockchain technology. Additionally, predicting the type of blockchain consensus mechanism that will be popular and useful in the long run can be increasingly complex as the underlying technology is fairly new. Hence, business leaders who wish to introduce blockchain technology in their organization must be well informed about the various blockchain consensus mechanisms.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Blockchain networks use a consensus mechanism among the various existing blockchains, based on the required resources and desired outcome. By Naveen Joshi &#8211;\u00a0Director at Allerin Blockchain has made headlines constantly due to the\u00a0popularity of cryptocurrencies\u00a0such as Bitcoin and Ethereum. Multiple organizations are utilizing cryptocurrencies to create new revenue streams. Also, organizations are deploying blockchain for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12585,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4],"tags":[6839,6838],"class_list":{"0":"post-12584","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-cyber-security","8":"category-technology","9":"tag-8-blockchain-consensus-mechanisms-you-should-know-about","10":"tag-types-of-blockchain-consensus-mechanisms"},"_links":{"self":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/posts\/12584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/comments?post=12584"}],"version-history":[{"count":0,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/posts\/12584\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/media\/12585"}],"wp:attachment":[{"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/media?parent=12584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/categories?post=12584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.technologyforyou.org\/wp-json\/wp\/v2\/tags?post=12584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}