Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Can a delegate gets a list of all shareholder who voted for  (Read 386 times)

0 Members and 1 Guest are viewing this topic.

Offline emski

  • Hero Member
  • *****
  • Posts: 1283
    • View Profile
    • http://lnkd.in/nPbhxG

I would like to create delegate that enables everyone who upvoted that delegate to vote on how the taxes should be spent.

Is it possible to obtain a list of all shareholders who voted for a particular delegate?
Is it possible for a shareholder to prove he voted for a particular delegate?

* possible is defined as "takes maximum a few days to implement by someone with technical background"

Offline toast

Re: Can a delegate gets a list of all shareholder who voted for
« Reply #1 on: June 14, 2014, 06:46:30 AM »
Both are possible. #2 is easy if you have a signing tool of some kind, 1 hour task to build into the client. #1 is a bit harder but we plan to build it in eventually.
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline emski

  • Hero Member
  • *****
  • Posts: 1283
    • View Profile
    • http://lnkd.in/nPbhxG
Re: Can a delegate gets a list of all shareholder who voted for
« Reply #2 on: June 14, 2014, 06:51:46 AM »
Relying only on 2 would allow someone just to vote for the delegate, get the benefit and then vote for another delegate.
Thats why I would like to make sure that the shareholder upvoted ONLY this particular delegate for certain amount of time.
If there is another way of implementing similar behavior I'll be happy to hear that.
« Last Edit: June 14, 2014, 07:00:38 AM by emski »

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 958
    • View Profile
Re: Can a delegate gets a list of all shareholder who voted for
« Reply #3 on: June 14, 2014, 07:12:26 AM »
I think you'd just have to crawl the chain and find all unspent outputs of transactions that voted for you.  You could filter out recent transactions depending on your vote duration requirement, and the voters can verify their loyalty by signing with the same keys that signed the voting transactions.

Offline emski

  • Hero Member
  • *****
  • Posts: 1283
    • View Profile
    • http://lnkd.in/nPbhxG
Re: Can a delegate gets a list of all shareholder who voted for
« Reply #4 on: June 14, 2014, 07:34:46 AM »
I think you'd just have to crawl the chain and find all unspent outputs of transactions that voted for you.  You could filter out recent transactions depending on your vote duration requirement, and the voters can verify their loyalty by signing with the same keys that signed the voting transactions.
Thank you! I was thinking about this but as I'm not familiar with the design/code I wasnt sure if it is suitable.
I might be able to implement this provided I find enough spare time.

 

Google+