-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fields to
getgovproposal
(#1583)
* Renames contexthash->currentHash * Renames nextCycle->currentCycle * Renames finalizeAfter->endHeight * Fixes typo currentHash->contextHash * Renames endHeight->proposalEndHeight * Adds cycleEndHeight to listgovproposals * Fix lint error remove unnecessary include * Update test/functional/feature_on_chain_government.py Co-authored-by: Jouzo <[email protected]> * Update src/masternodes/proposals.cpp Co-authored-by: Jouzo <[email protected]> * Rename approval->votes and fix tests * Add missing fields in getgovproposal and remove ends fields * Add missing fields to getgovproposal * Use approvalThreshold and quorum from attributes Renames mojority to approvalThreshold. * GetQuorumFromAttributes handles VOCEmergencyQuorum * Adds cycle parameter to listgovproposals Remove unnecessary atributes of prop object Rename Majority->ApprovalThreshold * Clean tests, fix quorum value checking * Adds cycle to listgovvotes * Fix lint error * Add param checks for cycle in listgovvote * Remove unnided param cycle from client.cpp to fix lint * Adds functional test * Renames listgovvotes to listgovproposalvotes * Restore cycle check in client.cpp Co-authored-by: Jouzo <[email protected]> Co-authored-by: Prasanna Loganathar <[email protected]>
- Loading branch information
1 parent
ff03e48
commit bf6c416
Showing
12 changed files
with
134 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.