~ Most simple search functions start with find_; in this case, search * for an existing attempt to connect the given peer id. */
| 98 | /*~ Most simple search functions start with find_; in this case, search |
| 99 | * for an existing attempt to connect the given peer id. */ |
| 100 | static struct connecting *find_connecting(struct daemon *daemon, |
| 101 | const struct node_id *id) |
| 102 | { |
| 103 | return connecting_htable_get(daemon->connecting, id); |
| 104 | } |
| 105 | |
| 106 | /*~ When we free a peer, we remove it from the daemon's hashtable. */ |
| 107 | static void destroy_peer(struct peer *peer) |
no outgoing calls
no test coverage detected