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

Function gossmap_chan_scid

common/gossmap.c:631–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

gather_range_scidsFunction · 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