From 4f68824aa7ff53cb08698350b1dc69452f50ec6d Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Mon, 31 Jan 2022 20:43:54 -0600 Subject: [PATCH] f - Add docs for ChannelLiquidity fields --- lightning/src/routing/scoring.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index 1600ae071..cf47ab853 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -496,7 +496,10 @@ impl_writeable_tlv_based!(ProbabilisticScoringParameters, { /// first node in the ordering of the channel's counterparties. Thus, swapping the two liquidity /// offset fields gives the opposite direction. struct ChannelLiquidity { + /// Lower channel liquidity bound in terms of an offset from zero. min_liquidity_offset_msat: u64, + + /// Upper channel liquidity bound in terms of an offset from the effective capacity. max_liquidity_offset_msat: u64, } -- 2.39.5