133934ae37
* remove kv seperation for marshalling * pending * cleanup * cleanup x2 * pending * working * minor refactors * entry structs defined * uncompiled mechanism written * add many compile fixes * code compiles * fix test compile errors * test cover passes * ... * multiple entries fix * ... * more design fix * working * fix test cover bug * Update PENDING.md * update comment around queue completion for redelegations/ubds * basic spec updates * remove ErrConflictingRedelegation * @cwgoes comments are resolved * Update x/staking/keeper/slash.go Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com> * address @alexanderbez comments |
||
---|---|---|
.. | ||
README.md | ||
end_block.md | ||
hooks.md | ||
state.md | ||
tags.md | ||
transactions.md |
README.md
Staking module specification
Abstract
This paper specifies the Staking module of the Cosmos-SDK, which was first described in the Cosmos Whitepaper in June 2016.
The module enables Cosmos-SDK based blockchain to support an advanced Proof-of-Stake system. In this system, holders of the native staking token of the chain can become validators and can delegate tokens to validator validators, ultimately determining the effective validator set for the system.
This module will be used in the Cosmos Hub, the first Hub in the Cosmos network.
Contents
The following specification uses Atom as the native staking token. The module can be adapted to any Proof-Of-Stake blockchain by replacing Atom with the native staking token of the chain.
- State
- Params
- Pool
- Validators
- Delegations
- Transactions
- Create-Validator
- Edit-Validator
- Repeal-Revocation
- Delegate
- Unbond
- Redelegate
- Validator Set Changes
- Validator set updates
- Slashing
- Automatic Unbonding