]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Make note about complying with BOLT 7 announcement_signatures
authorMatt Corallo <git@bluematt.me>
Mon, 27 Aug 2018 17:11:37 +0000 (13:11 -0400)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Aug 2018 16:12:27 +0000 (12:12 -0400)
src/ln/channel.rs

index 44875fcd698089c4d8e9966b195c105fb1eebfb8..4fb4f47f0868a38afe9d0cafb2e19fe89f3b49c3 100644 (file)
@@ -373,6 +373,8 @@ impl Channel {
        }
 
        fn derive_minimum_depth(_channel_value_satoshis_msat: u64, _value_to_self_msat: u64) -> u32 {
+               // Note that in order to comply with BOLT 7 announcement_signatures requirements this must
+               // be at least 6.
                const CONF_TARGET: u32 = 12; //TODO: Should be much higher
                CONF_TARGET
        }