cosmos-sdk/x/staking
Rikard Hjort c41baa9bc8
PlantUML diagrams (#8712)
* Overview of keepers in object capability model (OCM)

* Updates to the spec, making clarifications

* Create a sequence diagram of a (fresh) delegation

* Misc notes, not yet decided where to put them

* Description of the shares abstraction in validators

* Model all keeper dependencies and move the UML file to docs

* Move and rename delegation sequence diagram

* Move shares description

* Remove TODO

* Diagram touch-ups

* Add how consensus power is calculated

* remove temp file

* Diagram improvements

* Describe slashing in more detail

* Describe redelegation

* Describe unbonding

* Delegation updates

* Delegation updates

* Make a diagram describing overall transaction flow

* Add delegation flows for the events of tokens being bonded/unbonding/etc.

* Grammar fix

* Diagram updates: distinguish alts, remove numbering.

* Use groups instead of "func:" participants

* Remove unused keepers from dependency diagram

* Add title to unbonding diagram

* Move keeper dependencies

* small doc updates

* remove numbers on sequence diagram

* !!!WIP EndBlock

* Explain "Last"-prefix in storage

* Remove `panic` step (they are supposed to never happen)

* EndBlock sequence diagram (with TODOs)

* Add TODO

* More visible TODOs

* Remove numbering

* Complete EndBlock

* Remove numbering

* Remove TODOs and update title

* add title back

* remove endblock seq-diagram

* Make power index update conditional on not being jailed

* update title

* Move files to /docs

* Install PlantUML and compile images to png and txt

* Use transaction flow in documentation

* Use staking UML in staking docs

* Clarify uml with inline doc

* Add keeper deps diagram to docs

* Only produce SVG images

Co-authored-by: hjort <>
Co-authored-by: Marko <marbar3778@yahoo.com>
2021-04-06 09:50:56 +00:00
..
client fix: grpc-gateway error codes (#9015) 2021-03-29 13:42:43 +00:00
exported Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
keeper Merge pull request from GHSA-2f3p-6gfj-jccq 2021-03-24 12:05:33 -04:00
legacy Remove bech32 PubKey support (#7477) 2021-03-25 14:53:22 +00:00
simulation CreateValidator self delegation must be at least one consensus power (#8909) 2021-03-22 12:41:27 +00:00
spec PlantUML diagrams (#8712) 2021-04-06 09:50:56 +00:00
teststaking Removed GetValidator caching to fix concurrency error (#8546) 2021-02-12 11:52:03 +00:00
types Prefer sending tx_bytes to Simulate gRPC endpoint (#8926) 2021-03-25 10:52:54 +00:00
abci.go Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
app_test.go simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
bench_test.go x/staking: add ValidateGenesis benchmark (#8746) 2021-03-02 01:01:05 -08:00
common_test.go set PowerReduction=10^18 for staking tests 2020-11-12 01:48:42 +10:00
genesis_test.go Merge pull request from GHSA-2f3p-6gfj-jccq 2021-03-24 12:05:33 -04:00
genesis.go [Bank] Remove the unsafe balance changing API (#8473) 2021-02-17 18:20:33 +00:00
handler_test.go Merge pull request from GHSA-2f3p-6gfj-jccq 2021-03-24 12:05:33 -04:00
handler.go Refactor x/staking according to ADR 031 (#7556) 2020-10-16 14:53:49 +00:00
module_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00
module.go x{stake,slash,gov,distrib} In-place Store Migrations (#8504) 2021-02-25 10:43:31 +00:00