File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,11 @@ pub struct ChannelHandshakeLimits {
100
100
///
101
101
/// Default value: 0.
102
102
pub min_funding_satoshis : u64 ,
103
+ /// Maximum allowed satoshis when a channel is funded, this is supplied by the sender and so
104
+ /// only applies to inbound channels.
105
+ ///
106
+ /// Default value: 2^24.
107
+ pub max_funding_satoshis : u64 ,
103
108
/// The remote node sets a limit on the minimum size of HTLCs we can send to them. This allows
104
109
/// you to limit the maximum minimum-size they can require.
105
110
///
@@ -151,6 +156,7 @@ impl Default for ChannelHandshakeLimits {
151
156
fn default ( ) -> Self {
152
157
ChannelHandshakeLimits {
153
158
min_funding_satoshis : 0 ,
159
+ max_funding_satoshis : 1 << 24 ,
154
160
max_htlc_minimum_msat : <u64 >:: max_value ( ) ,
155
161
min_max_htlc_value_in_flight_msat : 0 ,
156
162
max_channel_reserve_satoshis : <u64 >:: max_value ( ) ,
You can’t perform that action at this time.
0 commit comments