File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ pub enum ConfirmationTarget {
41
41
pub trait FeeEstimator {
42
42
/// Gets estimated satoshis of fee required per 1000 Weight-Units.
43
43
///
44
- /// Must be no smaller than 253 (ie 1 satoshi-per-byte rounded up to ensure later round-downs
45
- /// don't put us below 1 satoshi-per-byte).
44
+ /// Must return a value no smaller than 253 (ie 1 satoshi-per-byte rounded up to ensure later
45
+ /// round-downs don't put us below 1 satoshi-per-byte).
46
46
///
47
- /// This translates to:
48
- /// * satoshis-per-byte * 250
49
- /// * ceil (satoshis-per-kbyte / 4)
47
+ /// This method can be implemented with the following unit conversions:
48
+ /// * max( satoshis-per-byte * 250, 253)
49
+ /// * max (satoshis-per-kbyte / 4, 253 )
50
50
fn get_est_sat_per_1000_weight ( & self , confirmation_target : ConfirmationTarget ) -> u32 ;
51
51
}
52
52
You can’t perform that action at this time.
0 commit comments