Coded Transaction Broadcasting for High-throughput Blockchains

Lei Yang, Yossi Gilad, Mohammad AlizadeharXiv 2022 · DOI

Abstract

Strokkur is a novel transaction broadcasting protocol that utilizes windowed Luby Transform (LT) codes to eliminate the need for explicit coordination between blockchain nodes. By employing coded broadcasting and a Multiplicative-Increase Multiplicative-Decrease (MIMD) rate control mechanism, Strokkur achieves significant bandwidth savings and superior resilience against adversarial delays compared to traditional flooding and hash-based relaying schemes.

Introduction

Efficient transaction broadcasting is a cornerstone of decentralized blockchain networks. Traditional methods like flooding ensure rapid propagation but suffer from excessive bandwidth overhead, often exceeding 50×. Conversely, hash-based relaying reduces bandwidth but introduces significant coordination latency, particularly in adversarial environments where malicious nodes can manipulate timeouts. This paper presents Strokkur, a novel broadcasting protocol that leverages windowed Luby Transform (LT) codes to eliminate explicit coordination, achieving high throughput with up to 9× lower latency than state-of-the-art schemes in adversarial settings.

The Strokkur Protocol

Strokkur replaces traditional request-response mechanisms with coded broadcasting. The protocol is built on three main pillars:

Windowed LT Codes

Unlike standard erasure codes that operate on fixed blocks, Strokkur utilizes a sliding FIFO window of recent transactions. Nodes generate "codewords" by XORing a random subset of transactions within this window. This approach allows for a continuous data stream, essential for the high-frequency transaction arrival seen in modern blockchains.

Peeling Decoder and Security

Receivers employ an iterative "peeling" decoder. When a codeword containing a single unknown transaction is received, that transaction is decoded and subsequently removed from other pending codewords. This mechanism is inherently robust against "pollution attacks." Because the peeling process is local to specific codewords, a corrupted codeword can be identified via header hashes and discarded without compromising the entire decoding state, providing a form of Byzantine fault tolerance.

MIMD Rate Control

To optimize bandwidth without explicit feedback, Strokkur uses a Multiplicative-Increase Multiplicative-Decrease (MIMD) algorithm. Nodes independently adjust their transmission rates to maintain a target loss rate (γ), typically set to 2%.

Convergence of codeword and loss rates over time using the MIMD control algorithm.

Evaluation and Results

The performance of Strokkur was evaluated using a global 19-node testbed on Vultr VMs and large-scale simulations in OMNET++ with up to 4,000 nodes. Historical Bitcoin transaction data was used to ensure the system handles variable transaction sizes efficiently.

Bandwidth and Efficiency

Strokkur demonstrates significant efficiency gains, consuming 2–7.6× less bandwidth than Bitcoin's flooding approach. Analysis of the coding overhead shows that the windowed approach performs comparably to conventional block-based LT codes while supporting streaming data.

Bandwidth overhead comparison between conventional and windowed LT codes.

Resilience and Scalability

In adversarial scenarios where 4% of nodes are malicious, Strokkur maintains stable latency. In contrast, state-of-the-art hash-based schemes like Shrec experience a 15× latency spike due to timeout manipulation. Furthermore, Strokkur scales gracefully; increasing the network size from 250 to 4,000 nodes results in only a 0.5-second latency increase and a 4% rise in bandwidth costs. The implementation is highly optimized, capable of processing over 640,000 transactions per second on a single CPU core.

Conclusion

Strokkur addresses the coordination bottleneck in blockchain transaction broadcasting through randomized network coding. By shifting from explicit requests to statistical data delivery, it achieves superior bandwidth efficiency and adversarial resilience. Future work includes a formal theoretical analysis of windowed LT code overhead and exploring automated parameter tuning for volatile network environments.

Summary updated

BibTeX
@misc{yang2022coded,
  author = {Lei Yang and Yossi Gilad and Mohammad Alizadeh},
  title = {{Coded Transaction Broadcasting for High-throughput Blockchains}},
  year = {2022},
  eprint = {2205.01797},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.01797},
}
Figure