升级本地EOS节点至v2.0.1

in #cn4 years ago

EOSIO v2.0 系列已经释出好久啦,最新版本已经是v2.0.1。其实在v2.0.0出来的时候,我编译并测试了一下,但是同步同步着,突然就毫无预兆地卡住了。

尽管重启可以解决这个问题,但是说不定什么时候就重新犯病,所以升级到v2.0.0的计划就一直搁浅了。

不过据说v2.0.1里解决了这个BUG,那么我先跑一下试试喽。

升级

编译还是很顺利的,就是耗时有点长

编译完成后检查一下版本号:

nodeos --version

返回如下信息,版本号v2.0.1,看来没搞错。


按着EOSIO v2.0.0 Release Notes的说明,从快照启动,一切🆗!

EOS V2

EOS V2引进了许多新的特性,我觉得最重要的当属新的EOS VM了,分别是:

  • EOS VM Interpreter (eos-vm)
  • EOS VM Just In Time Compiler (JIT) (eos-vm-jit)
  • EOS VM Optimized Compiler (eos-vm-oc-enable)

其中第三个,我觉得更像是一个选项,和前两者结合使用。第三个选项应该还可以结合eos-vm-oc-compile-threads一起使用,但是我没有测试过。

文档上关于如何使用EOS VM的建议如下:

At this time, block producers should consider all running EOS VM JIT as the WASM runtime on their block producing nodes. Other non-producing nodes should feel free to use the faster EOS VM Optimized Compiler runtime instead.

更多特色,大家参考底部的Release Notes吧,不再赘述了。

EOS 价格

受BTC减半以及VOICE测试版即将上线的利好影响,EOS最近涨势还不错。

可惜的是,我大部分仓位都清空了,全是眼泪啊。

相关链接


Vote For Me As Witness
https://steemit.com/~witnesses type in oflyhigh and click VOTE

Vote @oflyhigh via Steemconnect
Thank you!

Sort:  

!thumbup
恭喜你!您的这篇文章入选 @justyy 今日 (2020-02-01) 榜单 【优秀的文章】, 回复本条评论24小时内领赏,点赞本评论将支持 @dailychina 并增加将来您的奖赏。
@justyy 是CN区的见证人,请支持他,给他投票,或者设置justyy为见证人代理。感谢!@justyy的主要贡献:https://steemyy.com

Congratulations! This post has been selected by @justyy as today's (2020-02-01) 【Good Posts】, Steem On! Reply to this message in 24 hours to get rewards. Upvote this comment to support the @dailychina and increase your future rewards! ^_^

SteemIt 工具、API接口、机器人和教程
SteemIt Tools, Bots, APIs and Tutorial



If you believe what I am doing, please consider a spare vote voting me here, thank you very much indeed.

@justyy - the author of https://SteemYY.com and I have been a Steem Witness for more than a year now.

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 63713.30
ETH 3389.19
USDT 1.00
SBD 2.62