Commit Graph

166 Commits

Author SHA1 Message Date
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 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
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 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
Aditya Sripal c79e130d0f jae comments 2018-08-16 12:07:09 -07:00
Aditya Sripal 599b8ba4cf Fix bug, clearer logic 2018-08-15 13:54:03 -07: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
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
Christopher Goes a8af4a4fad End block to begin block, add README 2018-08-13 16:04:35 +02:00
Christopher Goes 53fa4a28dc Start update of state-machine.md 2018-08-13 15:55:30 +02:00
Christopher Goes ff01cbb093 Update state.md 2018-08-13 15:48:23 +02:00
Christopher Goes 98a278d564 Reorganize sections 2018-08-13 14:56:10 +02:00
Christopher Goes 84e9b215b2 Fix typo 2018-08-13 14:54:42 +02:00
Christopher Goes 4f8c9e4917 Update transactions.md 2018-08-13 14:51:01 +02:00
Rigel 7fb626f548 Merge PR #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00
Aditya Sripal 7539e212ee more readable pseudo 2018-08-07 17:04:22 -07:00
Aditya Sripal feb9a22663 Cleaned up spec further 2018-08-07 17:02:28 -07:00
Aditya Sripal 2ac55ebb1d even better pseudocode 2018-08-06 15:23:47 -07:00
Aditya Sripal d56e3a7ef9 better pseudocode 2018-08-06 13:03:58 -07:00
Aditya Sripal 9c1918efdc improve readability 2018-08-03 13:16:41 -07:00
Aditya Sripal 10b2e830a2 addressed comments, added formulas for easy verification 2018-08-03 13:12:34 -07:00
Aditya Sripal d4d7658166 New idea for spec 2018-07-31 18:11:19 -07:00
Aditya Sripal 41130f8742 Addressed basic comments 2018-07-30 13:25:44 -07:00
Aditya Sripal 89494ef73e improve readability 2018-07-29 19:35:23 -07:00
Aditya Sripal 69d1fe2fb1 clarify requirements 2018-07-29 19:33:17 -07:00
Aditya Sripal 39d1cf69b5 simplify spec 2018-07-29 19:29:54 -07:00
Aditya Sripal 3445a85aad initial progress on vesting spec 2018-07-27 18:35:21 -07:00
Rigel 3231daa4d8 remove global shares (#1644)
* wip removing pool shares

* remove PoolShares/Tokens entirely

* worked through stake/type compile error

* work through a bunch of keeper errors

* worked through compile errors

* debugging tests

* resolve compilation error

* resolved types errors

* ...

* move inflation to pool type

* ...

* stumped problem

* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation

* Rounding changed

* Update x/slashing tests for sdk.Rat BondedTokens

* testing fixes

* resolved test fixes

* cwgoes comments, changelog, lint

* cli bugfixes

* ..

* cli fixed

* spec update

* 'make format'

* cwgoes comments

* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
gamarin2 894d0cf5e3
Merge branch 'master' into gamarin/update_gov_spec 2018-07-11 15:59:24 +02:00
Zach Ramsay 557e652530 docs: fix dead links, closes #1508 2018-07-04 09:23:01 -04:00
gamarin b2e9e1724b Spec conforms to current module 2018-07-02 13:50:55 +02:00