GithubHelp home page GithubHelp logo

jonasschnelli / nodeinfo Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 2.0 511 KB

Bitcoin Node Information displayer with low resource usage

Makefile 1.42% Shell 0.44% M4 76.86% C++ 21.28%
bitcoin raspberry-pi rock64 qt5 framebuffer

nodeinfo's Introduction

NodeInfo

Simple QT fullscreen app compatible with linuxfb (direct framebuffer) that displays information about a Bitcoin Node

Compile

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

Run

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.

Configuration Options

Show BTC exchange rate:

  • NodeInfo will look for a fill called exchangerate
  • The file should contain a float without "," or "'" (example: 5000.00,... but NOT 5'000.00 and NOT 5000,00)
  • It's possible to set the currency code by adding the text after a comma "," (example: 5000.00,CHF results in BTC/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 binary
  • BITCOIN_ARGS arguments to padd to the bitcoin-cli (example: -regtest -datadir = /tmp/dummy)
  • BITCOIN_RPC_TIMEOUT the shell-pipe call timeout
  • NODE_INFO_EXCHANGE_RATE_FILE path to the exchangerate file
  • WINDOWED if set to 1, nodeinfo will run in a window (not compatible with the linuxfd platform)

Screenshots

screenshot

nodeinfo's People

Contributors

jonasschnelli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hmel groestlcoin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.