mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 23:30:59 +01:00
Make note about complying with BOLT 7 announcement_signatures
This commit is contained in:
parent
765987759a
commit
63bef2b44e
1 changed files with 2 additions and 0 deletions
|
@ -373,6 +373,8 @@ impl Channel {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn derive_minimum_depth(_channel_value_satoshis_msat: u64, _value_to_self_msat: u64) -> u32 {
|
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
|
const CONF_TARGET: u32 = 12; //TODO: Should be much higher
|
||||||
CONF_TARGET
|
CONF_TARGET
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue