From 19289a7161d0f2cf2e210bdfe4cd702f6d71928c Mon Sep 17 00:00:00 2001 From: EUcancER Date: Mon, 5 Sep 2011 01:43:17 +0200 Subject: using external stats provider instead of running own bitcoind this reduces the necessary maintenance overhead for bitcoind where i had some issues with overly sized databases on a small hdd bitcoinslc now provides the intel i am looking for: Difficulty and Current Block scoreboard -> bitcoin uses the new stats provider --- gold/scoreboard/modules/available/bitcoin/gather | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gold/scoreboard/modules/available/bitcoin/gather') diff --git a/gold/scoreboard/modules/available/bitcoin/gather b/gold/scoreboard/modules/available/bitcoin/gather index 8b996428..22410f7b 100755 --- a/gold/scoreboard/modules/available/bitcoin/gather +++ b/gold/scoreboard/modules/available/bitcoin/gather @@ -7,6 +7,7 @@ mkdir -p $LDIR # write into live directory and archive -$BITCOIND_PATH getinfo | python $HERE/render | tee $LDIR/$LF >> $ADIR/$LF +#$BITCOIND_PATH getinfo | python $HERE/render | tee $LDIR/$LF >> $ADIR/$LF +echo `date +"%Y-%m-%dT%H:%M:%S"` `$KREBSDIR/bin/bitcoinslc_stats` | sed -e 's/Difficulty: //' -e 's/Block: //' | tee $LDIR/_${LF}>> $ADIR/${LF} echo `date +"%Y-%m-%dT%H:%M:%S"` `$KREBSDIR/bin/mtgox_ticker` | sed -e 's/High: //' -e 's/Low: //' -e 's/Last: //' | tee $LDIR/ticker_${LF}>> $ADIR/ticker_${LF} -- cgit v1.2.3