Payment channel networks (PCNs) have emerged as a scalability solution for blockchains built on the concept of a payment channel: a setting that allows two nodes to safely transact between themselves in high frequencies based on pre-committed peer-to-peer balances. Transaction requests in these networks may be declined because of unavailability of funds due to temporary uneven distribution of the channel balances. In this paper, we investigate how to alleviate unnecessary payment blockage via proper prioritization of the transaction execution order. Specifically, we consider the scheduling problem in PCNs: as transactions continuously arrive on both sides of a channel, nodes need to decide which ones to process and when in order to maximize their objective, which in our case is the channel throughput. We introduce a stochastic model to capture the dynamics of a payment channel under random arrivals, and propose that channels can hold incoming transactions in buffers up to some deadline in order to enable more elaborate processing decisions. We describe a policy that maximizes the channel success rate/throughput for uniform transaction requests of fixed amounts, both in the presence and absence of buffering capabilities, and formally prove its optimality. We also develop a discrete event simulator of a payment channel, and evaluate different heuristic scheduling policies in the more general heterogeneous amounts case, with the results showing superiority of the heuristic extension of our policy in this case as well. Our work opens the way for more formal research on improving PCN performance via joint consideration of routing and scheduling decisions.
翻译:支付渠道网络(PCNs)已成为基于付款渠道概念的块块链的可调适性解决方案:这种设置使两个节点能够在预先承诺的同行对同行之间的平衡的基础上,在高频安全地相互交易;这些网络的交易请求可能因频道余额的暂时分配不均而因资金短缺而减少;在本文件中,我们调查如何通过适当安排交易执行订单的优先次序来减轻不必要的支付阻塞;具体地,我们认为PCNs的时间安排问题:当交易不断到达一个渠道的两侧时,需要确定哪些是处理的,何时是最大限度地实现其目标,而我们的情况是传输渠道。我们采用了一种随机抵达情况下的对支付渠道动态的随机分析模式,并提议通过某些最后期限来将收到的交易维持在某种缓冲中,以便能够作出更详尽的处理决定。我们描述了一种政策,即在存在和缺乏缓冲能力的情况下,使统一交易请求的渠道成功率/通融率最大化,并正式证明其最佳性,而我们的情况是,我们的情况是,我们的情况是,我们的情况是,在随机抵达的付款渠道的付款渠道的动态上,我们将一个更接近性的决策是,我们的案件列表,他能够以更接近性地评估我们整个的进度的进度上,他的案件的进度上,一个更精确地评估了我们的行为。