Skip to content

Expose min_funding_satoshis via Config#844

Open
vincenzopalazzo wants to merge 1 commit intolightningdevkit:mainfrom
vincenzopalazzo:claude/goofy-jemison
Open

Expose min_funding_satoshis via Config#844
vincenzopalazzo wants to merge 1 commit intolightningdevkit:mainfrom
vincenzopalazzo:claude/goofy-jemison

Conversation

@vincenzopalazzo
Copy link
Contributor

@vincenzopalazzo vincenzopalazzo commented Mar 25, 2026

Summary

  • Add min_funding_sats field to Config that maps to LDK's ChannelHandshakeLimits::min_funding_satoshis
  • Server operators can now enforce a higher minimum channel funding amount for inbound channels (default remains 1000 sats)
  • Updated UniFFI bindings

Fixes #842

Test plan

  • cargo check passes
  • cargo test --lib config passes
  • CI passes

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

cc @tankyleo

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Mar 25, 2026

👋 Thanks for assigning @tankyleo as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

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>
@tankyleo tankyleo self-requested a review March 25, 2026 16:40
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.

Expose UserConfig::channel_handshake_limits::min_funding_satoshis

2 participants