core-lightning/lightningd/test
Rusty Russell ef2a063169 utils: add a global tmpctx.
I did a brief audit of tmpctx uses, and we do leak them in various
corner cases.  Fortunely, all our daemons are based on some kind of
I/O loop, so it's fairly easy to clean a global tmpctx at that point.

This makes things a bit neater, and slightly more efficient, but also
clearer: I avoided creating a tmpctx in a few places because I didn't
want to add another allocation.  With that penalty removed, I can use
it more freely and hopefully write clearer code.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-03-16 00:16:10 +00:00
..
Makefile Re-enable builds with DEVELOPER=0 2017-12-20 12:43:10 +01:00
run-commit_tx.c Avoid out-of-bounds read in increase(u32 feerate_per_kw) 2018-01-02 18:37:22 +01:00
run-cryptomsg.c Mark intentionally unused parameters as such (with "UNUSED") 2018-02-22 01:09:12 +00:00
run-find_my_path.c txfilter: clean up prototypes. 2018-03-07 18:55:51 +01:00
run-funding_tx.c wallet: Added unilateral close info to utxo 2018-01-08 17:19:25 +01:00
run-key_derive.c utils: add a global tmpctx. 2018-03-16 00:16:10 +00:00