File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,11 @@ impl<'a> Drop for PersistenceNotifierGuard<'a> {
510
510
511
511
/// The amount of time in blocks we require our counterparty wait to claim their money (ie time
512
512
/// between when we, or our watchtower, must check for them having broadcast a theft transaction).
513
- pub ( crate ) const BREAKDOWN_TIMEOUT : u16 = 6 * 24 ;
513
+ ///
514
+ /// This can be incrased (but not decreased) through [`ChannelHandshakeConfig::our_to_self_delay`]
515
+ ///
516
+ /// [`ChannelHandshakeConfig::our_to_self_delay`]: `crate::util::config::ChannelHandshakeConfig::our_to_self_delay`
517
+ pub const BREAKDOWN_TIMEOUT : u16 = 6 * 24 ;
514
518
/// The amount of time in blocks we're willing to wait to claim money back to us. This matches
515
519
/// the maximum required amount in lnd as of March 2021.
516
520
pub ( crate ) const MAX_LOCAL_BREAKDOWN_TIMEOUT : u16 = 2 * 6 * 24 * 7 ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ pub struct ChannelHandshakeConfig {
33
33
/// case of an honest unilateral channel close, which implicitly decrease the economic value of
34
34
/// our channel.
35
35
///
36
- /// Default value: BREAKDOWN_TIMEOUT (currently 144), we enforce it as a minimum at channel
36
+ /// Default value: [` BREAKDOWN_TIMEOUT`] (currently 144), we enforce it as a minimum at channel
37
37
/// opening so you can tweak config to ask for more security, not less.
38
38
pub our_to_self_delay : u16 ,
39
39
/// Set to the smallest value HTLC we will accept to process.
You can’t perform that action at this time.
0 commit comments