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

Function dump_htlcs

channeld/full_channel.c:154–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void dump_htlcs(const struct channel *channel, const char *prefix)
155{
156#ifdef SUPERVERBOSE
157 struct htlc_map_iter it;
158 const struct htlc *htlc;
159
160 for (htlc = htlc_map_first(channel->htlcs, &it);
161 htlc;
162 htlc = htlc_map_next(channel->htlcs, &it)) {
163 dump_htlc(htlc, prefix);
164 }
165#endif
166}
167
168/* Returns up to three arrays:
169 * committed: HTLCs currently committed.

Callers 2

calc_commitsigsFunction · 0.85
handle_peer_commit_sigFunction · 0.85

Calls 1

dump_htlcFunction · 0.85

Tested by

no test coverage detected