Rusty Russell
|
bdfcec3eb6
|
fetchinvoice: check we're in the period before attempting to fetch.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
4 years ago |
Rusty Russell
|
f2d2db7b4e
|
plugins/offer: handle receiving an invoice in an onion_message.
And if we have a matching `send_invoice` offer, try to pay it!
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
4 years ago |
Rusty Russell
|
6d1fe7e599
|
plugin/offers: hoist send_onion_reply into core.
We want to reuse it.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
4 years ago |
Rusty Russell
|
09b18bf64f
|
libplugin: replace rpc_delve with rpc_scan.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
4 years ago |
Rusty Russell
|
9d75fbe237
|
plugins/offers: add code to catch invoice_request onion messages.
We prepare an invoice, but there's no code to send an error reply yet
(future patch).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
4 years ago |
Rusty Russell
|
08e110b568
|
JSON: offers plugin `offer` command.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
4 years ago |
Rusty Russell
|
26e0cbeb7c
|
plugin/offers: skeleton for offers plugin (EXPERIMENTAL_FEATURES)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
4 years ago |