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

Function node_id_eq

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

Source from the content-addressed store, hash-verified

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

Callers 15

find_connectingFunction · 0.85
peer_eq_node_idFunction · 0.85
find_peerFunction · 0.85
get_node_announcementFunction · 0.85
uniquify_node_idsFunction · 0.85
local_directionFunction · 0.85
pending_node_announce_eqFunction · 0.85
node_map_node_eqFunction · 0.85
wallet_sanity_checkFunction · 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