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

Function peer_failed_warn

common/peer_failed.c:50–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void peer_failed_warn(struct per_peer_state *pps,
51 const struct channel_id *channel_id,
52 const char *fmt, ...)
53{
54 va_list ap;
55 const char *desc;
56
57 va_start(ap, fmt);
58 desc = tal_vfmt(tmpctx, fmt, ap);
59 va_end(ap);
60
61 peer_failed(pps, true, channel_id, desc);
62}
63
64void peer_failed_err(struct per_peer_state *pps,
65 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
check_short_ids_matchFunction · 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