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

Function get_channel

gossipd/routing.h:263–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261}
262
263static inline struct chan *
264get_channel(const struct routing_state *rstate,
265 const struct short_channel_id *scid)
266{
267 return uintmap_get(&rstate->chanmap, scid->u64);
268}
269
270struct routing_state *new_routing_state(const tal_t *ctx,
271 const struct node_id *local_id,

Callers 15

handle_outpoints_spentFunction · 0.85
get_unannounced_nodesFunction · 0.85
nodeannounce_query_doneFunction · 0.85
process_scid_probeFunction · 0.85
gather_rangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected