@wiggi looks good, although little confused, and info?
This is getting longer than I thought...
(btw, latin gibberish from chaoticshiny.com, typos by me)
It's an informal voting system, similar to the one in Nxt.
I think for Huntercoin it will be much more useful because/if/when there are design decisions to be made.
Implementation:
All data is stored on the blockchain (and cached in gamestate), no servers other than Huntercoin nodes are involved.
In theory every block explorer + chat viewer + richlist would show the same results as the
latest, non-safemode version of betterQt compiles as result list.
It does so by creating a new gamestate data structure ("Storage Vault") for any "anonymous" vote.
Using an Huntercoin address that doesn't own one already is the definition of an anonymous vote.
(anonymous as in "hunter name is not known")
To call for votes (anyone can do that):
-Choose a block height when voting shall be closed, minimum 1 block in the future, max 19975 blocks in the future (testnet 1975 blocks)
The block height must end with ...9975 (testnet ....975) to allow anonymous votes.
-Write a question with up to 10 possible answers (votes will be a number from 0 to 9)
and send it as chat message. (edit: message must start with "# ", max length is 1000 chars)
It is stored with the hunter's name address in the hunter's storage vault.
(which must exist -- it's possible to use the one created by "Cast the first vote" if you're fast enough)
-Cast the first vote (using same addr as the hunter that did the chat message)
This will also show the message.
To cast a vote:
-Send as much coins as possible to yourself. First digit of the amount after decimal point is the vote (0-9), the remaining 7 digits after decimal point the "voting close block height".
It doesn't matter how/by what client the tx is sent. Don't move the coins again (and also not the change of that tx).
-a new vote doesn't overwrite an existing vote if both use the same address (i.e. can't wipe other user's votes by sending them coins)
-Minimum for all votes is 1k coins. Anonymous votes must be >25k coins.
To delete a vote:
-move the coins (or the change)
-votes are automatically deleted 1440 blocks after voting close (testnet 144 blocks)
To comment:
-transfer an hunter to the desired address, send chat message (edit: message must start with "# ", max length is 1000 chars)
Without coin control *for game move fees* it's very easy to accidentally send the "voting" coins (or its change) as change elsewhere, thus deleting the vote.
edit: With v1.3.01 clients or daemon, tx fees are paid randomly using any address/account/unspent output, even if just sending coins with "sendfrom" command. That's why a wallet used to cast a vote shouldn't be used to send other transactions.