Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to run binary votes #198

Open
3 of 4 tasks
XertroV opened this issue Feb 26, 2018 · 0 comments
Open
3 of 4 tasks

Add ability to run binary votes #198

XertroV opened this issue Feb 26, 2018 · 0 comments
Assignees

Comments

@XertroV
Copy link
Contributor

XertroV commented Feb 26, 2018

Add a flag in SC for binary votes (instead of range voting)

Probs best to set binary votes to only -1 or 1 (within range voting data struct) - means we can run the same algorithm as before and the total votes that come out will be easy to read (e.g. positive result means it passed)

Probs also best to introduce a vote flag instead of just for binary votes (e.g. a uint or enum)

  • UI should check vote flag and enforce in UI
  • SC should have vote flag
  • Auditor should check binary flag and enforce when counting votes (ideally gracefully changing a -3 to a -1 instead of rejecting outright)
  • compatible w/ both encrypted and plaintext ballots
@XertroV XertroV self-assigned this Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant