proportional_payout

Sebastian Grewe edited this page May 31, 2013 · 1 revision

Description

We started with the Propotional Payout system. It seemed easiest to implement with the underlying shares table structure. We are doing all calculations on the pushpoold shares table to avoid overhead of moving shares around into temporary tables.

Workflow

The basic workflow of this cron:

  • Fetch all unaccounted blocks from Database
  • Calculate shares for all users according to blocks stored share ID
  • Add shares to statistics
  • Add proportional payout to transactions
  • Archive shares for potential debug review
  • Delete shares
  • Mark block as accounted
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.