Commit Graph

68 Commits

Author SHA1 Message Date
Christopher Goes 3fbee11ccc
Merge PR #1142: Export validators to genesis
* Validator export skeleton
* Update export command, add tests, update CHANGELOG
* Rename exportAppState to exportAppStateAndTMValidators
2018-06-06 18:38:13 +02:00
rigelrozanski 952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
rigelrozanski 318e924145 refactor 2018-04-27 20:36:11 -04:00
Christopher Goes 67961476b4 Fix testsuite 2018-04-27 20:06:50 -04:00
Christopher Goes 10d2e5ae40 Move generateApp & exportApp to baseapp/helpers 2018-04-27 20:04:29 -04:00
Christopher Goes 88b364d5a0 Minor bugfix 2018-04-27 20:03:43 -04:00
Christopher Goes f92e83d2e0 Swap to general `export` command 2018-04-27 20:02:26 -04:00
rigelrozanski 260ab69e4f cleanup, move simplestaking to democoin 2018-04-26 22:59:30 -04:00
rigelrozanski 201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
rigelrozanski d4c2d6fd4c fix cli tests 2018-04-26 14:26:39 -04:00
rigelrozanski 55c1e1dcfc init refactor 2018-04-26 14:26:39 -04:00
Christopher Goes 56ac948dc6
REST folder restructure & cleanup 2018-04-25 16:18:06 +02:00
Christopher Goes 49b8978454 Swap all examples & testcases to use automatic DB namespacing 2018-04-14 17:05:50 -07:00
Ethan Buchman 1f93e965fb add log_level flag 2018-04-05 14:16:20 +03:00
Ethan Buchman 4dfc5c0852 fix democoind init. use rootCmd 2018-04-05 13:42:04 +03:00
Ethan Buchman 609ea0d0f0 more daemon refactoring 2018-04-05 13:24:53 +03:00
Ethan Buchman f79d06c9f3 refactor basecoind, change GenAppOptions 2018-04-05 13:09:02 +03:00
Christopher Goes 74a2246b3e
Pass logger and config through CLI context (closes #725) 2018-04-05 11:20:05 +02:00
Ethan Buchman e226cb7a35
Merge branch 'develop' into cwgoes/misc-minor-fixes 2018-03-31 18:54:06 +03:00
Christopher Goes 10a22f20ba
Remove 'cool' and 'sketchy' modules from basecoind 2018-03-30 16:32:11 +02:00
Ethan Buchman d25593afc4
Merge pull request #726 from cosmos/adrian/mountmultipledbs
Mount every single store with its own DB
2018-03-30 06:41:10 -04:00
Adrian Brink 0789a5eed0
NewBasecoinApp takes a map of databases
NewBasecoinApp takes a map[string]dbm.DB . This stabilises the API,
since it allows us to add more stores without a breaking change. The
convention is that the keys of the dbs correspond to the names of the
capKeys.
2018-03-30 12:18:12 +02:00
Christopher Goes 27d24610ab basecoind init --testnet (closes #718) 2018-03-29 12:04:52 +02:00
Sunny Aggarwal 9d9001ab62 renamed staking to simplestake 2018-03-29 06:33:45 +02:00
Adrian Brink 243564c233
Tests can never be proven to be non-deterministic
Our tests are at best probabilistic deterministic.
2018-03-28 15:08:59 +02:00
Christopher Goes 4371667673 Add show_validator command (ref #704) 2018-03-28 11:41:55 +02:00
Christopher Goes 4a8e762adf Move basecoin.db to ~/.basecoind/data in app and mock (ref #683) 2018-03-27 12:14:35 +02:00
Christopher Goes 3126afd12b
Add show_node_id command (closes #704) 2018-03-26 20:13:46 +02:00
Ethan Buchman e4b8010077 ParseAccount -> AccountDecoder 2018-03-21 02:22:15 +01:00
Adrian Brink 75674a9ec3
Implement Simple Staking as a module
The simple staking module allows validators to bond and add more stake
to their bond. It doesn't allow partial unbond and has no delegation.
The staking power per validator though is correctly reflected within the
consensus.
2018-03-20 12:14:35 +01:00
Adrian Brink 54b162f5c3
Merge branch 'develop' into joon/ibc-mvp1 2018-03-18 17:11:34 +01:00
Adrian Brink f1cb7299ae
Start testing the relayer 2018-03-18 16:24:48 +01:00
Ethan Buchman d807d32f8a client/lcd: wip use in-proc tm and lcd for tests 2018-03-17 23:12:43 +01:00
Ethan Buchman 7f3a6e0c04 Options -> AppState 2018-03-17 23:10:44 +01:00
Ethan Buchman ad705fdea1 bump version
added rest server and status endpoint

added get block endpoint

added latest block endpoint

add 404 if height is out of bounds

add version endpoint

add validators endpoint

export GetBlockHeight

add keys endpoints

add txs endpoints

added verb limiters to ednpoints

only output node info + json structure improvement

fixed wrong body parsing

github PR template

crypto.Address -> sdk.Address

revert to old go-wire

update glide

remove print statement and update glide

fix #554

add .DS_Store to .gitignore

Massive consolidation: queue, data storage struct, store, logic, ...

Small fixes
2018-03-17 22:14:19 +01:00
mossid 8c290c3a6b make relay.go compiled 2018-03-15 18:01:33 +01:00
Adrian Brink 1447bcf139
Integrate IBC more and more into basecli 2018-03-15 17:26:43 +01:00
rigelrozanski 29cd41e5e4 basecoin app_test is cool now 2018-03-13 02:58:09 +01:00
rigelrozanski e7777cc7ca cool module renames 2018-03-13 02:57:14 +01:00
rigelrozanski b9691f1086 cool module test fixes 2018-03-13 02:57:14 +01:00
rigelrozanski fb199e293e fixes, add to changelog 2018-03-04 17:21:37 +00:00
rigelrozanski 3be46395cf restructure to remove deps on example 2018-03-01 02:36:57 +00:00
Ethan Frey bae7cec3fa Move all subcommands out of main into proper folders 2018-03-01 02:36:57 +00:00
Ethan Frey 7779eec990 Make store name for query account configurable 2018-03-01 02:36:57 +00:00
Ethan Frey 356baf61c1 Move sendtx and query account commands into x/bank 2018-03-01 02:36:57 +00:00
Ethan Frey 00304dd094 Prompt for password on sendtx 2018-03-01 02:36:57 +00:00
Ethan Frey 67e896dcaf Clean up sendtx example 2018-03-01 02:36:57 +00:00
Ethan Frey f481900b23 Hacked together sendtx - basecoin parse logic fails 2018-03-01 02:36:57 +00:00
Ethan Frey 8c93a6455b Implement query account without proofs 2018-03-01 02:36:57 +00:00
Ethan Frey 58f2cbfa38 Removed keys stub 2018-03-01 02:36:57 +00:00