aboutsummaryrefslogtreecommitdiff
path: root/src/policy/fees.h
diff options
context:
space:
mode:
authorAlex Morcos <morcos@chaincode.com>2017-03-07 15:01:50 -0500
committerAlex Morcos <morcos@chaincode.com>2017-05-10 11:47:44 -0400
commit10f7cbd2471ae289d2846e09c4b088fdc0330c8f (patch)
tree09377865a8899abf9bdc028cf6652c1e7a2b1c57 /src/policy/fees.h
parent3810e976d6a3956dff9e66077415cf04c1fe1f90 (diff)
downloadbitcoin-10f7cbd2471ae289d2846e09c4b088fdc0330c8f.tar.xz
Track first recorded height
Track the first time we seen txs in a block that we have been tracking in our mempool. Used to evaluate validity of fee estimates for different targets.
Diffstat (limited to 'src/policy/fees.h')
-rw-r--r--src/policy/fees.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h
index 7064ad15c1..3184aa08ab 100644
--- a/src/policy/fees.h
+++ b/src/policy/fees.h
@@ -173,6 +173,10 @@ public:
private:
CFeeRate minTrackedFee; //!< Passed to constructor to avoid dependency on main
unsigned int nBestSeenHeight;
+ unsigned int firstRecordedHeight;
+ unsigned int historicalFirst;
+ unsigned int historicalBest;
+
struct TxStatsInfo
{
unsigned int blockHeight;