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

Function status_send

common/status.c:80–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80void status_send(const u8 *msg TAKES)
81{
82 report_logging_io("SIGUSR1");
83 if (status_fd >= 0) {
84 if (!wire_sync_write(status_fd, msg))
85 /* No point printing error if lightningd is dead. */
86 exit(1);
87 } else {
88 daemon_conn_send(status_conn, msg);
89 }
90}
91
92static void status_io_full(enum log_level iodir,
93 const struct node_id *peer,

Callers 7

peer_fatal_continueFunction · 0.85
peer_billboardFunction · 0.85
status_setup_syncFunction · 0.85
status_setup_asyncFunction · 0.85
status_io_fullFunction · 0.85
status_vfmtFunction · 0.85
status_send_fatalFunction · 0.85

Calls 3

report_logging_ioFunction · 0.85
daemon_conn_sendFunction · 0.85
wire_sync_writeFunction · 0.50

Tested by

no test coverage detected