From 49b7afe58fd0709f24f9203ecde901f435c1abb5 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 11 Apr 2023 13:31:55 +0930 Subject: [PATCH] doc: give helpful examples for feerate values. mempool.info gives sat/vB, which is 1000 too low for us! See-also: #6161 (complains setting feerate to 5 doesn't work) See-also: #6129 Suggested-by: @lightingorb Signed-off-by: Rusty Russell --- doc/lightning-feerates.7.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/lightning-feerates.7.md b/doc/lightning-feerates.7.md index 76dcaece3..a374e7e41 100644 --- a/doc/lightning-feerates.7.md +++ b/doc/lightning-feerates.7.md @@ -17,8 +17,11 @@ CLN will also smoothen feerate estimations from the backend. *style* is either of the two strings: -* *perkw* - provide feerate in units of satoshis per 1000 weight. -* *perkb* - provide feerate in units of satoshis per 1000 virtual bytes. +* *perkw* - provide feerate in units of satoshis per 1000 weight (e.g. the minimum fee is usually `253perkw`) +* *perkb* - provide feerate in units of satoshis per 1000 virtual bytes (eg. the minimum fee is usually `1000perkb`) + +Explorers often present fees in "sat/vB": 4 sat/vB is `4000perkb` or +`1000perkw`. Bitcoin transactions have non-witness and witness bytes: