MCPcopy Create free account
hub / github.com/ElementsProject/elements / StringForFeeEstimateHorizon

Function StringForFeeEstimateHorizon

src/policy/fees.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18static constexpr double INF_FEERATE = 1e99;
19
20std::string StringForFeeEstimateHorizon(FeeEstimateHorizon horizon)
21{
22 switch (horizon) {
23 case FeeEstimateHorizon::SHORT_HALFLIFE: return "short";
24 case FeeEstimateHorizon::MED_HALFLIFE: return "medium";
25 case FeeEstimateHorizon::LONG_HALFLIFE: return "long";
26 } // no default case, so the compiler can warn about missing cases
27 assert(false);
28}
29
30namespace {
31

Callers 2

FUZZ_TARGETFunction · 0.85
estimaterawfeeFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGETFunction · 0.68