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

Function map_get

gossipd/gossmap_manage.c:260–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258}
259
260static struct pending_cannounce *map_get(struct cannounce_map *map,
261 struct short_channel_id scid)
262{
263 return uintmap_get(&map->map, scid.u64);
264}
265
266/* Does any channel_announcement preceed this offset in the gossip_store? */
267static bool any_cannounce_preceeds_offset(struct gossmap *gossmap,

Calls

no outgoing calls

Tested by

no test coverage detected