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

Function peer_eq_node_id

connectd/connectd.h:175–179  ·  view source on GitHub ↗

~ We also define an equality function: is this element equal to this key? */

Source from the content-addressed store, hash-verified

173
174/*~ We also define an equality function: is this element equal to this key? */
175static bool peer_eq_node_id(const struct peer *peer,
176 const struct node_id *id)
177{
178 return node_id_eq(&peer->id, id);
179}
180
181/*~ This defines 'struct peer_htable' which contains 'struct peer' pointers. */
182HTABLE_DEFINE_NODUPS_TYPE(struct peer,

Callers

nothing calls this directly

Calls 1

node_id_eqFunction · 0.85

Tested by

no test coverage detected