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

Function node_rev_adjacency_next

plugins/askrene/child/graph.h:149–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 return arc.idx == INVALID_INDEX;
148}
149static inline struct arc node_rev_adjacency_next(const struct graph *graph,
150 const struct arc arc)
151{
152 return arc_dual(graph,
153 node_adjacency_next(graph, arc_dual(graph, arc)));
154}
155
156/* This call adds an arc to the graph, it adds also the dual automatically.
157 * An arc cannot be added twice, if the caller tries to do add the same arc

Callers

nothing calls this directly

Calls 2

arc_dualFunction · 0.70
node_adjacency_nextFunction · 0.70

Tested by

no test coverage detected