cosmos-sdk/x/slashing
Alexander Bezobchuk 9dafa3252d Merge PR #2365: Validator Commission Model
* Update validator commission fields

* Remove CommissionChangeToday and update to use CommissionChangeTime

* Implement commission as a first class citizen type

* Implement stringer for Comission

* Move commission type and logic to new  file

* Add new commission errors

* Add commission to create validator message

* Implement and call UpdateValidatorCommission

* Update godoc for UpdateValidatorCommission

* Add Abs to the decimal type

* Implement new SetValidatorCommission

* Update decimal short godocs

* Move set initial commission logic

* Move initial commission validation to Commission type

* Update initial validator commission logic and unit tests

* Remove commission update time from struct and move to validator

* Update validator create handler tests

* Implement commission logic for CLI

* Fix make lint failure

* Fix make cover failure

* Update edit validator logic to handle new commission rate

* Fix lint and cover

* Update create/edit validator simulation to include commission params

* Update MsgEditValidator godoc

* Update pending log

* Update staking tx docs

* Fix CLI create validator test

* Update variables names for commission  strings

* Merge UpdateTime into Commission type

* Update create-validator usage in docs

* Update more docs with examples

* More doc updates
2018-09-24 18:23:58 -04:00
..
client Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
simulation Merge PR #2282: simulation: Switch the log method from a single string to string builders 2018-09-09 23:34:09 +08:00
app_test.go Merge PR #2365: Validator Commission Model 2018-09-24 18:23:58 -04:00
codec.go Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
errors.go Merg PR #2198: Ensure Legacy Validator Delegation Invariants 2018-08-31 15:21:12 -04:00
genesis.go Upgrade to tm version 23.0. (#1927) 2018-08-12 03:33:48 -04:00
handler_test.go Fix more linter errors 2018-09-03 09:52:20 -07:00
handler.go Merge PR #2122: Implement slashing period 2018-08-31 20:01:23 -04:00
hooks_test.go Merge PR #2122: Implement slashing period 2018-08-31 20:01:23 -04:00
hooks.go Merge PR #2122: Implement slashing period 2018-08-31 20:01:23 -04:00
keeper_test.go Fix more linter errors 2018-09-03 09:52:20 -07:00
keeper.go Merge PR #2324: rename wire to codec 2018-09-13 14:17:32 -04:00
keys.go Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
msg_test.go Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
msg.go Merge PR #2343: Add a name field to the message type 2018-09-17 22:34:06 +08:00
params.go Merge branch 'develop' into bucky/merge-master 2018-08-19 16:24:45 -04:00
signing_info_test.go Merge PR #2122: Implement slashing period 2018-08-31 20:01:23 -04:00
signing_info.go Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
slashing_period_test.go Merge PR #2122: Implement slashing period 2018-08-31 20:01:23 -04:00
slashing_period.go Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
test_common.go Merge PR #2365: Validator Commission Model 2018-09-24 18:23:58 -04:00
tick_test.go Fix more linter errors 2018-09-03 09:52:20 -07:00
tick.go 0.24.1 - Fix validator pubkey bug 2018-08-21 15:40:43 +02:00