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

Function get_node

gossipd/routing.c:365–369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363}
364
365struct node *get_node(struct routing_state *rstate,
366 const struct node_id *id)
367{
368 return node_map_get(rstate->nodes, id);
369}
370
371static struct node *new_node(struct routing_state *rstate,
372 const struct node_id *id)

Callers 12

destroy_peerFunction · 0.70
connectd_new_peerFunction · 0.70
gossip_refresh_networkFunction · 0.70
new_nodeFunction · 0.70
new_chanFunction · 0.70
catch_node_announcementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected