core-lightning/wallet
Rusty Russell 55d962046b Rename (almost) all destructors to destroy_<type>.
We usually did this, but sometimes they were named after what they did,
rather than what they cleaned up.

There are still a few exceptions:
1. I didn't bother creating destroy_xxx wrappers for htable routines
   which already existed.
2. Sometimes destructors really are used for side-effects (eg. to simply
   mark that something was freed): these are clearer with boutique names.
3. Generally destructors are static, but they don't need to be: in some
   cases we attach a destructor then remove it later, or only attach
   to *some* cases.  These are best with qualifiers in the destroy_<type>
   name.

Suggested-by: @ZmnSCPxj
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-02-14 11:31:58 +01:00
..
test wallet: don't implicitly remove peers, but do it explicitly. 2018-02-14 11:31:58 +01: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 Rename (almost) all destructors to destroy_<type>. 2018-02-14 11:31:58 +01:00
wallet.h wallet: don't implicitly remove peers, but do it explicitly. 2018-02-14 11:31:58 +01:00
walletrpc.c lightningd: split struct peer into struct peer and struct channel. 2018-02-14 11:31:58 +01:00
walletrpc.h walletrpc: Implemented the withdrawal flow 2017-06-23 16:02:20 +09:30