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

Function gossmap_remove_node

common/gossmap.c:434–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432}
433
434void gossmap_remove_node(struct gossmap *map, struct gossmap_node *node)
435{
436 while (node->num_chans != 0)
437 gossmap_remove_chan(map, gossmap_nth_chan(map, node, 0, NULL));
438}
439
440/* BOLT #7:
441 * 1. type: 256 (`channel_announcement`)

Callers 1

clean_topoFunction · 0.85

Calls 2

gossmap_remove_chanFunction · 0.85
gossmap_nth_chanFunction · 0.85

Tested by

no test coverage detected