TeamEmpireCoin / EmpireCoin

EmpireCoin is an experimental cryptocurrency where players vote on outcomes to win coins
http://empirecoin.org
MIT License
2 stars 2 forks source link

Missing voting payout in some rounds #11

Closed joeyfrich closed 8 years ago

joeyfrich commented 8 years ago

See: http://212.71.249.117/explorer/rounds/13 http://212.71.249.117/explorer/rounds/14

xmadisco commented 8 years ago

Some rounds (due to the rules) have no winners. Sometimes for the math parts of the rules, other times if there are no votes, etc. It's certainly possible that part of the code is not 100% correct yet, but in my testing I have definitely seen some rounds with no winners based on my understanding of the rules.

Also, given the links that you sent -- it's very possible I was still testing things that may have caused the payouts to not work. After later blocks, I think I had things working better. Based on my logs, I had several client restarts between blocks 120-140 or so.

For a math example of no winner, check the testnet round of blocks starting at 161 up to 170 to see if that's correct.

Going forward, we can try to monitor more closely if there are blocks with no payouts to see what may cause that, but at the moment, I'm suspecting it was a bug I was working through.

xmadisco commented 8 years ago

Can't reproduce. Will check in code with debugging, but closing for now.