-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Labels
ODHack12Tag for issues which are suitable for ODHack weekTag for issues which are suitable for ODHack weekacademy
Description
Description:
This project explores how to distribute voting tally calculations across multiple shards. Each shard handles counting votes for a specific subset of voters (e.g., regions, districts) and reports back asynchronously. The results are aggregated once all shards complete their tallying.
##Example Workflow:
- Shard 1: A voting contract initiates the tallying process, delegating vote counting to different shards
- Async Call: The contract sends asynchronous messages to multiple shards, assigning them specific regions or voter groups
- Shard 2, 3, etc.: Each shard processes votes independently and sends back its results
- Shard 1: The contract collects and aggregates all vote counts into a final result
Why It’s Useful:
This example demonstrates how distributed vote counting can improve scalability in elections while utilizing the parallel processing capabilities of a sharded blockchain.
Project: Academy Repository
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ODHack12Tag for issues which are suitable for ODHack weekTag for issues which are suitable for ODHack weekacademy