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 {

    /**
      | Calculation of highest target that
      | reasonable estimate can be provided
      | for
      |
      */
    #[EXCLUSIVE_LOCKS_REQUIRED(m_cs_fee_estimator)]
    pub fn max_usable_estimate(&self) -> u32 {
        
        todo!();
        /*
            // Block spans are divided by 2 to make sure there are enough potential failing data points for the estimate
        return std::min(longStats->GetMaxConfirms(), std::max(BlockSpan(), HistoricalBlockSpan()) / 2);
        */
    }
}