cosmos-sdk/server
Alessio Treglia 593921d04d Merge PR #2524: Replace GenTx with StdTx
Rework the process of loading a genesis.json file to load a starting app state and set of initial transactions to process.

* New function to create genesis account from MsgCreateValidator
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* New func processStdTxs()
* Remove gen-tx command
* Cleanup, return validators as they need to be written into genesis.json
* Modify gaiad init to allow auto-create of stdTx
* Remove server/testnet.go
* Don't load node_key.json, which might not be available
* Get the txs through DeliverTx
* Add app.slashingKeeper.AddValidators at the end of genesis
* On InitChain(), Signature's account number must be 0
* Add (tentative?) command to generate {node_key,priv_validator}.json files
* Reintroduce gaiad testnet
* Prompt user for passwords
* Update gaia to work with auth.StdTx
* Remove test_utils, NewTestGaiaAppGenState is now deprecated
* Combine --genesis-format and --generate-only
* Improve sign command's --offline flag documentation
* Moniker must be set
* Call app.slashingKeeper.AddValidators() even if len(txs) == 0
* Refactoring, introduce gaiad init --skip-genesis, code cleanup
* Drop unnecessary workaround to make lcd_tests pass
* Reintroduce gentx
* Simple name changes, GenesisState.Txs -> .GenTxs; OWK -> OverwriteKey; OverwriteKeys -> OverwriteKey
2018-10-19 20:00:27 +02:00
..
config Merge PR #2524: Replace GenTx with StdTx 2018-10-19 20:00:27 +02:00
mock Merge PR #2524: Replace GenTx with StdTx 2018-10-19 20:00:27 +02:00
constructors.go Alessio/server refactor (#2472) 2018-10-10 15:45:41 -07:00
export.go Alessio/server refactor (#2472) 2018-10-10 15:45:41 -07:00
init.go Merge PR #2524: Replace GenTx with StdTx 2018-10-19 20:00:27 +02:00
start.go Alessio/server refactor (#2472) 2018-10-10 15:45:41 -07:00
test_helpers.go Merge PR #2524: Replace GenTx with StdTx 2018-10-19 20:00:27 +02:00
tm_cmds.go Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
util.go Alessio/server refactor (#2472) 2018-10-10 15:45:41 -07:00
util_test.go Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00