From: Matt Corallo Date: Mon, 27 Aug 2018 17:11:37 +0000 (-0400) Subject: Make note about complying with BOLT 7 announcement_signatures X-Git-Tag: v0.0.12~335^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=63bef2b44e5d1a7a8c5e37ad5b973d3783bc1a24;p=rust-lightning Make note about complying with BOLT 7 announcement_signatures --- diff --git a/src/ln/channel.rs b/src/ln/channel.rs index 44875fcd6..4fb4f47f0 100644 --- a/src/ln/channel.rs +++ b/src/ln/channel.rs @@ -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 }