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

Method ToString

src/policy/feerate.cpp:39–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39std::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}

Callers 6

GetEntriesForConflictsFunction · 0.45
HasNoNewUnconfirmedFunction · 0.45
EntriesAndTxidsDisjointFunction · 0.45
PaysMoreThanConflictsFunction · 0.45
PaysForRBFFunction · 0.45
processTransactionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected