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

Function send_commit_if_not_stfu

channeld/channeld.c:1542–1551  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1540}
1541
1542static void send_commit_if_not_stfu(struct peer *peer)
1543{
1544 if (!peer->stfu_sent[LOCAL]) {
1545 send_commit(peer);
1546 } else {
1547 /* Timer now considered expired, you can add a new one. */
1548 peer->commit_timer = NULL;
1549 start_commit_timer(peer);
1550 }
1551}
1552
1553static void start_commit_timer(struct peer *peer)
1554{

Callers

nothing calls this directly

Calls 2

send_commitFunction · 0.85
start_commit_timerFunction · 0.85

Tested by

no test coverage detected