支付通道网络中路径规划的正确性与计算复杂度分析
An Analysis of the Correctness and Computational Complexity of Path Planning in Payment Channel Networks
AI总结:
本文证明了支付通道网络中路径规划算法的正确性与计算复杂度,指出在一致性条件下算法为多项式时间,否则为NP难,并提出一种双向搜索改进算法,经验上表现更优。
摘要:
支付通道网络(PCN)是一种改善加密货币交易扩展性和延迟的方法。为了在PCN中的两个对等节点之间进行支付,必须规划网络中一条可行的低费用路径。许多PCN路径规划算法使用一种变体的Dijkstra搜索算法。在本文中,我们证明了该算法的正确性和计算复杂度。具体来说,我们表明,如果PCN满足与支付通道收取费用相关的一致性属性,则该算法是正确的,并且具有多项式计算复杂度。然而,在一般情况下,该算法不正确,且路径规划问题是NP难的。这些新开发的结果可用于指导新的或现有的PCN的开发,使其适用于路径规划。例如,我们表明,闪电网络(Lightning Network)——最广泛使用的PCN,构建于比特币加密货币之上——目前满足上述一致性属性。作为第二个贡献,我们证明了对上述路径规划算法的一个小修改,尽管具有相同的渐近计算复杂度,但在经验上表现出更好的性能。该修改涉及使用双向搜索,并通过在闪电网络上模拟交易进行了经验评估。
英文摘要:
Payment Channel Networks (PCNs) are a method for improving the scaling and latency of cryptocurrency transactions. For a payment to be made between two peers in a PCN, a feasible low-fee path in the network must be planned. Many PCN path planning algorithms use a search algorithm that is a variant of Dijkstra's algorithm. In this article, we prove the correctness and computational complexity of this algorithm. Specifically, we show that, if the PCN satisfies a consistency property relating to the fees charged by payment channels, the algorithm is correct and has polynomial computational complexity. However, in the general case, the algorithm is not correct and the path planning problem is NP-hard. These newly developed results can be used to inform the development of new or existing PCNs amenable to path planning. For example, we show that the Lightning Network, which is the most widely used PCN and is built on the Bitcoin cryptocurrency, currently satisfies the above consistency property. As a second contribution, we demonstrate that a small modification to the above path planning algorithm which, although having the same asymptotic computational complexity, empirically shows better performance. This modification involves the use of a bidirectional search and is empirically evaluated by simulating transactions on the Lightning Network.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。