-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db-sync delegation/rewards #465
Comments
Check orphaned rewards Currently db-sync maintains its own copy of ledger state. Pool profitability calculation requires the inclusion of the rewards for these invalid addresses and to solve that issue an OrphanedReward table was added that contains the same columns as the Reward table so that by consulting both tables, pool profitability can still be calculated. orphaned rewards occur when a stake address earns rewards in epoch N but has been de-registered before the rewards can be distributed at the start of epoch N + 2 orphaned_rewards do not get paid out but get sent back to the reserves. |
most probable orphaned_rewards table will be removed at some point so we should not spend time on automating it for the moment; the other above actions are good candidates to automation |
All the mentioned checks are already implemented and used in tests. |
The text was updated successfully, but these errors were encountered: