Skip to content

ChannelManager-less phantom invoices #1384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

valentinewallace
Copy link
Contributor

@valentinewallace valentinewallace commented Mar 24, 2022

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 valentinewallace force-pushed the 2022-03-chanmanless-phantom-invoices branch from e21cb5f to 8e506f2 Compare March 28, 2022 20:05
@codecov-commenter
Copy link

codecov-commenter commented Mar 28, 2022

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 Files Coverage Δ
lightning-invoice/src/utils.rs 96.68% <ø> (ø)
lightning/src/ln/mod.rs 95.00% <ø> (ø)
lightning/src/ln/inbound_payment.rs 93.49% <93.49%> (ø)
lightning/src/ln/channelmanager.rs 87.92% <100.00%> (+3.07%) ⬆️
lightning-invoice/src/de.rs 80.49% <0.00%> (-0.58%) ⬇️
lightning/src/util/crypto.rs 100.00% <0.00%> (ø)
lightning/src/ln/functional_tests.rs 97.45% <0.00%> (+0.29%) ⬆️
lightning-persister/src/lib.rs 93.93% <0.00%> (+0.33%) ⬆️
lightning/src/util/ser.rs 91.92% <0.00%> (+0.45%) ⬆️
lightning/src/ln/features.rs 98.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.

TheBlueMatt
TheBlueMatt previously approved these changes Apr 10, 2022
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

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
Copy link
Contributor

@jkczyz jkczyz left a comment

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.

Copy link
Contributor

@jkczyz jkczyz left a comment

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
Collaborator

Please squash!

@TheBlueMatt TheBlueMatt merged commit 03f6550 into lightningdevkit:main Apr 13, 2022
Sign up for free to 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