cosmos-sdk/docs/gaia
Christopher Goes ad121f1498 Add a flag to export for zero-height start (#2827)
Closes #2812

This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.

It also:

* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -08:00
..
validators Documentation Structure Change and Cleanup (#2808) 2018-11-14 11:44:17 -08:00
gaiacli.md Merge PR #2802: Correct the usage of misspelling of English word 'depositor'. 2018-11-22 00:53:33 +01:00
installation.md Documentation Structure Change and Cleanup (#2808) 2018-11-14 11:44:17 -08:00
join-testnet.md Add a flag to export for zero-height start (#2827) 2018-11-26 04:21:23 -08:00
keys.md Documentation Structure Change and Cleanup (#2808) 2018-11-14 11:44:17 -08:00
ledger.md Documentation Structure Change and Cleanup (#2808) 2018-11-14 11:44:17 -08:00
networks.md Documentation Structure Change and Cleanup (#2808) 2018-11-14 11:44:17 -08:00
README.md Documentation Structure Change and Cleanup (#2808) 2018-11-14 11:44:17 -08:00

Gaia Documentation

Welcome to the Gaia docs. Gaia is the current name of the Cosmos SDK application for the Cosmos Hub.

Join the Cosmos Hub public testnet

Setup your own gaia testnet

Additional resources