12 assert(nBytes_ <= uint64_t(std::numeric_limits<int64_t>::max()));
13 int64_t nSize = int64_t(nBytes_);
23 assert(nBytes_ <= uint64_t(std::numeric_limits<int64_t>::max()));
24 int64_t nSize = int64_t(nBytes_);
28 if (nFee == 0 && nSize != 0) {
40 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(size_t nBytes) const
Return the fee in satoshis for the given size in bytes.