Lightning Network can execute unlimited number of off-chain payments, without incurring the cost of recording each of them in the blockchain. However, conditional payments in such networks is susceptible to Griefing Attack. In this attack, an adversary doesn't resolve the payment with the intention of blocking channel capacity of the network. We propose an efficient countermeasure for the attack, known as Griefing-Penalty. If any party in the network mounts a griefing attack, it needs to pay a penalty proportional to the collateral cost of executing a payment. The penalty is used for compensating affected parties in the network. We propose a new payment protocol HTLC-GP or Hashed Timelock Contract with Griefing-Penalty to demonstrate the utility of the countermeasure. Upon comparing our protocol with existing payment protocol Hashed Timelock Contract, we observe that the average revenue earned by the attacker decreases substantially for HTLC-GP as compared to HTLC. We also study the impact of path length for routing a transaction and rate of griefing-penalty on the budget invested by an adversary for mounting the attack. The budget needed for mounting griefing attack in HTLC-GP is 12 times more than the budget needed by attacker in HTLC, given that each payment instance being routed via path length of hop count 20.
翻译:闪电网络可以执行无限数量的离链付款,而不必承担在链链中记录每笔付款的费用。 但是, 在这种网络中,有条件的付款很容易发生悲伤攻击。 在这次攻击中, 对手不能以阻断网络的频道能力来解决付款问题。 我们建议对袭击采取一项有效的应对措施, 称为 Grieding- Penalty。 如果网络中的任何一方发生悲伤袭击, 它需要支付与支付付款的担保费用相称的罚款。 惩罚用于赔偿网络中的受影响方。 我们提议与Griefing- Penalty签订新的付款协议HTLC- GP或Hashed Tylock合同, 以展示反制措施的效用。 在将我们的协议与现有的支付协议哈希德· Timmlock合同进行比较时, 我们观察到袭击者获得的平均收入与HTLC-GP相比, 比HTLC公司要大幅下降。 我们还要研究执行一笔交易的路程长度和悲伤- 痛苦- 率对敌人为发动袭击所投资的预算的影响。 我们要求的HTLC在12号路上进行痛苦袭击所需的预算中进行12次的升级袭击所需的预算。