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

Function try_tal_name

connectd/connectd.c:2170–2176  ·  view source on GitHub ↗

Looks up ptr in hash tree, to try to find name */

Source from the content-addressed store, hash-verified

2168
2169/* Looks up ptr in hash tree, to try to find name */
2170static const char *try_tal_name(const tal_t *ctx, const void *p)
2171{
2172 const tal_t *t = find_tal_ptr(NULL, p);
2173 if (t)
2174 return tal_name(t);
2175 return tal_fmt(ctx, "%p", p);
2176}
2177
2178static char *fd_mode_str(int fd)
2179{

Callers 1

dev_report_fdsFunction · 0.85

Calls 2

find_tal_ptrFunction · 0.85
tal_nameFunction · 0.85

Tested by

no test coverage detected