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

Function layer_in

plugins/askrene/reserve.c:123–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123static bool layer_in(const struct layer *layer,
124 const struct layer **layers)
125{
126 for (size_t i = 0; i < tal_count(layers); i++)
127 if (layer == layers[i])
128 return true;
129 return false;
130}
131
132void reserve_sub(const struct reserve_htable *reserved,
133 const struct short_channel_id_dir *scidd,

Callers 3

reserve_subFunction · 0.85
json_add_reservationsFunction · 0.85
fmt_reservationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected