From 96d291c9dcd516189d7bb484d1129ffd047fc0a5 Mon Sep 17 00:00:00 2001 From: Forrest Voight Date: Sun, 12 Feb 2012 17:16:01 -0500 Subject: [PATCH] added current_payout to stats --- p2pool/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/p2pool/main.py b/p2pool/main.py index 99420103d..fc692cbe7 100644 --- a/p2pool/main.py +++ b/p2pool/main.py @@ -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: