-
Notifications
You must be signed in to change notification settings - Fork 1k
proportional_payout
Sebastian Grewe edited this page May 31, 2013
·
1 revision
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.
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
-
- installation of Redis requires TCL 8.5 or newer TCL Download Page