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

Function connect_any_cmd_id

lightningd/connect_control.c:405–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405const char *connect_any_cmd_id(const tal_t *ctx,
406 struct lightningd *ld, const struct peer *peer)
407{
408 struct connect *c = find_connect(ld, &peer->id);
409 if (c)
410 return tal_strdup(ctx, c->cmd->id);
411 return NULL;
412}
413
414void connect_succeeded(struct lightningd *ld, const struct peer *peer,
415 bool incoming,

Callers 1

peer_connectedFunction · 0.70

Calls 1

find_connectFunction · 0.85

Tested by

no test coverage detected