美文网首页
ubuntu 16.04 omnicore 钱包安装

ubuntu 16.04 omnicore 钱包安装

作者: 卡鲁卡鲁 | 来源:发表于2019-10-13 23:31 被阅读0次

1.安装依赖包

sudo apt-get install pkg-config
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev libboost-all-dev
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
sudo apt-get install build-essential libtool autotools-dev automake  libssl-dev libevent-dev bsdmainutils

2.拉取源代码
git clone https://github.com/OmniLayer/omnicore.git
3.编译源码

./autogen.sh 
./configure
make

4.配置

cd .bitcoin/
vi bitcoin.conf
server=1
txindex=1
rpcuser=123456
rpcpassword=abcdef
rpcallowip=0.0.0.0/0
rpcport=8888
paytxfee=0.00001
minrelaytxfee=0.00001
datacarriersize=80
logtimestamps=1
omnidebug=tally
omnidebug=packets
omnidebug=pending
sudo chmod 777 -R .bitcoin
mkdir -p  /data/onmicore
chmod 777 -R  /data/onmicore
mkdir -p /data/onmicore/logs
 cd ~/omnicore/src

测试节点启动

sudo ./omnicored -conf=/home/ubuntu/.bitcoin/bitcoin.conf -datadir=/data/onmicore -testnet >> /data/onmicore/bitcoin.log 2>&1 &

主节点启动

sudo ./omnicored -conf=/home/ubuntu/.bitcoin/bitcoin.conf -datadir=/data/onmicore  >> /data/onmicore/bitcoin.log 2>&1 &```

相关文章

网友评论

      本文标题:ubuntu 16.04 omnicore 钱包安装

      本文链接:https://www.haomeiwen.com/subject/hhqlmctx.html