带宽约束下的最长链一致性
Longest Chain Consensus Under Bandwidth Constraint
摘要:
垃圾邮件攻击是共识协议的一个严重问题,最近主要区块链Solana的中断就证明了这一点。在实际网络中,由于带宽的限制,它们会导致拥塞和过度的消息延迟。相比之下,最长链(LC),一个重要的家庭的共识协议,以前只被证明是安全的,假设一个理想化的网络模型中,所有的消息都在有限的延迟内交付。这种模型与现实的不匹配在权益证明(PoS)LC中进一步加剧,在这种情况下,对手可以用模棱两可的块向网络发送垃圾邮件。因此,我们扩展了网络模型,以捕获带宽的限制,节点现在需要仔细选择哪些块花费其有限的下载预算上。为了说明这一点,我们表明,“下载沿最长的头链”,一个自然的下载规则工作量证明(PoW)LC,是不安全的PoS LC。我们提出了一个简单的规则“下载到最新鲜的块”,形式化两个常见的算法“不下载模棱两可的”和“blocklisting”,并证明在一个统一的框架,PoS LC与任何这些下载规则是安全的带宽受限的网络。在实验中,我们验证了我们的主张,并展示了这些下载规则在攻击下的行为。通过组成一个PoS LC协议与一个合适的下载规则并行的多个实例,我们得到了一个PoS共识协议,即使在最坏情况下的对抗策略,实现了网络的吞吐量限制的一个恒定的分数。
英文摘要:
Spamming attacks are a serious concern for consensus protocols, as witnessed by recent outages of a major blockchain, Solana. They cause congestion and excessive message delays in a real network due to its bandwidth constraints. In contrast, longest chain (LC), an important family of consensus protocols, has previously only been proven secure assuming an idealized network model in which all messages are delivered within bounded delay. This model-reality mismatch is further aggravated for Proof-of-Stake (PoS) LC where the adversary can spam the network with equivocating blocks. Hence, we extend the network model to capture bandwidth constraints, under which nodes now need to choose carefully which blocks to spend their limited download budget on. To illustrate this point, we show that 'download along the longest header chain', a natural download rule for Proof-of-Work (PoW) LC, is insecure for PoS LC. We propose a simple rule 'download towards the freshest block', formalize two common heuristics 'not downloading equivocations' and 'blocklisting', and prove in a unified framework that PoS LC with any one of these download rules is secure in bandwidth-constrained networks. In experiments, we validate our claims and showcase the behavior of these download rules under attack. By composing multiple instances of a PoS LC protocol with a suitable download rule in parallel, we obtain a PoS consensus protocol that achieves a constant fraction of the network's throughput limit even under worst-case adversarial strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。