summaryrefslogtreecommitdiffstats
path: root/gold/scoreboard/modules/available/bitcoin/render
diff options
context:
space:
mode:
Diffstat (limited to 'gold/scoreboard/modules/available/bitcoin/render')
-rw-r--r--gold/scoreboard/modules/available/bitcoin/render10
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/scoreboard/modules/available/bitcoin/render b/gold/scoreboard/modules/available/bitcoin/render
new file mode 100644
index 00000000..7ef432ac
--- /dev/null
+++ b/gold/scoreboard/modules/available/bitcoin/render
@@ -0,0 +1,10 @@
+#!/usr/bin/python
+import json,urllib,datetime,sys
+today = datetime.datetime.now()
+
+result = json.load(sys.stdin)
+print today.strftime("%Y-%m-%dT%H:%M:%S"),
+print '%s' % result["blocks"],
+print '%s' % result["difficulty"],
+print '%s' % result["keypoololdest"],
+#print '%s' % result["keypoolsize"]