Abstract
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.
Original language | English |
---|---|
Title of host publication | Proceedings of the 2023 IEEE 28th Pacific Rim International Symposium on Dependable Computing (PRDC) |
Editors | Cristina Ceballos |
Place of Publication | Piscataway |
Publisher | IEEE |
Pages | 168-179 |
Number of pages | 12 |
ISBN (Electronic) | 979-8-3503-5876-6 |
ISBN (Print) | 979-8-3503-5877-3 |
DOIs | |
Publication status | Published - 2023 |
Event | 2023 IEEE 28th Pacific Rim International Symposium on Dependable Computing (PRDC) - Singapore, Singapore Duration: 24 Oct 2023 → 27 Oct 2023 |
Conference
Conference | 2023 IEEE 28th Pacific Rim International Symposium on Dependable Computing (PRDC) |
---|---|
Country/Territory | Singapore |
City | Singapore |
Period | 24/10/23 → 27/10/23 |
Bibliographical note
Green Open Access added to TU Delft Institutional Repository 'You share, we take care!' - Taverne project https://www.openaccess.nl/en/you-share-we-take-careOtherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.
Keywords
- Byzantine consensus
- Hotstuff protocols
- Liveness checking
- Lasso detection
- Testing