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

Function layer_disables_node

plugins/askrene/layer.c:1350–1358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1348}
1349
1350bool layer_disables_node(const struct layer *layer,
1351 const struct node_id *node)
1352{
1353 for (size_t i = 0; i < tal_count(layer->disabled_nodes); i++) {
1354 if (node_id_eq(&layer->disabled_nodes[i], node))
1355 return true;
1356 }
1357 return false;
1358}

Callers 1

describe_disabledFunction · 0.85

Calls 1

node_id_eqFunction · 0.85

Tested by

no test coverage detected