From 05b1b3f488c8bfa9b51f1ee55d159139f159a8bb Mon Sep 17 00:00:00 2001 From: Michael Schmoock Date: Mon, 15 Apr 2019 22:48:11 +0200 Subject: [PATCH] doc: adds capacity default values to manpage - also adds CHANGELOG - Cleanup: also add defaults for channel fees to manpage --- CHANGELOG.md | 1 + doc/lightningd-config.5 | 10 +++++----- doc/lightningd-config.5.txt | 25 +++++++++++++------------ 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d066f62cc..899cb875f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - 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 diff --git a/doc/lightningd-config.5 b/doc/lightningd-config.5 index 2bd9d97fa..f26531b34 100644 --- a/doc/lightningd-config.5 +++ b/doc/lightningd-config.5 @@ -2,12 +2,12 @@ .\" Title: lightningd-config .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 03/27/2019 +.\" Date: 04/11/2019 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "LIGHTNINGD\-CONFIG" "5" "03/27/2019" "\ \&" "\ \&" +.TH "LIGHTNINGD\-CONFIG" "5" "04/11/2019" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -188,17 +188,17 @@ Up to 32 UTF\-8 characters to tag your node\&. Completely silly, since anyone ca .PP \fBfee\-base\fR=\fIMILLISATOSHI\fR .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 .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 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 .PP \fBmin\-capacity\-sat\fR=\fISATOSHI\fR .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 .PP \fBignore\-fee\-limits\fR=\fIBOOL\fR diff --git a/doc/lightningd-config.5.txt b/doc/lightningd-config.5.txt index 11c3c560f..f40a18a9d 100644 --- a/doc/lightningd-config.5.txt +++ b/doc/lightningd-config.5.txt @@ -139,22 +139,23 @@ Lightning node customization options and "VAULTERO" are good options, too. *fee-base*='MILLISATOSHI':: - 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). *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). + 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 + existing channels, use the RPC call lightningd-setchannelfee(7). *min-capacity-sat*='SATOSHI':: - 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. *ignore-fee-limits*='BOOL':: Allow nodes which establish channels to us to set any fee they