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

Function gossmap_chan_scid

common/gossmap.c:628–635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628struct short_channel_id gossmap_chan_scid(const struct gossmap *map,
629 const struct gossmap_chan *c)
630{
631 struct short_channel_id scid;
632 scid.u64 = map_be64(map, c->cann_off + c->plus_scid_off);
633
634 return scid;
635}
636
637/* BOLT #7:
638 * 1. type: 257 (`node_announcement`)

Callers 15

gather_rangeFunction · 0.85
prune_networkFunction · 0.85
get_unannounced_nodesFunction · 0.85
check_timestampsFunction · 0.85
forward_htlcFunction · 0.85
dijkstra_to_hopsFunction · 0.85
chanidx_idFunction · 0.85
mainFunction · 0.85
found_best_peerFunction · 0.85
payment_route_checkFunction · 0.85

Calls 1

map_be64Function · 0.85

Tested by 4

mainFunction · 0.68
print_flowsFunction · 0.68
print_flowsFunction · 0.68
print_flowsFunction · 0.68