summaryrefslogtreecommitdiffstats
path: root/gold/scoreboard/modules/available/bitcoin/render
blob: 19545b21b646e75bb6713e971bbe299f7206305d (plain)
1
2
3
4
5
6
7
8
9
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"]