Returns UINT_MAX if unreachable. */
| 34 | |
| 35 | /* Returns UINT_MAX if unreachable. */ |
| 36 | u32 dijkstra_distance(const struct dijkstra *dij, u32 node_idx) |
| 37 | { |
| 38 | return dij[node_idx].distance; |
| 39 | } |
| 40 | |
| 41 | struct gossmap_chan *dijkstra_best_chan(const struct dijkstra *dij, |
| 42 | u32 node_idx) |
no outgoing calls