Skip to content

Commit

Permalink
add reserve to the fundchannel docs
Browse files Browse the repository at this point in the history
[ Trivial conflict rebase -- RR ]
  • Loading branch information
JssDWt authored and rustyrussell committed Dec 12, 2022
1 parent df29990 commit 28b7c70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/lightning-fundchannel.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SYNOPSIS

**fundchannel** *id* *amount* [*feerate*] [*announce*] [*minconf*]
[*utxos*] [*push\_msat*] [*close\_to*] [*request\_amt*] [*compact\_lease*]
[*reserve*]

DESCRIPTION
-----------
Expand Down Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions doc/lightning-multifundchannel.7.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 28b7c70

Please sign in to comment.