I
If what you say is true why is it always a large negative difference, and where are the missing coins going?
The pool mined a whole block but only paid out 80% of it.
like i said before, looking at the code it doesnt look like this pool cares about blocks..
it only cares about how much bitcoin they are worth..
say you are mining skien and you got a digibyte block.. to this pool this block isnt worth 974.887 DGB its worth 0.00053619 btc.. since it seems to be sent straight to the exchange and cashed out to the hot wallet as soon as its matured.
then when it comes time to pay out everyone.. it converts the btc back to dgb, if you tell it to, and sends you that amount, minus exchange fees and tx fees.
so by the time you reached your min payout of .005 or sunday which is lower, your dgb block of 974.887 coins might be only be worth 940.523 or whatever.
That's a pile of BS. Zpool never buys altcoins at the exchange, never did and I reiterated that in this forum less than a day ago.
Your making it up as you go.
It has already been proven the value of the block is correct when it is cleared. The data is stored in the DB, Later the data is extracted from the
DB. Is the data still correct? How is the balance credit calculated? Is that correct? Is it credited correctly to the user's wallet?
Those are the major points of interest. It doesn't matter whether you use debug logs or real time DB queries it's the data that
matters, not how you get it.
i hate to break it to you, but this seems like the coins are exchanged right before payouts.. it might not be from an exchange and the pool might keep some coins stored internally for those payouts...
debuglog("{$user->username} converted to {$user->balance} {$coin->symbol} (old: $old_balance)");
also your "balance" is updated based on market price right before too
$user->balance = $user->balance * $coinref->price / $coin->price;
and this seems to be how its getting this value
$price2 = ($ticker->bid + $ticker->ask)/2;
$market->price2 = AverageIncrement($market->price2, $price2);
$market->price = AverageIncrement($market->price, $ticker->bid*0.98);
this is just one exchange, they all have their own separate pricing im guessing based on market caps or something.
it seems to be taking the ask and the bid and putting them together to make an average and then multiplying by 98%
so basically you will NEVER get paid the whole block.. even if its the only coin you mine..