File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ impl<'a> Drop for PersistenceNotifierGuard<'a> {
483
483
/// we, or our watchtower, must check for them having broadcast a theft transaction).
484
484
pub ( crate ) const BREAKDOWN_TIMEOUT : u16 = 6 * 24 ;
485
485
/// The amount of time we're willing to wait to claim money back to us
486
- pub ( crate ) const MAX_LOCAL_BREAKDOWN_TIMEOUT : u16 = 6 * 24 * 7 ;
486
+ pub ( crate ) const MAX_LOCAL_BREAKDOWN_TIMEOUT : u16 = 2 * 6 * 24 * 7 ;
487
487
488
488
/// The minimum number of blocks between an inbound HTLC's CLTV and the corresponding outbound
489
489
/// HTLC's CLTV. This should always be a few blocks greater than channelmonitor::CLTV_CLAIM_BUFFER,
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ pub struct ChannelHandshakeLimits {
129
129
/// Not checking this value would be a security issue, as our peer would be able to set it to
130
130
/// max relative lock-time (a year) and we would "lose" money as it would be locked for a long time.
131
131
///
132
- /// Default value: MAX_LOCAL_BREAKDOWN_TIMEOUT (1008) , which we also enforce as a maximum value
133
- /// so you can tweak config to reduce the loss of having useless locked funds (if your peer accepts)
132
+ /// Default value: 2016 , which we also enforce as a maximum value so you can tweak config to
133
+ /// reduce the loss of having useless locked funds (if your peer accepts)
134
134
pub their_to_self_delay : u16
135
135
}
136
136
You can’t perform that action at this time.
0 commit comments