Commit Graph

38 Commits

Author SHA1 Message Date
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