Thanks for the response. The preimage will only be known by the payer and payee right?
Preimage is known to every node on the path of the payment as it settles. Receiver gets it in the end so this is actual proof-of-payment.
reply
Does that mean that one of those nodes on the path could say that they were payer of the invoice?
reply
TLDR: no, those nodes in the path are only "forwarders", they don't know too much or nothing.
reply
(The intermediate nodes all see the pre-image but cannot know the exact destination node (unless the next-to-last node knows the last node is a dead end with only one channel)).
reply