Expose min_funding_satoshis via Config#844
Open
vincenzopalazzo wants to merge 1 commit intolightningdevkit:mainfrom
Open
Expose min_funding_satoshis via Config#844vincenzopalazzo wants to merge 1 commit intolightningdevkit:mainfrom
vincenzopalazzo wants to merge 1 commit intolightningdevkit:mainfrom
Conversation
|
👋 Thanks for assigning @tankyleo as a reviewer! |
b89c662 to
44bc110
Compare
Add `min_funding_sats` field to `Config` that maps to LDK's `ChannelHandshakeLimits::min_funding_satoshis`. This allows server operators to enforce a higher minimum channel funding amount for inbound channels, overriding the default of 1000 sats. Fixes lightningdevkit#842 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
44bc110 to
2f8c8ab
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
min_funding_satsfield toConfigthat maps to LDK'sChannelHandshakeLimits::min_funding_satoshisFixes #842
Test plan
cargo checkpassescargo test --lib configpassesCo-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com
cc @tankyleo