Fee rate in satoshis per kilobyte: CAmount / kB.
More...
#include <feerate.h>
Fee rate in satoshis per kilobyte: CAmount / kB.
Definition at line 20 of file feerate.h.
◆ CFeeRate() [1/3]
Fee rate of 0 satoshis per kB.
Definition at line 27 of file feerate.h.
◆ CFeeRate() [2/3]
template<typename I >
CFeeRate::CFeeRate |
( |
const I |
_nSatoshisPerK | ) |
|
|
inline |
◆ CFeeRate() [3/3]
CFeeRate::CFeeRate |
( |
const CAmount & |
nFeePaid, |
|
|
size_t |
nBytes |
|
) |
| |
Constructor for a fee rate in satoshis per kB.
The size in bytes must not exceed (2^63 - 1)
Definition at line 13 of file feerate.cpp.
◆ GetFee()
CAmount CFeeRate::GetFee |
( |
size_t |
nBytes | ) |
const |
Return the fee in satoshis for the given size in bytes.
Definition at line 24 of file feerate.cpp.
◆ GetFeePerK()
CAmount CFeeRate::GetFeePerK |
( |
| ) |
const |
|
inline |
Return the fee in satoshis for a size of 1000 bytes.
Definition at line 42 of file feerate.h.
◆ operator+=()
◆ SerializationOp()
template<typename Stream , typename Operation >
void CFeeRate::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action |
|
) |
| |
|
inline |
◆ ToString()
std::string CFeeRate::ToString |
( |
| ) |
const |
◆ operator!=
◆ operator<
◆ operator<=
◆ operator==
◆ operator>
◆ operator>=
◆ ADD_SERIALIZE_METHODS
CFeeRate::ADD_SERIALIZE_METHODS |
◆ nSatoshisPerK
The documentation for this class was generated from the following files: