Expose the constants mentioned in docs, and use doc links
[rust-lightning] / lightning / src / util / config.rs
index 19c4562105bff3aa15b1d6f88099a8da42a33669..6c46421a97b507685f87bf2d96a06ff8a91640f4 100644 (file)
@@ -33,7 +33,7 @@ pub struct ChannelHandshakeConfig {
        /// case of an honest unilateral channel close, which implicitly decrease the economic value of
        /// our channel.
        ///
-       /// Default value: BREAKDOWN_TIMEOUT (currently 144), we enforce it as a minimum at channel
+       /// Default value: [`BREAKDOWN_TIMEOUT`] (currently 144), we enforce it as a minimum at channel
        /// opening so you can tweak config to ask for more security, not less.
        pub our_to_self_delay: u16,
        /// Set to the smallest value HTLC we will accept to process.