| 738 | } |
| 739 | |
| 740 | unsigned int CBlockPolicyEstimator::MaxUsableEstimate() const |
| 741 | { |
| 742 | // Block spans are divided by 2 to make sure there are enough potential failing data points for the estimate |
| 743 | return std::min(longStats->GetMaxConfirms(), std::max(BlockSpan(), HistoricalBlockSpan()) / 2); |
| 744 | } |
| 745 | |
| 746 | /** Return a fee estimate at the required successThreshold from the shortest |
| 747 | * time horizon which tracks confirmations up to the desired target. If |
nothing calls this directly
no test coverage detected