mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
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> |
||
---|---|---|
.. | ||
spender | ||
test | ||
.gitignore | ||
autoclean.c | ||
bcli.c | ||
fetchinvoice.c | ||
funder.c | ||
funder_policy.c | ||
funder_policy.h | ||
keysend.c | ||
libplugin-pay.c | ||
libplugin-pay.h | ||
libplugin.c | ||
libplugin.h | ||
Makefile | ||
offers.c | ||
offers.h | ||
offers_inv_hook.c | ||
offers_inv_hook.h | ||
offers_invreq_hook.c | ||
offers_invreq_hook.h | ||
offers_offer.c | ||
offers_offer.h | ||
pay.c | ||
README.md | ||
topology.c | ||
txprepare.c |
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).