projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7659877
)
Make note about complying with BOLT 7 announcement_signatures
author
Matt Corallo
<git@bluematt.me>
Mon, 27 Aug 2018 17:11:37 +0000
(13:11 -0400)
committer
Matt Corallo
<git@bluematt.me>
Tue, 28 Aug 2018 16:12:27 +0000
(12:12 -0400)
src/ln/channel.rs
patch
|
blob
|
history
diff --git
a/src/ln/channel.rs
b/src/ln/channel.rs
index 44875fcd698089c4d8e9966b195c105fb1eebfb8..4fb4f47f0868a38afe9d0cafb2e19fe89f3b49c3 100644
(file)
--- 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
}