Abstract
Asynchronous Byzantine Fault-Tolerant (BFT) consensus protocols provide robust liveness without timing assumptions, yet their deployment in wireless networks is hindered by severe channel contention. This paper presents ConsensusBatcher, a protocol suite optimized for resource-constrained wireless environments. By implementing vertical and horizontal message batching, NACK-based reliability, and hardware-aligned memory management, ConsensusBatcher addresses the "contention multiplier" effect inherent in standard BFT designs. Experimental results on a custom STM32-based LoRa testbed demonstrate a reduction in latency by up to 59% and an increase in throughput by up to 62% compared to baseline implementations.
1. Introduction
Asynchronous BFT consensus protocols, such as HoneyBadgerBFT and Dumbo, are highly valued for their ability to maintain progress in unpredictable environments without relying on synchrony assumptions. However, these protocols were originally designed for wired networks characterized by high bandwidth and stable, dedicated communication channels.
When transitioned to wireless networks, these protocols encounter a significant "contention multiplier." Standard asynchronous BFT requires running $N$ parallel instances of sub-protocols, such as Reliable Broadcast (RBC). In a wired environment, this is managed via parallel threading. In a wireless environment using Carrier Sense Multiple Access (CSMA), nodes must compete for a single shared channel $N$ times more frequently. This leads to massive network congestion, high energy consumption, and frequent protocol failure. Furthermore, existing BFT software stacks are often too heavy for the embedded hardware typical of wireless sensor nodes.
2. The ConsensusBatcher Protocol
To bridge the gap between BFT theory and wireless reality, the authors propose ConsensusBatcher, which optimizes communication and computation through several integrated techniques:
2.1 Vertical and Horizontal Batching
Instead of treating each of the $N$ parallel protocol instances as a separate communication task, ConsensusBatcher merges them into unified packets.
- Vertical Batching: Aggregates messages from different instances that are currently in the same protocol phase.
- Horizontal Batching: Combines messages from different phases of the same instance. This approach drastically reduces the number of times a node must attempt to "grab" the airwaves, mitigating channel contention.
2.2 NACK-based Reliability
While most wireless protocols rely on Acknowledgments (ACKs), BFT protocols are inherently quorum-based—nodes can proceed once they receive messages from a threshold of peers. ConsensusBatcher utilizes Negative Acknowledgments (NACKs), which only trigger retransmissions when a message is specifically detected as missing. This significantly reduces unnecessary traffic in the shared medium.
2.3 Hardware and Cryptographic Optimization
To handle high-speed data transfer on low-power microcontrollers, the protocol employs a DMA Alignment Strategy, aligning packet lengths with Direct Memory Access buffer sizes to minimize CPU interrupts. On the cryptographic front, the team utilized lightweight libraries (MIRACL and micro-ecc) to implement threshold signatures and "shared coins." By selecting the BN158 elliptic curve over the more standard BN254, they achieved a balance between security and the signature sizes required for embedded transmission.
2.4 Clustered Multi-hop Architecture
For larger deployments, ConsensusBatcher organizes nodes into clusters. Local consensus is reached within these clusters, while a "global" consensus is managed among cluster leaders. This hierarchical approach reduces the routing overhead that typically plagues flat wireless networks.
3. Experimental Evaluation
The authors evaluated ConsensusBatcher using a custom-built wireless BFT testbed consisting of STM32F767 microcontrollers and LoRa (Long Range) wireless modules. The software implementation comprises over 33,000 lines of C code across four layers: Physical, Network, Component, and Consensus.
3.1 Key Results
The researchers compared ConsensusBatcher-optimized versions of HoneyBadgerBFT, BEAT, and Dumbo against their baseline implementations:
- Latency: Reduced by 48% to 59%. Notably, optimized broadcast protocols (RBC-small) reduced latency by nearly 10 seconds in specific configurations.
- Throughput: Increased by 48% to 62%.
- Stability: Batched protocols exhibited significantly lower performance variance, indicating higher predictability under interference.
- Cryptographic Impact: Switching to the BN158 curve reduced latency by 20 seconds and increased throughput by 4.7 transactions per minute (TPM) on the target hardware.
4. Discussion and Insights
A primary takeaway of this research is that communication, not computation, is the primary bottleneck for wireless BFT. Reducing channel access frequency is more impactful than optimizing cryptographic hash functions. Additionally, the study found that "shared-coin" based Asynchronous Byzantine Agreement (ABA) protocols outperform local-coin versions in wireless settings; despite the heavier mathematics, the reduced message complexity and fewer voting rounds are critical when bandwidth is scarce.
5. Limitations and Future Work
While the clustering approach improves scalability, the global consensus step remains a potential bottleneck if cluster leaders are Byzantine or if network density increases excessively. Furthermore, the current experiments used a 1-meter range to simulate a "smart car swarm." Future research will address the "hidden terminal problem" in long-range LoRa deployments and explore applications in satellite networks and autonomous drone swarms where secure, real-time coordination is essential.
6. Conclusion
ConsensusBatcher demonstrates that asynchronous BFT is viable for resource-constrained wireless networks when communication patterns are optimized for the physical medium. By prioritizing batching and lightweight reliability mechanisms, the protocol provides a robust foundation for secure decentralized systems in the Internet of Things (IoT).
Summary updated