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

Function status_send

common/status.c:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void status_send(const u8 *msg TAKES)
83{
84 report_logging_io("SIGUSR1");
85 if (status_fd >= 0) {
86 if (!wire_sync_write(status_fd, msg))
87 /* No point printing error if lightningd is dead. */
88 exit(1);
89 } else {
90 daemon_conn_send(status_conn, msg);
91 }
92}
93
94static void status_io_full(enum log_level iodir,
95 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.70
wire_sync_writeFunction · 0.50

Tested by

no test coverage detected