Simple QT fullscreen app compatible with linuxfb (direct framebuffer) that displays information about a Bitcoin Node
Debian / Ubuntu
sudo apt-get install build-essential libtool autotools-dev automake pkg-config
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools
./autogen.sh
./configure
make
OSX
brew install automake libtool pkg-config qt
./autogen.sh
./configure
make
X11/OSX
BITCOIN_CLI=/path/to/bin/bitcoin-cli ./nodeinfo
Regtest Linux Without X11 direct framebuffer
BITCOIN_CLI=/btc/apps/bitcoin-0.18.0rc3/bin/bitcoin-cli ./nodeinfo -platform linuxfb
Mainnet custom Datadir Linux Without X11 direct framebuffer
BITCOIN_ARGS="-datadir=/btc/data/bitcoin" BITCOIN_CLI=/btc/apps/bitcoin-0.18.0rc3/bin/bitcoin-cli ./nodeinfo -platform linuxfb
Make sure your user is in the group tty
if you run with -platform linuxfb
via SSH or other no direct tty ways.
Show BTC exchange rate:
- NodeInfo will look for a fill called
exchangerate
- The file should contain a float without "," or "'" (example:
5000.00
,... but NOT5'000.00
and NOT5000,00
) - It's possible to set the currency code by adding the text after a comma "," (example:
5000.00,CHF
results inBTC/CHF 5000.00
) - It's possible to set the complete text adding a third element (example:
5000.00,CHF,BLA
results in `BLA 5000.00 [second element is ignored])
Environment Variables
BITCOIN_CLI
path to the bitcoin-cli binaryBITCOIN_ARGS
arguments to padd to the bitcoin-cli (example:-regtest -datadir = /tmp/dummy
)BITCOIN_RPC_TIMEOUT
the shell-pipe call timeoutNODE_INFO_EXCHANGE_RATE_FILE
path to the exchangerate fileWINDOWED
if set to1
, nodeinfo will run in a window (not compatible with thelinuxfd
platform)