{"id":3829,"date":"2021-03-06T04:09:23","date_gmt":"2021-03-06T04:09:23","guid":{"rendered":"https:\/\/afluxcoin.com\/09\/consensus-mechanisms-in-blockchains-for-the-layperson\/"},"modified":"2021-03-06T04:09:23","modified_gmt":"2021-03-06T04:09:23","slug":"consensus-mechanisms-in-blockchains-for-the-layperson","status":"publish","type":"post","link":"https:\/\/afluxcoin.com\/ar\/09\/consensus-mechanisms-in-blockchains-for-the-layperson\/","title":{"rendered":"\u0622\u0644\u064a\u0627\u062a \u0627\u0644\u0625\u062c\u0645\u0627\u0639 \u0641\u064a Blockchains \u0644\u0644\u0634\u062e\u0635 \u0627\u0644\u0639\u0627\u062f\u064a"},"content":{"rendered":"

Consensus, in the context of a distributed computing network, is a mechanism by which multiple physically separated participants can reach an agreement over something (e.g. to agree if a transaction is valid and which block to place the transaction in). Several Blockchains employ a variety of mechanisms to achieve consensus, and this article tries to break them down in as simple a language as possible.Before we start, it is important to understand that there are basically two types of consensus mechanisms.Probabilistic (Which assumes that if enough nodes agree, it is POSSIBLE that a transaction could be reverted, but not PROBABLE). An example of this is BitcoinFinalistic (Which CONFIRMS that the transaction is final and will NEVER be reverted). An example of this is Algorand.To visualize the different consensus mechanisms, let\u2019s consider a simple transaction. Let\u2019s assume the transaction is the statement \u201cThe sky is blue.\u201d Let\u2019s consider the Blockchain as a Book of truths, each page representing a block. The aim is for us to get \u201cThe sky is blue\u201d written into the book of truths.Proof of Work (PoW)Bitcoin, Ethereum (For now), and several other mineable Blockchains prefer to use a mechanism called PoW to reach consensus. Let\u2019s visualize how \u201cThe sky is blue\u201d gets written into a PoW Book of truths.Imagine that the Book of Truth is placed in the town square. People come from far and wide with their truths written on pieces of paper hoping to get them written into the book. Some officials surround the book and offer to write new truths into it. Anyone can volunteer to be such an official (Permissionless chain), but there\u2019s a catch:For each truth that is presented to them, the officials have to solve a complex mathematical puzzle before they can examine the pieces of paper with the truths. The\u2026<\/p>","protected":false},"excerpt":{"rendered":"

\u0627\u0644\u0625\u062c\u0645\u0627\u0639 \u060c \u0641\u064a \u0633\u064a\u0627\u0642 \u0634\u0628\u0643\u0629 \u0627\u0644\u062d\u0648\u0633\u0628\u0629 \u0627\u0644\u0645\u0648\u0632\u0639\u0629 \u060c \u0647\u0648 \u0622\u0644\u064a\u0629 \u064a\u0645\u0643\u0646 \u0645\u0646 \u062e\u0644\u0627\u0644\u0647\u0627 \u0644\u0644\u0639\u062f\u064a\u062f \u0645\u0646 \u0627\u0644\u0645\u0634\u0627\u0631\u0643\u064a\u0646 \u0627\u0644\u0645\u0646\u0641\u0635\u0644\u064a\u0646 \u062c\u0633\u062f\u064a\u064b\u0627 \u0623\u0646 \u064a\u062a\u0648\u0635\u0644\u0648\u0627 \u0625\u0644\u0649 \u0627\u062a\u0641\u0627\u0642 \u062d\u0648\u0644 \u0634\u064a\u0621 \u0645\u0627 (\u0639\u0644\u0649 \u0633\u0628\u064a\u0644 \u0627\u0644\u0645\u062b\u0627\u0644 [...]<\/span><\/p>","protected":false},"author":0,"featured_media":2796,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[35],"tags":[],"_links":{"self":[{"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/posts\/3829"}],"collection":[{"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/comments?post=3829"}],"version-history":[{"count":0,"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/posts\/3829\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/media?parent=3829"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/categories?post=3829"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afluxcoin.com\/ar\/wp-json\/wp\/v2\/tags?post=3829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}