lightningd: deprecate setchannelfee, use setchannel in tests.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Deprecated: JSON-RPC: `setchannelfee` (use `setchannel`).
This commit is contained in:
Rusty Russell
2022-03-21 11:28:28 +10:30
parent 66e264d6b3
commit 42f91ff2fa
6 changed files with 136 additions and 117 deletions

View File

@@ -370,7 +370,7 @@ SEE ALSO
--------
lightning-connect(7), lightning-fundchannel\_start(7),
lightning-setchannelfee(7)
lightning-setchannel(7)
RESOURCES
---------

View File

@@ -4,7 +4,7 @@ lightning-setchannelfee -- Command for setting specific routing fees on a lightn
SYNOPSIS
--------
**setchannelfee** *id* [*base*] [*ppm*] [*enforcedelay*]
(DEPRECATED) **setchannelfee** *id* [*base*] [*ppm*] [*enforcedelay*]
DESCRIPTION
-----------
@@ -73,8 +73,7 @@ responsible for the c-lightning project.
SEE ALSO
--------
lightningd-config(5), lightning-fundchannel(7),
lightning-listchannels(7), lightning-listpeers(7)
lightningd-setchannel(7)
RESOURCES
---------

View File

@@ -236,14 +236,14 @@ 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
lightning-setchannelfee(7).
lightning-setchannel(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 existing channels, use the RPC call lightning-setchannelfee(7).
for existing channels, use the RPC call lightning-setchannel(7).
**min-capacity-sat**=*SATOSHI*
Default: 10000. This value defines the minimal effective channel
@@ -563,7 +563,7 @@ actually implementing these options.
SEE ALSO
--------
lightning-listconfigs(7) lightning-setchannelfee(7) lightningd(8)
lightning-listconfigs(7) lightning-setchannel(7) lightningd(8)
lightning-hsmtool(8)
RESOURCES