core-lightning/plugins
Christian Decker f384385f8e pay: Call listsendpays to find prior attempts and abort if needed
So far we've always been deferring the deletion, retry and early abort
logic to `sendonion` and `sendpay` which do not have the context to
decide if a call is legitimate or not (they were mostly based on
heuristics). By calling `listsendpays` for the invoice's
`payment_hash` we can identify what our `groupid` should be, but more
importantly we can also abort if another payment is pending or a prior
attempt has already succeeded.
2021-10-13 13:41:18 +10:30
..
spender plugins/libplugin.c: Allow freeing notification struct command *. 2021-10-08 14:40:04 +10: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 bcli: Accept "already in chain" errors as success 2021-09-22 09:08:48 +09:30
fetchinvoice.c BOLT 12: switch invoice_request/invoice to singular chain field. 2021-10-08 13:47:30 +02:00
funder.c plugins/libplugin.c: Allow freeing notification struct command *. 2021-10-08 14:40:04 +10: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 pay: Add groupid to the payment struct 2021-10-13 13:41:18 +10:30
libplugin-pay.h pay: Add groupid to the payment struct 2021-10-13 13:41:18 +10:30
libplugin.c plugins/libplugin.c: Allow freeing notification struct command *. 2021-10-08 14:40:04 +10:30
libplugin.h plugins/libplugin.c: Allow freeing notification struct command *. 2021-10-08 14:40:04 +10:30
Makefile common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
offers.c BOLT 12: switch invoice_request/invoice to singular chain field. 2021-10-08 13:47:30 +02:00
offers.h offers: send a modern onion reply in response to a modern request. 2021-10-04 11:58:31 +02:00
offers_inv_hook.c BOLT 12: switch invoice_request/invoice to singular chain field. 2021-10-08 13:47:30 +02:00
offers_inv_hook.h offers: send a modern onion reply in response to a modern request. 2021-10-04 11:58:31 +02:00
offers_invreq_hook.c BOLT 12: switch invoice_request/invoice to singular chain field. 2021-10-08 13:47:30 +02:00
offers_invreq_hook.h offers: send a modern onion reply in response to a modern request. 2021-10-04 11:58:31 +02:00
offers_offer.c bolt12: update to latest spec. 2021-10-08 13:47:30 +02:00
offers_offer.h BOLT12: use point32 instead of pubkey32. 2021-10-08 13:47:30 +02:00
pay.c pay: Call listsendpays to find prior attempts and abort if needed 2021-10-13 13:41:18 +10: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).