mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 22:45:27 +01:00
add reserve to the fundchannel docs
[ Trivial conflict rebase -- RR ]
This commit is contained in:
parent
df29990454
commit
28b7c704dc
2 changed files with 10 additions and 0 deletions
|
@ -6,6 +6,7 @@ SYNOPSIS
|
|||
|
||||
**fundchannel** *id* *amount* [*feerate*] [*announce*] [*minconf*]
|
||||
[*utxos*] [*push\_msat*] [*close\_to*] [*request\_amt*] [*compact\_lease*]
|
||||
[*reserve*]
|
||||
|
||||
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
|
||||
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
|
||||
|
|
|
@ -57,6 +57,10 @@ Readiness is indicated by **listpeers** reporting a *state* of
|
|||
* *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
|
||||
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*;
|
||||
it cannot be an empty array.
|
||||
|
|
Loading…
Add table
Reference in a new issue