Bitshares Core 升级编译
前言
BitShares Core Release 2.0.180612 新版本发布,修复重大bug。这是一个协议升级(硬分叉)版本,请所有节点在 2018年7月19日(周四)北京时间晚上22:00前完成升级。
参考公告:
https://steemit.com/bitshares/@abit/bitshares-core-release-2-0-180425
##升级步骤
git fetch origin
git checkout 2.0.180612
git submodule update --init --recursive
git submodule sync --recursive
git submodule update --init --recursive
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .
make clean
make
使用replay-blockchain参数启动witness:
bitshares/bitshares-core/programs/witness_node/witness_node -d ./node_data --partial-operations true --replay-blockchain
##问题解决
错误:
make[5]: *** 没有规则可以创建“libeditline_la-editline.lo”需要的目标“/root/bitshares/bitshares-core/libraries/fc/vendor/editline/src/editline.c”。 停止。
由于在root目录编译,移动到/home目录重新编译,已有的编译连接文件,导致的问题。
解决:
重新clone项目,把bitshares/bitshares-core/libraries替换为最新的版本,重新编译。
Congratulations @laozeng! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :
Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
SteemitBoard World Cup Contest - Semi Finals - Day 2
Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes
Congratulations @laozeng! You received a personal award!
Click here to view your Board
Congratulations @laozeng! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!