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

Function open_err_warn

openingd/dualopend.c:339–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339static void open_err_warn(struct state *state,
340 const char *fmt, ...)
341{
342 va_list ap;
343 const char *errmsg;
344
345 va_start(ap, fmt);
346 errmsg = tal_vfmt(tmpctx, fmt, ap);
347 va_end(ap);
348
349 status_debug("aborted open negotiation, warn: %s", errmsg);
350 peer_billboard(true, errmsg);
351 peer_failed_warn(state->pps, &state->channel_id, "%s", errmsg);
352}
353
354static void open_err_fatal(struct state *state,
355 const char *fmt, ...)

Callers 13

negotiation_failedFunction · 0.85
handle_peer_shutdownFunction · 0.85
check_channel_idFunction · 0.85
handle_tx_sigsFunction · 0.85
fetch_psbt_changesFunction · 0.85
handle_channel_readyFunction · 0.85
run_tx_interactiveFunction · 0.85
accepter_commitsFunction · 0.85
accepter_startFunction · 0.85
opener_startFunction · 0.85
rbf_wrap_upFunction · 0.85
rbf_local_startFunction · 0.85

Calls 2

peer_failed_warnFunction · 0.85
peer_billboardFunction · 0.50

Tested by

no test coverage detected