core-lightning/gossipd
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 gossipd/test: update mocks. 2018-02-14 11:31:58 +01:00
broadcast.c broadcast: Added option to replace a specific index 2018-02-05 18:28:39 +00:00
broadcast.h broadcast: Added option to replace a specific index 2018-02-05 18:28:39 +00:00
gossip_wire.csv gossipd: Implement gossip_mark_channel_unroutable. 2018-02-08 00:51:30 +00:00
gossip.c gossipd: fix race where we can handoff peer with bad cryptostate. 2018-02-13 12:10:35 +01:00
handshake.c gossip: Remove HSM_FD from handshake 2017-12-17 02:44:20 +00:00
handshake.h ipaddr: rename to wireaddr. 2017-10-26 21:01:09 +00:00
Makefile status: generate messages rather than marshal/unmarshal manually. 2018-02-08 19:07:12 +01:00
routing.c Rename (almost) all destructors to destroy_<type>. 2018-02-14 11:31:58 +01:00
routing.h gossipd: Implement gossip_mark_channel_unroutable. 2018-02-08 00:51:30 +00:00