Draft: Finalize dynamic commitments for channel type#3
Conversation
Will focus on channel type conversions that don't need kickoff txns.
|
I haven't followed development in a while, so might be out-dated.
The Taproot BIP says this is not safe, but I am not a cryptographer so ...?
It's probably not possible, but I would just double-check that it's not possible for a node to accidentally sign something that can be interpreted as a node announcement and broadcast across the network. Probably not a concern. I don't have an opinion on the kickoff vs no-kickoff except that implementation wise keeping track of a hybrid channel seems complicated. The kickoff transaction is a bit annoying especially with pinning. I'm not sure if it has been brought up, but is it possible to use a kickoff tx that is a v3 transaction with a single ephemeral anchor? |
Will focus on channel type conversions that don't need kickoff txns.
I did some experiment here to use a hybrid approach to upgrade an anchor channel to STC. This approach works without broadcasting any onchain txns, instead, it directly updates the next commitment tx to use the taproot outputs. Implementation-wide it seems simpler as,
There are also downsides,
channel_typeintofunding_typeandcommitment_type, not sure if it's an abstraction violation.Given the discussion here and here, we want to instead use splicing to perform funding output upgrade. Also chatted with Gemini, it seems to like the offchain upgrade approach, but also favors splicing in the long term. (Unfortunately the workspace account doesn't allow sharing conversation via a link, so I created this gist).
Looking for feedback here, meanwhile will implement channel params upgrade first.