Commit Graph

47 Commits

Author SHA1 Message Date
Christopher Goes 971e1489b2
Bech32ify msg.GetSignBytes() for x/slashing & x/stake 2018-06-08 01:24:08 +02:00
Rigel e0e50fce50
Merge pull request #1134 from cosmos/jlandrews/clidocfix
Fix docs for cli refactor
2018-06-04 23:30:28 -07:00
Jeremiah Andrews 5a831bd0f8 additional changes 2018-06-04 18:35:07 -07:00
Christopher Goes be7ec5bc07
Merge PR #1115: Update SDK to ABCI v11 2018-06-05 01:42:01 +02:00
Christopher Goes 024eaf6ac0
Swap x/slashing to sdk.ValidatorSet 2018-06-02 00:27:37 +02:00
rigelrozanski 0ef3259a39 revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing 2018-06-01 14:24:48 -07:00
Christopher Goes 7ff6eebb32
Fix command documentation 2018-06-01 06:21:26 +02:00
Christopher Goes c7a9b53fae
Use valpk.Address() 2018-06-01 06:21:26 +02:00
Christopher Goes cde91bd229
gaiacli unrevoke 2018-06-01 06:21:22 +02:00
rigelrozanski 952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
Christopher Goes 27ae1a1490
Match UnmarshalBinaryBare/MarshalBinaryBare 2018-05-31 22:19:46 +02:00
Christopher Goes f32093e9e3
Use evidence type constants from Tendermint 2018-05-31 05:43:54 +02:00
Christopher Goes 141bc5fb1c
amino.MarshalJSON instead of json.Marshal 2018-05-31 01:52:07 +02:00
Christopher Goes 3d37d51795
Switch to evidence type enum 2018-05-31 01:47:24 +02:00
Christopher Goes 5c4c486e7b
Add newlines to clarify testcase separation 2018-05-31 01:39:57 +02:00
Christopher Goes 604fd4c9a7
Address a few style comments 2018-05-31 01:37:38 +02:00
Christopher Goes 004e10ebcd
More comments on counter logic 2018-05-31 00:32:08 +02:00
Christopher Goes 99bed49c8d
Minor wording changes 2018-05-31 00:25:18 +02:00
Christopher Goes 5f03e370c3
Remove ValidatorByPubKey, don't marshal sdk.Address 2018-05-31 00:19:23 +02:00
Christopher Goes 3b4aa4d0ae
Minor test fix after merge 2018-05-29 21:46:38 +02:00
Christopher Goes 6712ea7f3a
Present, not absent 2018-05-29 08:32:39 +02:00
Christopher Goes 69af8b1a94
Clarify signing info stored by validator address 2018-05-29 02:58:43 +02:00
Christopher Goes 88e0025724
DowntimeUnbondDuration to 10 minutes 2018-05-29 02:56:40 +02:00
Christopher Goes 345b5b88a8
Add comment on MsgUnrevoke 2018-05-29 02:50:04 +02:00
Christopher Goes 65945c069c
Clarify counter logic 2018-05-29 02:48:29 +02:00
Christopher Goes 7fbecc6b72
Clarify default signing info 2018-05-29 02:36:31 +02:00
Christopher Goes b8b4fe24e3
Absent validators map[crypto.PubKey]struct{} 2018-05-29 02:33:01 +02:00
Christopher Goes aed5d94b1c
Remove absent validators from sdk.NewContext 2018-05-29 02:26:17 +02:00
Christopher Goes f4f8cc66d9
Add some explanatory comments 2018-05-29 00:10:52 +02:00
Christopher Goes 26f22dbe4d
Test start height update 2018-05-28 23:55:39 +02:00
Christopher Goes c0487996ab
Update slashing docs, slight index change 2018-05-28 23:46:08 +02:00
Christopher Goes 02ab73e266
Signing info slashing testcases 2018-05-28 23:39:57 +02:00
Christopher Goes 93f1cb45cc
Split slashing params & signing info into separate files 2018-05-28 23:24:58 +02:00
Christopher Goes bfa9d5f914
Linter fixes 2018-05-28 22:12:45 +02:00
Christopher Goes d03577a2fc
Fixes after rebase, jail in x/slashing 2018-05-28 22:08:13 +02:00
Christopher Goes e4b0d0a618
Reorganization in progress 2018-05-28 21:55:54 +02:00
Christopher Goes 6f3d81d5d6
Swap to individual offset 2018-05-28 21:55:53 +02:00
Christopher Goes 8aaff4b96e
Cleanup testcase a bit 2018-05-28 21:55:53 +02:00
Christopher Goes 97b084b842
Fix ForceUnbond() testcase 2018-05-28 21:55:53 +02:00
Christopher Goes e614799d0f
ForceUnbond() implementation WIP 2018-05-28 21:55:53 +02:00
Christopher Goes 796948b838
Downtime slashing testcases 2018-05-28 21:55:53 +02:00
Christopher Goes be4b140003
Add testcase past max evidence age 2018-05-28 21:55:53 +02:00
Christopher Goes 7da5833b81
Implement ValidatorSet.Slash 2018-05-28 21:55:52 +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 67f7f31ba9
Fix testcases by mounting store 2018-05-28 21:55:52 +02:00
Christopher Goes 95c5baf449
Rebase & squash slashing 2018-05-28 21:55:27 +02:00