Posted by ZmnSCPxj
Oct 17, 2023/17:04 UTC
Bastien received an email from ZmnSCPxj discussing the core risk associated with batched splicing in payment channels. The risk arises when there are no funds available in a channel or when the channel is newly single-funded with an old state. In such cases, if a participant engages in a batched splice and broadcasts the old state, they can convince miners to confirm it before the batched splice, thereby disrupting the process. To mitigate this risk, any batched splicing mechanism should have a backout option. If the batched splice transaction cannot be confirmed due to an old commitment transaction being posted by a participant, either a subset of the splice is re-created or the channels revert back to the pre-splice state. It is important to check if the splicing transaction cannot be confirmed by verifying if the other inputs to the splice transaction were already consumed by transactions that have deeply confirmed. If this is the case, the post-splice state should be dropped and the channels should revert to the pre-splice state. The author is unsure if existing splice implementations perform this check and emphasizes that without this safeguard, any kind of batched splicing is risky.
TLDR
We’ll email you summaries of the latest discussions from authoritative bitcoin sources, like bitcoin-dev, lightning-dev, and Delving Bitcoin.
We'd love to hear your feedback on this project?
Give Feedback