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

Function peer_failed_warn

common/peer_failed.c:53–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void peer_failed_warn(struct per_peer_state *pps,
54 const struct channel_id *channel_id,
55 const char *fmt, ...)
56{
57 va_list ap;
58 const char *desc;
59
60 va_start(ap, fmt);
61 desc = tal_vfmt(tmpctx, fmt, ap);
62 va_end(ap);
63
64 peer_failed(pps, true, true, channel_id, desc);
65}
66
67void peer_failed_warn_nodisconnect(struct per_peer_state *pps,
68 const struct channel_id *channel_id,

Callers 15

close_txFunction · 0.85
receive_offerFunction · 0.85
adjust_offerFunction · 0.85
do_quickcloseFunction · 0.85
handle_stfuFunction · 0.85
handle_peer_add_htlcFunction · 0.85
handle_peer_feechangeFunction · 0.85
send_commitFunction · 0.85

Calls 1

peer_failedFunction · 0.85

Tested by

no test coverage detected