cln/plugins
Rusty Russell 03025469be pay: don't notify using uninitialized hint field.
Rather than break the API, use total capacity here.

```
Valgrind error file: valgrind-errors.5880
==5880== Use of uninitialised value of size 8
==5880==    at 0x4A390BB: _itoa_word (_itoa.c:183)
==5880==    by 0x4A43C9B: __printf_buffer (vfprintf-process-arg.c:155)
==5880==    by 0x4A69D90: vsnprintf (vsnprintf.c:96)
==5880==    by 0x1875E6: json_out_addv (json_out.c:239)
==5880==    by 0x14471E: json_add_primitive_fmt (json_stream.c:170)
==5880==    by 0x144BA2: json_add_u64 (json_stream.c:282)
==5880==    by 0x145E33: json_add_amount_msat (json_stream.c:619)
==5880==    by 0x11DDE2: channel_hint_to_json (channel_hint.c:33)
==5880==    by 0x11FE9F: channel_hint_notify_core (libplugin-pay.c:394)
==5880==    by 0x11FF7A: channel_hint_notify (libplugin-pay.c:412)
==5880==    by 0x1201EA: channel_hints_update (libplugin-pay.c:455)
==5880==    by 0x122DAF: handle_intermediate_failure (libplugin-pay.c:1437)
==5880== 
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-01-08 22:33:19 +10:30
..
askrene gossipd: don't shortcut dying phase for local channels. 2026-01-08 22:33:19 +10:30
bip353-plugin docker: Dockerfile fixes after poetry to uv migration 2025-09-09 10:46:23 +09:30
bkpr bookkeeper: restore limit on asking for all channelmoves at once. 2025-11-20 16:30:50 +10:30
examples cln-plugin: trace level logging support 2025-05-05 09:31:22 -07:00
grpc-plugin crates: centralize version management 2025-11-14 09:02:35 +10:30
lsps-plugin plugins: lsps: remove anyhow from tlvs 2025-12-17 05:56:01 +10:30
renepay common: add amount_msat_deduct / amount_msat_deduct_sub. 2025-11-17 10:56:18 +10:30
rest-plugin crates: centralize version management 2025-11-14 09:02:35 +10:30
spender lightningd: immediately close without broadcast whenever we close a withheld channel. 2025-11-19 07:23:39 +10:30
src cln-plugin: adapt send_custom_notification to send modern-style notifications. 2025-08-18 10:01:07 +09:30
test global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
wss-proxy-plugin crates: centralize version management 2025-11-14 09:02:35 +10:30
xpay cln-rpc: update schema, update proto for xpay payer_note field 2025-12-18 12:47:06 -08:00
.gitignore lsps: Add service implementation for LSPS0 2025-05-02 13:34:21 -07:00
autoclean.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
bcli.c lightningd: deprecate "message": null in channel_state_changed notifications. 2025-11-18 14:28:22 +10:30
Cargo.toml crates: centralize version management 2025-11-14 09:02:35 +10:30
chanbackup.c commando, chanbackup: use custommsg hooks. 2025-11-20 16:30:50 +10:30
channel_hint.c pay: don't notify using uninitialized hint field. 2026-01-08 22:33:19 +10:30
channel_hint.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
commando.c commando, chanbackup: use custommsg hooks. 2025-11-20 16:30:50 +10:30
establish_onion_path.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
establish_onion_path.h global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
exposesecret.c ccan: update to get improved grab_file API, and adapt code. 2025-10-26 12:37:58 +10:30
fetchinvoice.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
fetchinvoice.h plugins: cancelrecurringinvoice command. 2025-10-01 15:31:30 +09:30
funder.c plugins: fix %*.s typo. 2025-10-24 11:28:57 +10:30
funder_policy.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
funder_policy.h libplugin: allow display of default values. 2024-05-15 15:50:54 -05:00
keysend.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
libplugin-pay.c pay: Enforce maxdelay for direct channel payments 2025-12-19 12:41:17 +01:00
libplugin-pay.h connectd, gossipd, pay, bcli: use timemono when solely measuring duration for timeouts. 2025-11-13 21:21:29 +10:30
libplugin.c libplugin: don't wait for clean_tmpctx() to free requests as we process them. 2025-11-20 16:30:50 +10:30
libplugin.h libplugin: allow plugins to register optional filters for each hook they want. 2025-11-20 16:30:50 +10:30
Makefile sql: add support for listnetworkevents 2025-11-12 13:58:43 +10:30
offers.c offers: make find_best_peer take a feature bitmap. 2025-11-18 14:31:04 +10:30
offers.h offers: make find_best_peer take a feature bitmap. 2025-11-18 14:31:04 +10:30
offers_inv_hook.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
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: require opt_onion_message for incoming invoices too. 2025-11-18 14:31:04 +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: make find_best_peer take a feature bitmap. 2025-11-18 14:31:04 +10:30
offers_offer.h plugins: move fetchinvoice functionality into offers plugin. 2024-07-17 10:57:11 +02:00
pay.c global: use clock_time in place of time_now(). 2025-11-13 21:21:29 +10:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
recklessrpc.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
recover.c global: remove unnecessary includes from C files. 2025-10-23 06:44:04 +10:30
sql.c sql: limit how many chainmoves/channelmoves entries we ask for at once. 2025-11-20 16:30:50 +10:30
topology.c topology: in deterministic mode, only return one best candidate for listincoming. 2025-11-13 21:21:29 +10:30
txprepare.c plugins: fix %*.s typo. 2025-10-24 11:28:57 +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).