Vote-to-Exit at Block Height: Implementation Details #2845
Replies: 2 comments 3 replies
-
What is the motivation here? Will stackers be able to vote using ledger?
Just for info, for 6 miners, this is 5 of 6 vote to cancel the stackers vote.
Why is RC 11 selected? Not clear to me. |
Beta Was this translation helpful? Give feedback.
-
Would like input on data storage implementation for the results of voting/vetoing. Right now, if consensus is reached for some exit reward cycle, I am storing that information in a table in the sortition DB. My implementation is not "fork-aware". If a block is processed with a successful vote, and then the canonical chain switches to a different fork (and the previously mentioned block is orphaned), I currently still maintain the chosen exit reward cycle in the database (and it is still considered valid). Given that voting at all and reaching consensus is "hard", I was thinking that while unconventional, this behavior would be alright. |
Beta Was this translation helpful? Give feedback.
-
This plan builds off of the discussion here: #2687.
This post covers some more specifics for how we plan on implementing the vote to exit at a particular block height. Feedback and comments are welcome!
Objective
Implement a voting mechanism that allows users to vote for when a network upgrade will occur.
Vote Implementation
expiration-block-height
is set to signify when the vote expires.Phases of the vote
General Plan
exit-at-block-height
contract.exit_at_block_height
- this will be a part of the BlockSnapshot.Edge Cases
Leaning towards solution 1.
Contract Details [tentative]
Constants
Data maps
Functions
get-check-delegation
in pox.clarvote-confirmed-rc-proposal
mapBeta Was this translation helpful? Give feedback.
All reactions