lightning-dev
Anchor transaction for no expiration channels without segwit
Posted on: February 10, 2017 05:13 UTC
The email conversation between Christopher Jämthagen, Nicolas Dorier and Tier Nolan discusses the possibility of creating anchor transactions for indefinite channel lifetimes without segwit.
The proposed solution involves two transactions to be confirmed but with indefinite channel lifetime or one transaction to be confirmed with a definite channel lifetime. There is still uncertainty about which option would be best from the user perspective as channel renewal can be done in the background. Two-layer HTLCs need malleability fixes or workarounds to avoid excessive timeouts. Additionally, symmetrically funded channels require four 1BTC outputs and are slightly smaller than two single funded channels. The proposal includes TX1 for initialization of the channel and TX2 to be nTimelocked after bounty's expiration. The two should be signed by Alice and Bob before broadcasting TX1. If TX1 is mutated, both parties should abort and spend their timeouts to recover their funds.