Fee rate in liu per kilobyte: CAmount / kB.
More...
#include <feerate.h>
Fee rate in liu per kilobyte: CAmount / kB.
Definition at line 20 of file feerate.h.
Fee rate of 0 liu per kB.
Definition at line 26 of file feerate.h.
CFeeRate::CFeeRate |
( |
const CAmount & |
_nSatoshisPerK | ) |
|
|
inlineexplicit |
CFeeRate::CFeeRate |
( |
const CAmount & |
nFeePaid, |
|
|
size_t |
nBytes |
|
) |
| |
Constructor for a fee rate in liu per kB.
The size in bytes must not exceed (2^63 - 1)
Definition at line 12 of file feerate.cpp.
CFeeRate::CFeeRate |
( |
const CFeeRate & |
other | ) |
|
|
inline |
CAmount CFeeRate::GetFee |
( |
size_t |
nBytes | ) |
const |
Return the fee in liu for the given size in bytes.
Definition at line 23 of file feerate.cpp.
CAmount CFeeRate::GetFeePerK |
( |
| ) |
const |
|
inline |
Return the fee in liu for a size of 1000 bytes.
Definition at line 38 of file feerate.h.
template<typename Stream , typename Operation >
void CFeeRate::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action |
|
) |
| |
|
inline |
std::string CFeeRate::ToString |
( |
| ) |
const |
CFeeRate::ADD_SERIALIZE_METHODS |
The documentation for this class was generated from the following files: