File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,11 @@ pub struct ChannelHandshakeConfig {
45
45
/// case of an honest unilateral channel close, which implicitly decrease the economic value of
46
46
/// our channel.
47
47
///
48
- /// Default value: [`BREAKDOWN_TIMEOUT`], we enforce it as a minimum at channel opening so you
49
- /// can tweak config to ask for more security, not less.
48
+ /// Default value: [`BREAKDOWN_TIMEOUT`] * 3, we enforce it as a minimum at channel opening so you
49
+ /// can tweak config to ask for more security, not less. The value has been bumped to 3 days of blocks
50
+ /// in 0.0.113 as the maturity of LN security infrastructure and incident response human reactivity across
51
+ /// the Bitcoin ecosystem, especially in case of needed coordination across layers, are still evaluated as
52
+ /// both young.
50
53
pub our_to_self_delay : u16 ,
51
54
/// Set to the smallest value HTLC we will accept to process.
52
55
///
@@ -156,7 +159,7 @@ impl Default for ChannelHandshakeConfig {
156
159
fn default ( ) -> ChannelHandshakeConfig {
157
160
ChannelHandshakeConfig {
158
161
minimum_depth : 6 ,
159
- our_to_self_delay : BREAKDOWN_TIMEOUT ,
162
+ our_to_self_delay : BREAKDOWN_TIMEOUT * 3 ,
160
163
our_htlc_minimum_msat : 1 ,
161
164
max_inbound_htlc_value_in_flight_percent_of_channel : 10 ,
162
165
negotiate_scid_privacy : false ,
You can’t perform that action at this time.
0 commit comments