core-lightning/closingd
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
..
closing_wire.csv closingd: don't punish peers who can't negotiate properly. 2018-02-02 20:33:49 +01:00
closing.c utils: add a global tmpctx. 2018-03-16 00:16:10 +00:00
Makefile peer_failed: set permanent slot when we fail the peer. 2018-02-23 18:02:00 +01:00