Rusty Russell
a6cfdea71b
fetchinvoice: use common/onion_message routines.
...
This is significantly simpler, too.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-07-17 10:57:11 +02:00
Rusty Russell
0c7ce27a39
plugins/offers: establish_onion_path can have a simple boolean arg for connect_disable.
...
It's always the same string, so simplify the interface.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-07-09 15:09:29 +02:00
Rusty Russell
8714289c8c
plugin/offers: connect if necessary for replying to invoice_request.
...
You can disable this with `fetchinvoice-noconnect`.
Changelog-EXPERIMENTAL: We will now reply to invoice_request messages even if reply path requires us to make an outgoing connection (LDK does this)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-05-14 18:16:26 -05:00
Rusty Russell
b94be330e6
plugins: generalize "connect if we can't route" logic, link into offers plugin.
...
We're going to dynamically connect if we need to, to reply to incoming invoice_requests.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-05-14 18:16:26 -05:00