FollowMyVote / StakeWeightedVoting

An application to vote on proposals where votes are weighted proportional to the voter's balance of a coin
Other
107 stars 30 forks source link

Preserve contest creator information through contest creation process #111

Closed nathanielhourt closed 8 years ago

nathanielhourt commented 8 years ago

All contests are published to the blockchain by the Follow My Vote account, at the request of a contest creator. The creator may wish to be known, in which case he must provide a signature of the contest creation request which FMV can publish to the blockchain as proof that the creator requested the contest as defined. Alternatively, the creator may wish to remain anonymous, in which case no signature is necessary.

This means that the contest creation request structure needs to be used both in the private off-chain protocol between the creator and FMV server, as well as the published contest creation request FMV puts on the blockchain to create the contest, which is not currently the case. Refactor as necessary to make these structures the same, so that FMV can publish the creation request and signature together, and the public has enough information to verify it.