cosmos-sdk/docs/spec
Alexander Bezobchuk 2d92803b9f Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing
* Add new account bech32 prefixes with godocs

* Restructure spacing of existing account code

* Update account godocs

* More account godoc updates + new tm pub/addr helpers

* Update validator type to use new account types/bech32 prefixes

* Fix account documentation errors

* Update Bech32 prefix for consensus nodes

* Update Bech32 spec doc

* Fix account type tests

* Add missing account consensus functions, clear up godocs, and fix tests

* Add to TestRandBech32PubkeyConsistency check

* Update initialization of validator public keys

* Update query signing info command

* Implement new ConsAddress type with associated unit tests

* [WIP] Update stake and slashing parameters

* Update all calls to MustBech32ifyValPub

* [WIP] Validator operator API updates

* [WIP] Fix and update unit tests

* Fix gov logs (helping to debug failing tests)

* Fix gov tally

* Fix all broken x/ unit tests

* Update gaia app genesis address logic

* Fix linting errors

* Fix broken LCD tests

* Fix broken CLI tests

* Implement command to get validator address and pubkey from key name

* Add support for getting validator key information via REST endpoint

* Update PENDING log

* Update docs

* Revert GaiaGenTx.PubKey bech32 prefix

* Fix broken docs and cli tests

* Update genesis to use correct Bech32 (cons) prefix for pubkeys

* Update docs and unit tests to reflect new cosmos account bech32 prefix

* minor formatting
2018-08-31 00:06:44 -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 #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00
governance Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
ibc spec/ibc -> spec/ibc/mvp 2018-05-07 09:47:17 -04:00
inflation Merge pull request #1819: rational -> decimal 2018-08-14 20:15:02 -04:00
other Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing 2018-08-31 00:06:44 -04:00
slashing Change ASCII diagram slightly 2018-08-23 22:45:38 +02:00
staking Rename revoke(d) to jail(ed) 2018-08-22 17:56:13 +02: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

README.md

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.