aboutsummaryrefslogtreecommitdiff
path: root/src/policy/feerate.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-06-06 13:08:27 -0400
committerAlex Morcos <morcos@chaincode.com>2017-07-10 20:07:13 -0400
commit9c85b91dc1566f7c27c5b8a1a9c7aebe0e3a83cf (patch)
treea9cda413863908f2ccf954958e469b31964ca678 /src/policy/feerate.h
parent9edda0c5f5f20bc6b302ad51fa5ec40ed9da184d (diff)
downloadbitcoin-9c85b91dc1566f7c27c5b8a1a9c7aebe0e3a83cf.tar.xz
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.h1
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;