【问题标题】:Monero wallet-rpc keeps saying set max-reorg-depth N no matter what i doMonero wallet-rpc 一直说 set max-reorg-depth N 不管我做什么
【发布时间】:2021-06-09 16:14:51
【问题描述】:

无论我做什么,我的 monero-wallet-rpc 都会说:

2021-06-09 15:58:56.402 E reorg_depth > m_max_reorg_depth. THROW EXCEPTION: error::reorg_depth_error

还有:

2021-06-09 15:58:56.430 E Exception at while refreshing, what=reorg exceeds maxi                     mum allowed depth, use 'set max-reorg-depth N' to allow it, reorg depth: 744

在过去的几天里,我一直在四处搜索,但没有找到与此相关的信息。我正在尝试使用 monerod 作为守护进程和 wallet-rpc 运行完整的 monero 节点。

这就是我开始 monerod 和 wallet-rpc 的方式:

monerod --config-file /root/.bitmonero/monerod.conf --confirm-external-bind

monero-wallet-rpc --rpc-bind-ip EXTERNAL-IP --rpc-bind-port 18082 --log-level 2 --wallet-file /root/.bitmonero/testwallet --confirm-external-bind --daemon-address EXTERNAL-IP:18081 --daemon-login user:pass --password WALLET-PASSWORD

我的 monerod.conf:

data-dir=/root/.bitmonero
log-file=/root/.bitmonero/monero.log
log-level=0
rpc-bind-ip=PUBLIC-IP
rpc-bind-port=18081
rpc-login=user:pass

这就是我创建钱包的方式:

monero-wallet-cli --trusted-daemon --daemon-address PUBLIC-IP:18081 --daemon-login user:pass

输入钱包名称、密码,未设置后台挖矿,刷新完成,无错误。我点击退出并启动wallet-rpc,然后我再次得到同样的错误。我尝试在 wallet-cli 中设置 max-reorg-depth 744 并再次启动 wallet-rpc,同样的错误。无论我做什么,都会发生同样的错误。 Monero 没有提供任何关于“set max-reorg-depth N”的文档,这是可悲的部分。

尝试创建多个不同的钱包,每个钱包都会出现相同的错误。

是的,我的守护程序已完全同步,甚至重新启动了几次以确保一切正常。

如果有人可以减轻我的一天并解释我到底做错了什么?

谢谢!

【问题讨论】:

    标签: monero


    【解决方案1】:

    问题已解决,您只需打开 monero-wallet-cli,加载主钱包并执行以下命令:set max-reorg-depth 2378751(当前块数)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-28
      • 2010-11-03
      • 2021-06-02
      • 1970-01-01
      • 2021-04-26
      • 1970-01-01
      相关资源
      最近更新 更多