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

lightningnetwork / lnd / 1479
67%

Build:
DEFAULT BRANCH: master
Ran 15 Sep 2017 05:26PM UTC
Jobs 2
Files 90
Run time 13s
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

pending completion
1479

Pull #333

travis-ci

web-flow
HTLC: added MaxTimeLock for HTLCs expiring in distant future

This commit adjusts the ForwardingPolicy in link.go by adding a
MaxTimeLock field. MaxTimeLock is the absolute maximum time-lock
value that an incoming HTLC is allowed to have. If an incoming
HTLC's time-lock value is greater than this, it will be rejected.
This will prevent a DoS vector against the future, persistent,
decayed shared-secret log when it's implemented. This commit
also includes two tests in link_test.go for MaxTimeLock.
Pull Request #333: HTLC: added MaxTimeLock for HTLCs expiring in distant future

12266 of 17016 relevant lines covered (72.09%)

11716.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1479.1 (RACE=false) 15 Sep 2017 05:27PM UTC 0
72.07
Travis Job 1479.1
3 1479.3 (RACE=false) 15 Sep 2017 05:26PM UTC 0
72.07
Travis Job 1479.3
Source Files on build 1479
  • List 0
  • Changed 20
  • Source Changed 5
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #1479
  • Pull Request #333
  • PR Base - master (#1465)
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

© 2025 Coveralls, Inc