错误:“哈希不一致”。工作人员崩溃,节点无法与他人连接
1 个回答
- 投票数
-
- 2019-03-17
我能够自己解决问题.我的节点拒绝了一个看似有效的阻止.我通过列出节点的拒绝块发现了这一点:
tezos-admin-client list rejected blocks Output: Hash: BLqhrPaH6WQtVYZssbonME7DPiQLTvZyidkYa8dvAxxoeTsnVKD Level: 356181 Error: Inconsistent hash: local: CoWYi7Nmm91pS8ZNXscNTt6uBpNdaWtpantEc3HcV3XASYEVriNS block_header: CoVHuYH6TpDbJjXFqRsZXichbxdnvqWrDSaGpjVAsJRknAMk8Lkq
因此,由于标头的哈希值不同,该节点拒绝了该块,因此无法赶上,因为它可能拒绝了一个有效的块.
我通过取消标记该区块来解决此问题:
tezos-admin-client unmark invalid BLqhrPaH6WQtVYZssbonME7DPiQLTvZyidkYa8dvAxxoeTsnVKD Output: Block BLqhrPaH6WQtVYZssbonME7DPiQLTvZyidkYa8dvAxxoeTsnVKD no longer marked invalid.
我仍然不知道为什么会这样.
I was able to solve the issue myself. My node had rejected a seemingly valid block. I found this out by listing the rejected blocks of the node:
tezos-admin-client list rejected blocks Output: Hash: BLqhrPaH6WQtVYZssbonME7DPiQLTvZyidkYa8dvAxxoeTsnVKD Level: 356181 Error: Inconsistent hash: local: CoWYi7Nmm91pS8ZNXscNTt6uBpNdaWtpantEc3HcV3XASYEVriNS block_header: CoVHuYH6TpDbJjXFqRsZXichbxdnvqWrDSaGpjVAsJRknAMk8Lkq
So the node rejected the block due to the different hashes of the headers and was not able to catch up, because it likely rejected a valid block.
I solved this issue by unmarking the block:
tezos-admin-client unmark invalid BLqhrPaH6WQtVYZssbonME7DPiQLTvZyidkYa8dvAxxoeTsnVKD Output: Block BLqhrPaH6WQtVYZssbonME7DPiQLTvZyidkYa8dvAxxoeTsnVKD no longer marked invalid.
I still have no idea why this happened.
-
在findint上做得很好,谢谢您通知我们!您可能想在tezosgitlab上提交故障单以获取有关*为什么*发生这种情况的进一步帮助:https://gitlab.com/tezos/tezos/issues您可以随时回到此问题.Well done on findint this out and thanks for letting us know! You may want to file a ticket on tezos gitlab for further help on *why* this happened: https://gitlab.com/tezos/tezos/issues you can always point back to this question.
- 1
- 2019-03-17
- Ezy
-
嗯...我试过了,但是无效块为零.Hmmm... I tried this but I got zero invalid blocks.
- 0
- 2019-11-14
- Luis
-
那就不是如上所述的问题了.Then it's not the same issue as described above.
- 0
- 2019-11-15
- cryptodad
我一直遇到以下错误.突出的是"不一致的哈希"错误,似乎导致工作人员崩溃.块头的哈希值和本地哈希值的哈希值似乎有所不同.我不知道这是什么意思.有谁知道如何解决这个问题?