aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2014-07-03 14:25:32 -0400
committerGavin Andresen <gavinandresen@gmail.com>2014-07-03 14:42:16 -0400
commit13fc83c77bb9108c00dd7709ce17719edb763273 (patch)
tree4d9397d208b3c74bea11056ec9402fdfc81a36f5 /src/txmempool.h
parent4b7b1bb1ac54e067d889170757a8c45f0baaae3d (diff)
downloadbitcoin-13fc83c77bb9108c00dd7709ce17719edb763273.tar.xz
Move fee policy out of core
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index f7dbb126a0..41b2c52f39 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -67,13 +67,15 @@ private:
unsigned int nTransactionsUpdated;
CMinerPolicyEstimator* minerPolicyEstimator;
+ CFeeRate minRelayFee; // Passed to constructor to avoid dependency on main
+
public:
mutable CCriticalSection cs;
std::map<uint256, CTxMemPoolEntry> mapTx;
std::map<COutPoint, CInPoint> mapNextTx;
std::map<uint256, std::pair<double, int64_t> > mapDeltas;
- CTxMemPool();
+ CTxMemPool(const CFeeRate& _minRelayFee);
~CTxMemPool();
/*