故障排除

“内存与数据不匹配”重启时出错

如果您发现exception: content of memory does not match data expected by executable在尝试启动时遇到错误nodeos,请尝试nodeos使用以下选项之一重新启动(您可以使用nodeos --help以获取这些选项的完整列表)。

Command Line Options for eosio::chain_plugin:
    --fix-reversible-blocks               recovers reversible block database if 
                                          that database is in a bad state
    --force-all-checks                    do not skip any checks that can be 
                                          skipped while replaying irreversible 
                                          blocks
    --replay-blockchain                   clear chain state database and replay 
                                          all blocks
    --hard-replay-blockchain              clear chain state database, recover as 
                                          many blocks as possible from the block 
                                          log, and then replay those blocks
    --delete-all-blocks                   clear chain state database and block 
                                          log

 

“无法将数据库文件增长到请求的大小。” 错误

开始nodeos使用--shared-memory-size-mb 1024。1 GB共享内存文件允许大约50万个事务。

 

我正在运行/连接的EOSIO版本是什么?

如果可以使用默认值,那么cleos get info将输出包含名为的字段的块server_version。如果您nodeos没有使用默认值,那么您需要知道的URL nodeos。在这种情况下,请在nodeosURL中使用以下内容:

cleos --url http://localhost:8888 get info

要只关注块中的版本行:

cleos --url http://localhost:8888 get info | grep server_version
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值