cosmos-sdk/docs/spec/staking
Sunny Aggarwal 6c9e71b654 Merge PR #2451: implement validator queue
* unbonding redelegation queue

* address some of bez and chris review

* delete old timeslices from queue

* added Rigel's test case

* added end-time to tags

* fixed bug in staking

* removed prints

* Get -> Queue

* called Endblocker in test

* implement validator queue

* Docs and PENDING

* address federicos comments

* unexposed UnbondingToUnbonded

* no copying unbonded val array to memory
2018-10-14 20:37:06 -04:00
..
README.md Merge PR #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00
end_block.md Merge PR #2451: implement validator queue 2018-10-14 20:37:06 -04:00
hooks.md [RETRY] Distr-PR-3 More staking hooks (#2404) 2018-09-25 23:11:57 -07:00
state.md Distr-PR-1 Staking ConsPubKey -> ConsAddr index (#2369) 2018-09-24 21:09:31 -07:00
transactions.md Merge PR #2405: Unbonding and Redelegations Queue 2018-10-08 06:43:47 +02:00

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.

  1. State
    1. Params
    2. Pool
    3. Validators
    4. Delegations
  2. Transactions
    1. Create-Validator
    2. Edit-Validator
    3. Repeal-Revocation
    4. Delegate
    5. Unbond
    6. Redelegate
  3. Validator Set Changes
    1. Validator set updates
    2. Slashing
    3. Automatic Unbonding