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

Function node_rev_adjacency_begin

plugins/askrene/child/graph.h:140–144  ·  view source on GitHub ↗

Used to loop over the arcs that enter a node. */

Source from the content-addressed store, hash-verified

138
139/* Used to loop over the arcs that enter a node. */
140static inline struct arc node_rev_adjacency_begin(const struct graph *graph,
141 const struct node node)
142{
143 return arc_dual(graph, node_adjacency_begin(graph, node));
144}
145static inline bool node_rev_adjacency_end(const struct arc arc)
146{
147 return arc.idx == INVALID_INDEX;

Callers

nothing calls this directly

Calls 2

arc_dualFunction · 0.70
node_adjacency_beginFunction · 0.70

Tested by

no test coverage detected