SlideShare a Scribd company logo
1 of 109
COSMOS
Proof-of-Stake
Sunny Aggarwal - Tendermint & Cosmos
Tendermint BFT
• 1 Block Finality
• Requires +2/3 of the validator set
to sign on a block to commit
• Proposer changes every round
• Doesn’t scale as # of validators
increases
Why Proof of Stake?
Basics of Proof of Stake
Slashing
Unbonding
Out of Band Delegation
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Out of Protocol
Delegation in Protocol
Delegation Criteria
Delegators will choose validators
off of criteria such as:
• Validator track record
• Validator’s security setup
• Self-declared, protocol-
enforced minimum self-bond
• Commission rate on
fees/rewards
Classical Redelegation
Instant Redelegation
Delegation Commitments
Incentives
Rewards
• Atoms are just a staking token for the Cosmos
Hub
• Staking tokens are similar to ASICs
• Capital you need in order to be able to be a
validator, and thus earn transaction fees
Staking Token
• Governance can maintains a whitelist of fee tokens
• Each validator maintains a local relative weighting
of values of the different whitelisted tokens
• Validators can choose to order transactions based
on this ordering.
• Can also require these to be submitted to the chain
in order to enforce a global min fee (using the
median)
Atom: 5
Photon: 3
BTC: 5000
ETH: 0.2
DAI: 1
Multi Fee Tokens
• Inflation schedule is designed to encourage staking
(the lower the percentage of staked atoms, the higher
the inflation rate)
• Block rewards split amongst all staked validators
• Block rewards start off unbonded
Block Rewards
• Majority of collected fees gets
split amongst the validators
• Proposer gets a special
dedicated percentage in order
to incentivize them to not
produce empty blocks
Proposer
5%
Split amongst all
validators
95%
Transaction Fees
Proposer Reward
𝑃 = 0.01 + 0.02 ∗ 𝑆 + 0.02 (0.9 𝑅
)
𝑃 = Proposers dedicated percentage
𝑆 = Percentage of stake whose precommits from
previous block were included in the proposal
𝑅 = Round number that a proposal was first proposed
Proposer Reward
• Passive Accounting to avoid iterating over the
entire set of stakers every block
• Transaction Fees and block rewards are added to a
pool
• Shares in the pool are distributed to validators, who
themselves have shares distributed to delegators
• Validators can charge commission rate on
Distribution
Punishments
Liveness Slashing
= Signed
= Unsigned
= Signed
= Unsigned
3/5
= Signed
= Unsigned
3/5
= Signed
= Unsigned
3/5
= Signed
= Unsigned
4/5
= Signed
= Unsigned
3/5
= Signed
= Unsigned
2/5
= Signed
= Unsigned
Liveness Slashing
• Validator gets a slight slash and is automatically
put in an jail period of 2 days
• After a jail period (2 days) the validator can
choose to rebond
• Unless delegators redelegated or unbonded, they
will be delegated to the validator when he gets
out of jail
• The jail period time gets credited to the
unbonding period, for both validator operators
and delegators
Byzantine Slashing
Consensus Fault Slashing
• The consensus engine tracks and generates
evidence for BFT faults
• Double signing on a block
• Breaking a Tendermint locking condition
• Signing a block while you’re in the
unbonding period
• There can be a delay between the time an
infraction occurs and the time that evidence
is found
Consensus Fault Slashing
• At time of evidence, the validator is slashed and
killed.
• A killed validator has all of his delegators
unbonded and the validator cannot revive itself
• Only the worst slash infraction is tracked
• Compromised key can’t be used to slash
100% of a validator’s funds
• Prevents evidence DoS attacks
Incentivizing
Decentralization
100%
Avg
Self Bond
Ratio
Reward
Percentage
Further Work
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Help us!
• Attack and improve our economic and theoretical models
• Properly parameterize constants
• Help simulate real world attacks in Game of Stakes
• Test and contribute to the open source codebase
• Come up with a name for Cosmos Proof of Stake
Thank You!
@cosmos @sunnya97

More Related Content

Similar to Cosmos Proof-of-Stake: An Introduction

Pokies terms explained
Pokies terms explainedPokies terms explained
Pokies terms explainedConnerReeves
 
Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...
Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...
Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...UCICove
 
Lect 6- The Value of an Invention.ppt
Lect 6- The Value of an Invention.pptLect 6- The Value of an Invention.ppt
Lect 6- The Value of an Invention.pptKISHOYIANKISH
 
Phil Downe - Avoiding Shady IT Vendors (full)
Phil Downe - Avoiding Shady IT Vendors (full)Phil Downe - Avoiding Shady IT Vendors (full)
Phil Downe - Avoiding Shady IT Vendors (full)TechSoup Canada
 
Ppt eos
Ppt eosPpt eos
Ppt eosV C
 
10.3 venture capital term sheets.pptx
10.3 venture capital term sheets.pptx10.3 venture capital term sheets.pptx
10.3 venture capital term sheets.pptxRick Rasmussen
 
Artificial Intelligence Working On Investment Management
Artificial Intelligence Working On Investment ManagementArtificial Intelligence Working On Investment Management
Artificial Intelligence Working On Investment ManagementHarry Holt BSc MSTA CFTe
 
Why Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOpsWhy Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOpsdpaulmerrill
 
Acceptance Test-driven Development: Mastering Agile Testing
Acceptance Test-driven Development: Mastering Agile TestingAcceptance Test-driven Development: Mastering Agile Testing
Acceptance Test-driven Development: Mastering Agile TestingTechWell
 
Comp plan enkel
Comp plan enkelComp plan enkel
Comp plan enkelkreativ787
 
Demystifying Stock Options and Preferences: Valuing Startup Equity
Demystifying Stock Options and Preferences: Valuing Startup Equity Demystifying Stock Options and Preferences: Valuing Startup Equity
Demystifying Stock Options and Preferences: Valuing Startup Equity ideatoipo
 
Secure Salesforce: Code Scanning with Checkmarx
Secure Salesforce: Code Scanning with CheckmarxSecure Salesforce: Code Scanning with Checkmarx
Secure Salesforce: Code Scanning with CheckmarxSalesforce Developers
 
Digital Tokens: Accountability & Transparency Framework
Digital Tokens: Accountability & Transparency FrameworkDigital Tokens: Accountability & Transparency Framework
Digital Tokens: Accountability & Transparency FrameworkJordan Price
 
Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)
Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)
Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)The Capital Network
 
Fundametals of Blockchain and basics_L1.pptx
Fundametals of Blockchain and basics_L1.pptxFundametals of Blockchain and basics_L1.pptx
Fundametals of Blockchain and basics_L1.pptxmeena466141
 
Wcm777 opp english_pdf
Wcm777 opp  english_pdfWcm777 opp  english_pdf
Wcm777 opp english_pdfttran321
 
Esn Encounter Presentation (Ekers)
Esn Encounter Presentation (Ekers)Esn Encounter Presentation (Ekers)
Esn Encounter Presentation (Ekers)brussell4250
 

Similar to Cosmos Proof-of-Stake: An Introduction (20)

Pokies terms explained
Pokies terms explainedPokies terms explained
Pokies terms explained
 
Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...
Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...
Equity Fundraising Founders Basics for Founders | Mohammed Elayan | Lunch & L...
 
Sva.pdf
Sva.pdfSva.pdf
Sva.pdf
 
Lect 6- The Value of an Invention.ppt
Lect 6- The Value of an Invention.pptLect 6- The Value of an Invention.ppt
Lect 6- The Value of an Invention.ppt
 
Phil Downe - Avoiding Shady IT Vendors (full)
Phil Downe - Avoiding Shady IT Vendors (full)Phil Downe - Avoiding Shady IT Vendors (full)
Phil Downe - Avoiding Shady IT Vendors (full)
 
Ppt eos
Ppt eosPpt eos
Ppt eos
 
10.3 venture capital term sheets.pptx
10.3 venture capital term sheets.pptx10.3 venture capital term sheets.pptx
10.3 venture capital term sheets.pptx
 
Artificial Intelligence Working On Investment Management
Artificial Intelligence Working On Investment ManagementArtificial Intelligence Working On Investment Management
Artificial Intelligence Working On Investment Management
 
802 1 x
802 1 x802 1 x
802 1 x
 
Why Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOpsWhy Automated Testing Matters To DevOps
Why Automated Testing Matters To DevOps
 
Acceptance Test-driven Development: Mastering Agile Testing
Acceptance Test-driven Development: Mastering Agile TestingAcceptance Test-driven Development: Mastering Agile Testing
Acceptance Test-driven Development: Mastering Agile Testing
 
Comp plan enkel
Comp plan enkelComp plan enkel
Comp plan enkel
 
Demystifying Stock Options and Preferences: Valuing Startup Equity
Demystifying Stock Options and Preferences: Valuing Startup Equity Demystifying Stock Options and Preferences: Valuing Startup Equity
Demystifying Stock Options and Preferences: Valuing Startup Equity
 
Secure Salesforce: Code Scanning with Checkmarx
Secure Salesforce: Code Scanning with CheckmarxSecure Salesforce: Code Scanning with Checkmarx
Secure Salesforce: Code Scanning with Checkmarx
 
Digital Tokens: Accountability & Transparency Framework
Digital Tokens: Accountability & Transparency FrameworkDigital Tokens: Accountability & Transparency Framework
Digital Tokens: Accountability & Transparency Framework
 
Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)
Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)
Know Your Valuation for Equity Compensation (And Avoid the Perils of 409A)
 
Fundametals of Blockchain and basics_L1.pptx
Fundametals of Blockchain and basics_L1.pptxFundametals of Blockchain and basics_L1.pptx
Fundametals of Blockchain and basics_L1.pptx
 
Wcm777 opp english_pdf
Wcm777 opp  english_pdfWcm777 opp  english_pdf
Wcm777 opp english_pdf
 
Monetary Tokenomics
Monetary TokenomicsMonetary Tokenomics
Monetary Tokenomics
 
Esn Encounter Presentation (Ekers)
Esn Encounter Presentation (Ekers)Esn Encounter Presentation (Ekers)
Esn Encounter Presentation (Ekers)
 

More from Tendermint Inc

Cosmos SDK Workshop: How to Build a Blockchain from Scratch
Cosmos SDK Workshop: How to Build a Blockchain from ScratchCosmos SDK Workshop: How to Build a Blockchain from Scratch
Cosmos SDK Workshop: How to Build a Blockchain from ScratchTendermint Inc
 
Vision of Rearchitecting the Blockchain Ecosystem by Chjango Unchained
Vision of Rearchitecting the Blockchain Ecosystem by Chjango UnchainedVision of Rearchitecting the Blockchain Ecosystem by Chjango Unchained
Vision of Rearchitecting the Blockchain Ecosystem by Chjango UnchainedTendermint Inc
 
Many Chains, Many Tokens, One Ecosystem
Many Chains, Many Tokens, One EcosystemMany Chains, Many Tokens, One Ecosystem
Many Chains, Many Tokens, One EcosystemTendermint Inc
 
Open Finance & the Decentralization Movement
Open Finance & the Decentralization MovementOpen Finance & the Decentralization Movement
Open Finance & the Decentralization MovementTendermint Inc
 
Introduction to Blockchain & Building the 3rd Generation with Golang
Introduction to Blockchain & Building the 3rd Generation with GolangIntroduction to Blockchain & Building the 3rd Generation with Golang
Introduction to Blockchain & Building the 3rd Generation with GolangTendermint Inc
 
Interblockchain Communication for Blockchain Interoperability
Interblockchain Communication for Blockchain InteroperabilityInterblockchain Communication for Blockchain Interoperability
Interblockchain Communication for Blockchain InteroperabilityTendermint Inc
 
A Brief History of Distributed State
A Brief History of Distributed StateA Brief History of Distributed State
A Brief History of Distributed StateTendermint Inc
 
Code Run of the Cosmos SDK
Code Run of the Cosmos SDKCode Run of the Cosmos SDK
Code Run of the Cosmos SDKTendermint Inc
 
Intro to the Cosmos Network
Intro to the Cosmos NetworkIntro to the Cosmos Network
Intro to the Cosmos NetworkTendermint Inc
 
Four Dimensional Blockchain Scaling
Four Dimensional Blockchain ScalingFour Dimensional Blockchain Scaling
Four Dimensional Blockchain ScalingTendermint Inc
 
Ethermint 2.0: An Ethereum Scaling Solution by Cosmos
Ethermint 2.0: An Ethereum Scaling Solution by CosmosEthermint 2.0: An Ethereum Scaling Solution by Cosmos
Ethermint 2.0: An Ethereum Scaling Solution by CosmosTendermint Inc
 

More from Tendermint Inc (11)

Cosmos SDK Workshop: How to Build a Blockchain from Scratch
Cosmos SDK Workshop: How to Build a Blockchain from ScratchCosmos SDK Workshop: How to Build a Blockchain from Scratch
Cosmos SDK Workshop: How to Build a Blockchain from Scratch
 
Vision of Rearchitecting the Blockchain Ecosystem by Chjango Unchained
Vision of Rearchitecting the Blockchain Ecosystem by Chjango UnchainedVision of Rearchitecting the Blockchain Ecosystem by Chjango Unchained
Vision of Rearchitecting the Blockchain Ecosystem by Chjango Unchained
 
Many Chains, Many Tokens, One Ecosystem
Many Chains, Many Tokens, One EcosystemMany Chains, Many Tokens, One Ecosystem
Many Chains, Many Tokens, One Ecosystem
 
Open Finance & the Decentralization Movement
Open Finance & the Decentralization MovementOpen Finance & the Decentralization Movement
Open Finance & the Decentralization Movement
 
Introduction to Blockchain & Building the 3rd Generation with Golang
Introduction to Blockchain & Building the 3rd Generation with GolangIntroduction to Blockchain & Building the 3rd Generation with Golang
Introduction to Blockchain & Building the 3rd Generation with Golang
 
Interblockchain Communication for Blockchain Interoperability
Interblockchain Communication for Blockchain InteroperabilityInterblockchain Communication for Blockchain Interoperability
Interblockchain Communication for Blockchain Interoperability
 
A Brief History of Distributed State
A Brief History of Distributed StateA Brief History of Distributed State
A Brief History of Distributed State
 
Code Run of the Cosmos SDK
Code Run of the Cosmos SDKCode Run of the Cosmos SDK
Code Run of the Cosmos SDK
 
Intro to the Cosmos Network
Intro to the Cosmos NetworkIntro to the Cosmos Network
Intro to the Cosmos Network
 
Four Dimensional Blockchain Scaling
Four Dimensional Blockchain ScalingFour Dimensional Blockchain Scaling
Four Dimensional Blockchain Scaling
 
Ethermint 2.0: An Ethereum Scaling Solution by Cosmos
Ethermint 2.0: An Ethereum Scaling Solution by CosmosEthermint 2.0: An Ethereum Scaling Solution by Cosmos
Ethermint 2.0: An Ethereum Scaling Solution by Cosmos
 

Recently uploaded

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Velvetech LLC
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)jennyeacort
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsAhmed Mohamed
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfLivetecs LLC
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noidabntitsolutionsrishis
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 

Recently uploaded (20)

GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...Software Project Health Check: Best Practices and Techniques for Your Product...
Software Project Health Check: Best Practices and Techniques for Your Product...
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Unveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML DiagramsUnveiling Design Patterns: A Visual Guide with UML Diagrams
Unveiling Design Patterns: A Visual Guide with UML Diagrams
 
How to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdfHow to Track Employee Performance A Comprehensive Guide.pdf
How to Track Employee Performance A Comprehensive Guide.pdf
 
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in NoidaBuds n Tech IT Solutions: Top-Notch Web Services in Noida
Buds n Tech IT Solutions: Top-Notch Web Services in Noida
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 

Cosmos Proof-of-Stake: An Introduction

  • 2.
  • 3.
  • 4.
  • 5. Tendermint BFT • 1 Block Finality • Requires +2/3 of the validator set to sign on a block to commit • Proposer changes every round • Doesn’t scale as # of validators increases
  • 6.
  • 7. Why Proof of Stake?
  • 8. Basics of Proof of Stake
  • 9.
  • 10.
  • 11.
  • 12.
  • 14.
  • 15.
  • 16.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27. Out of Band Delegation
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. Delegation Criteria Delegators will choose validators off of criteria such as: • Validator track record • Validator’s security setup • Self-declared, protocol- enforced minimum self-bond • Commission rate on fees/rewards
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 72. • Atoms are just a staking token for the Cosmos Hub • Staking tokens are similar to ASICs • Capital you need in order to be able to be a validator, and thus earn transaction fees Staking Token
  • 73. • Governance can maintains a whitelist of fee tokens • Each validator maintains a local relative weighting of values of the different whitelisted tokens • Validators can choose to order transactions based on this ordering. • Can also require these to be submitted to the chain in order to enforce a global min fee (using the median) Atom: 5 Photon: 3 BTC: 5000 ETH: 0.2 DAI: 1 Multi Fee Tokens
  • 74. • Inflation schedule is designed to encourage staking (the lower the percentage of staked atoms, the higher the inflation rate) • Block rewards split amongst all staked validators • Block rewards start off unbonded Block Rewards
  • 75. • Majority of collected fees gets split amongst the validators • Proposer gets a special dedicated percentage in order to incentivize them to not produce empty blocks Proposer 5% Split amongst all validators 95% Transaction Fees Proposer Reward
  • 76. 𝑃 = 0.01 + 0.02 ∗ 𝑆 + 0.02 (0.9 𝑅 ) 𝑃 = Proposers dedicated percentage 𝑆 = Percentage of stake whose precommits from previous block were included in the proposal 𝑅 = Round number that a proposal was first proposed Proposer Reward
  • 77. • Passive Accounting to avoid iterating over the entire set of stakers every block • Transaction Fees and block rewards are added to a pool • Shares in the pool are distributed to validators, who themselves have shares distributed to delegators • Validators can charge commission rate on Distribution
  • 88. Liveness Slashing • Validator gets a slight slash and is automatically put in an jail period of 2 days • After a jail period (2 days) the validator can choose to rebond • Unless delegators redelegated or unbonded, they will be delegated to the validator when he gets out of jail • The jail period time gets credited to the unbonding period, for both validator operators and delegators
  • 90. Consensus Fault Slashing • The consensus engine tracks and generates evidence for BFT faults • Double signing on a block • Breaking a Tendermint locking condition • Signing a block while you’re in the unbonding period • There can be a delay between the time an infraction occurs and the time that evidence is found
  • 91. Consensus Fault Slashing • At time of evidence, the validator is slashed and killed. • A killed validator has all of his delegators unbonded and the validator cannot revive itself • Only the worst slash infraction is tracked • Compromised key can’t be used to slash 100% of a validator’s funds • Prevents evidence DoS attacks
  • 92.
  • 93.
  • 94.
  • 95.
  • 97.
  • 98.
  • 99.
  • 102. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake
  • 103.
  • 104. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake
  • 105.
  • 106. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake
  • 107.
  • 108. Help us! • Attack and improve our economic and theoretical models • Properly parameterize constants • Help simulate real world attacks in Game of Stakes • Test and contribute to the open source codebase • Come up with a name for Cosmos Proof of Stake