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

Function peer_failed_err

common/peer_failed.c:81–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void peer_failed_err(struct per_peer_state *pps,
82 const struct channel_id *channel_id,
83 const char *fmt, ...)
84{
85 va_list ap;
86 const char *desc;
87
88 assert(channel_id);
89 va_start(ap, fmt);
90 desc = tal_vfmt(tmpctx, fmt, ap);
91 va_end(ap);
92
93 peer_failed(pps, true, false, channel_id, desc);
94}
95
96/* We're failing because peer sent us an error/warning message */
97void peer_failed_received_errmsg(struct per_peer_state *pps,

Callers 15

close_txFunction · 0.50
handle_stfuFunction · 0.50
check_tx_abortFunction · 0.50
splice_abortFunction · 0.50
handle_peer_commit_sigFunction · 0.50

Calls 1

peer_failedFunction · 0.85

Tested by

no test coverage detected