Brief explanation
Binary: /usr/bin/bitcoind
Configuration file: /etc/bitcoin/bitcoin.conf
Data directory: /var/lib/bitcoind
PID file: /var/run/bitcoind/bitcoind.pid (OpenRC and Upstart) or /var/lib/bitcoind/bitcoind.pid (systemd)
Lock file: /var/lock/subsys/bitcoind (CentOS)
Run node with bitcoind
아래 명령어를 통해 bitcoin node 를 백그라운드에서 실행시킨다.
1 | bitcoind -daemon -rpcuser=<user_name> -rpcpassword=<user_password> -rpcport=<port> |
Interact with chain with bitcoin-cli
1 | bitcoin-cli getinfo |