Skip to content

Commit 4f66e11

Browse files
author
Conor Okus
committed
Additional detail
1 parent ab15467 commit 4f66e11

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lightning/src/chain/chaininterface.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,11 @@ pub trait FeeEstimator {
4444
/// Must return a value no smaller than 253 (ie 1 satoshi-per-byte rounded up to ensure later
4545
/// round-downs don't put us below 1 satoshi-per-byte).
4646
///
47-
/// This converts to:
47+
/// This translates to multiplying certain fee rate units by 250 (1 sat/vbyte)
48+
/// e.g
4849
/// * max(satoshis-per-byte * 250, 253)
49-
/// * max(satoshis-per-kbyte / 4)
50+
/// or
51+
/// * max(satoshis-per-kbyte / 4, 253)
5052
fn get_est_sat_per_1000_weight(&self, confirmation_target: ConfirmationTarget) -> u32;
5153
}
5254

0 commit comments

Comments
 (0)