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

Disable mpp flags in invoice creation if jit channel is required and consider available liquidity #9587

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

f321x
Copy link
Member

@f321x f321x commented Feb 28, 2025

Considers the available inbound liquidity when deciding if the client requires a just-in-time channel to receive the requested amount. Also disables the MPP feature flags in the invoice if client requests a jit channel to prevent the LSP from opening multiple channels to it (one for each htlc).
Also makes the difference between the static scid alias we create if there is no existing channel and the "regular" scid aliases more clear by renaming two functions, so we don't call two different things 'scid alias'.
Required for #9584

…ck against available liquidity if we need a jit channel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant