doc: adds capacity default values to manpage

- also adds CHANGELOG
- Cleanup: also add defaults for channel fees to manpage
This commit is contained in:
Michael Schmoock 2019-04-15 22:48:11 +02:00 committed by neil saitug
parent 3fa539fc1b
commit 05b1b3f488
3 changed files with 19 additions and 17 deletions

View file

@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed ### Changed
- JSON API: `invoice` expiry defaults to 7 days, and can have s/m/h/d/w suffixes. - JSON API: `invoice` expiry defaults to 7 days, and can have s/m/h/d/w suffixes.
- Config: Increased default amount for minimal channel capacity from 1k sat to 10k sat.
### Deprecated ### Deprecated

View file

@ -2,12 +2,12 @@
.\" Title: lightningd-config .\" Title: lightningd-config
.\" Author: [see the "AUTHOR" section] .\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\" Date: 03/27/2019 .\" Date: 04/11/2019
.\" Manual: \ \& .\" Manual: \ \&
.\" Source: \ \& .\" Source: \ \&
.\" Language: English .\" Language: English
.\" .\"
.TH "LIGHTNINGD\-CONFIG" "5" "03/27/2019" "\ \&" "\ \&" .TH "LIGHTNINGD\-CONFIG" "5" "04/11/2019" "\ \&" "\ \&"
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
.\" * Define some portability stuff .\" * Define some portability stuff
.\" ----------------------------------------------------------------- .\" -----------------------------------------------------------------
@ -188,17 +188,17 @@ Up to 32 UTF\-8 characters to tag your node\&. Completely silly, since anyone ca
.PP .PP
\fBfee\-base\fR=\fIMILLISATOSHI\fR \fBfee\-base\fR=\fIMILLISATOSHI\fR
.RS 4 .RS 4
The base fee to charge for every payment which passes through\&. Note that millisatoshis are a very, very small unit! Changing this value will only affect new channels and not existing ones\&. If you want to change fees for existing channels, use the RPC call lightningd\-setchannelfee(7)\&. Default: 1000\&. The base fee to charge for every payment which passes through\&. Note that millisatoshis are a very, very small unit! Changing this value will only affect new channels and not existing ones\&. If you want to change fees for existing channels, use the RPC call lightningd\-setchannelfee(7)\&.
.RE .RE
.PP .PP
\fBfee\-per\-satoshi\fR=\fIMILLIONTHS\fR \fBfee\-per\-satoshi\fR=\fIMILLIONTHS\fR
.RS 4 .RS 4
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%\&. Changing this value will only affect new channels and not existing ones\&. If you want to change fees for existing channels, use the RPC call lightningd\-setchannelfee(7)\&. Default: 10 (0\&.001%)\&. 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%\&. Changing this value will only affect new channels and not existing ones\&. If you want to change fees for existing channels, use the RPC call lightningd\-setchannelfee(7)\&.
.RE .RE
.PP .PP
\fBmin\-capacity\-sat\fR=\fISATOSHI\fR \fBmin\-capacity\-sat\fR=\fISATOSHI\fR
.RS 4 .RS 4
This value defines the minimal effective channel capacity in satoshi to accept for channel opening requests\&. If a peer tries to open a channel smaller than this, the opening will be rejected\&. Default: 10000\&. This value defines the minimal effective channel capacity in satoshi to accept for channel opening requests\&. If a peer tries to open a channel smaller than this, the opening will be rejected\&.
.RE .RE
.PP .PP
\fBignore\-fee\-limits\fR=\fIBOOL\fR \fBignore\-fee\-limits\fR=\fIBOOL\fR

View file

@ -139,22 +139,23 @@ Lightning node customization options
and "VAULTERO" are good options, too. and "VAULTERO" are good options, too.
*fee-base*='MILLISATOSHI':: *fee-base*='MILLISATOSHI'::
The base fee to charge for every payment which passes through. Note that Default: 1000. The base fee to charge for every payment which passes
millisatoshis are a very, very small unit! Changing this value will only through. Note that millisatoshis are a very, very small unit!
Changing this value will only affect new channels and not existing ones.
If you want to change fees for existing channels, use the RPC call
lightningd-setchannelfee(7).
*fee-per-satoshi*='MILLIONTHS'::
Default: 10 (0.001%). This is the proportional fee to charge for every
payment which passes through. As percentages are too coarse, it's in
millionths, so 10000 is 1%, 1000 is 0.1%. Changing this value will only
affect new channels and not existing ones. If you want to change fees for affect new channels and not existing ones. If you want to change fees for
existing channels, use the RPC call lightningd-setchannelfee(7). existing channels, use the RPC call lightningd-setchannelfee(7).
*fee-per-satoshi*='MILLIONTHS'::
This is the proportional fee to charge for every payment which passes
through. As percentages are too coarse, it's in millionths, so 10000
is 1%, 1000 is 0.1%. Changing this value will only affect new channels and
not existing ones. If you want to change fees for existing channels, use
the RPC call lightningd-setchannelfee(7).
*min-capacity-sat*='SATOSHI':: *min-capacity-sat*='SATOSHI'::
This value defines the minimal effective channel capacity in satoshi to Default: 10000. This value defines the minimal effective channel capacity
accept for channel opening requests. If a peer tries to open a channel in satoshi to accept for channel opening requests. If a peer tries to open
smaller than this, the opening will be rejected. a channel smaller than this, the opening will be rejected.
*ignore-fee-limits*='BOOL':: *ignore-fee-limits*='BOOL'::
Allow nodes which establish channels to us to set any fee they Allow nodes which establish channels to us to set any fee they