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

Function map_be64

common/gossmap.c:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static u64 map_be64(const struct gossmap *map, u64 offset)
155{
156 be64 be64;
157 map_copy(map, offset, &be64, sizeof(be64));
158 return be64_to_cpu(be64);
159}
160
161static void map_nodeid(const struct gossmap *map, u64 offset,
162 struct node_id *id)

Callers 7

add_channelFunction · 0.85
fill_from_updateFunction · 0.85
gossmap_chan_scidFunction · 0.85
reopen_storeFunction · 0.85

Calls 2

map_copyFunction · 0.85
be64_to_cpuFunction · 0.85

Tested by

no test coverage detected