rusty at rustcorp.com.au
Mon Nov 26 03:27:59 UTC 2018
Sarat G <sarath.ginjupalli89 at gmail.com> writes:
> I'm been working on the LN repo for a while now. I would like to know if
> there is any way that a payee can lookup the invoice it gets paid, i.e
> similar to the 'lookupinvoice' command as provided by the lnd(Golang).
I'm confused; "the LN repo" is ambigious, as there are several,
each with their own places to ask questions:
Then of course there's the spec repo as well, which guides us all:
But AFAICT (though your question is off-topic for this list):
lnd has lookupinvoice which looks up by hash
eclair has checkpayment which looks up by hash or bolt11
c-lightning has listinvoices which can lookup by label, or
wait(any)invoice which is used for polling.
Would love someone to write a rosetta stone for the different APIs!
More information about the Lightning-dev