Skip to content

Commit 07f3833

Browse files
committed
f Clarify overprovisioning docs
1 parent 29440f1 commit 07f3833

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/liquidity.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,12 @@ pub struct LSPS2ServiceConfig {
100100
pub channel_opening_fee_ppm: u32,
101101
/// The proportional overprovisioning for the channel.
102102
///
103-
/// This determines, in parts-per-million of the client-requested amount, how much value we'll
104-
/// provision on top of the client-requested payment amount.
103+
/// This determines, in parts-per-million, how much value we'll provision on top of the amount
104+
/// we need to forward the payment to the client.
105105
///
106106
/// For example, setting this to `100_000` will result in a channel being opened that is 10%
107-
/// larger than the client-requested payment amount.
107+
/// larger than then the to-be-forwarded amount (i.e., client-requested amount minus the
108+
/// channel opening fee fee).
108109
pub channel_over_provisioning_ppm: u32,
109110
/// The minimum fee required for opening a channel.
110111
pub min_channel_opening_fee_msat: u64,

0 commit comments

Comments
 (0)