rpc: use default if conf-target is not set

This commit uses the new coop-close-target-confs value as the default to
use for a nodes self initiated channel closures if the conf-target flag
for the channel closure is not set. The defaults for both these options
is 6 so this shouldnt change current behaviour.
This commit is contained in:
Elle Mouton committed 2021-03-04 13:07:30 +02:00
1 parent 3b412ce50f
commit 9e9c48fcdd
3 files changed
+14 -3

No files matched your search

+3 -1
View File
@@ -254,7 +254,9 @@
; The target number of blocks in which a cooperative close initiated by a remote
; peer should be confirmed. This target is used to estimate the starting fee
; rate that will be used during fee negotiation with the peer.
; rate that will be used during fee negotiation with the peer. This target is
; is also used for cooperative closes initiated locally if the --conf_target
; for the channel closure is not set.
; coop-close-target-confs=10
; The default max_htlc applied when opening or accepting channels. This value