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

Function gossmap_remove_node

common/gossmap.c:431–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429}
430
431void gossmap_remove_node(struct gossmap *map, struct gossmap_node *node)
432{
433 while (node->num_chans != 0)
434 gossmap_remove_chan(map, gossmap_nth_chan(map, node, 0, NULL));
435}
436
437/* BOLT #7:
438 * 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