The payin table (as it is now) can be derived from the stored shares and the reward of that block (plus fees in the block and pool fees). Inserting owner payouts would mix different things, as there are no shares for that entry. This code considers the total balance of all users (potentially resulting from multiple mined blocks) for a payout that is attributed to a specific block in the payin table. This makes it hard to validate the payins during pool payout.
Well, can we then just not store the owner payout? Do you maybe habe a different idea how to do it? Because I and other people defiantly want to be able to be paid out.
The
payin
table (as it is now) can be derived from the stored shares and the reward of that block (plus fees in the block and pool fees). Inserting owner payouts would mix different things, as there are no shares for that entry. This code considers the total balance of all users (potentially resulting from multiple mined blocks) for a payout that is attributed to a specific block in thepayin
table. This makes it hard to validate thepayin
s during pool payout.