重新审视Fast Tendermint:一致性违规问题及两种修复方案
Revisiting Fast Tendermint: An Agreement Violation and Two Repairs
AI总结:
本文发现Fast Tendermint的轮次变更规则存在一致性违规问题,提出Walk和Justify两种修复方案,均满足相关安全与活性属性,还提供了证明与扩展内容。
摘要:
Fast Tendermint可将Tendermint的良好情况延迟降至n≥5f+1时的两个通信步骤。我们发现其已发布的轮次变更规则违反了一致性:对于每个f≥1,仅需一个拜占庭进程即可实现;对于f≥2,无需双重签名的情况下仅需两个拜占庭进程即可实现。该故障发生在进程跳过某一轮次却未记录该轮次可能已决定的值时。协议附带的Quint规范不允许此类轮次跳过,因此不受影响;违规问题存在于已发布的伪代码中。我们提出两种修复方案:Walk要求进程在离开每一轮次时需基于该轮次的预提交法定人数,且离开前需完成预提交,该方案保留了记录的有效状态并移除了预提交法定人数后的等待;Justify将接受提案所需的证据包含在提案本身中,同时移除了记录的有效状态和提案者的同步等待。两种方案均在异步环境下满足一致性和有效性,在Tendermint与Fast Tendermint的部分同步gossip模型下满足终止性,且均保留了提案超时设置。正文部分展示了违反一致性的执行场景并解释了两种修复方案,附录提供了相关证明、与其他轮次变更设计的简要对比以及对链场景的扩展。
英文摘要:
Fast Tendermint reduces Tendermint's good-case latency to two communication steps for n>=5f+1. We show that its published round-change rule violates Agreement: one Byzantine process suffices for every f>=1, and for f>=2 two Byzantine processes suffice without double signing. The failure occurs when a process advances past a round without recording the value that may have been decided there. The Quint specification that accompanies the protocol does not allow this kind of round skipping and is not affected; the violation lies in the published pseudocode. We present two repairs. Walk requires a process to leave each round on a quorum of that round's precommits and to precommit before leaving. It keeps the recorded valid state and removes the wait after a precommit quorum. Justify carries the evidence needed to accept a proposal in the proposal itself, removing both the recorded valid state and the proposer's synchronization wait. Both satisfy Agreement and Validity under asynchrony and Termination under the partially synchronous gossip model of Tendermint and Fast Tendermint. Both retain proposal timeouts. The main text presents the executions that violate Agreement and explains the two repairs. The appendices provide proofs, a brief comparison with other round-change designs, and an extension to chains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。