lightning network – How would PTLC’s change invoices?

0
2


Yes the payment point would have to be included instead of the payment hash. I believe other than that nothing in the invoices would have to change.

Invoices have various fields with various semantics. One of them is the field for the payment hash. In order to stay backwards compatible I guess there will be a new field for payment points (public keys) instead of just putting a point inside the field for the hash. In this way someone decoding the invoice could already see if the invoice was for ptlcs instead of the hopefully soon to be legacy htlcs.

AFAIK until now noone has proposed a concrete invoice format yet as we still haven’t agreed upon a specific way on how to implement ptlcs in lightning



Source link

Leave a reply