summaryrefslogtreecommitdiffstats
path: root/gold/bitcoinslc/bitcoinslc.stats.render
diff options
context:
space:
mode:
Diffstat (limited to 'gold/bitcoinslc/bitcoinslc.stats.render')
-rwxr-xr-xgold/bitcoinslc/bitcoinslc.stats.render7
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/bitcoinslc/bitcoinslc.stats.render b/gold/bitcoinslc/bitcoinslc.stats.render
new file mode 100755
index 00000000..7ab26a02
--- /dev/null
+++ b/gold/bitcoinslc/bitcoinslc.stats.render
@@ -0,0 +1,7 @@
+#!/usr/bin/python
+
+import json,sys
+
+result = json.load(sys.stdin)
+
+print "Block: " + str(result["current_block"]) + " Difficulty: " + str(result["difficulty"])