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

spesmilo / electrum / 5839974563577856 / 1
64%
master: 65%

Build:
Build:
LAST BUILD BRANCH: levelDB
DEFAULT BRANCH: master
Ran 04 Mar 2026 07:16PM UTC
Files 89
Run time 2s
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.1

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

24555 of 38445 relevant lines covered (63.87%)

0.64 hits per line

Source Files on job 5839974563577856.1
  • Tree
  • List 89
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5839974563577856
  • 4b1f30c3 on github
  • Prev Job for on 202603_lnpeer_send_commitment (#5523476678705152.1)
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