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

Function start_commit_timer

channeld/channeld.c:1407–1417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1405}
1406
1407static void start_commit_timer(struct peer *peer)
1408{
1409 /* Already armed? */
1410 if (peer->commit_timer)
1411 return;
1412
1413 peer->commit_timer_attempts = 0;
1414 peer->commit_timer = new_reltimer(&peer->timers, peer,
1415 time_from_msec(peer->commit_msec),
1416 send_commit, peer);
1417}
1418
1419/* If old_secret is NULL, we don't care, otherwise it is filled in. */
1420static void get_per_commitment_point(u64 index, struct pubkey *point,

Callers 15

send_commitFunction · 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
handle_blockheightFunction · 0.85

Calls 1

time_from_msecFunction · 0.85

Tested by

no test coverage detected