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

Function new_node_map

gossipd/routing.c:126–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126static struct node_map *new_node_map(const tal_t *ctx)
127{
128 struct node_map *map = tal(ctx, struct node_map);
129 node_map_init(map);
130 tal_add_destructor(map, node_map_clear);
131 return map;
132}
133
134/* We use a simple array (with NULL entries) until we have too many. */
135static bool node_uses_chan_map(const struct node *node)

Callers 1

new_routing_stateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected