core-lightning/onchaind
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 onchaind: keep billboard uptodate. 2018-02-23 18:02:00 +01:00
onchain_types.h onchaind: add a new state for where we're not producing an output. 2018-03-07 18:55:51 +01:00
onchain_wire.c Rename subdaemons, move them into top level. 2017-08-29 17:54:14 +02:00
onchain_wire.csv channel_states: fold all the ONCHAIND states into one. 2018-02-23 18:02:00 +01:00
onchain_wire.h Fix a-vs-an typos 2018-02-08 22:49:34 +01:00
onchain.c utils: add a global tmpctx. 2018-03-16 00:16:10 +00:00