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

Function node_id_eq

common/node_id.h:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13};
14
15static inline bool node_id_eq(const struct node_id *a,
16 const struct node_id *b)
17{
18 return memcmp(a->k, b->k, sizeof(a->k)) == 0;
19}
20
21/* Is this actually a valid pubkey? Relatively expensive. */
22bool node_id_valid(const struct node_id *id);

Callers 15

peer_eq_node_idFunction · 0.85
important_id_eq_node_idFunction · 0.85
connecting_eq_node_idFunction · 0.85
uniquify_node_idsFunction · 0.85
peer_node_id_eqFunction · 0.85
process_channel_updateFunction · 0.85
get_random_nodeFunction · 0.85
wallet_sanity_checkFunction · 0.85
test_wallet_outputsFunction · 0.85
channelseqFunction · 0.85
test_payment_crudFunction · 0.85

Calls

no outgoing calls

Tested by 8

test_wallet_outputsFunction · 0.68
channelseqFunction · 0.68
test_payment_crudFunction · 0.68
check_cannounceFunction · 0.68
test_b11Function · 0.68
check_cannounceFunction · 0.68
check_nannounceFunction · 0.68
accountseqFunction · 0.68