| 37 | } |
| 38 | |
| 39 | std::string CFeeRate::ToString(const FeeEstimateMode& fee_estimate_mode) const |
| 40 | { |
| 41 | switch (fee_estimate_mode) { |
| 42 | case FeeEstimateMode::SAT_VB: return strprintf("%d.%03d %s/vB", nSatoshisPerK / 1000, nSatoshisPerK % 1000, CURRENCY_ATOM); |
| 43 | default: return strprintf("%d.%08d %s/kvB", nSatoshisPerK / COIN, nSatoshisPerK % COIN, CURRENCY_UNIT); |
| 44 | } |
| 45 | } |
no outgoing calls
no test coverage detected