20 const CFeeRate fee_rate{satoshis_per_k};
25 (void)fee_rate.GetFee(bytes);
27 (void)fee_rate.ToString();
30 CFeeRate larger_fee_rate{another_satoshis_per_k};
31 larger_fee_rate += fee_rate;
32 if (satoshis_per_k != 0 && another_satoshis_per_k != 0) {
33 assert(fee_rate < larger_fee_rate);
34 assert(!(fee_rate > larger_fee_rate));
35 assert(!(fee_rate == larger_fee_rate));
36 assert(fee_rate <= larger_fee_rate);
37 assert(!(fee_rate >= larger_fee_rate));
38 assert(fee_rate != larger_fee_rate);
int64_t CAmount
Amount in satoshis (Can be negative)
Fee rate in satoshis per kilovirtualbyte: CAmount / kvB.
CAmount GetFeePerK() const
Return the fee in satoshis for a vsize of 1000 vbytes.
CAmount ConsumeMoney(FuzzedDataProvider &fuzzed_data_provider, const std::optional< CAmount > &max) noexcept
bool MultiplicationOverflow(const T i, const T j) noexcept