Skip to content

ChannelManager-less phantom invoices - #1384

Merged
TheBlueMatt merged 2 commits into
lightningdevkit:mainfrom
valentinewallace:2022-03-chanmanless-phantom-invoices
Apr 13, 2022
Merged

ChannelManager-less phantom invoices#1384
TheBlueMatt merged 2 commits into
lightningdevkit:mainfrom
valentinewallace:2022-03-chanmanless-phantom-invoices

Conversation

@valentinewallace

@valentinewallacevalentinewallace commented Mar 24, 2022

Copy link
Copy Markdown
Contributor

Closes#1295

Basically a code move plus some docs updates

As part of preparing to expose some of its methods as pub for ChannelManager-less
phantom invoice generation.
Pure code move of the module + the addition of module-level documentation
@valentinewallace
valentinewallaceforce-pushed the 2022-03-chanmanless-phantom-invoices branch from e21cb5f to 8e506f2CompareMarch 28, 2022 20:05
@codecov-commenter

codecov-commenter commented Mar 28, 2022

Copy link
Copy Markdown

Codecov Report

Merging #1384 (1f87c89) into main (4455143) will increase coverage by 0.97%.
The diff coverage is 93.54%.

❗ Current head 1f87c89 differs from pull request most recent head 204dd42. Consider uploading reports for the commit 204dd42 to get more accurate results

@@ Coverage Diff @@## main #1384 +/- ##
==========================================
+ Coverage 90.82% 91.79% +0.97% 
==========================================
Files 73 74 +1 Lines 41237 49074 +7837 Branches 41237 49074 +7837 ==========================================
+ Hits 37452 45046 +7594 - Misses 3785 4028 +243 
Impacted FilesCoverage Δ
lightning-invoice/src/utils.rs96.68% <ø> (ø)
lightning/src/ln/mod.rs95.00% <ø> (ø)
lightning/src/ln/inbound_payment.rs93.49% <93.49%> (ø)
lightning/src/ln/channelmanager.rs87.92% <100.00%> (+3.07%)⬆️
lightning-invoice/src/de.rs80.49% <0.00%> (-0.58%)⬇️
lightning/src/util/crypto.rs100.00% <0.00%> (ø)
lightning/src/ln/functional_tests.rs97.45% <0.00%> (+0.29%)⬆️
lightning-persister/src/lib.rs93.93% <0.00%> (+0.33%)⬆️
lightning/src/util/ser.rs91.92% <0.00%> (+0.45%)⬆️
lightning/src/ln/features.rs98.82% <0.00%> (+0.51%)⬆️
... and 14 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4455143...204dd42. Read the comment docs.

Comment threadlightning-invoice/src/utils.rs Outdated
Comment threadlightning-invoice/src/utils.rs Outdated
@dunxendunxen mentioned this pull request Apr 6, 2022
TheBlueMatt
TheBlueMatt previously approved these changes Apr 10, 2022

@TheBlueMattTheBlueMatt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo the above grammar suggestions.

jkczyz
jkczyz previously approved these changes Apr 11, 2022

@jkczyzjkczyz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Likewise regarding @dunxen's comments.

@jkczyzjkczyz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to squash nits!

@TheBlueMatt

Copy link
Copy Markdown
Collaborator

Please squash!

@TheBlueMatt
TheBlueMatt merged commit 03f6550 into lightningdevkit:mainApr 13, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support ChannelManager-less Phantom Invoice Generation

5 participants

@valentinewallace@codecov-commenter@TheBlueMatt@dunxen@jkczyz