Rusty Russell
272d313e05
offers: add self-fetchinvoices for offers, and self-pay for the resulting invoice.
...
Changelog-Added: offers: we can now self-fetch and self-pay BOLT12 offers and invoices.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-07-18 10:53:55 +09:30
Rusty Russell
ea5ea14df4
establish_onion_path: allow establishment via any connected peer.
...
We only need a connection with a peer, not an actual channel. So
add all peers to the local gossmap.
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
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