6 #ifndef BITCOIN_AMOUNT_H 7 #define BITCOIN_AMOUNT_H 59 template <
typename Stream,
typename Operation>
60 inline void SerializationOp(Stream& s, Operation ser_action,
int nType,
int nVersion) {
65 #endif // BITCOIN_AMOUNT_H const std::string CURRENCY_UNIT
CFeeRate(const CAmount &_nSatoshisPerK)
static const CAmount MAX_MONEY
static const CAmount COIN
bool MoneyRange(const CAmount &nValue)
friend bool operator>(const CFeeRate &a, const CFeeRate &b)
CFeeRate(const CFeeRate &other)
CAmount GetFee(size_t size) const
std::string ToString() const
CAmount GetFeePerK() const
static const CAmount CENT
friend bool operator==(const CFeeRate &a, const CFeeRate &b)
friend bool operator<(const CFeeRate &a, const CFeeRate &b)
CFeeRate & operator+=(const CFeeRate &a)
void SerializationOp(Stream &s, Operation ser_action, int nType, int nVersion)
friend bool operator>=(const CFeeRate &a, const CFeeRate &b)
friend bool operator<=(const CFeeRate &a, const CFeeRate &b)