Author Topic: [RESOLVED] Delegate votes not adding up  (Read 1286 times)

0 Members and 1 Guest are viewing this topic.

Offline svk

Think I got it sorted out, turns out I wasn't correctly registering votes from blocks with multiple transactions.
Worker: dev.bitsharesblocks

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
maybe your own delegate_pay is added automatically . ? have you checked that amount?
« Last Edit: July 31, 2019, 08:44:25 am by xeroc »

Offline svk

I'm trying to add delegate votes history to my website, but I can't make the net votes add up to the total listed for each delegate. As an example with not too many voting transactions, take the delegate aptly named "delegate":

http://bitsharesblocks.com/#/delegate/delegate

If you copy all those votes into a spreadsheet and add them up, you'll see that the total is 336605.78, not 396733 as reported by "blockchain_list_delegates". The votes listed on my website come from all the transactions that voted for that delegate. Toast told me that the unspent delegate pay also automatically votes for it's owner, but the delegate from my example never produced any blocks so I'm missing something else.

Does anyone know what I could be missing? Anyone able to verify the voting history for that delegate to see if there are transactions missing from my count?

Cheers,
svk
« Last Edit: August 11, 2014, 02:51:11 pm by bytemaster »
Worker: dev.bitsharesblocks