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

Function timeout_htlc_set

lightningd/htlc_set.c:56–59  ·  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

54 * - SHOULD use `mpp_timeout` for the failure message.
55 */
56static void timeout_htlc_set(struct htlc_set *set)
57{
58 htlc_set_fail(set, take(towire_mpp_timeout(NULL)));
59}
60
61void htlc_set_fail_(struct htlc_set *set, const u8 *failmsg TAKES,
62 const char *file, int line)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected