Files
purple-electrumwallet/electrum
SomberNight 93f0452406 lnpeer: simplify where maybe_send_commitment() is called
The typical flow of an update is:
---UPDATE--->
--- SIG  --->
<--REVACK----
<-- SIG  ----
---REVACK--->

It makes sense to try to send a sig ("commitment_signed") right after we send an update.
It also makes sense right after we send revack.

Besides those times, we could call "maybe_send_commitment" at *any* time, that is safe, and depending on other call locations, it might be an optimisation, however it is not needed.

In particular it is unclear why we had those calls when we *receive* updates (and only for certain types of updates - not consistently).
2026-03-11 17:07:19 +00:00
..
2026-02-26 17:49:31 +00:00
2026-03-09 14:39:40 +01:00
2026-02-21 03:51:52 +00:00
2026-02-17 18:11:13 +00:00
2025-12-02 10:38:10 +01:00
2026-01-28 17:49:36 +01:00
2026-02-26 18:06:31 +01:00