File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,12 +41,12 @@ pub enum ConfirmationTarget {
4141pub trait FeeEstimator {
4242 /// Gets estimated satoshis of fee required per 1000 Weight-Units.
4343 ///
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).
4646 ///
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 )
5050 fn get_est_sat_per_1000_weight ( & self , confirmation_target : ConfirmationTarget ) -> u32 ;
5151}
5252
You can’t perform that action at this time.
0 commit comments