MCPcopy Create free account
hub / github.com/ElementsProject/lightning / destroy_connecting

Function destroy_connecting

connectd/connectd.c:92–96  ·  view source on GitHub ↗

~ Here we see our first tal destructor: in this case the 'struct connect' * simply removes itself from the table of all 'connecting' structs. */

Source from the content-addressed store, hash-verified

90/*~ Here we see our first tal destructor: in this case the 'struct connect'
91 * simply removes itself from the table of all 'connecting' structs. */
92static void destroy_connecting(struct connecting *connect)
93{
94 if (!connecting_htable_del(connect->daemon->connecting, connect))
95 abort();
96}
97
98/*~ Most simple search functions start with find_; in this case, search
99 * for an existing attempt to connect the given peer id. */

Callers

nothing calls this directly

Calls 1

abortFunction · 0.85

Tested by

no test coverage detected