mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
doc: document explicitly that you can use prefixes for setchannelfee 'base'
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
0ed03648f4
commit
2af3996bea
2 changed files with 7 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
||||||
'\" t
|
'\" t
|
||||||
.\" Title: lightning-setchannelfee
|
.\" Title: lightning-setchannelfee
|
||||||
.\" Author: [see the "AUTHOR" section]
|
.\" Author: [see the "AUTHOR" section]
|
||||||
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
|
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
|
||||||
.\" Date: 03/12/2019
|
.\" Date: 03/15/2019
|
||||||
.\" Manual: \ \&
|
.\" Manual: \ \&
|
||||||
.\" Source: \ \&
|
.\" Source: \ \&
|
||||||
.\" Language: English
|
.\" Language: English
|
||||||
.\"
|
.\"
|
||||||
.TH "LIGHTNING\-SETCHANNE" "7" "03/12/2019" "\ \&" "\ \&"
|
.TH "LIGHTNING\-SETCHANNE" "7" "03/15/2019" "\ \&" "\ \&"
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
.\" * Define some portability stuff
|
.\" * Define some portability stuff
|
||||||
.\" -----------------------------------------------------------------
|
.\" -----------------------------------------------------------------
|
||||||
|
@ -38,7 +38,7 @@ The \fBsetchannelfee\fR RPC command sets channel specific routing fees as define
|
||||||
.sp
|
.sp
|
||||||
\fIid\fR is required and should contain a scid (short channel ID), channel id or peerid (pubkey) of the channel to be modified\&.
|
\fIid\fR is required and should contain a scid (short channel ID), channel id or peerid (pubkey) of the channel to be modified\&.
|
||||||
.sp
|
.sp
|
||||||
\fIbase\fR is an optional value in millisatoshi that is added as base fee to any routed payment\&. If the parameter is left out, the global config value fee\-base will be used again\&.
|
\fIbase\fR is an optional value in millisatoshi that is added as base fee to any routed payment\&. If the parameter is left out, the global config value fee\-base will be used again\&. It can be a whole number, or a whole number ending in \fImsat\fR or \fIsat\fR, or a number with three decimal places ending in \fIsat\fR, or a number with 1 to 11 decimal places ending in \fIbtc\fR\&.
|
||||||
.sp
|
.sp
|
||||||
\fIppm\fR is an optional value that is added proportionally per\-millionths to any routed payment volume in satoshi\&. For example, if ppm is 1,000 and 1,000,000 satoshi is being routed trhough the channel, an proportional fee of 1,000 satoshi is added, resulting in a 0\&.1% fee\&. If the parameter is left out, the global config value will be used again\&.
|
\fIppm\fR is an optional value that is added proportionally per\-millionths to any routed payment volume in satoshi\&. For example, if ppm is 1,000 and 1,000,000 satoshi is being routed trhough the channel, an proportional fee of 1,000 satoshi is added, resulting in a 0\&.1% fee\&. If the parameter is left out, the global config value will be used again\&.
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
|
|
|
@ -22,7 +22,9 @@ or peerid (pubkey) of the channel to be modified.
|
||||||
|
|
||||||
'base' is an optional value in millisatoshi that is added as base fee to
|
'base' is an optional value in millisatoshi that is added as base fee to
|
||||||
any routed payment. If the parameter is left out, the global config
|
any routed payment. If the parameter is left out, the global config
|
||||||
value fee-base will be used again.
|
value fee-base will be used again. It can be a whole number, or a whole number ending in 'msat' or
|
||||||
|
'sat', or a number with three decimal places ending in 'sat', or a number
|
||||||
|
with 1 to 11 decimal places ending in 'btc'.
|
||||||
|
|
||||||
'ppm' is an optional value that is added proportionally per-millionths to
|
'ppm' is an optional value that is added proportionally per-millionths to
|
||||||
any routed payment volume in satoshi. For example, if ppm is 1,000 and
|
any routed payment volume in satoshi. For example, if ppm is 1,000 and
|
||||||
|
|
Loading…
Add table
Reference in a new issue