rgb-cln/lightningd/test
Rusty Russell a2c6ec6c9b lightningd: use tal_link for log_book.
BackgroundL Each log has a log_book: many logs can share the same one,
as each one can have a separate prefix.

Testing tickled a bug at the end of this series, where subd was
logging to the peer's log_book on shutdown, but the peer was already
freed.  We've already had issues with logging while lightningd is
shutting down.

There are times when reference counting really is the right answer,
this seems to be one of them: the 'struct log' share the 'struct
log_book' and the last 'struct log' cleans it up.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-19 02:56:51 +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 common: add logging for peer packets, with status_io. 2018-02-07 00:46:49 +00:00
run-find_my_path.c lightningd: use tal_link for log_book. 2018-02-19 02:56:51 +00:00
run-funding_tx.c wallet: Added unilateral close info to utxo 2018-01-08 17:19:25 +01:00
run-key_derive.c common: move some files out of lightningd/ 2017-08-29 17:54:14 +02:00