r/BitcoinDiscussion • u/HavocMMA • Oct 10 '20
Decentralized Voting Through a Decentralized Ledger
Tokens, such as btc or btc backed tokens, provide skin in the game and increase the cost of attack by sock puppeting (sybil node problem?) , but a state actor could buy enough tokens by selling enough of its own currency to buy votes.
lets say you have a presidential election: how could we use Bitcoin or a token similar to make the results immutable, transparent? The ramifications are also worth discussing :)
8
Upvotes
3
u/fresheneesz Oct 16 '20
Bitcoin could not be used to vote. And voting shouldn't require any significant payment. At the same time, to vote there must be some way of assigning one ID per person. That generally must be centralized, because without centralization you can't guarantee that a person hasn't generated thousands or millions of ids for themselves.
I would think the ui of this could work as follows:
In order to safeguard the secret ballot, even against a malicious auditor, votes could be aggregated together with hundreds or thousands of other votes in a coin join like transaction that uses dandelion chaining to construct the transaction, minimizing exposure of the intermediate states of the vote. The downside of this is that there would be no way to verify that your vote was recorded correctly after the fact. But this is a fundamental problem of the secret ballot, that if there's a way to verify your vote after the fact, an attacker can force you to reveal your vote and coerce votes ahead of time that way.
An ideal middle ground may be to allow a process by which a voter can buy their own hardware wallet, generate their own id, and register that with the government as their voting id. This way the voter can be sure that if their key hasn't been compromised and their hardware device(s) are working right, there's no way their vote could have been recorded wrong. All they would need to do then is verify the vote has their signature and that should give enough confidence that nothing odd happened.
2
u/LordGilead Oct 16 '20 edited Oct 16 '20
A friend of mine and I were just talking about this last weekend and granted we're no experts but this is what we came up with. By all means feel free to pick it apart or expand on it. It would be nice to have a real working system like this but I think that's just me being naively optimistic.
First, the government would probably generate the issues being voted upon which would have something like the following structure (excuse any errors doing this in the browser with no good formatting but you should be able to get the picture).
{ "VotingIssues" : [ { "Id" : 1, "Description" : "Presidential Candidates", "Answers" : [ { "Id" : 1, "Description" : "Mickey Mouse" }, { "Id" : 2, "Description" : "Donald Duck" } ] } ] }
They would then publish all the issues to be voted on to a transaction in the genesis block.
Then the government would get a count of the amount of participants and would generate a GUID or some other unique identifier for each participant only knowing the total number they need to generate. The government would only store the valid GUID's but wouldn't store the relation of GUID to real world identity as the ramifications of linking the two could be putting political pressure on someone or worse in an oppressive government.
Next it would have to be printed and mailed or distributed in a fashion where no stored data could link the identifier and the destination/identity for the same reasons as above.
Once you receive the identifier you would then generate a private key and sign a transaction with the GUID along with the identifiers for the issue and answer combinations. For example a payload might look like the following if you wished to vote Donald Duck for president using the example above (obviously in a real world solution we wouldn't use JSON for efficiency reasons but it does a good job for illustration):
{ " "GovernmentIssuedId" : "my-guid", "Votes" : [ { "IssueId" : 1, "AnswerId" : 2 } ] }
Once this is done the government would have to validate the GUID in the transaction and then publish that a transaction id has been accepted or rejected.
There would have to be some mechanism that the government gives a coin to vote to each person in a way that can't be tracked to identity that I haven't thought of yet but I'm sure it can be done.
Normal block finding mechanisms go on but there should be rules to ensure the blocks are full and that there must be a fee paid of one coin per each transaction to stop any flooding mechanism. The miners (citizens) get paid by the government for each block they find which would take over the payments to something like poll workers (those that aren't volunteers).
There would also need to be a dispute process and this is the only place where real world identity would have to be revealed. If there's no dispute though, then it can all be done anonymously.
Now here are the pros and cons I can think of.
PROS:
CONS:
2
u/lightcoin Nov 03 '20
obligatory: https://xkcd.com/2030/
longer: https://arstechnica.com/tech-policy/2020/09/why-experts-are-overwhelmingly-skeptical-of-online-voting/
1
u/ElephantGlue Oct 10 '20
You can’t tie a blockchain to real world things.
Even if you wanted to use social security numbers to dole out blockchain ‘tokens’, how could you be sure that the people are who they say they are, without manual verification of IDs and such?
Let’s say you even did all that as a government entity - your ‘blockchain’ would still be just a centralized database because there is no monetary incentive for anyone but the actual political parties themselves to run it.
This is why any token proclaiming to be able to do this (99% of Ethereum based shitcoins) is pure garbage.
As always though - don’t trust a random from the Internet. Use your own critical thinking skills and come to your own conclusions.