nikeshnazareth / verifiable-voting

A verifiable voting system built using Ethereum and IPFS
MIT License
0 stars 0 forks source link

Replace the writeonly blockchain storage with events #24

Open nikeshnazareth opened 6 years ago

nikeshnazareth commented 6 years ago

The AnonymousVoting contract stores IPFS hashes (for params, registration and voting) that are not referenced within the contract. Instead, the contract simply tracks their existence. It is up to the client to retrieve and validate the content. We could save storage space by putting the hashes into contract events, and only store booleans to track the registration and vote status of each participant