BTC RPC配置
查看日志最后1000行:cat debug.log | tail -n 1000
查看正在运行的bitcoin进程: ps -ef | grep bit
将配置文件复制到root:cp /data/data/bitcoin.conf /root/.bitcoin/
启动带有配置的bitcoin: ./bitcoind -datadir=/data/data/ -conf=/data/data/bitcoin.conf -daemon
bitcoin.conf
server=1
rpcuser=admin
rpcpassword=admin_ecc
rpcallowip=0.0.0.0/0
备注:
默认同步端口:8333
默认RPC端口:8332
API:https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
LTC RPC配置
查看日志最后1000行:cat debug.log | tail -n 1000
查看正在运行的bitcoin进程: ps -ef | grep ltc
将配置文件复制到root:cp /data/data/bitcoin.conf /root/.bitcoin/
启动带有配置的bitcoin: ./bitcoind -datadir=/data/data/ -conf=/data/data/bitcoin.conf -daemon
bitcoin.conf
server=1
rpcuser=admin
rpcpassword=admin_ecc
rpcallowip=0.0.0.0/0
API:https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list
网友评论