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

Function timeout_htlc_set

lightningd/htlc_set.c:38–41  ·  view source on GitHub ↗

BOLT #4: * - MUST fail all HTLCs in the HTLC set after some reasonable * timeout. *... * - SHOULD use `mpp_timeout` for the failure message. */

Source from the content-addressed store, hash-verified

36 * - SHOULD use `mpp_timeout` for the failure message.
37 */
38static void timeout_htlc_set(struct htlc_set *set)
39{
40 htlc_set_fail(set, take(towire_mpp_timeout(NULL)));
41}
42
43void htlc_set_fail(struct htlc_set *set, const u8 *failmsg TAKES)
44{

Callers

nothing calls this directly

Calls 1

htlc_set_failFunction · 0.70

Tested by

no test coverage detected