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

Function map_nodeid

common/gossmap.c:132–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132static void map_nodeid(const struct gossmap *map, size_t offset,
133 struct node_id *id)
134{
135 map_copy(map, offset, id, sizeof(*id));
136}
137
138/* Returns optional or compulsory feature if set, otherwise -1 */
139static int map_feature_test(const struct gossmap *map,

Callers 3

add_channelFunction · 0.85
node_announcementFunction · 0.85
gossmap_node_get_idFunction · 0.85

Calls 1

map_copyFunction · 0.85

Tested by

no test coverage detected