bitcoind (BTC,BCH) litecoin (LTC) ,parity(ETH,ETC)搭建

BTC

sudo apt install software-properties-common

sudo add-apt-repository ppa:bitcoin/bitcoin

sudo apt-get update

安裝bitcoind:

sudo apt-get install bitcoind

sudo apt-get install bitcoin-qt

直接輸入`bitcoind`命令可以讓`bitcoind`在前臺直接運行:

bitcoind -h

bitcoin.conf 如下

server=1
par=1

port=8333
txindex=1
addressindex=1
timestampindex=1
spentindex=1

whitelist=192.168.0.0/16
rpcallowip=192.168.0.0/16
rpcport=8332
rpcuser=bitcoin
rpcpassword=btc1
uacomment=bitcore-btc

啓動

bitcoind -datadir=/mnt/bitcoind-data -conf=/mnt/bitcoin.conf -daemon  -rest -deprecatedrpc=estimatefee

查看 

 tail -f  /mnt/bitcoind-data/debug.log

BCH

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:bitcoin-abc/ppa

sudo apt-get update

sudo apt-get install bitcoind bitcoin-qt

bitcoin.conf 如下

server=1
par=1

port=8333
txindex=1
addressindex=1
timestampindex=1
spentindex=1

whitelist=192.168.0.0/16
rpcallowip=192.168.0.0/16
rpcport=8332
rpcuser=bitcoin
rpcpassword=bch1
uacomment=bitcore-bch

啓動

bitcoind -datadir=/mnt/bitcoind-data -conf=/mnt/bitcoin.conf -daemon  -rest -deprecatedrpc=estimatefee

查看 

 tail -f  /mnt/bitcoind-data/debug.log

LTC

https://litecoin.org/

官網下載最新 litecoin-0.16.3-x86_64-linux-gnu.tar.gz

解壓到目錄  /litecoin-0.16.3/

litecoin.conf

server=1
par=1

port = 9333

txindex=1
addressindex=1
timestampindex=1
spentindex=1

whitelist=192.168.0.0/16
rpcallowip=192.168.0.0/16
rpcport=9332
rpcuser=litecoin
rpcpassword=ltc1
uacomment=litecoin-1

cd  /litecoin-0.16.3/bin

啓動

./litecoind -datadir=/mnt/litecoind-data -conf=/mnt/litecoin.conf -daemon  -rest -deprecatedrpc=estimatefee

查看 

 tail -f  /mnt/litecoind-data/debug.log

ETH

https://releases.parity.io/v1.11.7/x86_64-unknown-linux-gnu/parity_1.11.7_ubuntu_amd64.deb

   sudo dpkg -i parity_1.11.7_ubuntu_amd64.deb

nohup parity --pruning fast --tracing on --fat-db on  --base-path /mnt/paritydb/ --cache-size 2048 >> /mnt/parity.log 2>&1 &

ETC

nohup parity --chain classic --pruning fast --tracing on --fat-db on  --base-path /mnt/paritydb/ --cache-size 2048 >> /mnt/parity.log 2>&1 &

 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章