rgb-cln/plugins
Rusty Russell 5b58eda748 libplugin: mark the cmd notleak() whenever command_still_pending() called.
This is what we do in lightningd, which makes memleak much more forgiving:
you can hang temporaries off cmd without getting reports of leaks (also
when send_outreq called).

We remove all the notleak() calls in plugins which worked around this!
And avoid multiple notleak labels, since both send_outreq() and
command_still_pending() can be called multiple times.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-09-19 11:34:42 +09:30
..
bkpr libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
examples cln-plugin: Handle --help invocations better 2022-04-11 15:20:32 +09:30
grpc-plugin cln-plugin: Notify waiting tasks if the lightningd connection closes 2022-07-21 14:19:06 +09:30
spender libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
src cln-rpc: allow id to be any token. 2022-09-16 12:31:45 +09:30
test lightningd: don't explicitly tell connectd to disconnect, have it do it on sending error/warning. 2022-07-18 20:50:04 -05:00
.gitignore bookkeep: first commit, stub of new plugin 2022-07-28 12:08:18 +09:30
Cargo.toml cln-plugin: Fix plugin dependencies 2022-07-21 14:19:06 +09:30
Makefile plugins/Makefile: regenerate plugins list when config changes. 2022-09-16 12:31:45 +09:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
autoclean.c plugin: autoclean fix double free when re-enable, remove xfail mark from test_ 2022-07-16 14:19:05 +09:30
bcli.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
chanbackup.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
commando.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
fetchinvoice.c offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +09:30
funder.c memleak: simplify API. 2022-09-19 11:34:42 +09:30
funder_policy.c daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30
funder_policy.h daemons: remove unused functions or make static. 2021-12-06 10:05:39 +10:30
keysend.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
libplugin-pay.c Remove general shadowed variables. 2022-08-31 12:18:28 +03:00
libplugin-pay.h pay: Populate the channel hints with either the scid or the alias 2022-07-04 22:14:06 +02:00
libplugin.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
libplugin.h jsonrpc: make error codes an enum. 2022-09-19 10:18:55 +09:30
offers.c offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +09:30
offers.h common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
offers_inv_hook.c common: clean up json routine locations. 2022-07-15 12:24:00 -05:00
offers_inv_hook.h connectd: restore obs2 onion support. 2022-03-29 10:55:12 +10:30
offers_invreq_hook.c offers: remove backwards-compatiblity invoice_request signatures. 2022-09-12 09:34:52 +09:30
offers_invreq_hook.h connectd: restore obs2 onion support. 2022-03-29 10:55:12 +10:30
offers_offer.c offers: update to remove "vendor" and "timestamp" fields. 2022-09-12 09:34:52 +09:30
offers_offer.h BOLT12: use point32 instead of pubkey32. 2021-10-08 13:47:30 +02:00
pay.c libplugin: mark the cmd notleak() whenever command_still_pending() called. 2022-09-19 11:34:42 +09:30
topology.c memleak: simplify API. 2022-09-19 11:34:42 +09:30
txprepare.c memleak: simplify API. 2022-09-19 11:34:42 +09:30

README.md

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).