blockparty icon indicating copy to clipboard operation
blockparty copied to clipboard

Optimize cost of marking attendance

Open makoto opened this issue 6 years ago • 0 comments

Currently the cost of marking participants increase in O(n).

The potential solution would be.

  • Only mark people who did not attend
  • Track attendance as bitmap binary array which can be updated with one storage write
  • Use Merkel airdrop logic to put the merkel hash of all the participants (this require to hold all attendees info off chain).

makoto avatar Jul 09 '18 21:07 makoto