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: How do votes for delegates get aggregated?  (Read 180 times)

0 Members and 1 Guest are viewing this topic.

Offline monsterer

How do votes for delegates get aggregated?
« on: May 11, 2015, 01:08:59 PM »

Votes for delegates are built into transactions - the stake transferred becomes the vote, but how do you arrive at the totals?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12241
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: How do votes for delegates get aggregated?
« Reply #1 on: May 11, 2015, 01:52:13 PM »
Votes for delegates are built into transactions - the stake transferred becomes the vote, but how do you arrive at the totals?

The client constructs a local database which contains all votes EVER made on the blockchain by transactions. Thus that database has positive votes from new stake voting FOR you and negative votes from stake being removed from your votes ..
the total is just the sum of all votes (+ and -) for a particular delegate
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline monsterer

Re: How do votes for delegates get aggregated?
« Reply #2 on: May 11, 2015, 02:00:58 PM »
The client constructs a local database which contains all votes EVER made on the blockchain by transactions. Thus that database has positive votes from new stake voting FOR you and negative votes from stake being removed from your votes ..
the total is just the sum of all votes (+ and -) for a particular delegate

Thanks :) Do the vote totals have a range applied to them, or are they truly over all time?
My opinions do not represent those of metaexchange unless explicitly stated.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12241
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: How do votes for delegates get aggregated?
« Reply #3 on: May 11, 2015, 03:38:12 PM »
The client constructs a local database which contains all votes EVER made on the blockchain by transactions. Thus that database has positive votes from new stake voting FOR you and negative votes from stake being removed from your votes ..
the total is just the sum of all votes (+ and -) for a particular delegate

Thanks :) Do the vote totals have a range applied to them, or are they truly over all time?
all time

go here: https://bitsharesblocks.com/delegate/votes?name=delegate.xeroc
and press the ">" sign right of "VOTES HISTORY (X TOTAL VOTES)"
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

jakub

  • Guest
Re: How do votes for delegates get aggregated?
« Reply #4 on: May 11, 2015, 04:00:18 PM »

 

Google+