config: clamp channel-commit-interval to reasonable time

This commit is contained in:
eugene committed 2022-02-24 13:41:31 -05:00
1 parent e7505c3e6b
commit 9d8ff1fae5
2 files changed
+15 -2

No files matched your search

+3 -2
View File
@@ -293,8 +293,9 @@
; The maximum time that is allowed to pass between receiving a channel state
; update and signing the next commitment. Setting this to a longer duration
; allows for more efficient channel operations at the cost of latency.
; channel-commit-interval=50ms
; allows for more efficient channel operations at the cost of latency. This is
; capped at 1 hour. The default is 50 milliseconds.
; channel-commit-interval=1h
; The maximum number of channel state updates that is accumulated before signing
; a new commitment.