add reserve to the fundchannel docs

[ Trivial conflict rebase -- RR ]
This commit is contained in:
Jesse de Wit 2022-12-07 15:49:39 +01:00 committed by Rusty Russell
parent df29990454
commit 28b7c704dc
2 changed files with 10 additions and 0 deletions

View file

@ -6,6 +6,7 @@ SYNOPSIS
**fundchannel** *id* *amount* [*feerate*] [*announce*] [*minconf*] **fundchannel** *id* *amount* [*feerate*] [*announce*] [*minconf*]
[*utxos*] [*push\_msat*] [*close\_to*] [*request\_amt*] [*compact\_lease*] [*utxos*] [*push\_msat*] [*close\_to*] [*request\_amt*] [*compact\_lease*]
[*reserve*]
DESCRIPTION DESCRIPTION
----------- -----------
@ -72,6 +73,11 @@ much liquidity into the channel. Must also pass in *compact\_lease*.
channel lease terms. If the peer's terms don't match this set, we will channel lease terms. If the peer's terms don't match this set, we will
fail to open the channel. fail to open the channel.
*reserve* is the amount we want the peer to maintain on its side of the channel.
Default is 1% of the funding amount. It can be a whole number, a whole number
ending in *sat*, a whole number ending in *000msat*, or a number with 1 to 8
decimal places ending in *btc*.
This example shows how to use lightning-cli to open new channel with peer 03f...fc1 from one whole utxo bcc1...39c:0 This example shows how to use lightning-cli to open new channel with peer 03f...fc1 from one whole utxo bcc1...39c:0

View file

@ -57,6 +57,10 @@ Readiness is indicated by **listpeers** reporting a *state* of
* *compact\_lease* is a compact represenation of the peer's expected * *compact\_lease* is a compact represenation of the peer's expected
channel lease terms. If the peer's terms don't match this set, we will channel lease terms. If the peer's terms don't match this set, we will
fail to open the channel to this destination. fail to open the channel to this destination.
* *reserve* is the amount we want the peer to maintain on its side of the
channel. Default is 1% of the funding amount. It can be a whole number, a
whole number ending in *sat*, a whole number ending in *000msat*, or a number
with 1 to 8 decimal places ending in *btc*.
There must be at least one entry in *destinations*; There must be at least one entry in *destinations*;
it cannot be an empty array. it cannot be an empty array.