Bitshares Core 升级编译

in bitshares •  6 years ago 

前言

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替换为最新的版本,重新编译。

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Congratulations @laozeng! You have completed the following achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of upvotes received

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


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Congratulations @laozeng! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @laozeng! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

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!