forked from onryo/siona
Extremely Private HUSH and HAC explorer
https://explorer.hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
714 B
19 lines
714 B
#!/usr/bin/env bash
|
|
# Copyright 2016-2022 The Hush Developers
|
|
|
|
DOMAIN=${SIONA_DOMAIN}
|
|
CLI=${SIONA_CLI}
|
|
# this is optional and not used yet here
|
|
ACNAME=${SIONA_ACNAME}
|
|
DIR=/var/www/$DOMAIN/var/www/$DOMAIN/api
|
|
|
|
# TODO: remove IP info from getpeerinfo
|
|
#$CLI getpeerinfo > $DIR/getpeerinfo.json
|
|
$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
|
|
|