|
|
@ -10,13 +10,13 @@ HIGHESTBLOCK=$(curl -s "https://$DOMAIN/api/getblockchain.json" | jq -r '.blocks |
|
|
|
|
|
|
|
# TODO: remove IP info from getpeerinfo |
|
|
|
#$CLI getpeerinfo > $DIR/getpeerinfo.json |
|
|
|
$CLI -ac_name=$ACNAME getinfo &> $DIR/getinfo.json |
|
|
|
$CLI -ac_name=$ACNAME getmininginfo &> $DIR/getmininginfo.json |
|
|
|
$CLI -ac_name=$ACNAME getblockchaininfo &> $DIR/getblockchain.json |
|
|
|
$CLI -ac_name=$ACNAME getchaintxstats &> $DIR/getchaintxstats.json |
|
|
|
$CLI -ac_name=$ACNAME gettxoutsetinfo &> $DIR/gettxoutsetinfo.json |
|
|
|
$CLI -ac_name=$ACNAME coinsupply &> $DIR/coinsupply.json |
|
|
|
$CLI -ac_name=$ACNAME getchaintips &> $DIR/getchaintips.json |
|
|
|
$CLI -ac_name=$ACNAME getchaintxstats &> $DIR/getchaintxstats.json |
|
|
|
redis-cli set anonset $($CLI -ac_name=$ACNAME z_anonsetblockdelta 1 $HIGHESTBLOCK) |
|
|
|
redis-cli set hashps $($CLI -ac_name=$ACNAME getnetworkhashps -1) |
|
|
|
$CLI getinfo &> $DIR/getinfo.json |
|
|
|
$CLI getmininginfo &> $DIR/getmininginfo.json |
|
|
|
$CLI getblockchaininfo &> $DIR/getblockchain.json |
|
|
|
$CLI getchaintxstats &> $DIR/getchaintxstats.json |
|
|
|
$CLI gettxoutsetinfo &> $DIR/gettxoutsetinfo.json |
|
|
|
$CLI coinsupply &> $DIR/coinsupply.json |
|
|
|
$CLI getchaintips &> $DIR/getchaintips.json |
|
|
|
$CLI getchaintxstats &> $DIR/getchaintxstats.json |
|
|
|
redis-cli set anonset $($CLI z_anonsetblockdelta 1 $HIGHESTBLOCK) |
|
|
|
redis-cli set hashps $($CLI getnetworkhashps -1) |
|
|
|