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

Function negotiation_aborted

openingd/dualopend.c:322–337  ·  view source on GitHub ↗

They failed the open with us */

Source from the content-addressed store, hash-verified

320
321/* They failed the open with us */
322static void negotiation_aborted(struct state *state, const char *why)
323{
324 status_debug("aborted opening negotiation: %s", why);
325 /*~ The "billboard" (exposed as "status" in the JSON listpeers RPC
326 * call) is a transient per-channel area which indicates important
327 * information about what is happening. It has a "permanent" area for
328 * each state, which can be used to indicate what went wrong in that
329 * state (such as here), and a single transient area for current
330 * status. */
331 peer_billboard(true, why);
332
333 /* Tell master that funding failed. Issue a "warning",
334 * so we'll reconnect */
335 peer_failed_received_errmsg(state->pps, why,
336 &state->channel_id, true);
337}
338
339static void open_err_warn(struct state *state,
340 const char *fmt, ...)

Callers 1

opening_negotiate_msgFunction · 0.70

Calls 2

peer_billboardFunction · 0.50

Tested by

no test coverage detected