MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / estimateFee

Method estimateFee

src/policy/fees.cpp:664–671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664CFeeRate CBlockPolicyEstimator::estimateFee(int confTarget) const
665{
666 // It's not possible to get reasonable estimates for confTarget of 1
667 if (confTarget <= 1)
668 return CFeeRate(0);
669
670 return estimateRawFee(confTarget, DOUBLE_SUCCESS_PCT, FeeEstimateHorizon::MED_HALFLIFE);
671}
672
673CFeeRate CBlockPolicyEstimator::estimateRawFee(int confTarget, double successThreshold, FeeEstimateHorizon horizon, EstimationResult* result) const
674{

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 1

CFeeRateClass · 0.70

Tested by 1

BOOST_AUTO_TEST_CASEFunction · 0.64