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

lightningnetwork / lnd / 2746 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2018 03:16AM UTC
Files 109
Run time 3s
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

28 Jan 2018 02:36AM UTC coverage: 65.284% (-0.02%) from 65.304%
RACE=false

push

travis-ci

Olaoluwa Osuntokun
channeldb+lnrpc: store the payment pre-image not rhash

Fixes #481.

Prior to this commit, payments stored in the channel DB only kept a
record of the payment hash. This is a problem as the preimage is what
serves as proof of payment and a user should be able to look up this
value in the future (not just immediately after payment).

Instead of storing both the payment hash and the preimage, we store the
preimage only since the hash can be derrived from this using a SHA256.

In the RPC listpayments command, we now give the preimage in addition to
the payment hash.

16048 of 24582 relevant lines covered (65.28%)

16003.44 hits per line

Source Files on job 2746.1 (RACE=false)
  • Tree
  • List 0
  • Changed 28
  • Source Changed 0
  • Coverage Changed 28
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2746
  • Travis Job 2746.1
  • 0f161c50 on github
  • Prev Job for RACE=false on master (#2749.3)
  • Next Job for RACE=false on master (#2760.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc