Browse Source

lightningd-config.5.txt: working and typos feedback.

Thanks to @ajtowns and @ZmnSCPxj.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ppa-0.6.1
Rusty Russell 7 years ago
parent
commit
226f0d63d2
  1. 30
      doc/lightningd-config.5
  2. 30
      doc/lightningd-config.5.txt

30
doc/lightningd-config.5

@ -122,9 +122,9 @@ The bitcoind(1) RPC host to connect to\&.
The bitcoind(1) RPC port to connect to\&.
.RE
.PP
\fBdefault\-fee\-rate\fR=\fISIPA\fR
\fBdefault\-fee\-rate\fR=\fISATOSHIKSIPA\fR
.RS 4
Satoshis per kw if bitcoind can\(cqt estimate fees\&.
Satoshis per 1000 transaction weight if bitcoind can\(cqt estimate fees\&.
.RE
.PP
\fBrescan\fR=\fIBLOCKS\fR
@ -188,7 +188,7 @@ The base fee to charge for every payment which passes through\&. Note that milli
.PP
\fBfee\-per\-satoshi\fR=\fIMILLIONTHS\fR
.RS 4
This is the proportional fee to charge for every payment which passes through\&. As percentages are too course, it\(cqs in millionths, so 10000 is 1 percent, 1000 is 0\&.1%\&.
This is the proportional fee to charge for every payment which passes through\&. As percentages are too coarse, it\(cqs in millionths, so 10000 is 1%, 1000 is 0\&.1%\&.
.RE
.PP
\fBignore\-fee\-limits\fR=\fIBOOL\fR
@ -218,16 +218,19 @@ The longest we\(cqll ever allow a peer to hold up payments, in the worst case\&.
Confirmations required for the funding transaction when the other side opens a channel before the channel is usable\&.
.RE
.PP
\fBcommit\-fee\-min\fR=\fIPERCENT\fR, \fBcommit\-fee\-max\fR=\fIPERCENT\fR
.RS 4
Limits on what onchain fee range we\(cqll allow when a node opens a channel with us\&. If they\(cqre outside this range, we abort their opening attempt\&. Note that max can (should!) be greater than 100\&.
.RE
.PP
\fBcommit\-fee\fR=\fIPERCENT\fR
.RS 4
The percentage of
\fIestimatesmartfee 2\fR
to use for channel funding: can be greater than 100\&.
to use for the bitcoin transaction which funds a channel: can be greater than 100\&.
.RE
.PP
\fBcommit\-fee\-min\fR=\fIPERCENT\fR, \fBcommit\-fee\-max\fR=\fIPERCENT\fR
.RS 4
Limits on what onchain fee range we\(cqll allow when a node opens a channel with us, as a percentage of
\fIestimatesmartfee 2\fR\&. If they\(cqre outside this range, we abort their opening attempt\&. Note that
\fBcommit\-fee\-max\fR
can (should!) be greater than 100\&.
.RE
.PP
\fBcltv\-delta\fR=\fIBLOCKS\fR
@ -272,7 +275,7 @@ Set an IP address (v4 or v6) or automatic Tor address to listen on and (maybe) a
.nf
An empty \*(AqIPADDRESS\*(Aq is a special value meaning bind to IPv4 and/or
IPv6 on all interfaces, \*(Aq0\&.0\&.0\&.0\*(Aq means bind to all IPv4
interfaces, \*(Aq::\*(Aq means \*(Aqbind to all IPv6 interfaces\*(Aq\&. \*(AqPORT\*(Aq is
interfaces, \*(Aq::\*(Aq means \*(Aqbind to all IPv6 interfaces\*(Aq\&. If \*(AqPORT\*(Aq is
not specified, 9735 is used\&. If we can determine a public IP
address from the resulting binding, the address is announced\&.
.fi
@ -339,10 +342,10 @@ is not specified, a DNS lookup may be done to resolve \*(AqIPADDRESS\*(Aq\&.
.\}
.RE
.PP
\fBannounce\-addr\fR=\fI[IPADDRESS[:PORT]]|TORADDRESS\&.onion[:PORT]\fR
\fBannounce\-addr\fR=\fIIPADDRESS[:PORT]|TORADDRESS\&.onion[:PORT]\fR
.RS 4
Set an IP address or Tor address to announce; a Tor address is distinguished by ending in
\fI\&.onion\fR, and is
\fI\&.onion\fR\&.
\fIPORT\fR
defaults to 9735\&.
.sp
@ -364,8 +367,7 @@ announced addresses are sane (ie\&. not localhost)\&.
.nf
This option can be used multiple times to add more addresses, and
its use disables autolisten\&. If necessary, and \*(Aqalways\-use\-proxy\*(Aq
is not specified, a DNS lookup may be done to resolve \*(AqIPADDRESS\*(Aq
or \*(AqTORADDRESS\*(Aq\&.
is not specified, a DNS lookup may be done to resolve \*(AqIPADDRESS\*(Aq\&.
.fi
.if n \{\
.RE

30
doc/lightningd-config.5.txt

@ -86,8 +86,8 @@ Bitcoin control options:
*bitcoin-rpcport*='PORT'::
The bitcoind(1) RPC port to connect to.
*default-fee-rate*='SIPA'::
Satoshis per kw if bitcoind can't estimate fees.
*default-fee-rate*='SATOSHIKSIPA'::
Satoshis per 1000 transaction weight if bitcoind can't estimate fees.
*rescan*='BLOCKS'::
Number of blocks to rescan from the current head, or absolute blockheight
@ -134,8 +134,8 @@ Lightning node customization options:
*fee-per-satoshi*='MILLIONTHS'::
This is the proportional fee to charge for every payment which passes
through. As percentages are too course, it's in millionths, so 10000
is 1 percent, 1000 is 0.1%.
through. As percentages are too coarse, it's in millionths, so 10000
is 1%, 1000 is 0.1%.
*ignore-fee-limits*='BOOL'::
Allow nodes which establish channels to us to set any fee they
@ -164,15 +164,16 @@ Lightning channel and HTLC options:
Confirmations required for the funding transaction when the other side
opens a channel before the channel is usable.
*commit-fee*='PERCENT'::
The percentage of 'estimatesmartfee 2' to use for the bitcoin
transaction which funds a channel: can be greater than 100.
*commit-fee-min*='PERCENT'::
*commit-fee-max*='PERCENT'::
Limits on what onchain fee range we'll allow when a node opens a
channel with us. If they're outside this range, we abort their
opening attempt. Note that max can (should!) be greater than 100.
*commit-fee*='PERCENT'::
The percentage of 'estimatesmartfee 2' to use for channel funding: can
be greater than 100.
channel with us, as a percentage of 'estimatesmartfee 2'. If
they're outside this range, we abort their opening attempt. Note
that *commit-fee-max* can (should!) be greater than 100.
*cltv-delta*='BLOCKS'::
The number of blocks between incoming payments and outgoing payments:
@ -213,7 +214,7 @@ or precisely control where to bind and what to announce with the
An empty 'IPADDRESS' is a special value meaning bind to IPv4 and/or
IPv6 on all interfaces, '0.0.0.0' means bind to all IPv4
interfaces, '::' means 'bind to all IPv6 interfaces'. 'PORT' is
interfaces, '::' means 'bind to all IPv6 interfaces'. If 'PORT' is
not specified, 9735 is used. If we can determine a public IP
address from the resulting binding, the address is announced.
@ -243,10 +244,10 @@ or precisely control where to bind and what to announce with the
its use disables autolisten. If necessary, and 'always-use-proxy'
is not specified, a DNS lookup may be done to resolve 'IPADDRESS'.
*announce-addr*='[IPADDRESS[:PORT]]|TORADDRESS.onion[:PORT]'::
*announce-addr*='IPADDRESS[:PORT]|TORADDRESS.onion[:PORT]'::
Set an IP address or Tor address to announce; a Tor address is
distinguished by ending in '.onion', and is 'PORT' defaults to 9735.
distinguished by ending in '.onion'. 'PORT' defaults to 9735.
Empty or wildcard IPv4 and IPv6 addresses don't make sense here.
Also, unlike the 'addr' option, there is no checking that your
@ -254,8 +255,7 @@ or precisely control where to bind and what to announce with the
This option can be used multiple times to add more addresses, and
its use disables autolisten. If necessary, and 'always-use-proxy'
is not specified, a DNS lookup may be done to resolve 'IPADDRESS'
or 'TORADDRESS'.
is not specified, a DNS lookup may be done to resolve 'IPADDRESS'.
*offline*::
Do not bind to any ports, and do not try to reconnect to any peers.

Loading…
Cancel
Save