i dont know what im seeing in these posts.. but it seems its showing the block reward % based on shares, then when its paying out its different?
Exactly. Your shares should stay consistent before and after payout when you mine to the same coin.
is it just a few different algos? it doesnt seem to be doing it with sha256.. i guess you cant really check very easily. since it strictly shows the payout in mbtc and id have no idea how many certain coins i mined..
but this seems to be the best pool for sha256..
Hard to say. It gets trickier with the multi coin algorithms since the amount you get paid is influenced by the exchanges and coin prices.
i dunno if its been suggest but have you tried the yiimp authors pool with those coins to see if the code is flawed?
https://github.com/tpruvot/yiimphttp://yiimp.ccminer.org/it has sib with zero miners, so all the coins would be yours and you can see if you get the exact correct amount..
im not sure what modifications crackfoo did to the code.. but if the coins are off in the base, it would show where the flaw is
The tpruvot pool does not exhibit this behaviour as far as I can see. I don't know what the code diff is between these pools but tpruvot's pool does not have auto exchange enabled. Not that it
should matter when doing non-trading mining.
The users have provided information limiting the scope of the problem and suggestions on database queries. Some people have offered to check logs but there is only so much they can do without the help of the operator.
maybe the auto exchange has some buffer to keep from going negative? in case the coins value drops?
there is also a possibility that the paid out is correct and the pending is too high?
edit i think i may have found something but i need someone that knows php more then me to see..
here..
https://github.com/tpruvot/yiimp/blob/next/web/yaamp/core/backend/users.phpwhere it says
$user->balance = $user->balance * $coinref->price / $coin->price;
that is probably the issue.. here is why..
say you mine, 10 coins of something.
the script sends those 10 coins to the exchange.. cause its defaulted that way.. it gives a bitcoin value to those coins.. it may even convert them into bitcoin at this point, i dont know.
$coinref = getdbosql('db_coins', "symbol='BTC'");
then it checks to see if a user wants paid out in those coins.. instead of bitcoin.
then it says, ok, lets pay them.. but.. user's balance gets updated to what those coins are worth in BTC.. possibly buying the coins back from the exchange, then it sends that amount as a payout. :/
i guess the good news is sometimes it could go up?? but probably wont..
its a theory i dont really know php very well.. but its the only thing that stands out to me in the script that would affect a users total balance.