diff options
author | Jeff Garzik <jeff@garzik.org> | 2012-04-13 16:03:09 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-04-15 14:41:27 -0400 |
commit | 235507ae48718ee8ce5289b2791b4b449090dabc (patch) | |
tree | f8c6e75a572c8c404ddcac640b205dd38cc968fb /src/main.h | |
parent | 5a701eb7ea16b87b56263996ee8e98ec89e2a3d8 (diff) |
New class CTxMemPool, encapsulating TX memory pool data members
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index a89c0935fe..ef4ee137b6 100644 --- a/src/main.h +++ b/src/main.h @@ -1608,4 +1608,12 @@ public: bool ProcessAlert(); }; +class CTxMemPool +{ +public: + mutable CCriticalSection cs; + std::map<uint256, CTransaction> mapTx; + std::map<COutPoint, CInPoint> mapNextTx; +}; + #endif |