Skip to content

Instantly share code, notes, and snippets.

View hieblmi's full-sized avatar
🏉
Play on

Slyghtning hieblmi

🏉
Play on
View GitHub Profile
@instagibbs
instagibbs / ptlc-notes.md
Last active October 18, 2023 16:47
PTLCs for LN

Messaging Changes

I am assuming minimal changes to commitment transaction structure, essentially swapping out HTLC for PTLC, so no fast-forward schemes here.

Here are output labels because I get confused so often what things in BOLTs mean:

  • (a) a_o_atx_* Alice-offered "offered PTLC" in Alice's tx
  • (b) a_o_btx_* Alice-offered "received PTLC" in Bob's tx
  • (c) b_o_atx_* Bob-offered "received PTLC" in Alice's tx
  • (d) b_o_btx_* Bob-offered "offered PTLC" in Bob's tx