升级了一下本地EOS节点到1.3.1

in #eos6 years ago

电脑上跑着一个EOS节点,运行版本是1.2.6,因为据说1.3.0升级改动比较大,所以没有在1.3.0释出时及时更新,反正我也几乎不做啥操作,况且貌似1.2.6超稳呢。

不过这不EOS github三天前上又释出了1.3.1,我就想着该升级一下喽,不能再懒了,虽然现在我觉得已经无力跟上EOS的发展了,但是能跟一点是一点嘛。

于是果断更新代码,编译还是挺快的嘛,然后拿去执行,结果冒出来一堆错误:

2018-10-05T13:20:01.545 thread-0 main.cpp:136 main ] Throw location unknown (consider using BOOST_THROW_EXCEPTION)
Dynamic exception type:
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::unknown_option> >
std::exception::what: unrecognised option 'wallet-dir'

看提示是有一个选项不被识别,看了一下 eos github上的EOSIO 1.3.0 Release Notes,有一条相关信息:

Unknown configuration items in config.ini will now error on startup (#5678)

原来这些选项早就没用啦,以前只是默默地忽略,现在则必须处理掉啦。编辑config.ini文件,找到以下两条内容:

# The path of the wallet files (absolute path or relative to application data dir) (eosio::wallet_plugin)
wallet-dir = "."

# Timeout for unlocked wallet in seconds (default 900 (15 minutes)). Wallets will automatically lock after specified number of seconds of inactivity. Activity is defined as any wallet command e.g. list-wallets. (eosio::wallet_plugin)
unlock-timeout = 900

直接删掉就可以了(当然你也可以选择注释掉),再启动节点,一切正常。


BTW,在微信群里听说又有EOS大户被盗了3.2W个EOS,吓得我赶紧看了一下我的EOS账户,还好我的3个EOS还在,吓死我了。

相关链接

Sort:  

被盗那么多?用户还是系统问题呢?

据说是私钥泄露了😳

还好我的0.3个也还在

Posted using Partiko Android

我们一定要保护好我们的巨款😨

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.029
BTC 62871.45
ETH 3479.64
USDT 1.00
SBD 2.53