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

BTC

Download - Bitcoin 下载

或者

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

Litecoin - Open source P2P digital currency

官网下载最新 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

party弃用!!!!!!!!!

 已转至 geth 客户端  https://github.com/etclabscore/core-geth/releases

geth  --datadir "/home/ch/data/geth-etc-data" --rpc --rpcport 8545 --rpcapi web3,eth,net 

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 &

--tx-queue-per-sender 2000 --tx-queue-size 200000 --no-persistent-txqueue
交易缓慢,pending 交易忒多
--jsonrpc-server-threads 8 --max-peers 25 --allow-ips public  --max-pending-peers 32
解决流量问题

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 

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值