core-lightning/plugins
Rusty Russell dbc77bcbc4 pay: fix leak detect on shadow route.
Short term leak, but leak-detect is right: it's dumb code!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

```
plugin-pay: MEMLEAK: 0x2505318
plugin-pay:   label=common/utils.c:134:char[]
plugin-pay:   backtrace:
plugin-pay:     ccan/ccan/tal/tal.c:442 (tal_alloc_)
plugin-pay:     ccan/ccan/tal/tal.c:471 (tal_alloc_arr_)
plugin-pay:     common/utils.c:134 (tal_hexstr)
plugin-pay:     common/node_id.c:48 (node_id_to_hexstr)
plugin-pay:     common/node_id.c:50 (fmt_node_id_)
plugin-pay:     common/type_to_string.c:32 (type_to_string_)
plugin-pay:     plugins/libplugin-pay.c:2970 (shadow_route_extend)
plugin-pay:     plugins/libplugin-pay.c:3113 (shadow_route_listchannels)
plugin-pay:     plugins/libplugin.c:563 (handle_rpc_reply)
plugin-pay:     plugins/libplugin.c:731 (rpc_read_response_one)
plugin-pay:     plugins/libplugin.c:751 (rpc_conn_read_response)
plugin-pay:     ccan/ccan/io/io.c:59 (next_plan)
plugin-pay:     ccan/ccan/io/io.c:407 (do_plan)
plugin-pay:     ccan/ccan/io/io.c:417 (io_ready)
plugin-pay:     ccan/ccan/io/poll.c:453 (io_loop)
plugin-pay:     plugins/libplugin.c:1565 (plugin_main)
plugin-pay:     plugins/pay.c:2569 (main)
plugin-pay:   parents:
plugin-pay:     plugins/libplugin.c:155:struct out_req
```
2022-03-22 18:45:41 +10:30
..
examples cln-plugin: Make notification handlers asynchronous 2022-03-10 10:21:41 +10:30
spender memleak: handle libwally allocations better. 2022-03-21 10:19:50 +10:30
src cln-plugin: Ensure we cleanly shut down when we lose the master conn 2022-03-10 10:21:41 +10:30
test peer_exchange: set, read and log remote_addr 2022-02-22 05:45:47 +10:30
.gitignore sort alphabetically 2021-06-28 14:43:47 +09:30
autoclean.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
bcli.c plugins/bcli: neaten to fix spurious leak report. 2022-03-03 10:23:11 +00:00
Cargo.toml cln-plugin: Implement logging facade adapter for cln plugins 2022-03-10 10:21:41 +10:30
fetchinvoice.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10: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
funder.c plugin-funder: fix typos in option lease-fee-base-msat and funder-fuzz-percent 2022-03-01 09:38:40 +10:30
keysend.c lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
libplugin-pay.c pay: fix leak detect on shadow route. 2022-03-22 18:45:41 +10:30
libplugin-pay.h lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
libplugin.c lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
libplugin.h plugins/libplugin.c: Allow freeing notification struct command *. 2021-10-08 14:40:04 +10:30
Makefile cln-plugin: Get started with the plugin interface 2022-03-10 10:21:41 +10:30
offers_inv_hook.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
offers_inv_hook.h gossipd: handle receipt of modern onion message. 2021-12-01 05:44:28 +10:30
offers_invreq_hook.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
offers_invreq_hook.h gossipd: handle receipt of modern onion message. 2021-12-01 05:44:28 +10:30
offers_offer.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
offers_offer.h BOLT12: use point32 instead of pubkey32. 2021-10-08 13:47:30 +02:00
offers.c bitcoin/chainparams.h: Split BIP173 name into onchain and Lightning HRPs. 2021-12-14 11:21:35 +10:30
offers.h lightningd: Send updated onion spec messages. 2021-12-01 05:44:28 +10:30
pay.c lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
README.md doc: fix wording in plugins/README.md 2020-01-06 12:57:59 +01:00
topology.c lightningd: check htlc_maximum_msat of channels for routehints. 2022-03-22 18:45:41 +10:30
txprepare.c coin moves: notify when we make deposits to external accounts 2022-01-26 13:34:45 +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).