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

Function is_fronting_node

lightningd/routehint.c:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16static bool is_fronting_node(const struct lightningd *ld,
17 const struct node_id *node)
18{
19 for (size_t i = 0; i < tal_count(ld->fronting_nodes); i++) {
20 if (node_id_eq(&ld->fronting_nodes[i], node))
21 return true;
22 }
23 return false;
24}
25
26struct routehint_candidate *
27routehint_candidates(const tal_t *ctx,

Callers 1

routehint_candidatesFunction · 0.85

Calls 1

node_id_eqFunction · 0.85

Tested by

no test coverage detected