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

Function peer_failed_err

common/peer_failed.c:64–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void peer_failed_err(struct per_peer_state *pps,
65 const struct channel_id *channel_id,
66 const char *fmt, ...)
67{
68 va_list ap;
69 const char *desc;
70
71 assert(channel_id);
72 va_start(ap, fmt);
73 desc = tal_vfmt(tmpctx, fmt, ap);
74 va_end(ap);
75
76 peer_failed(pps, false, channel_id, desc);
77}
78
79/* We're failing because peer sent us an error/warning message */
80void peer_failed_received_errmsg(struct per_peer_state *pps,

Callers 15

close_txFunction · 0.85
handle_stfuFunction · 0.85
peer_reconnectFunction · 0.85
handle_blockheightFunction · 0.85

Calls 1

peer_failedFunction · 0.85

Tested by

no test coverage detected