Commit Graph

46 Commits

Author SHA1 Message Date
Joon 465bb02d6a Merge PR #3779: Split Proposal Interface 2019-03-15 17:47:47 +01:00
Christopher Goes e2baa3806a Merge PR #3758: Remove governance_penalty 2019-02-27 08:44:05 -08:00
frog power 4000 a07b235f67
Merge PR #3683: spec-spec update, spec file reorg, TOC updates
* spec reorg

* ...

* PENDING.md

* @alexanderbez comments
2019-02-20 13:21:57 -05:00
frog power 4000 7f789d2ed3
Merge PR #3281: Staking Spec Upgrade
* remove kv seperation for marshalling

* pending

* cleanup

* cleanup x2

* pending

* working

* minor refactors

* entry structs defined

* uncompiled mechanism written

* add many compile fixes

* code compiles

* fix test compile errors

* test cover passes

* ...

* multiple entries fix

* ...

* more design fix

* working

* fix test cover bug

* Update PENDING.md

* update comment around queue completion for redelegations/ubds

* basic spec updates

* spec folder cleanup

* cleanup docs folder cont.

* ...

* find-replace and folder rename

* supplimentary find/replace

* pending

* supplimentary

* pending

* few undos, stakingd -> staked

* to staking -> to stake

* undos

* most staking -> most stake

* ...

* undos

* simplestake->simplestaking

* ...

* pending update

* capital letter replacements

* ...

* working

* staking doc updates from rigel/delegation-index branch

* spec-spec

* spec-spec

* LooseTokens -> NotBondedTokens

* staking state.md updates

* updates to hook and endblock spec

* Update docs/gaia/gaiacli.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* comment undo

* remove ErrConflictingRedelegation

* @cwgoes comments are resolved

* further updates to endblock and state

* msg json update

* working transaction updates

* working

* complete transaction rewrite

* PENDING.md

* typo

* add todo

* address @jackzampolin @cwgoes comments

* couple leftover comments, rename

* Update x/staking/types/pool.go

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* cwgoes additions

* cwgoes suggestions x2
2019-01-21 19:52:03 -05:00
frog power 4000 78a21353da Rename stake/ to staking/ (#3280) 2019-01-11 12:08:01 -08:00
Alexander Bezobchuk 5a13e75367 Tags Cleanup & Docs (#3137) 2018-12-19 19:28:38 -08:00
Sunny Aggarwal 945803d586 Governance Quorum (#3053) 2018-12-10 02:50:20 -08:00
John McDowall f09fa33cfd Merge PR #2802: Correct the usage of misspelling of English word 'depositor'.
Throughout the codebase the misspelling 'depositer' of the English word
'depositor' has been used. This commit applies a global search and
replace to correct the misspelling.
2018-11-22 00:53:33 +01:00
Sunny Aggarwal d1614ebb7e R4R: Query Gov Params (#2576)
* gov query params
2018-11-13 15:45:37 -08:00
Sunny Aggarwal 1d3a04a61c Switch gov proposal-queues to use iterators (#2638)
* switched gov proposals queue to use iterators
* update gov spec
* update proposal.Equal
* Amino api change
* switched proposalID to uint64
* renamed Gov Procedures to Params
* s/ActiveProposalQueueProposalKey/KeyActiveProposalQueueProposal/g
* numLatestProposals -> Limit
* fixed staking invariant breakage because of gov deposits
* Send deposits to DepositedCoinsAccAddr or BurnedDepositCoinsAccAddr
2018-11-06 23:33:18 -08:00
Sunny Aggarwal 15e848e43c Merge PR #2395: Remove governance slashing 2018-09-26 02:45:20 +08:00
Sunny Aggarwal 8721dd6ff8 Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +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
Sunny Aggarwal 92eef7a4fa docs 2018-09-03 00:16:38 -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
gamarin2 894d0cf5e3
Merge branch 'master' into gamarin/update_gov_spec 2018-07-11 15:59:24 +02:00
gamarin b2e9e1724b Spec conforms to current module 2018-07-02 13:50:55 +02:00
Sunny Aggarwal dc2c8f900b Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
gamarin 9d5425b806 latest change 2018-06-15 16:18:50 +02:00
gamarin 09ea8dac11 additional chekc in VoteMsg 2018-06-07 12:30:49 +02:00
gamarin b525989319 Split procedures and add grace period 2018-06-07 12:02:21 +02:00
gamarin 8c800eb42a Sunnys feedback 2018-06-05 16:43:56 +02:00
gamarin 6f8a2d562c better display 2018-06-04 17:34:31 +02:00
gamarin bd8c481064 Small fix 2018-06-04 17:22:38 +02:00
gamarin 5735075b05 Revamp gov spec 2018-06-04 17:20:07 +02:00
Zaki Manian f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
Ethan Buchman 2cad1aab3d remove governance.md 2018-05-08 17:17:49 -04:00
Ethan Buchman b3421a884d spec/governance: update transactions.md 2018-05-08 15:53:23 -04:00
Ethan Buchman ac8597e49d spec/governance: update state.md 2018-05-08 15:31:37 -04:00
Ethan Buchman ad705fdea1 bump version
added rest server and status endpoint

added get block endpoint

added latest block endpoint

add 404 if height is out of bounds

add version endpoint

add validators endpoint

export GetBlockHeight

add keys endpoints

add txs endpoints

added verb limiters to ednpoints

only output node info + json structure improvement

fixed wrong body parsing

github PR template

crypto.Address -> sdk.Address

revert to old go-wire

update glide

remove print statement and update glide

fix #554

add .DS_Store to .gitignore

Massive consolidation: queue, data storage struct, store, logic, ...

Small fixes
2018-03-17 22:14:19 +01:00
gamarin 5ff1f0c5f8 Add submitter in proposal struct 2018-03-02 12:08:18 +01:00
gamarin 7ca150fd40 Remove .DS_Store 2018-03-01 18:29:46 +01:00
gamarin 9820f5b45c Removed stores, change address to PubKey, fixes, ... 2018-03-01 17:21:35 +01:00
gamarin 66c89143be Little fix deposit tx 2018-02-28 15:15:10 +01:00
gamarin 0012f42057 Remove governance GovPubKey 2018-02-27 18:55:04 +01:00
gamarin 38975ac695 Remove map from Proposal struct 2018-02-27 16:04:44 +01:00
gamarin 02435bb1f8 From two processes to one process (jae's pick) 2018-02-26 18:15:48 +01:00
gamarin aa19612dd0 Improve store description 2018-02-26 17:28:57 +01:00
gamarin 3071f05d0e remove governance.md 2018-02-26 16:40:25 +01:00
gamarin 275abe56e7 Split in multiple files 2018-02-26 16:36:09 +01:00
gamarin 48bd59eee3 Split in multiple files 2018-02-26 16:35:09 +01:00
gamarin 798b2b6ea3 Add Readme 2018-02-26 16:07:17 +01:00
Adrian Brink d0539d5e9d
Review Governance specification 2018-02-26 12:27:26 +01:00
gamarin dd0695afa0 Small fixes 2018-02-21 17:45:23 +01:00
gamarin d0e458f3bc Massive consolidation: queue, data storage struct, store, logic, ... 2018-02-20 18:40:01 +01:00
Ethan Buchman 8864bc2a20 add spec dir 2018-02-11 12:17:40 -05:00