“内存与数据不匹配”重启时出错
如果您发现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
。在这种情况下,请在nodeos
URL中使用以下内容:
cleos --url http://localhost:8888 get info
要只关注块中的版本行:
cleos --url http://localhost:8888 get info | grep server_version