diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-06-06 13:08:27 -0400 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-07-10 20:07:13 -0400 |
commit | 9c85b91dc1566f7c27c5b8a1a9c7aebe0e3a83cf (patch) | |
tree | a9cda413863908f2ccf954958e469b31964ca678 /src/policy/feerate.h | |
parent | 9edda0c5f5f20bc6b302ad51fa5ec40ed9da184d (diff) |
Change API to estimaterawfee
Report results for all 3 possible time horizons instead of specifying time horizon as an argument.
Diffstat (limited to 'src/policy/feerate.h')
-rw-r--r-- | src/policy/feerate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/policy/feerate.h b/src/policy/feerate.h index e82268b095..565da6c154 100644 --- a/src/policy/feerate.h +++ b/src/policy/feerate.h @@ -40,6 +40,7 @@ public: friend bool operator==(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK == b.nSatoshisPerK; } friend bool operator<=(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK <= b.nSatoshisPerK; } friend bool operator>=(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK >= b.nSatoshisPerK; } + friend bool operator!=(const CFeeRate& a, const CFeeRate& b) { return a.nSatoshisPerK != b.nSatoshisPerK; } CFeeRate& operator+=(const CFeeRate& a) { nSatoshisPerK += a.nSatoshisPerK; return *this; } std::string ToString() const; |