core-lightning/plugins/spender
Rusty Russell 65be18d355 memleak: handle libwally allocations better.
Things allocated by libwally all get the tal_name "wally_tal",
which cost me a few hours trying to find a leak.

In the case where we're making one of the allocations the parent
of the others (e.g. a wally_psbt), we can do better: supply a name
for the tal_wally_end().

So I add a new tal_wally_end_onto() which does the standard
tal_steal() trick, and also changes the (typechecked!) name.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-03-21 10:19:50 +10:30
..
fundchannel.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
fundchannel.h plugins/spender/fundchannel.c: Make fundchannel a thin layer around multifundchannel. 2020-09-10 15:28:50 +09:30
main.c check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
multifundchannel.c memleak: handle libwally allocations better. 2022-03-21 10:19:50 +10:30
multifundchannel.h channel leases: pass expected lease rates around in compat form 2021-07-20 13:28:38 -04:00
multiwithdraw.c coin moves: notify when we make deposits to external accounts 2022-01-26 13:34:45 +10:30
multiwithdraw.h plugins/spender/multiwithdraw.c: Implement multiwithdraw command. 2020-09-09 20:36:08 +09:30
openchannel.c memleak: handle libwally allocations better. 2022-03-21 10:19:50 +10:30
openchannel.h mfc-df: after sigs are collected, go sign the psbt 2020-11-23 12:41:05 -06:00