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

Function peer_billboard

common/peer_billboard.c:7–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <common/status_wiregen.h>
6
7void peer_billboard(bool perm, const char *fmt, ...)
8{
9 va_list ap;
10 char *str;
11
12 va_start(ap, fmt);
13 str = tal_vfmt(NULL, fmt, ap);
14 va_end(ap);
15
16 status_debug("billboard%s: %s", perm ? " perm" : "", str);
17 status_send(take(towire_status_peer_billboard(NULL, perm, str)));
18 tal_free(str);
19}

Callers 7

peer_failedFunction · 0.70
do_quickcloseFunction · 0.50
mainFunction · 0.50
billboard_updateFunction · 0.50
peer_reconnectFunction · 0.50

Calls 2

status_sendFunction · 0.85
tal_freeFunction · 0.85

Tested by

no test coverage detected