aboutsummaryrefslogtreecommitdiff
path: root/src/policy/feerate.h
diff options
context:
space:
mode:
authorKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-03-04 11:28:08 +0900
committerKarl-Johan Alm <karljohan-alm@garage.co.jp>2020-06-24 16:01:38 +0900
commit3404c1b753432c4859a4ca245f01c240610a00cb (patch)
tree73e03650bd8590c2bba4e2c8c97680f6807192e8 /src/policy/feerate.h
parent6fcf4484302d13bd7739b617470d8c8e31974908 (diff)
downloadbitcoin-3404c1b753432c4859a4ca245f01c240610a00cb.tar.xz
policy: optional FeeEstimateMode param to CFeeRate::ToString
Diffstat (limited to 'src/policy/feerate.h')
-rw-r--r--src/policy/feerate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/feerate.h b/src/policy/feerate.h
index f532ba7f88..883940f73c 100644
--- a/src/policy/feerate.h
+++ b/src/policy/feerate.h
@@ -56,7 +56,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; }
CFeeRate& operator+=(const CFeeRate& a) { nSatoshisPerK += a.nSatoshisPerK; return *this; }
- std::string ToString() const;
+ std::string ToString(const FeeEstimateMode& fee_estimate_mode = FeeEstimateMode::BTC_KB) const;
SERIALIZE_METHODS(CFeeRate, obj) { READWRITE(obj.nSatoshisPerK); }
};