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

Function open_err_fatal

openingd/dualopend.c:354–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

352}
353
354static void open_err_fatal(struct state *state,
355 const char *fmt, ...)
356{
357 va_list ap;
358 const char *errmsg;
359
360 va_start(ap, fmt);
361 errmsg = tal_vfmt(tmpctx, fmt, ap);
362 va_end(ap);
363
364 status_debug("aborted open negotiation, fatal: %s", errmsg);
365 peer_billboard(true, errmsg);
366 peer_failed_err(state->pps, &state->channel_id, "%s", errmsg);
367}
368
369
370/*~ For negotiation failures: we tell them the parameter we didn't like. */

Callers 14

handle_failure_fatalFunction · 0.85
handle_tx_sigsFunction · 0.85
send_nextFunction · 0.85
handle_channel_readyFunction · 0.85
run_tx_interactiveFunction · 0.85
accepter_commitsFunction · 0.85
accepter_startFunction · 0.85
opener_commitsFunction · 0.85
opener_startFunction · 0.85
rbf_local_startFunction · 0.85
rbf_remote_startFunction · 0.85
channel_sizeFunction · 0.85

Calls 2

peer_failed_errFunction · 0.85
peer_billboardFunction · 0.50

Tested by

no test coverage detected