core-lightning/plugins
Rusty Russell 6aa520bb9b lightningd: remove sendonionmesage parity hack.
offers contain an x-only pubkey: to route to them to need to know the
02 vs 03 prefix.  If they're in the gossmap it's easy, but if they're
a directly-connected peer it's harder.  We used to have
sendonionmessage tweak the key if it found a peer with the matching
key, but this was always a hack.

It turns out that we try to connect to the node anyway, which is
a noop if it's already connected.  So try connecting to the other
parity if the first one fails.

Also, this registers when we fail to connect, and returns an error
rather than waiting for timeout.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-22 06:44:26 +09:30
..
spender cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
test common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
.gitignore sort alphabetically 2021-06-28 14:43:47 +09:30
autoclean.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
bcli.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
fetchinvoice.c lightningd: remove sendonionmesage parity hack. 2021-09-22 06:44:26 +09:30
funder.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
funder_policy.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
funder_policy.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
keysend.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
libplugin-pay.c Fix for Alpine Linux ond OpenBSD 2021-09-20 14:44:27 +02:00
libplugin-pay.h common/route: route_from_dijkstra returns route_hop array. 2021-05-22 17:53:04 +09:30
libplugin.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
libplugin.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
Makefile common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
offers.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
offers.h plugin/offers: hoist send_onion_reply into core. 2021-01-09 14:34:35 +10:30
offers_inv_hook.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
offers_inv_hook.h plugins/offer: handle receiving an invoice in an onion_message. 2021-01-09 14:34:35 +10:30
offers_invreq_hook.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
offers_invreq_hook.h plugins/offers: add code to catch invoice_request onion messages. 2020-12-23 14:24:39 +01:00
offers_offer.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
offers_offer.h offers: make decode command available even without experimental-offers. 2021-08-02 13:23:31 -04:00
pay.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
topology.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
txprepare.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30

Plugin Directory

Any file in this directory which is executable and whose name only consists of alphanumeric characters, space, '.', '-' or '_' will be automatically loaded when lightningd starts (unless suppressed with commandline options).