lightningd: make --commit-time in milliseconds.

It was the only place we used opt_time, so cuts out much code.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2018-05-17 14:16:22 +09:30
parent 226f0d63d2
commit babfddeb3e
8 changed files with 9 additions and 102 deletions

View File

@@ -196,7 +196,7 @@ This is the proportional fee to charge for every payment which passes through\&.
Allow nodes which establish channels to us to set any fee they want\&. This may result in a channel which cannot be closed, should fees increase, but make channels far more reliable since we never close it due to unreasonable fees\&.
.RE
.PP
\fBcommit\-time\fR=\fITIME\fR
\fBcommit\-time\fR=\*(AqMILLISECONDS
.RS 4
How long to wait before sending commitment messages to the peer: in theory increasing this would reduce load, but your node would have to be extremely busy node for you to even notice\&.
.RE

View File

@@ -143,7 +143,7 @@ Lightning node customization options:
fees increase, but make channels far more reliable since we never
close it due to unreasonable fees.
*commit-time*='TIME'::
*commit-time*='MILLISECONDS::
How long to wait before sending commitment messages to the peer: in
theory increasing this would reduce load, but your node would have to be
extremely busy node for you to even notice.