 |
Bitcoin Core
22.99.0
P2P Digital Currency
|
Go to the documentation of this file.
14 const int64_t nSize{num_bytes};
25 const int64_t nSize{num_bytes};
31 if (nFee == 0 && nSize != 0) {
41 switch (fee_estimate_mode) {
const std::string CURRENCY_UNIT
@ SAT_VB
Use sat/vB fee rate unit.
const std::string CURRENCY_ATOM
int64_t CAmount
Amount in satoshis (Can be negative)
std::string ToString(const FeeEstimateMode &fee_estimate_mode=FeeEstimateMode::BTC_KVB) const
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.
static constexpr CAmount COIN
The amount of satoshis in one BTC.