Lnd allows you to set both max_value_in_flight and remote_max_value_in_flight_msat per channel. Is that what you’re talking about? Both set “the maximum amount of coins in millisatoshis that can be pending in this channel.”

Reply to this note

Please Login to reply.

Discussion

Yes, was searching for this within LND, wondering what the default is? The spec calls it max_htlc_value_in_flight_msat

Afk but can check later. What default would you consider proper?

Doing some work to figure out what will work best for us, and I suspect it may be different across use cases. Hadn’t thought about this setting from this pov until recently.

Default is “the maximum msats worth of HTLCs that can be pending (or in-flight) on our side of the channel.” And `lncli openchannel —remote_max_value_in_flight_msat` allows you to adjust beyond that default upon channel open.

https://github.com/lightningnetwork/lnd/commit/a66a1e113fb04912ac2e8ae62446bce8fed8d12a