bitcoin-blockpolicy 0.1.16-alpha.0

tools used for estimating the feerate needed for a transaction to be included in a block within a certain number of blocks
Documentation
crate::ix!();

impl BlockPolicyEstimator {

    /**
      | DEPRECATED. Return a feerate estimate
      |
      */
    pub fn estimate_fee(&self, conf_target: i32) -> FeeRate {
        
        todo!();
        /*
            // It's not possible to get reasonable estimates for confTarget of 1
        if (confTarget <= 1)
            return CFeeRate(0);

        return estimateRawFee(confTarget, DOUBLE_SUCCESS_PCT, FeeEstimateHorizon::MED_HALFLIFE);
        */
    }
}