File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,16 @@ pub struct ChannelHandshakeConfig {
171
171
/// [`SIGHASH_SINGLE + update_fee Considered Harmful`]: https://lists.linuxfoundation.org/pipermail/lightning-dev/2020-September/002796.html
172
172
pub negotiate_anchors_zero_fee_htlc_tx : bool ,
173
173
174
+ /// Set to limit the number of HTLCs a remote can push.
175
+ ///
176
+ /// If a counterparty exceeds the threshold, throw an error and close the channel.
177
+ ///
178
+ /// Increasing the value can help improve liquidity and stability in
179
+ /// routing at the cost of higher memory & compute consumption.
180
+ ///
181
+ /// Note: Versions of LDK earlier than v0.0.115 will fail to read channels with a configuration
182
+ /// other than the default value.
183
+ ///
174
184
/// Default value: 50
175
185
pub our_max_accepted_htlcs : u16 ,
176
186
}
You can’t perform that action at this time.
0 commit comments