Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- code=`echo $0 | cut -c 26-`
- case $1 in
- config)
- cat <<'EOM'
- graph_category p2pool
- graph_vlabel network difficulty
- diff.label difficulty
- EOM
- echo "graph_title network difficulty"
- exit 0;;
- esac
- /usr/bin/wget -q http://happymining.de:7903/global_stats -O /tmp/global_stats.json
- v_diff=`/usr/local/bin/jshon -Q -e network_block_difficulty < /tmp/global_stats.json`
- echo "diff.value" $v_diff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement