Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
added current_payout to stats
  • Loading branch information
forrestv committed Feb 12, 2012
1 parent 9e52f78 commit 96d291c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2pool/main.py
Expand Up @@ -838,6 +838,7 @@ def update_stat_log():
shares=shares,
stale_shares=stale_orphan_shares + stale_doa_shares,
stale_shares_breakdown=dict(orphan=stale_orphan_shares, doa=stale_doa_shares),
current_payout=get_current_txouts().get(my_script, 0)*1e-8,
))

with open(os.path.join(datadir_path, 'stats'), 'wb') as f:
Expand Down

0 comments on commit 96d291c

Please sign in to comment.