SlideShare a Scribd company logo
1 of 17
Overview of Blockchain
Consensus Mechanisms
Cork Blockchain, 2018-08-14
Johannes Ahlmann,
johannes@fluquid.com
Image: https://cdn-images-1.medium.com/max/1600/1*DpVNUugFmEhGhblHmXxbVA.jpeg
Consensus Mechanism
"A fault-tolerant mechanism
that is used to achieve the necessary agreement
on a single data value or a single state of the network
among distributed processes or multi-agent systems."
https://www.toolshero.com/wp-content/uploads/2017/09/consensus-oriented-decision-making-codm-toolshero-696x348.jpg
Byzantine Fault Tolerance
• "Crash Fault Tolerance" (CFT) aims to guarantee the functioning of a distributed
system in the presence of machines crashing or disconnecting and reconnecting
at random
• "Byzantine Fault Tolerance" (BFT) aims to guarantee the ability of a group of
nodes to achieve consensus in the presence of malicious actors who are trying to
subvert the consensus process in their favour, or prevent consensus from being
achieved.
• BFT is a much harder goal than CFT, and hasn't been solved mathematically at
scale; BFT generally makes use of cryptographic signatures, etc.
• Approximations of BFT exist, but they all come with significant constraints and
limitations attached
(i.e. Practical BFT achieve consensus in the presence of up to 1/3 malicious actors
and <20 total nodes)
The Scalability Trilemma
• Each of the three goals by itself is "easy" to
achieve
• But you have to sacrifice one of
Decentralization, Scalability or Security to
achieve a high level in the other two
• Bitcoin sacrifices scale (to some degree) for
decentralization and security
• Ripple, Stellar, EOS sacrifice decentralization
(to some degree) for scale and security
• Related to CAP Theorem for Distributed
Data Stores:
• Consistency
• Availability
• Partition Tolerance
https://cdn-images-1.medium.com/max/1600/1*wB2_druDLJECNI9NGEcrqQ.png
Consensus
Mechanisms
Mechanisms
Proof of
Work
Proof of
Stake
DPoS
Proof of
Burn
Proof of
Authority
Byzantine
Fault
Tolerance
Proof of
Importance
PoET
Proof of Work
• Uses scarce resource, i.e. electricity to perform a fair
lottery for block creation and chain selection
• Probability of receiving block reward is roughly
proportional to "work performed" / "energy burnt"
• Performs:
• chain selection
• coin distribution
• who produces blocks
• when blocks are produced
• Not a mathematical solution, but a game theoretical
mechanism that leverages monetary and other
incentives to "keep people honest"
• Bitcoin would not work if coins did not have a
financial value
• Examples: Bitcoin, most cryptocurrencies
https://en.bitcoinwiki.org/upload/en/images/thumb/5/55/Ea5b21f014547b4b44cf2dafcd76aad2.jpg/400px-Ea5b21f014547b4b44cf2dafcd76aad2.jpg
Proof of Stake
• Staked amount is locked away and can't be accessed for a time period,
and can be forfeit if the created block is invalid
• Probability of receiving "minting fee" is proportional to the amount staked
• Pros
• less electricity usage
• stronger alignment of incentives (miners vs. coin holders)
• mining centralization, ASIC
• Cons
• Naive PoS only addresses chain selection
• The rich are getting richer
• Risk of Loss of Funds (stakes need to be in hot wallet)
• BFT-based
• Tendermint, Ethermint
• Chain-based
• Ethereum Casper, NXT, PeerCoin, Decred (hybrid), Dash, NEO,
Stratis, Lisk, PIVX
https://cdn-images-1.medium.com/max/1600/0*IVoaV2-p8z3mWsST.png
https://lisk.io/content/5-academy/2-blockchain-basics/4-how-does-blockchain-work/8-proof-of-stake/8-pos-infographic.jpg
Delegated Proof of Stake
• Nodes vote for Witnesses (top 100 are paid, top 20
earn a regular salary), nodes can withdraw their vote in
case of improper conduct by a Witness
• Relies upon a group of delegates to validate blocks on
behalf of all nodes in the network
• Pros: Scalable, energy efficient, cheap transactions.
• Cons: Partially centralized
• Examples: Bitshares, EOS, Steemit
Proof of Burn
• Generate a random target address;
it is infeasible to find the private key for a
given public address
• Send existing coins to this unspendable
address as "proof of burn". The tokens
cannot never be recovered
• Selected block mining probability
proportional to burnt coins, or use "proof of
burn" to bootstrap/ seed new coins
• Examples: SlimCoin,
CounterParty (for seeding)
https://cointelegraph.com/news/the-full-story-of-cannabiscoins-premine-burn
Proof of Elapsed Time (PoET)
• Nodes need to be identifiable and accepted
into the network (permissioned blockchain)
• Uses Trusted Hardware for "fair lottery". Every
node generates a random number for how
long it has to wait, and the random number
utilitizes Trusted Computing hardware.
• Requires "Intel Software Guard Extensions
(SGX)" on node CPUs
• Examples: Hyperledger Sawtooth
https://www.hyperledger.org/wp-content/uploads/2018/01/Hyperledger_Sawtooth_Logo_Color.png
http://www.stickpng.com/assets/images/58568d224f6ae202fedf2720.png
Proof of Authority
• Stakes social capital, rather than financial
capital
• By identifying validators, PoA consensus
becomes inherently centralized. Therefore, it’s
best suited for private blockchains and
consortiums
• Validators should be scarce, so there is a
desire to hold the title.
• Nodes "stake their reputation"
• Inherently centralized
• Examples: Parity/ Kovan, Rinkeby, VeChain
https://cdn-images-1.medium.com/max/1500/1*vQ3fRvhuKa1gt1KYscIsrg.png
Proof of Importance
• Proof of Importance recognizes that other factors
(than staked amount and coin hold time) can be
taken into account when determining what nodes
provide the most value to a network
• Key factors:
• Net transfers, or total spent in the last 30
days.
• Vested amount of currency to create blocks.
• Nodes that are clustered, aka more
intermingled, are more heavily weighted.
• Examples: XEM
Image: https://www.slideshare.net/nakov/consensus-algorithms-nakov-jprofessionals-jan-2018
Byzantine Fault Tolerance
• Centralized, Permissioned
• Can tolerate 1/3 malicious nodes
• Variants, Applications
• Practical BFT (PBFT), Istanbul - don't scale
beyond 20 nodes
• Redundant BFT (RBFT)
• Federated Byzantine Agreement (Stellar,
Ripple)
• Honeybadger https://www.iconspng.com/image/40058/byzantine-generals-problem
Attacks on Proof of Stake
• Nothing at Stake
• Staker can stake on all candidate chains; and will be seen as having staked on whichever chain ultimate
"wins"
• This can in principle be detected, but changing stakes is necessary for convergence.
Explicit multiple staking rounds addresses this to some degree
• Stake does not add to the convergence of the system;
In contrast for PoW energy is a real-world finite resource
• Long Range Attack
• Attacker could buy a key to an address that is now empty but had a large token balance in the past,
and generate alternative history from that point
• Solution: checkpointing
Problem: checkpointing introduces centralization/"ask a friend" security model
Thank You!
Resources
• https://medium.com/the-daily-bit/9-types-of-consensus-mechanisms-that-you-didnt-know-
about-49ec365179da
• https://cointelegraph.com/news/why-blockchain-needs-proof-of-authority-instead-of-proof-of-
stake
• https://blog.cosmos.network/consensus-compare-casper-vs-tendermint-6df154ad56ae
• https://blog.bitmex.com/complete-guide-to-proof-of-stake-ethereums-latest-proposal-vitalik-
buterin-interview/

More Related Content

What's hot

6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now
101 Blockchains
 

What's hot (20)

Blockchain 101 by imran bashir
Blockchain 101  by imran bashirBlockchain 101  by imran bashir
Blockchain 101 by imran bashir
 
Learning Solidity
Learning SolidityLearning Solidity
Learning Solidity
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for DummiesBlockchain and Cryptocurrency for Dummies
Blockchain and Cryptocurrency for Dummies
 
Blockchain Presentation
Blockchain PresentationBlockchain Presentation
Blockchain Presentation
 
An Introduction to Blockchain
An Introduction to BlockchainAn Introduction to Blockchain
An Introduction to Blockchain
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
 
Blockchain Technology And Cryptocurrency
Blockchain Technology And CryptocurrencyBlockchain Technology And Cryptocurrency
Blockchain Technology And Cryptocurrency
 
Solidity
SoliditySolidity
Solidity
 
Distributed systems and blockchain technology
Distributed systems and blockchain technologyDistributed systems and blockchain technology
Distributed systems and blockchain technology
 
Smart contracts
Smart contractsSmart contracts
Smart contracts
 
Blockchain concepts
Blockchain conceptsBlockchain concepts
Blockchain concepts
 
An Introduction to Blockchain Technology
An Introduction to Blockchain Technology An Introduction to Blockchain Technology
An Introduction to Blockchain Technology
 
Introduction to Blockchain
Introduction to BlockchainIntroduction to Blockchain
Introduction to Blockchain
 
6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now6 Key Blockchain Features You Need to Know Now
6 Key Blockchain Features You Need to Know Now
 
How does blockchain work
How does blockchain workHow does blockchain work
How does blockchain work
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
 
Blockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for LibrariesBlockchain: The New Technology and Its Applications for Libraries
Blockchain: The New Technology and Its Applications for Libraries
 
Ethereum in a nutshell
Ethereum in a nutshellEthereum in a nutshell
Ethereum in a nutshell
 
Introduction to Blockchain
Introduction to Blockchain Introduction to Blockchain
Introduction to Blockchain
 

Similar to Overview of Blockchain Consensus Mechanisms

Similar to Overview of Blockchain Consensus Mechanisms (20)

Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensus
 
Blockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency RegulationsBlockchain Ecosystem and Cryptocurrency Regulations
Blockchain Ecosystem and Cryptocurrency Regulations
 
different consensus protocols in blockchian.pptx
different consensus protocols in blockchian.pptxdifferent consensus protocols in blockchian.pptx
different consensus protocols in blockchian.pptx
 
01 what is blockchain
01 what is blockchain01 what is blockchain
01 what is blockchain
 
Blockchain Technology
Blockchain TechnologyBlockchain Technology
Blockchain Technology
 
Indjic fintech module 6
Indjic fintech module 6Indjic fintech module 6
Indjic fintech module 6
 
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) AlgorithmsUnderstanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
Understanding Proof of Work (PoW) and Proof of Stake (PoS) Algorithms
 
BCHGraz - Meetup #8 - Intro & Ethereum
 BCHGraz - Meetup #8 - Intro & Ethereum BCHGraz - Meetup #8 - Intro & Ethereum
BCHGraz - Meetup #8 - Intro & Ethereum
 
Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...Can we safely adapt the construction of permissionless blockchain to user dem...
Can we safely adapt the construction of permissionless blockchain to user dem...
 
Blockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius NetworkBlockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius Network
 
unit3consesence.pptx
unit3consesence.pptxunit3consesence.pptx
unit3consesence.pptx
 
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
Journey to Blockchain Scalability: A Close Look at Complete Scaling Solutions...
 
Architecture and operations.pptx
Architecture and operations.pptxArchitecture and operations.pptx
Architecture and operations.pptx
 
Layer 2 Scaling Solutions
Layer 2 Scaling SolutionsLayer 2 Scaling Solutions
Layer 2 Scaling Solutions
 
Blockchain and Cryptocurrencies
Blockchain and CryptocurrenciesBlockchain and Cryptocurrencies
Blockchain and Cryptocurrencies
 
Blockchain general presentation nov 2017 v eng
Blockchain general presentation nov 2017 v engBlockchain general presentation nov 2017 v eng
Blockchain general presentation nov 2017 v eng
 
The Basic Theories of Blockchain
The Basic Theories of BlockchainThe Basic Theories of Blockchain
The Basic Theories of Blockchain
 
Resource slides for blockchain related question
Resource slides for blockchain related questionResource slides for blockchain related question
Resource slides for blockchain related question
 
Practical Challenges for Public Blockchains
Practical Challenges for Public BlockchainsPractical Challenges for Public Blockchains
Practical Challenges for Public Blockchains
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Overview of Blockchain Consensus Mechanisms

  • 1. Overview of Blockchain Consensus Mechanisms Cork Blockchain, 2018-08-14 Johannes Ahlmann, johannes@fluquid.com Image: https://cdn-images-1.medium.com/max/1600/1*DpVNUugFmEhGhblHmXxbVA.jpeg
  • 2. Consensus Mechanism "A fault-tolerant mechanism that is used to achieve the necessary agreement on a single data value or a single state of the network among distributed processes or multi-agent systems." https://www.toolshero.com/wp-content/uploads/2017/09/consensus-oriented-decision-making-codm-toolshero-696x348.jpg
  • 3. Byzantine Fault Tolerance • "Crash Fault Tolerance" (CFT) aims to guarantee the functioning of a distributed system in the presence of machines crashing or disconnecting and reconnecting at random • "Byzantine Fault Tolerance" (BFT) aims to guarantee the ability of a group of nodes to achieve consensus in the presence of malicious actors who are trying to subvert the consensus process in their favour, or prevent consensus from being achieved. • BFT is a much harder goal than CFT, and hasn't been solved mathematically at scale; BFT generally makes use of cryptographic signatures, etc. • Approximations of BFT exist, but they all come with significant constraints and limitations attached (i.e. Practical BFT achieve consensus in the presence of up to 1/3 malicious actors and <20 total nodes)
  • 4. The Scalability Trilemma • Each of the three goals by itself is "easy" to achieve • But you have to sacrifice one of Decentralization, Scalability or Security to achieve a high level in the other two • Bitcoin sacrifices scale (to some degree) for decentralization and security • Ripple, Stellar, EOS sacrifice decentralization (to some degree) for scale and security • Related to CAP Theorem for Distributed Data Stores: • Consistency • Availability • Partition Tolerance https://cdn-images-1.medium.com/max/1600/1*wB2_druDLJECNI9NGEcrqQ.png
  • 5. Consensus Mechanisms Mechanisms Proof of Work Proof of Stake DPoS Proof of Burn Proof of Authority Byzantine Fault Tolerance Proof of Importance PoET
  • 6. Proof of Work • Uses scarce resource, i.e. electricity to perform a fair lottery for block creation and chain selection • Probability of receiving block reward is roughly proportional to "work performed" / "energy burnt" • Performs: • chain selection • coin distribution • who produces blocks • when blocks are produced • Not a mathematical solution, but a game theoretical mechanism that leverages monetary and other incentives to "keep people honest" • Bitcoin would not work if coins did not have a financial value • Examples: Bitcoin, most cryptocurrencies https://en.bitcoinwiki.org/upload/en/images/thumb/5/55/Ea5b21f014547b4b44cf2dafcd76aad2.jpg/400px-Ea5b21f014547b4b44cf2dafcd76aad2.jpg
  • 7. Proof of Stake • Staked amount is locked away and can't be accessed for a time period, and can be forfeit if the created block is invalid • Probability of receiving "minting fee" is proportional to the amount staked • Pros • less electricity usage • stronger alignment of incentives (miners vs. coin holders) • mining centralization, ASIC • Cons • Naive PoS only addresses chain selection • The rich are getting richer • Risk of Loss of Funds (stakes need to be in hot wallet) • BFT-based • Tendermint, Ethermint • Chain-based • Ethereum Casper, NXT, PeerCoin, Decred (hybrid), Dash, NEO, Stratis, Lisk, PIVX https://cdn-images-1.medium.com/max/1600/0*IVoaV2-p8z3mWsST.png
  • 9. Delegated Proof of Stake • Nodes vote for Witnesses (top 100 are paid, top 20 earn a regular salary), nodes can withdraw their vote in case of improper conduct by a Witness • Relies upon a group of delegates to validate blocks on behalf of all nodes in the network • Pros: Scalable, energy efficient, cheap transactions. • Cons: Partially centralized • Examples: Bitshares, EOS, Steemit
  • 10. Proof of Burn • Generate a random target address; it is infeasible to find the private key for a given public address • Send existing coins to this unspendable address as "proof of burn". The tokens cannot never be recovered • Selected block mining probability proportional to burnt coins, or use "proof of burn" to bootstrap/ seed new coins • Examples: SlimCoin, CounterParty (for seeding) https://cointelegraph.com/news/the-full-story-of-cannabiscoins-premine-burn
  • 11. Proof of Elapsed Time (PoET) • Nodes need to be identifiable and accepted into the network (permissioned blockchain) • Uses Trusted Hardware for "fair lottery". Every node generates a random number for how long it has to wait, and the random number utilitizes Trusted Computing hardware. • Requires "Intel Software Guard Extensions (SGX)" on node CPUs • Examples: Hyperledger Sawtooth https://www.hyperledger.org/wp-content/uploads/2018/01/Hyperledger_Sawtooth_Logo_Color.png http://www.stickpng.com/assets/images/58568d224f6ae202fedf2720.png
  • 12. Proof of Authority • Stakes social capital, rather than financial capital • By identifying validators, PoA consensus becomes inherently centralized. Therefore, it’s best suited for private blockchains and consortiums • Validators should be scarce, so there is a desire to hold the title. • Nodes "stake their reputation" • Inherently centralized • Examples: Parity/ Kovan, Rinkeby, VeChain https://cdn-images-1.medium.com/max/1500/1*vQ3fRvhuKa1gt1KYscIsrg.png
  • 13. Proof of Importance • Proof of Importance recognizes that other factors (than staked amount and coin hold time) can be taken into account when determining what nodes provide the most value to a network • Key factors: • Net transfers, or total spent in the last 30 days. • Vested amount of currency to create blocks. • Nodes that are clustered, aka more intermingled, are more heavily weighted. • Examples: XEM Image: https://www.slideshare.net/nakov/consensus-algorithms-nakov-jprofessionals-jan-2018
  • 14. Byzantine Fault Tolerance • Centralized, Permissioned • Can tolerate 1/3 malicious nodes • Variants, Applications • Practical BFT (PBFT), Istanbul - don't scale beyond 20 nodes • Redundant BFT (RBFT) • Federated Byzantine Agreement (Stellar, Ripple) • Honeybadger https://www.iconspng.com/image/40058/byzantine-generals-problem
  • 15. Attacks on Proof of Stake • Nothing at Stake • Staker can stake on all candidate chains; and will be seen as having staked on whichever chain ultimate "wins" • This can in principle be detected, but changing stakes is necessary for convergence. Explicit multiple staking rounds addresses this to some degree • Stake does not add to the convergence of the system; In contrast for PoW energy is a real-world finite resource • Long Range Attack • Attacker could buy a key to an address that is now empty but had a large token balance in the past, and generate alternative history from that point • Solution: checkpointing Problem: checkpointing introduces centralization/"ask a friend" security model
  • 17. Resources • https://medium.com/the-daily-bit/9-types-of-consensus-mechanisms-that-you-didnt-know- about-49ec365179da • https://cointelegraph.com/news/why-blockchain-needs-proof-of-authority-instead-of-proof-of- stake • https://blog.cosmos.network/consensus-compare-casper-vs-tendermint-6df154ad56ae • https://blog.bitmex.com/complete-guide-to-proof-of-stake-ethereums-latest-proposal-vitalik- buterin-interview/