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

Function timeout_waitblockheight_waiter

lightningd/peer_control.c:3725–3733  ·  view source on GitHub ↗

Called on timeout. */

Source from the content-addressed store, hash-verified

3723}
3724/* Called on timeout. */
3725static void
3726timeout_waitblockheight_waiter(struct waitblockheight_waiter *w)
3727{
3728 list_del(&w->list);
3729 w->removed = true;
3730 tal_steal(tmpctx, w);
3731 was_pending(command_fail(w->cmd, WAIT_TIMEOUT,
3732 "Timed out."));
3733}
3734/* Called by lightningd at each new block. */
3735void waitblockheight_notify_new_block(struct lightningd *ld)
3736{

Callers

nothing calls this directly

Calls 2

was_pendingFunction · 0.70
command_failFunction · 0.70

Tested by

no test coverage detected