• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

spesmilo / electrum / 5839974563577856
64%
master: 65%

Build:
Build:
LAST BUILD BRANCH: levelDB
DEFAULT BRANCH: master
Ran 04 Mar 2026 07:16PM UTC
Jobs 1
Files 89
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Mar 2026 06:51PM UTC coverage: 63.87% (+0.02%) from 63.852%
5839974563577856

Pull #10509

CirrusCI

SomberNight
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).
Pull Request #10509: lnpeer: simplify where maybe_send_commitment() is called

8 of 8 new or added lines in 1 file covered. (100.0%)

362 existing lines in 1 file now uncovered.

24555 of 38445 relevant lines covered (63.87%)

0.64 hits per line

Coverage Regressions

Lines Coverage ∆ File
362
61.98
-0.04% electrum/lnpeer.py
Jobs
ID Job ID Ran Files Coverage
1 5839974563577856.1 04 Mar 2026 07:16PM UTC 89
63.87
Source Files on build 5839974563577856
  • Tree
  • List 89
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #58399745...
  • Pull Request #10509
  • PR Base - master (#55234766...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc