arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.09006cs.DCcs.SE
收藏

HotStuff 协议族活性检查

Liveness Checking of the HotStuff Protocol Family

Jérémie Decouchant, Burcu Kulahcioglu Ozkan, Yanzhuo Zhou

AI总结:

针对拜占庭共识协议活性检查中误报多的问题,本文首次采用温度和套索检测方法,在Twins测试生成器上实现,成功检测HotStuff协议族所有已知活性违反并减少误报。

摘要:

拜占庭共识协议旨在在任何网络同步模型下维持安全性保证,并在部分或完全同步网络中提供活性。然而,若干拜占庭共识协议已被证明在某些场景下会违反活性属性。现有的用于检查共识协议活性的测试方法检查的是有界时间内的活性违反,这会产生大量误报。在这项工作中,我们首次使用温度和套索检测方法来检查拜占庭共识协议的活性,这些方法需要定义特定于系统的状态抽象。我们关注的是最近为区块链共识开发的 HotStuff 协议族。在该协议族中,HotStuff 协议在部分同步假设下既安全又活跃,而 2-Phase HotStuff 和 Sync HotStuff 协议已知会在微妙的故障场景中违反活性。我们在 Twins 自动化单元测试生成器之上实现了我们的活性检查方法,以测试 HotStuff 协议族。我们的结果表明,我们的方法成功检测到所有已知的活性违反,并且比传统的有限时间活性检查产生更少的误报。

英文摘要:

Byzantine consensus protocols aim at maintaining safety guarantees under any network synchrony model and at providing liveness in partially or fully synchronous networks. However, several Byzantine consensus protocols have been shown to violate liveness properties under certain scenarios. Existing testing methods for checking the liveness of consensus protocols check for time-bounded liveness violations, which generate a large number of false positives. In this work, for the first time, we check the liveness of Byzantine consensus protocols using the temperature and lasso detection methods, which require the definition of ad-hoc system state abstractions. We focus on the HotStuff protocol family that has been recently developed for blockchain consensus. In this family, the HotStuff protocol is both safe and live under the partial synchrony assumption, while the 2-Phase Hotstuff and Sync HotStuff protocols are known to violate liveness in subtle fault scenarios. We implemented our liveness checking methods on top of the Twins automated unit test generator to test the HotStuff protocol family. Our results indicate that our methods successfully detect all known liveness violations and produce fewer false positives than the traditional time-bounded liveness checks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑