As distributed ledgers, blockchains run consensus protocols which trade capacity for consistency, especially in non-ideal networks with incomplete connectivity and erroneous links. Existing studies on the tradeoff between capacity and consistency are only qualitative or rely on specific assumptions. This paper presents discrete-time Markov chain models to quantify the capacity of Proof-of-Work based public blockchains in non-ideal networks. The comprehensive model is collapsed to be ergodic under the eventual consistency of blockchains, achieving tractability and efficient evaluations of blockchain capacity. A closed-form expression for the capacity is derived in the case of two miners. Another important aspect is that we extend the ergodic model to analyze the capacity under strong consistency, evaluating the robustness of blockchains against double-spending attacks. Validated by simulations, the proposed models are accurate and reveal the effect of link quality and the distribution of mining rates on blockchain capacity and the ratio of stale blocks.
翻译:作为分布式分类账,供应链运行着一致交易能力的共识协议,特别是在互连互不完全和错误连接的非理想网络中,这种协议要求一致性的贸易能力,特别是在互连互连互错的非理想网络中。关于能力与一致性的权衡的现有研究只是定性的,或依赖于具体假设。本文件介绍了独立的时段Markov链模式,以量化非理想网络中基于工作验证的公共链的能力。全面模式崩溃,在块链的最终一致性下成为自动模式,实现可移植性,并有效评估链链能力。在两个矿工的情况下,可以得出该能力的一种封闭式表达方式。另一个重要方面是,我们扩展了对能力进行强有力一致分析的分类模型,评估了块链在防止双重依赖攻击方面的稳健性。通过模拟,拟议的模型是准确的,并揭示了连接质量和采矿率分布对阻链能力的影响,以及砖块的比例。