core-lightning/plugins
Rusty Russell 91d7394175 askrene: don't include impossible channels in the MCF graph.
In particular, if the total amount we're sending is less than the minimum amount
the channel insists on, we can eliminate it.

This fixes the problem that we're really trying to send a de-minumus
amount (rather than the more obscure case where we divide the amount
and then it is below the minimum).

After trying several other approaches, this was by far the cleanest!

Reported-by: https://github.com/JssDWt
Fixes: https://github.com/ElementsProject/lightning/issues/8045
Changelog-Fixed: xpay: don't simply give up if our total amount is less than htlc_minimum_msat on some channel.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-02-14 15:18:48 +10:30
..
askrene askrene: don't include impossible channels in the MCF graph. 2025-02-14 15:18:48 +10:30
bkpr unit-tests: cleanup traces after testing 2025-02-11 19:16:16 -06:00
examples cln-plugin: add multi options for String and i64 2024-08-13 12:24:45 +09:30
grpc-plugin rust: bump versions for 24.11 release 2024-12-10 09:37:30 +01:00
renepay renepay: change the groupid selection 2025-02-13 19:16:21 -06:00
rest-plugin clnrest: Rename cln-rest to rest-plugin as per current naming standards 2025-02-10 14:24:59 +10:30
spender spender: fix multifundchannel ids. 2024-11-26 16:04:13 +10:30
src cln-plugin: Change default log level filter back to INFO 2024-09-17 12:00:27 +09:30
test tests: put proper checksums into test gossip_store files. 2025-02-11 15:11:47 -06:00
wss-proxy build: Update poetry.lock files for CLN and built-in plugins 2025-01-15 10:36:43 -08:00
xpay BOLT12: remove -offers from bolt12 quotes, update them. 2025-02-11 20:19:01 -06:00
.gitignore gitignore: cln-xpay plugin 2024-11-26 21:45:19 +10:30
autoclean.c autoclean: rest between cleanup calls. 2024-11-12 10:42:18 +01:00
bcli.c Fix: getblockfrompeer was always requesting block to the first peer 2025-02-12 11:03:14 -06:00
Cargo.toml rust: bump versions for 24.11 release 2024-12-10 09:37:30 +01:00
chanbackup.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
channel_hint.c libplugin-pay: use map for channel hints 2024-10-07 15:16:46 +02:00
channel_hint.h ccan/htable: update to explicit DUPS/NODUPS types. 2025-01-21 09:18:25 +10:30
commando.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
establish_onion_path.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
establish_onion_path.h fetchinvoice: use common/onion_message routines. 2024-07-17 10:57:11 +02:00
exposesecret.c plugins/exposesecret: fix for API change. 2024-11-13 13:24:06 +10:30
fetchinvoice.c BOLT12: remove -offers from bolt12 quotes, update them. 2025-02-11 20:19:01 -06:00
fetchinvoice.h plugins/offers: neaten fetchinvoice integration. 2024-07-17 10:57:11 +02:00
funder.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
funder_policy.c common/amount: rename amount_sat_zero/amount_msat_zerp -> amount_sat_is_zero/amount_msat_is_zero. 2024-09-19 12:16:53 +09:30
funder_policy.h libplugin: allow display of default values. 2024-05-15 15:50:54 -05:00
keysend.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
libplugin-pay.c gossmap: add (and use) logging hook. 2025-02-11 15:11:47 -06:00
libplugin-pay.h libplugin-pay: always use a non-NULL struct command. 2024-11-07 17:04:35 +10:30
libplugin.c gossmap: add (and use) logging hook. 2025-02-11 15:11:47 -06:00
libplugin.h gossmap: add (and use) logging hook. 2025-02-11 15:11:47 -06:00
Makefile build: fix rust parallel build race. 2025-02-11 08:40:29 -06:00
offers.c offers: add a blinded path if we have no advertized address. 2025-02-14 14:18:29 +10:30
offers.h offers: add a blinded path if we have no advertized address. 2025-02-14 14:18:29 +10:30
offers_inv_hook.c BOLT12: remove -offers from bolt12 quotes, update them. 2025-02-11 20:19:01 -06:00
offers_inv_hook.h offers: check they use the blinded path if one is specified. 2024-07-17 10:57:11 +02:00
offers_invreq_hook.c offers: add a blinded path if we have no advertized address. 2025-02-14 14:18:29 +10:30
offers_invreq_hook.h offers: check they use the blinded path if one is specified. 2024-07-17 10:57:11 +02:00
offers_offer.c offers: add a blinded path if we have no advertized address. 2025-02-14 14:18:29 +10:30
offers_offer.h plugins: move fetchinvoice functionality into offers plugin. 2024-07-17 10:57:11 +02:00
pay.c BOLT12: remove -offers from bolt12 quotes, update them. 2025-02-11 20:19:01 -06:00
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
recklessrpc.c libplugin: clean up API. 2024-11-07 17:04:35 +10:30
recover.c gossmap: add (and use) logging hook. 2025-02-11 15:11:47 -06:00
sql.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10:30
topology.c gossmap: add (and use) logging hook. 2025-02-11 15:11:47 -06:00
txprepare.c libplugin: add method string to jsonrpc callbacks, implement generic helpers. 2024-11-07 17:04:35 +10: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).