cosmos-sdk/docs/spec
Rigel 3231daa4d8 remove global shares (#1644)
* wip removing pool shares

* remove PoolShares/Tokens entirely

* worked through stake/type compile error

* work through a bunch of keeper errors

* worked through compile errors

* debugging tests

* resolve compilation error

* resolved types errors

* ...

* move inflation to pool type

* ...

* stumped problem

* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation

* Rounding changed

* Update x/slashing tests for sdk.Rat BondedTokens

* testing fixes

* resolved test fixes

* cwgoes comments, changelog, lint

* cli bugfixes

* ..

* cli fixed

* spec update

* 'make format'

* cwgoes comments

* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
..
auth docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
bank docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
governance Merge branch 'master' into gamarin/update_gov_spec 2018-07-11 15:59:24 +02:00
ibc spec/ibc -> spec/ibc/mvp 2018-05-07 09:47:17 -04:00
other Added a bech32 spec doc 2018-06-21 22:38:40 -07:00
provisioning docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
slashing docs: fix dead links, closes #1508 2018-07-04 09:23:01 -04:00
staking remove global shares (#1644) 2018-07-13 21:46:14 +01:00
store docs/spec: flesh out dir structure and update index 2018-06-16 00:39:15 -07:00
README.md docs/spec: update readme 2018-06-21 15:46:18 -07: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.
  • Provisioning - Fee distribution, and atom provision distribution
  • 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.