Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
•All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
feerate.h
Go to the documentation of this file.
42 friend bool operator<(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK < b.nSatoshisPerK; }
43 friend bool operator>(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK > b.nSatoshisPerK; }
44 friend bool operator==(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK == b.nSatoshisPerK; }
45 friend bool operator<=(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK <= b.nSatoshisPerK; }
46 friend bool operator>=(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK >= b.nSatoshisPerK; }
47 friend bool operator!=(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK != b.nSatoshisPerK; }
friend bool operator>=(const CFeeRate &a, const CFeeRate &b)
Definition: feerate.h:46
friend bool operator<=(const CFeeRate &a, const CFeeRate &b)
Definition: feerate.h:45
friend bool operator>(const CFeeRate &a, const CFeeRate &b)
Definition: feerate.h:43
void SerializationOp(Stream &s, Operation ser_action)
Definition: feerate.h:54
friend bool operator<(const CFeeRate &a, const CFeeRate &b)
Definition: feerate.h:42
friend bool operator==(const CFeeRate &a, const CFeeRate &b)
Definition: feerate.h:44
friend bool operator!=(const CFeeRate &a, const CFeeRate &b)
Definition: feerate.h:47
CAmount GetFeePerK() const
Return the fee in satoshis for a size of 1000 bytes.
Definition: feerate.h:41
CAmount GetFee(size_t nBytes) const
Return the fee in satoshis for the given size in bytes.
Definition: feerate.cpp:23