core-lightning/wallet
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
..
test lightningd: use tal_link for log_book. 2018-02-19 02:56:51 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c Rename (almost) all destructors to destroy_<type>. 2018-02-14 11:31:58 +01:00
db.h pay: Save nodes and channels used on route to payment. 2018-02-01 00:46:06 +00:00
invoices.c Rename (almost) all destructors to destroy_<type>. 2018-02-14 11:31:58 +01:00
invoices.h invoices: Add expiration timer system. 2018-02-05 08:52:42 +00:00
Makefile invoices: Extensive reorganization of invoice system. 2018-01-16 13:03:54 +01:00
wallet.c wallet: make static, not dynamic decision to insert for everything. 2018-02-19 02:56:51 +00:00
wallet.h wallet: make static, not dynamic decision to insert for everything. 2018-02-19 02:56:51 +00:00
walletrpc.c Add dev-listaddrs option (#1001) 2018-02-18 13:52:46 +01:00
walletrpc.h walletrpc: Implemented the withdrawal flow 2017-06-23 16:02:20 +09:30