bitcoind (BTC,BCH) litecoind (LTC) ,parity(ETH,ETC)搭建,omnicored(USDT)搭建dashd(DASH)

BTC

https://bitcoin.org/en/download 下載

或者

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
#rpcport=8332
rpcuser=bitcoin
rpcpassword=btc1
uacomment=bitcore-btc

啓動

bitcoind -datadir=/mnt/bitcoind-data -conf=/mnt/bitcoin.conf -daemon  -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 升級後不能用
#rpcport=8332
rpcuser=bitcoin
rpcpassword=bch1
uacomment=bitcore-bch

啓動

bitcoind -datadir=/mnt/bitcoind-data -conf=/mnt/bitcoin.conf -daemon  -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  -deprecatedrpc=estimatefee

查看 

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

ETH

下載最新穩定版本 https://github.com/paritytech/parity-ethereum/releases

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 --pruning-history 2000 --tracing on --fat-db on  --base-path /mnt/paritydb/ --cache-size 2048 >> /mnt/parity.log 2>&1 &

ETC

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

USDT

https://github.com/OmniLayer/omnicore/releases

cd /mnt/usdt

wget https://github.com/OmniLayer/omnicore/releases/download/v0.4.0/omnicore-0.4.0-x86_64-linux-gnu.tar.gz

 

tar  -zxvf   omnicore-0.4.0-x86_64-linux-gnu.tar.gz

配置文件

cd /home/changliang/omnicore-0.4.0/

vi omnicored.conf

server=1

par=1

txindex=1

addressindex=1

timestampindex=1

spentindex=1

rpcuser=rpcuser

rpcpassword=rpcpassword

rpcport=8332

uacomment=usdt1

startclean=0

dbcache=16384

 

啓動

cd /home/changliang/omnicore-0.4.0/bin

./omnicored -datadir=/mnt/usdt -conf=/mnt/usdt/omnicore-0.4.0/omnicored.conf  -deprecatedrpc=estimatefee 

-startclean=0 -overrideforcedshutdown=1

 

查看

tail -f /mnt/usdt/debug.log

殺死進程一定要用

omnicored-cli -conf="/omnicore-0.4.0/omnicored.conf " stop

否則會出現RPC調用失敗

error code: -28

error message:

Starting network threads...

{"result":null,"error":{"code":-28,"message":"Starting network threads..."},"id":"1"}

 

error code: -28

error message:

Still scanning.. at block 560497 of 567101.

Progress: 6.47 % (about 36:13 minutes remaining)

 

DASH

 

https://github.com/dashpay/dash/releases

server=1

par=1

rpcuser=dash

rpcpassword=dash1

rpcthreads=5000

txindex=1

addressindex=1

timestampindex=1

spentindex=1

uacomment=dash1

 

 

/dashcore-0.14.0/bin/dashd -datadir=/data/dashd-data -conf=/data/dashd-data/dashd.conf -daemon -deprecatedrpc=estimatefee 

 

 

 

 

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