4

One of the advantages I've heard about Taproot is that all transactions will appear identical to a blockchain observer. This would of course also be true for lightning channel open/close transactions as well which would be a great privacy benefit for lightning users.

For what I understand of the proposed ANYPREVOUT upgrade, it will build on top of Taproot but will need to use a different length pubkey. Would it be possible for an observer to scan the blockchain for this pubkey length in order to determine which transactions are using ANYPREVOUT, and are therefore likely to be lightning related? Or is it possible to somehow hide this inside Taproot in such a way that privacy can still be maintained?

1 Answer 1

4

The foundation of a channel is a multisig output which can't be distinguished from other outputs when using musig and taproot.

The mutual channel close is just a regular tx spending this output so I'd say it'll be hard to detect this as a lightning Chanel without other data (similar as with current channels)

However the unilateral close is different and leaves a footprint of the channel state. I think the update transaction that is used to kick of the settlement tx might have the detectable structure that you have been referring to. (I'd actually like to ask you for your source)

3
  • I'm aware of the limitations in current Taproot proposal in the event of a non-cooperative close. What I'm wondering though is if anyprevout would impact even the cooperative case since it is proposed to use a different pubkey length? Unless I'm misunderstanding something (most likely) then it seems like anybody using the Eltoo protocol with anyprevout would have their channel operations easily visible onchain. My source for the pubkey length difference is this snippet from AJ Towns on the Stephan Livera podcast: youtu.be/8S7D_FdZfE8?t=2978
    – user121612
    Commented May 23, 2021 at 2:03
  • 2
    I think the update txs use anyprevout but in the case of the mutual close it will just be a regular spend as mentioned without the need of anyprevout. (There won't be any update tx in the mutual close as partners can negotiate the spend from the funding TX directly - unless I am missing something, which also could happen. Commented May 23, 2021 at 2:10
  • Ok interesting. So in that case the use of anyprevout for eltoo would only be visible if the channel was closed unilaterally? That's more like the original Taproot assumption. If simply scanning the chain for 33 byte pubkeys is possible then eltoo doesn't seem to have much privacy despite the scaling benefits it can bring
    – user121612
    Commented May 23, 2021 at 3:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.