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

lightningnetwork / lnd / 2746
67%

Build:
DEFAULT BRANCH: master
Ran 28 Jan 2018 03:16AM UTC
Jobs 2
Files 109
Run time 43min
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
2746

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.

16049 of 24582 relevant lines covered (65.29%)

34465.12 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2746.1 (RACE=false) 28 Jan 2018 03:16AM UTC 0
65.28
Travis Job 2746.1
3 2746.3 (RACE=false) 28 Jan 2018 04:00AM UTC 0
65.28
Travis Job 2746.3
Source Files on build 2746
  • List 0
  • Changed 36
  • Source Changed 0
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #2746
  • 0f161c50 on github
  • Prev Build on master (#2749)
  • Next Build on master (#2760)
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