cosmos-sdk/x/staking/spec
Amaury Martiny 33e7297c79
Use enum instead of int32 for BondStatus (#7499)
* Migrate staking module

* Add gov legacy

* Add comments

* Add x/distrib

* x/crisis

* x/mint

* Fix test

* migrate x/genutil

* Fix lint

* Fix staking constants

* Fix test

* Update x/genutil/legacy/v040/migrate.go

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* Add migrate script instead of change BondStatus constants

* Change staking bondStatus to enum

* Fix test

* Fix another test

* Remove staking exported

* fix references

* Better constants

* Fix build

* Fix lint

* Remove buf version

* Fix tests

* Fix test

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
2020-10-12 13:56:02 +00:00
..
01_state.md tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
02_state_transitions.md Merge PR #5463: docs: add link to iavl documentation 2020-01-02 10:25:09 -05:00
03_messages.md Merge PR #5463: docs: add link to iavl documentation 2020-01-02 10:25:09 -05:00
04_begin_block.md Merge PR #5380: ADR 17 Implementation: Historical Module 2019-12-18 08:20:02 -05:00
05_end_block.md Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
06_hooks.md Update docs website (#5827) 2020-03-24 16:20:30 +00:00
07_events.md Update docs website (#5827) 2020-03-24 16:20:30 +00:00
08_params.md Merge PR #5380: ADR 17 Implementation: Historical Module 2019-12-18 08:20:02 -05:00
README.md Merge PR #5626: Update README.md 2020-02-07 11:15:55 -05:00

README.md

staking

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 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

  1. State
  2. State Transitions
  3. Messages
  4. Begin-Block
  5. End-Block
  6. Hooks
  7. Events
  8. Parameters