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

Function gossmap_chan_scid

common/gossmap.c:554–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552}
553
554struct short_channel_id gossmap_chan_scid(const struct gossmap *map,
555 const struct gossmap_chan *c)
556{
557 struct short_channel_id scid;
558 scid.u64 = map_be64(map, c->cann_off + c->plus_scid_off);
559
560 return scid;
561}
562
563/* BOLT #7:
564 * 1. type: 257 (`node_announcement`)

Callers 6

dijkstra_to_hopsFunction · 0.85
chanidx_idFunction · 0.85
payment_route_checkFunction · 0.85
can_carryFunction · 0.85
json_add_halfchanFunction · 0.85
json_listincomingFunction · 0.85

Calls 1

map_be64Function · 0.85

Tested by

no test coverage detected