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

Function map_be16

common/gossmap.c:137–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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