arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2205.01797cs.NIcs.CRcs.DC
收藏

用于高吞吐量区块链的编码交易广播

Coded Transaction Broadcasting for High-throughput Blockchains

Lei Yang, Yossi Gilad, Mohammad Alizadeh

摘要:

高吞吐量区块链需要高效的交易广播机制,可以将交易以低带宽开销和延迟交付给大多数网络节点。现有的方案协调跨节点的传输,以避免发送冗余数据,但它们要么会导致高延迟,要么对敌对网络节点不鲁棒。我们提出了Strokkur,一个新的事务广播机制,提供低带宽开销和低延迟。Strokkur背后的核心思想是通过随机事务编码来避免显式协调。而不是转发个别交易。Strokkur节点发送码字-随机选择的多个交易的XOR和。由于几乎每个码字对于接收方解码新交易都是有用的,因此Strokkur节点不需要协调,例如,确定接收方丢失了哪些交易。Strokkur的编码策略建立在LT码(一种流行的无比率擦除码)的基础上,并将其扩展为支持多个不协调的事务数据流,这些事务数据流部分重叠。Strokkur引入了一些机制来应对可能发送损坏码字的对抗性攻击,以及一个简单的速率控制算法,该算法使每个节点能够独立地确定每个对等体的码字的适当发送速率。我们在Golang中实现的Strokkur仅使用一个CPU核心就支持每秒647 k的事务。我们对19个节点的互联网部署和大规模模拟的评估表明,Strokkur消耗的带宽比比特币中现有方案少2- 7.6倍,延迟比Shrec低9倍,只有4%的节点是对抗性的。

英文摘要:

High-throughput blockchains require efficient transaction broadcast mechanisms that can deliver transactions to most network nodes with low bandwidth overhead and latency. Existing schemes coordinate transmissions across peers to avoid sending redundant data, but they either incur a high latency or are not robust against adversarial network nodes. We present Strokkur, a new transaction broadcasting mechanism that provides both low bandwidth overhead and low latency. The core idea behind Strokkur is to avoid explicit coordination through randomized transaction coding. Rather than forward individual transactions. Strokkur nodes send out codewords -- XOR sums of multiple transactions selected at random. Since almost every codeword is useful for the receiver to decode new transactions, Strokkur nodes do not require coordination, for example, to determine which transactions the receiver is missing. Strokkur's coding strategy builds on LT codes, a popular class of rateless erasure codes, and extends them to support multiple uncoordinated senders with partially-overlapping continual streams of transaction data. Strokkur introduces mechanisms to cope with adversarial senders that may send corrupt codewords, and a simple rate control algorithm that enables each node to independently determine an appropriate sending rate of codewords for each peer. Our implementation of Strokkur in Golang supports 647k transactions per second using only one CPU core. Our evaluation across a 19-node Internet deployment and large-scale simulation show that Strokkur consumes 2--7.6x less bandwidth than the existing scheme in Bitcoin, and 9x lower latency that Shrec when only 4% of nodes are adversarial.

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

↑