aragon / labs

Used for organization and collaboration on research and development initiatives under the Aragon Labs umbrella.
Creative Commons Zero v1.0 Universal
33 stars 4 forks source link

ALP05: Off-chain tabulation of votes #5

Open lkngtn opened 6 years ago

lkngtn commented 6 years ago

Proposal: ALP05 Off-Chain tabulation

Author(s): Luke Duncan

Last updated: 12/5/2017

Abstract

In order for a vote to be used to execute an action such as calling an arbitrary function, the result of the vote must be tabulated. Doing this tabulation can be expensive. Votes can be tabulated when cast, distributing the cost across all voters, or votes can be tabulated in batches at the end of a poll. Tabulation at the end lends itself well to off-chain scalability solutions, in particular interactive verification solutions like Truebit seem like promising approaches that could reduce voting cost significantly.

Proposal

At a minimum a successful implementation would enable the following user stories.

Rationale

Carbon-vote style applications are relatively simple, and the cost to participate is low. They can include both direct voting and delegation, including complex delegation chains. By moving the logic for validation and tabulation off-chain we minimize the amount of calculation that happens on the main chain which may present significant cost savings.

It is unclear how expensive computation will be on the main chain in the future as things like proof-of-stake and sharding come online, but it is almost certain that it will be more expensive than computation that are done in second-layer solutions.

References

Open Issues

lkngtn commented 6 years ago

Linking this to the Aragon Nest grant proposal. https://github.com/aragon/nest/issues/6