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

Function is_halfchan_defined

gossipd/routing.h:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75static inline bool is_halfchan_defined(const struct half_chan *hc)
76{
77 return hc->bcast.index != 0;
78}
79
80/* Container for per-node channel pointers. Better cache performance
81 * than uintmap, and we don't need ordering. */

Callers 10

gossip_refresh_networkFunction · 0.85
want_updateFunction · 0.85
prev_updateFunction · 0.85
route_pruneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected