Commit Graph

62 Commits

Author SHA1 Message Date
Ethan Buchman
5b32a3bad2 MarshalJSONIndent 2018-04-09 20:32:19 +03:00
Jae Kwon
49fdf80d9d WIP commit 2018-04-06 17:25:08 -07:00
Ethan Buchman
1f93e965fb add log_level flag 2018-04-05 14:16:20 +03:00
Ethan Buchman
9fbbdbbe0f server: consolidate files 2018-04-05 13:31:33 +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
8c0cb25bab
Update for new context 2018-04-05 11:21:42 +02:00
Christopher Goes
74a2246b3e
Pass logger and config through CLI context (closes #725) 2018-04-05 11:20:05 +02:00
Christopher Goes
457092d662
TestStartStandAlone without cobra 2018-04-03 22:16:03 +02:00
Christopher Goes
3404ecca79
Avoid race condition with viper.Set (ref #668) 2018-04-03 22:16:03 +02:00
Christopher Goes
fb3572c445
Enable TestStartWithTendermint (closes #668) 2018-04-03 22:16:03 +02:00
Christopher Goes
ed54dc43f2
Add ChainID to testnet JSON (closes #773) 2018-04-03 22:16:03 +02:00
Ethan Buchman
8170d878b8 remove --testnet flag. just output all info on init 2018-04-01 02:57:47 +03:00
Christopher Goes
27d24610ab basecoind init --testnet (closes #718) 2018-03-29 12:04:52 +02:00
Christopher Goes
fef3e157c0 Capture & return data.ToJSON error 2018-03-28 11:41:55 +02:00
Christopher Goes
4371667673 Add show_validator command (ref #704) 2018-03-28 11:41:55 +02:00
Christopher Goes
3126afd12b
Add show_node_id command (closes #704) 2018-03-26 20:13:46 +02: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
mossid
df3a7095f0 modify server/start_test.go and Makefile to pass ci 2018-03-19 13:29:32 +01:00
Ethan Buchman
64852138b6 fix the tests. includes some hacks 2018-03-18 02:02:26 +01:00
Ethan Buchman
7f3a6e0c04 Options -> AppState 2018-03-17 23:10:44 +01:00
Ethan Buchman
683663f680 fixes post rebase 2018-03-17 23:09:04 +01:00
rigelrozanski
1778a27082 more of the go-bash stuff for REST 2018-03-17 22:14:19 +01:00
rigelrozanski
f8a34094bf test_helper.go 2018-03-17 22:14:19 +01:00
rigelrozanski
11fdd831ee refactoring server new non-deterministic error :( 2018-03-17 22:14:19 +01:00
Ethan Buchman
62d6a5de46 crypto.Address -> sdk.Address 2018-03-02 02:49:07 -05:00
rigelrozanski
65f27f2daa basecli refactor 2018-03-01 02:36:57 +00:00
Ethan Frey
7848ee23db Addressed pr comments 2018-03-01 02:36:08 +00:00
Ethan Frey
34772f8b6e Unit test initialization bug 2018-03-01 02:36:08 +00:00
Ethan Frey
d694dbe7c1 Add first server command tests 2018-03-01 02:36:08 +00:00
Ethan Frey
1f31fbeea8 Start writing test scaffold to test server 2018-03-01 02:34:05 +00:00
Ethan Frey
603c358574 Fix up server app_options initialization 2018-03-01 02:31:17 +00:00
Ethan Frey
94ddda6a1f Copy init code from tendermint so it runs properly 2018-03-01 02:31:17 +00:00
Ethan Frey
4e91a0db89 Add cli to basecoind, fix compatability issues 2018-03-01 02:31:17 +00:00
Ethan Frey
c0f9a6f1cb Update dependencies to import tendermint 2018-03-01 02:30:14 +00:00
Ethan Frey
09e07bb44a Extracted initialization logic into server, default option generation in gaia 2018-03-01 02:30:14 +00:00
Ethan Frey
438d18e059 Pulled most of gaiad into server, with rough implementation 2018-03-01 02:30:13 +00:00
Ethan Buchman
e45ad068fb move things to _attic 2018-01-06 15:35:22 -05:00
Ethan Frey
850796bad5 eyes example compiles - but doesnt work 2017-10-25 19:56:48 +02:00
Ethan Frey
7631680159 Cleanup names in genesis package 2017-10-20 13:42:03 +02:00
Ethan Frey
6305399baf Pulled genesis file parsing into own package, for clarity 2017-10-20 13:42:03 +02:00
Ethan Frey
f65215ad92 Big cleanup of app dir
StoreApp just the queries, BaseApp with handler/ticker
Ticker now defined top level, as an interface, with context
Name for info taken as parameter, start cmd uses commandline name
Cleaner compisition of apps.
2017-10-20 13:42:03 +02:00
Ethan Frey
3a16fa9482 Clean up genesis handling 2017-10-20 13:42:03 +02:00
Ethan Frey
c1d36eeb21 Fixed all tests 2017-10-20 13:42:03 +02:00
rigelrozanski
f71c83305d GetInitCmd takes app options 2017-10-11 23:29:32 -04:00
rigelrozanski
1613da91ca genesis account coin denom flag 2017-10-11 14:06:57 -04:00
rigelrozanski
40c79a65b3 strings -> mycoin (cointype change) 2017-10-11 13:24:49 -04:00
rigelrozanski
d3b4d42458 integrated init --static, fix tests 2017-10-10 03:13:02 -04:00
rigelrozanski
5a7566a81a init creates random priv_validator 2017-10-10 01:50:10 -04:00
rigelrozanski
1cbb4094b1 simplify tick start command 2017-10-09 05:18:40 -04:00