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

Function map_be16

common/gossmap.c:140–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static u16 map_be16(const struct gossmap *map, u64 offset)
141{
142 be16 be16;
143 map_copy(map, offset, &be16, sizeof(be16));
144 return be16_to_cpu(be16);
145}
146
147static u32 map_be32(const struct gossmap *map, u64 offset)
148{

Callers 14

add_channelFunction · 0.85
fill_from_updateFunction · 0.85
node_announcementFunction · 0.85
reopen_storeFunction · 0.85
map_catchupFunction · 0.85
gossmap_chan_get_featureFunction · 0.85
gossmap_chan_get_updateFunction · 0.85

Calls 2

map_copyFunction · 0.85
be16_to_cpuFunction · 0.85

Tested by

no test coverage detected