@ -47,8 +47,7 @@ Blank lines and lines beginning with \fI#\fR are ignored\&.
.sp
.sp
The lightning\-listconfigs(7) command will output a valid configuration file using the current settings\&.
The lightning\-listconfigs(7) command will output a valid configuration file using the current settings\&.
.SH"OPTIONS"
.SH"OPTIONS"
.sp
.SS"General options"
General options:
.PP
.PP
\fBallow\-deprecated\-apis\fR=\fIBOOL\fR
\fBallow\-deprecated\-apis\fR=\fIBOOL\fR
.RS4
.RS4
@ -126,8 +125,7 @@ The bitcoind(1) RPC port to connect to\&.
.RS4
.RS4
Number of blocks to rescan from the current head, or absolute blockheight if negative\&. This is only needed if something goes badly wrong\&.
Number of blocks to rescan from the current head, or absolute blockheight if negative\&. This is only needed if something goes badly wrong\&.
.RE
.RE
.sp
.SS"Lightning daemon options"
Lightning daemon options:
.PP
.PP
\fBlightning\-dir\fR=\fIDIR\fR
\fBlightning\-dir\fR=\fIDIR\fR
.RS4
.RS4
@ -181,8 +179,7 @@ must exist and be readable (we allow missing files in the default case)\&. Using
.RS4
.RS4
Specify a plugin to run as part of c\-lightning\&. This can be specified multiple times and may enable additional configuration options and JSON\-RPC methods, depending on the plugin\&.
Specify a plugin to run as part of c\-lightning\&. This can be specified multiple times and may enable additional configuration options and JSON\-RPC methods, depending on the plugin\&.
.RE
.RE
.sp
.SS"Lightning node customization options"
Lightning node customization options:
.PP
.PP
\fBrgb\fR=\fIRRGGBB\fR
\fBrgb\fR=\fIRRGGBB\fR
.RS4
.RS4
@ -213,8 +210,7 @@ Allow nodes which establish channels to us to set any fee they want\&. This may
.RS4
.RS4
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\&.
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
.RE
.sp
.SS"Lightning channel and HTLC options"
Lightning channel and HTLC options:
.PP
.PP
\fBwatchtime\-blocks\fR=\fIBLOCKS\fR
\fBwatchtime\-blocks\fR=\fIBLOCKS\fR
.RS4
.RS4
@ -273,10 +269,9 @@ Control how long invoices must have been expired before they are cleaned (if
\fIautocleaninvoice\-cycle\fR
\fIautocleaninvoice\-cycle\fR
is non\-zero)\&.
is non\-zero)\&.
.RE
.RE
.SS"Networking options"
.sp
.sp
Networking options:
Note that for simple setups, the implicit \fIautolisten\fR option does the right thing: it will try to bind to port 9735 on IPv4 and IPv6, and will announce it to peers if it seems like a public address\&.
.sp
Note that for simple setups, the implicit \fIautolisten\fR option does the right thing: it will try to bind to port 9735 on IPv4 and IPv6, and will announce it to peers if it\(cqs seems like a public address\&.
.sp
.sp
You can instead use \fIaddr\fR to override this (eg\&. to change the port), or precisely control where to bind and what to announce with the \fIbind\-addr\fR and \fIannounce\-addr\fR options\&. These will \fBdisable\fR the \fIautolisten\fR logic, so you must specifiy exactly what you want!
You can instead use \fIaddr\fR to override this (eg\&. to change the port), or precisely control where to bind and what to announce with the \fIbind\-addr\fR and \fIannounce\-addr\fR options\&. These will \fBdisable\fR the \fIautolisten\fR logic, so you must specifiy exactly what you want!