Governance Quorum (#3053)

This commit is contained in:
Sunny Aggarwal
2018-12-10 02:50:20 -08:00
committed by Jae Kwon
parent 133134ca52
commit 945803d586
8 changed files with 40 additions and 6 deletions
-4
View File
@@ -111,10 +111,6 @@ option that casts a `NoWithVeto` vote.*
Quorum is defined as the minimum percentage of voting power that needs to be
casted on a proposal for the result to be valid.
In the initial version of the governance module, there will be no quorum
enforced by the protocol. Participation is ensured via the combination of
inheritance and validator's punishment for non-voting.
### Threshold
Threshold is defined as the minimum proportion of `Yes` votes (excluding
+1
View File
@@ -24,6 +24,7 @@ type VotingParams struct {
```go
type TallyParams struct {
Quorum sdk.Dec // Minimum percentage of stake that needs to vote for a proposal to be considered valid
Threshold sdk.Dec // Minimum proportion of Yes votes for proposal to pass. Initial value: 0.5
Veto sdk.Dec // Minimum proportion of Veto votes to Total votes ratio for proposal to be vetoed. Initial value: 1/3
GovernancePenalty sdk.Dec // Penalty if validator does not vote