lightning/plugins
Rusty Russell 233d339061 libplugin-pay: bias towards larger channels.
We bias by channel linearly by capacity, scaled by median fee.
This means that we effectively double the fee if we would use the
entire capacity, and only increase it by 50% if we would only use
1/2 the capacity.

This should drive us towards larger channels.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Changed: Plugins: `pay` now biases towards larger channels, improving success probability.
2021-10-22 16:04:37 +02:00
..
spender plugins/libplugin.c: Allow freeing notification struct command *. 2021-10-08 14:40:04 +10:30
test libplugin-pay: bias towards larger channels. 2021-10-22 16:04:37 +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_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
funder.c plugins/libplugin.c: Allow freeing notification struct command *. 2021-10-08 14:40:04 +10:30
keysend.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
libplugin-pay.c libplugin-pay: bias towards larger channels. 2021-10-22 16:04:37 +02:00
libplugin-pay.h libplugin: Add callbacks for successful and failed payments 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_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
offers.c offers: fix overzealous BROKEN log. 2021-10-14 10:09:03 +10:30
offers.h offers: send a modern onion reply in response to a modern request. 2021-10-04 11:58:31 +02:00
pay.c pay: listpays groups by payment_hash and groupid 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 common/dijkstra: hand channel direction to path_score callback. 2021-10-22 16:04:37 +02:00
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).