Skip to content
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

Make channel_type optional in ChannelOpenRequest event. #2805

Closed
wants to merge 1 commit into from

Conversation

domZippilli
Copy link
Contributor

@domZippilli domZippilli commented Dec 23, 2023

Peers may send messages requesting to open a channel without specifying the channel type. This gets inferred by LDK when the channel actually opens, but can be passed to the event handler as an Option so the node may factor the lack of specificity in to the channel opening decision.

This should fix #2804.

ACK in advance that I need to rebase to main. (is there interest in hotfixing this for 118/119?)

Peers may send messages requesting to open a channel without specifying
the channel type. This gets inferred by LDK when the channel actually
opens, but can be passed to the event handler as an Option so the node
may factor the lack of specificity in to the channel opening decision.

This should fix lightningdevkit#2804.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d2242f6) 88.78% compared to head (b6a713c) 88.43%.
Report is 368 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2805      +/-   ##
==========================================
- Coverage   88.78%   88.43%   -0.35%     
==========================================
  Files         112      114       +2     
  Lines       88474    91814    +3340     
  Branches    88474    91814    +3340     
==========================================
+ Hits        78553    81199    +2646     
- Misses       7686     8123     +437     
- Partials     2235     2492     +257     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TheBlueMatt
Copy link
Collaborator

Supersceded by #2808.

@TheBlueMatt TheBlueMatt closed this Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants