Commit Graph

276 Commits

Author SHA1 Message Date
Christopher Goes
be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
Zaki Manian
ce850dca3b Switch from bech32cosmos to bech32 2018-06-01 16:23:58 +02:00
Rigel
0fb2bbdfef
Merge pull request #1011 from cosmos/cwgoes/slashing
Implement slashing (v1)
2018-05-31 11:09:44 -07:00
Christopher Goes
5f03e370c3
Remove ValidatorByPubKey, don't marshal sdk.Address 2018-05-31 00:19:23 +02:00
Rigel
1c462013a9
Merge branch 'develop' into matt/stake-rest 2018-05-30 10:53:12 -04:00
Christopher Goes
91f14e1b48
Merge branch 'develop' into cwgoes/slashing 2018-05-29 21:39:45 +02:00
Ethan Buchman
f946b630a4 fixes from review 2018-05-28 22:20:30 -04:00
Christopher Goes
aed5d94b1c
Remove absent validators from sdk.NewContext 2018-05-29 02:26:17 +02:00
Christopher Goes
e4b0d0a618
Reorganization in progress 2018-05-28 21:55:54 +02:00
Christopher Goes
366d8f9323
Slash() and ForceUnbond() are functions of ValidatorSet, not Validator 2018-05-28 21:55:52 +02:00
Christopher Goes
b005f9f18d
Validator by pubkey, tests work-in-progress 2018-05-28 21:55:52 +02:00
Christopher Goes
95c5baf449
Rebase & squash slashing 2018-05-28 21:55:27 +02:00
Zaki Manian
4fd998c669
Merge branch 'develop' into bech32cosmos 2018-05-27 19:14:15 +02:00
Zaki Manian
a163a3558f Use public keys consistently for validators and all addresses are for accounts 2018-05-27 14:21:15 +02:00
Zaki Manian
f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
Matt Bell
5c1a7694e5 Merge branch 'develop' into matt/stake-rest 2018-05-27 16:02:33 +09:00
sunnya97
caf8c77dce works 2018-05-26 18:00:39 -07:00
Matt Bell
efd1a3ac44 Typo fix 2018-05-25 09:32:12 +09:00
sunnya97
5d7c3af1b8 works 2018-05-23 22:09:01 -07:00
sunnya97
cb52712660 in progress 2018-05-23 19:49:35 -07:00
rigelrozanski
e70249b631 more bucky comments, single status validator, only one store now for core validator object 2018-05-20 17:39:04 -04:00
rigelrozanski
26be2a231b working addressed bucky comments 2018-05-18 18:57:47 -04:00
rigelrozanski
037d810417 some cwgoes comments, getAllDelegations, getAllValidators 2018-05-17 14:09:35 -04:00
rigelrozanski
e145676fcc revert absent validator changes 2018-05-17 10:47:25 -04:00
rigelrozanski
1ab432a7e1 many bug fixes, introduce PoolShare type 2018-05-17 09:19:33 -04:00
rigelrozanski
0c98cc6895 working fixing validator tests 2018-05-17 09:19:05 -04:00
rigelrozanski
c69c145964 fix stake app tests 2018-05-17 09:19:05 -04:00
rigelrozanski
eb87a5dbbf introduce UpdateSharesLocation to deal with different share types 2018-05-17 09:19:05 -04:00
rigelrozanski
675dc5df15 staking refactor compiling 2018-05-17 09:19:05 -04:00
rigelrozanski
6d0c788185 working refactoring 2018-05-17 09:17:40 -04:00
rigelrozanski
fa64487e65 working fee distribution reorg 2018-05-17 09:17:40 -04:00
mossid
22e9fc276d GetDelegated -> GetBondAmount 2018-05-17 09:17:40 -04:00
mossid
2e9e2835ff add delegation 2018-05-17 09:17:40 -04:00
mossid
79fdbe2f3a add ValidatorSet, remove methods 2018-05-17 09:17:40 -04:00
rigelrozanski
ed5d088824 renaming and refactoring for fees 2018-05-17 09:17:14 -04:00
rigelrozanski
750cbc53ec stake cleanup, functionality for total prevote power 2018-05-17 09:17:14 -04:00
rigelrozanski
aeabdcae5d add absent validators to context 2018-05-17 09:15:57 -04:00
rigelrozanski
d871605241 staking fee distribution working commit 2018-05-17 09:15:06 -04:00
mossid
02a267c292 remove cdc from validator_set.go 2018-05-17 09:15:06 -04:00
mossid
755f79d52d GetValidators -> Validators, sdk.Validator=abci.Validator 2018-05-17 09:15:06 -04:00
mossid
60869ff427 implement TotalPower 2018-05-17 09:15:06 -04:00
mossid
9d7e893226 rebase on develop 2018-05-17 09:15:06 -04:00
Ethan Buchman
4bdcad572b remove gasLimit from NewContext 2018-05-15 22:19:09 -04:00
Christopher Goes
3d5b048444
Remove txGasLimit, update tests 2018-05-16 02:31:52 +02:00
Christopher Goes
d55ba2ca7d
Add p2p filter functions & tests 2018-05-16 01:15:07 +02:00
Christopher Goes
147cf9f897
Move GasKVStore to /store 2018-05-16 01:14:30 +02:00
Christopher Goes
1c4ed7b833
Gas-wrap ctx.KVStore 2018-05-16 01:13:48 +02:00
Christopher Goes
1f8ef62d28
Swap to panic/recover version 2018-05-16 01:13:48 +02:00
Christopher Goes
af379b6cf6
Linter fixes 2018-05-16 01:13:48 +02:00
Christopher Goes
ddb3b36b7b
Pass gas consumed back in result struct 2018-05-16 01:13:47 +02:00