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

Function start_commit_timer

channeld/channeld.c:1623–1632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1621}
1622
1623static void start_commit_timer(struct peer *peer)
1624{
1625 /* Already armed? */
1626 if (peer->commit_timer)
1627 return;
1628
1629 peer->commit_timer = new_reltimer(&peer->timers, peer,
1630 time_from_msec(peer->commit_msec),
1631 send_commit_if_not_stfu, peer);
1632}
1633
1634/* Fetch the requested point. The secret is no longer returned, use
1635 * revoke_commitment instead. It is legal to call this on any

Callers 15

send_commitFunction · 0.85
send_commit_if_not_stfuFunction · 0.85
send_revocationFunction · 0.85
handle_peer_commit_sigFunction · 0.85
handle_peer_fulfill_htlcFunction · 0.85
handle_peer_fail_htlcFunction · 0.85
handle_peer_shutdownFunction · 0.85
peer_reconnectFunction · 0.85
handle_offer_htlcFunction · 0.85
handle_feeratesFunction · 0.85

Calls 1

time_from_msecFunction · 0.85

Tested by

no test coverage detected