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

Function map_empty

gossipd/gossmap_manage.c:250–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248}
249
250static bool map_empty(const struct cannounce_map *map)
251{
252 if (uintmap_empty(&map->map)) {
253 assert(map->count == 0);
254 return true;
255 }
256 assert(map->count != 0);
257 return false;
258}
259
260static struct pending_cannounce *map_get(struct cannounce_map *map,
261 struct short_channel_id scid)

Callers 2

reprocess_queued_msgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected