Move fee policy out of core

This commit is contained in:
Gavin Andresen
2014-07-03 14:25:32 -04:00
parent 4b7b1bb1ac
commit 13fc83c77b
16 changed files with 70 additions and 61 deletions

View File

@@ -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();
/*