Payment channel networks (PCNs) are a promising technology to improve the scalability of cryptocurrencies. PCNs, however, face the challenge that the frequent usage of certain routes may deplete channels in one direction, and hence prevent further transactions. In order to reap the full potential of PCNs, recharging and rebalancing mechanisms are required to provision channels, as well as an admission control logic to decide which transactions to reject in case capacity is insufficient. This paper presents a formal model of this optimisation problem. In particular, we consider an online algorithms perspective, where transactions arrive over time in an unpredictable manner. Our main contributions are competitive online algorithms which come with provable guarantees over time. We empirically evaluate our algorithms on randomly generated transactions to compare the average performance of our algorithms to our theoretical bounds. We also show how this model and approach differs from related problems in classic communication networks.
翻译:支付渠道网络(PCNs)是改善加密的可缩放性的一个有希望的技术。但是,PCNs面临挑战,即经常使用某些线路可能使渠道向一个方向耗尽,从而防止进一步交易。为了充分发挥多氯化萘的潜力,提供渠道需要有充裕的充电和再平衡机制,以及一种录用控制逻辑,以决定在能力不足的情况下哪些交易可以拒绝。本文是这一优化问题的正式模式。特别是,我们考虑的是在线算法观点,其中交易以不可预测的方式随时间而到来。我们的主要贡献是竞争性在线算法,这种算法具有可长期维持的保证。我们从经验上评估随机生成的交易的算法,以比较我们算法的平均表现与理论界限。我们还展示了这一模式和办法如何与传统通信网络的相关问题不同。