Conflux-Chain / CIPs

Conflux Improvement Proposals (CIPs)
MIT License
26 stars 30 forks source link

Discussion: CIP-94 #95

Closed peilun-conflux closed 11 months ago

peilun-conflux commented 2 years ago
  1. Do we require a minimal voting power? Or do we allow a faster update if the voting is unanimous?
  2. Do we need an option to vote for unchange or just let the user to distribute the votes for both increase and decrease?
  3. Do we want new votes to override old votes or do we want every vote to be final?
  4. Do we need to store the vote data in a way that they can be garbage collected after each vote period?
  5. Do we need separate interfaces to vote for one or multiple parameters?
peilun-conflux commented 2 years ago

For 2, removing the unchange option will make the contract use fewer storage entries and also reduce the cost for each vote in general,. However, a user who wants to vote for unchanged will use more data to send the vote, and he cannot perfectly cast all its votes if he has an odd number of votes.