New class CTxMemPool, encapsulating TX memory pool data members

This commit is contained in:
Jeff Garzik
2012-04-13 16:03:09 -04:00
committed by Jeff Garzik
parent 5a701eb7ea
commit 235507ae48
2 changed files with 37 additions and 30 deletions

View File

@@ -1608,4 +1608,12 @@ public:
bool ProcessAlert();
};
class CTxMemPool
{
public:
mutable CCriticalSection cs;
std::map<uint256, CTransaction> mapTx;
std::map<COutPoint, CInPoint> mapNextTx;
};
#endif