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

Function notify

closingd/closingd.c:29–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27#define HSM_FD 4
28
29static void notify(enum log_level level, const char *fmt, ...)
30{
31 va_list ap;
32
33 va_start(ap, fmt);
34 wire_sync_write(REQ_FD,
35 take(towire_closingd_notification(NULL,
36 level,
37 tal_vfmt(tmpctx, fmt,
38 ap))));
39
40 va_end(ap);
41}
42
43static struct bitcoin_tx *close_tx(const tal_t *ctx,
44 const struct chainparams *chainparams,

Callers 2

send_offerFunction · 0.70
receive_offerFunction · 0.70

Calls 1

wire_sync_writeFunction · 0.50

Tested by

no test coverage detected