Hashed Timelock Contract (HTLC) in Lightning Network is susceptible to a griefing attack. An attacker can block several channels and stall payments by mounting this attack. A state-of-the-art countermeasure, Hashed Timelock Contract with Griefing-Penalty (HTLC-GP) is found to work under the classical assumption of participants being either honest or malicious but fails for rational participants. To address the gap, we introduce a game-theoretic model for analyzing griefing attacks in HTLC. We use this model to analyze griefing attacks in HTLC-GP and conjecture that it is impossible to design an efficient protocol that will penalize a malicious participant with the current Bitcoin scripting system. We study the impact of the penalty on the cost of mounting the attack and observe that HTLC-GP is weakly effective in disincentivizing the attacker in certain conditions. To further increase the cost of attack, we introduce the concept of \emph{guaranteed minimum compensation}, denoted as $\zeta$, and modify HTLC-GP into $\textrm{HTLC-GP}^{\zeta}$. By experimenting on several instances of Lightning Network, we observe that the total coins locked in the network drops to $28\%$ for $\textrm{HTLC-GP}^{\zeta}$, unlike in HTLC-GP where total coins locked does not drop below $40\%$. These results justify that $\textrm{HTLC-GP}^{\zeta}$ is better than HTLC-GP to counter griefing attacks.
翻译:Lightning Network 的HTLC 时间锁合同(HTLC) 容易受到令人悲伤的攻击。 攻击者可以通过发动这次攻击来阻断几个渠道和拖延支付。 最先进的反措施, 与Griefing- Penalty (HTLC- GP) 的HSH 时间锁合同( HTLC- GP) 在参与者诚实或恶意但对理性参与者来说失败的经典假设下运作。 为了弥补这一差距, 我们引入了一个游戏理论模型来分析HTLC的悲伤攻击。 我们使用这个模型来分析HTLC- GP的悲伤攻击。 我们用这个模型来分析HT- GLCG- GP 和猜测不可能设计一个有效的协议, 惩罚一个恶意参与者使用目前 Bitcoincolfining 系统来惩罚当前的Bitcoinal- GLC- GGNF, 我们研究的是HT- hlock LG- Ral- crownal- crowd, 我们的G- gLC- groal- cal- cal- crownal- cal- crownal- cal- cal- cal- crown) roup dorup) 。 我们这些GM) 的GD- h=这些GM) 的GPD- h= 的GNLM- h=/ hc- gLCS- hc- hcal- hc- hc- hc- hc- cros- hc- hcal- cross 的GM) 的GM) 的GM) 的GNBT 的GT 的GT 的GNLD- c- cal- c- c- c- c- c- cal- cal- cal- cal- cal- cal- cal- cal- cal- cal- cal- cal- cal- card- cal-c-c- cal-c- cal- cal- cal- cal- calb- cal- cal- cal- cal- cal- cal- cal- cal-c-c- cal- c