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

Function gossmap_disable_mmap

common/gossmap.c:2030–2035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2028}
2029
2030void gossmap_disable_mmap(struct gossmap *map)
2031{
2032 if (map->mmap)
2033 munmap(map->mmap, map->map_size);
2034 map->mmap = NULL;
2035}
2036
2037void gossmap_stats(const struct gossmap *map, u64 *num_live, u64 *num_dead)
2038{

Callers 2

map_catchupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected