Commit Graph

195 Commits

Author SHA1 Message Date
Alexander Bezobchuk 854aca2f7d Merge PR #2238: Ensure Tendermint Validator Update Invariants 2018-09-12 15:16:28 +08:00
Alexander Bezobchuk 0edfa17b53 Merge PR #2251: Refactor Bech32 Prefixes and Nomenclature of Validator Pubkey and Operator 2018-09-08 16:44:58 +08:00
Christopher Goes 72e9664ce1 Revert "Merge PR #2217: Governance BFT Time"
This reverts commit 94b86f85c1, reversing
changes made to 2a4edcca48.
2018-09-07 17:00:57 +02:00
Christopher Goes 72b3a45778
Merge branch 'develop' into sunny/gov-bft-time 2018-09-07 07:47:14 +02:00
Rigel e9e83f0b6d
Merge PR #2237: move WIP-lamborghini-distribution 2018-09-05 13:59:37 -04:00
Christopher Goes 1039388207
Merge PR #1944: Piggy-bank distribution spec 2018-09-04 14:19:09 +02:00
rigelrozanski 5c600f2e2b jae comments 2018-09-03 15:49:36 -04:00
Sunny Aggarwal 92eef7a4fa docs 2018-09-03 00:16:38 -07:00
Alexander Bezobchuk 2d92803b9f Merge PR #2040: Refactor Validator Account Types/Bech32 Prefixing
* Add new account bech32 prefixes with godocs

* Restructure spacing of existing account code

* Update account godocs

* More account godoc updates + new tm pub/addr helpers

* Update validator type to use new account types/bech32 prefixes

* Fix account documentation errors

* Update Bech32 prefix for consensus nodes

* Update Bech32 spec doc

* Fix account type tests

* Add missing account consensus functions, clear up godocs, and fix tests

* Add to TestRandBech32PubkeyConsistency check

* Update initialization of validator public keys

* Update query signing info command

* Implement new ConsAddress type with associated unit tests

* [WIP] Update stake and slashing parameters

* Update all calls to MustBech32ifyValPub

* [WIP] Validator operator API updates

* [WIP] Fix and update unit tests

* Fix gov logs (helping to debug failing tests)

* Fix gov tally

* Fix all broken x/ unit tests

* Update gaia app genesis address logic

* Fix linting errors

* Fix broken LCD tests

* Fix broken CLI tests

* Implement command to get validator address and pubkey from key name

* Add support for getting validator key information via REST endpoint

* Update PENDING log

* Update docs

* Revert GaiaGenTx.PubKey bech32 prefix

* Fix broken docs and cli tests

* Update genesis to use correct Bech32 (cons) prefix for pubkeys

* Update docs and unit tests to reflect new cosmos account bech32 prefix

* minor formatting
2018-08-31 00:06:44 -04:00
rigelrozanski 222597165e trigger -> hooks 2018-08-28 18:23:57 -04:00
Jae Kwon bec53fb1df fixed bech32 for validator pubkeys 2018-08-26 16:44:51 -07:00
Jae Kwon 305589faf4
Update bech32 human readable spec to simply "cosmos" (#2103)
Update bech32 human readable to simply "cosmos"
2018-08-26 16:41:08 -07:00
Christopher Goes 15b4b338df Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-24 14:25:29 +02:00
Christopher Goes 63a85aaacf Change ASCII diagram slightly 2018-08-23 22:45:38 +02:00
Christopher Goes 4475a8c7e8 Fixup links 2018-08-23 13:46:44 +02:00
Christopher Goes 4cc2054d7b Address @rigelrozanski comments 2018-08-23 13:43:01 +02:00
Rigel d0edcc5066
Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-23 04:05:16 -04:00
rigelrozanski cce4cbc9ec expand on shortcomings of the system 2018-08-23 04:02:26 -04:00
rigelrozanski b32285ec3b commission actively calculated, withdrawDelegationReward Tx 2018-08-23 03:19:21 -04:00
Christopher Goes bb9c265590
Merge branch 'develop' into cwgoes/slashing-period-spec 2018-08-22 18:31:04 +02:00
Christopher Goes 41df6db9ae Merge branch 'develop' into cwgoes/slashing-period-spec 2018-08-22 18:29:38 +02:00
Christopher Goes 879f78cfc0 Rename revoke(d) to jail(ed) 2018-08-22 17:56:13 +02:00
Christopher Goes 1adb53e5a5
Merge PR #1875: Vesting Spec 2018-08-22 15:07:49 +02:00
Christopher Goes f18895532d Clarify which offenses utilize the slashing period 2018-08-20 18:37:16 +02:00
Christopher Goes c9e5745cd7 Clarify example 2018-08-20 18:34:03 +02:00
Christopher Goes d0c87ff5bc Go => pseudocode 2018-08-20 18:31:55 +02:00
Christopher Goes da92b1bb1d h_n => h_n-1 2018-08-20 18:28:40 +02:00
Christopher Goes 6e3e57e23e Typos; tiny wording changes 2018-08-20 17:50:13 +02:00
Christopher Goes b8d6465613 Conceptual overview & ASCII diagrams of slashing period 2018-08-20 16:58:24 +02:00
Christopher Goes e3cb1e1274 Add safety note 2018-08-20 15:13:17 +02:00
Christopher Goes 94dc512034 Fix typos 2018-08-20 15:07:23 +02:00
Christopher Goes 79e3c05367 Revert "Changes WIP" - we decided not to do this
This reverts commit 21be609f52.
2018-08-20 15:01:18 +02:00
Alessio Treglia 187bc1972a Merge PR #1950: Validator.Owner -> .Operator
* Rename --address-validator flag to --validator

See #1901

* Update PENDING.md

* Rename Validator.Owner -> Validator.Operator

See #1901
2018-08-16 16:47:59 -04:00
rigelrozanski 90e1c9fdb1 Merge branch 'rigel/piggy-bank-fee-spec' of https://github.com/cosmos/cosmos-sdk into rigel/piggy-bank-fee-spec 2018-08-16 16:41:57 -04:00
rigelrozanski 3c564c01b9 clearer names, missing commission logic 2018-08-16 16:41:32 -04:00
Aditya Sripal c79e130d0f jae comments 2018-08-16 12:07:09 -07:00
Rigel 54cc27fde9
Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-15 23:54:44 -04:00
rigelrozanski 5ef0f5d70e finalize txs 2018-08-15 23:33:26 -04:00
rigelrozanski 31d5348c4a txs pretty much ready 2018-08-15 20:03:39 -04:00
Aditya Sripal 599b8ba4cf Fix bug, clearer logic 2018-08-15 13:54:03 -07:00
rigelrozanski 37ed3b1a6e agasg 2018-08-15 04:12:44 -04:00
rigelrozanski 360eb75c8e working 2018-08-14 23:33:40 -04:00
Rigel d9dc061b4f
Merge pull request #1819: rational -> decimal
* changelog

* ...

* decimal func working

* decimal complete, untested

* fixing tests

* decimal compile errors resolved

* test compile errors

* precision multiplier test

* 1% laptop battery

* fixed TestNewDecFromStr

* equalities working

* fix bankers round chop

* ...

* working, some decimal issues resolved

* fix rounding error

* rounding works

* decimal works

* ...

* deleted rational

* rational conversion working

* revert changelog

* code compiles (not tests)

* went through all NewDec, made sure they were converted from NewRat properly

* test debugging

* all testing bugs besides the json marshalling fixed

* json unmarshal

* lint

* document update

* fix lcd test

* cli test fix

* mostly undo Dece -> Rate

* val comments

* Efficiency improvements

This now caches all of the precision multipliers (as they were all
used in non-mutative functions), and caches the precisionInt calculation.
(Now it just copies the already calculated value)

* Cache another precisionInt() call.

* Improve banker rounding efficiency

* remove defer, make negation in-place.

* chris val comments

* bez comments

* Aditya comments

* ...

* val comments

* rebasing start

* ...

* compiling

* tests pass

* cli fix

* anton, cwgoes, val comments

* val and jae comments

* type

* undo reuse quo
2018-08-14 20:15:02 -04:00
rigelrozanski 5e5fad4548 txs 2018-08-14 13:45:13 -04:00
Christopher Goes 21be609f52 Changes WIP 2018-08-14 19:04:57 +02:00
Christopher Goes a2463d038b Clarify points from PR review 2018-08-14 18:04:32 +02:00
Christopher Goes 52475b1684 Fix minor typos 2018-08-14 11:31:39 +02:00
Christopher Goes 8b7d6e0979 Update state machine, contd. 2018-08-13 17:52:58 +02:00
Christopher Goes 2445718295 State machine contd. 2018-08-13 17:03:39 +02:00
Christopher Goes 07a7db7fda Update links 2018-08-13 16:12:59 +02:00