I have in mind a protocol architecture that includes value transfer, where BTC is the unit of account.
To make the protocol scalable I could specify use of the Lightning Network protocol.
In this case, I’d like all payment transactions sent to a given recipient via the LN protocol to be publicly indexed and independently verifiable. Let’s say if you run a FancyNewProtocol node you end up storing some or all of these transactions.
Is it possible to get this information from the Lightning Network protocol? Is it already stored/indexed on the sender/recipient’s node (so the sender and/or the recipient could relay to a node for inclusion)?
What LN transaction information is usable to provide a verifiable public index of received payments? I am thinking the invoice and related pre-image "receipt" could work. Or am I barking up the wrong tree?