12 const int64_t nSize{num_bytes};
23 const int64_t nSize{num_bytes};
27 if (nFee == 0 && nSize != 0) {
37 switch (fee_estimate_mode) {
static const CAmount COIN
Use sat/vB fee rate unit.
int64_t CAmount
Amount in satoshis (Can be negative)
const std::string CURRENCY_ATOM
std::string ToString(const FeeEstimateMode &fee_estimate_mode=FeeEstimateMode::BTC_KVB) const
const std::string CURRENCY_UNIT
CFeeRate()
Fee rate of 0 satoshis per kB.
CAmount GetFee(uint32_t num_bytes) const
Return the fee in satoshis for the given size in bytes.