cosmos-sdk/docs/spec
Alexander Bezobchuk 9dafa3252d Merge PR #2365: Validator Commission Model
* Update validator commission fields

* Remove CommissionChangeToday and update to use CommissionChangeTime

* Implement commission as a first class citizen type

* Implement stringer for Comission

* Move commission type and logic to new  file

* Add new commission errors

* Add commission to create validator message

* Implement and call UpdateValidatorCommission

* Update godoc for UpdateValidatorCommission

* Add Abs to the decimal type

* Implement new SetValidatorCommission

* Update decimal short godocs

* Move set initial commission logic

* Move initial commission validation to Commission type

* Update initial validator commission logic and unit tests

* Remove commission update time from struct and move to validator

* Update validator create handler tests

* Implement commission logic for CLI

* Fix make lint failure

* Fix make cover failure

* Update edit validator logic to handle new commission rate

* Fix lint and cover

* Update create/edit validator simulation to include commission params

* Update MsgEditValidator godoc

* Update pending log

* Update staking tx docs

* Fix CLI create validator test

* Update variables names for commission  strings

* Merge UpdateTime into Commission type

* Update create-validator usage in docs

* Update more docs with examples

* More doc updates
2018-09-24 18:23:58 -04:00
..
auth jae comments 2018-08-16 12:07:09 -07:00
bank docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
distribution Merge PR #2237: move WIP-lamborghini-distribution 2018-09-05 13:59:37 -04:00
governance Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
ibc Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
inflation Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
other Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
slashing Change ASCII diagram slightly 2018-08-23 22:45:38 +02:00
staking Merge PR #2365: Validator Commission Model 2018-09-24 18:23:58 -04:00
store docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
README.md Merge PR #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00

Cosmos Hub Spec

This directory contains specifications for the state transition machine of the Cosmos Hub.

The Cosmos Hub holds all of its state in a Merkle store. Updates to the store may be made during transactions and at the beginning and end of every block.

While the first implementation of the Cosmos Hub is built using the Cosmos-SDK, these specifications aim to be independent of any implementation details. That said, they provide a detailed resource for understanding the Cosmos-SDK.

  • Store - The core Merkle store that holds the state.
  • Auth - The structure and authentication of accounts and transactions.
  • Bank - Sending tokens.
  • Governance - Proposals and voting.
  • Staking - Proof-of-stake bonding, delegation, etc.
  • Slashing - Validator punishment mechanisms.
  • Distribution - Fee distribution, and atom provision distribution
  • Inflation - Atom provision creation
  • IBC - Inter-Blockchain Communication (IBC) protocol.
  • Other - Other components of the Cosmos Hub, including the reserve pool, All in Bits vesting, etc.

For details on the underlying blockchain and p2p protocols, see the Tendermint specification.