运行比特币全节点

2019-05-21  本文已影响0人  keluda

1.编写比特币全节点配置文件 bitcoin.conf

datadir=/mnt/hgfs/ubuntu/bitcoin/bitcoindata

dbcache=10240  #这个参数最好采用默认,否则会让全节点在某种情况下退出

txindex=1

rpcuser=keluda

rpcpassword=net

daemon=1

server=1  //开启rpc 接受 JSON-RPC

rest=1

rpcbind=0.0.0.0:8332

rpcallowip=0.0.0.0/0

2.启动全节点

bitcoind -conf=`pwd`/bitcoin.conf -daemon

上一篇 下一篇

猜你喜欢

热点阅读