Decker-Wattenhofer channels (was: An Idea to Improve Connectivity of the Graph)



Summary:

In this communication, ZmnSCPxj seeks clarification on how HTLCs (Hashed Timelock Contracts) are offered under Decker-Wattenhofer Duplex Micropayment Channels. According to ZmnSCPxj's understanding, the transaction sequence under Decker-Wattenhofer construction involves funding, trigger, and invalidation tree(s). The outputs of the final invalidation tree transaction split the funds between the payer and payee in individual simplex channels that make up the duplex channels. However, ZmnSCPxj is uncertain about how HTLCs, which have an absolute timelock, can be made compatible with the relative timelock used by the invalidation tree. ZmnSCPxj contrasts this with Poon-Dryja channels, where the relative-timelock only exists on the claim transaction after a unilateral commitment transaction. HTLCs are offered as outputs of the unilateral commitment transaction, so that the relative-timelock on the main output does not interfere with their normal operation. In contrast, unrevoked HTLC paths that go to oneself have an extra CSV in the HTLC-timeout and HTLC-success paths. Nonetheless, the relative timelock for the HTLC-timeout case is relative to the absolute one that comes first. Finally, ZmnSCPxj expresses concern that the issue of how HTLCs are handled under Decker-Wattenhofer channel factories, which use invalidation trees internally before paying out HTLCs, needs clarification.


Updated on: 2023-05-24T23:19:30.966268+00:00