summaryrefslogtreecommitdiffstats
path: root/gold/scoreboard/modules/available/bitcoin/render
blob: 7ef432ac087372d8c770685e163de1edd8b69a30 (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"]