Begin tying in the new transaction queue code.

This commit is contained in:
JoelKatz
2012-12-19 11:31:33 -08:00
parent edcd8286d2
commit cc7b1434c7
9 changed files with 118 additions and 4 deletions

View File

@@ -23,6 +23,7 @@
#include "RPCHandler.h"
#include "ProofOfWork.h"
#include "LoadManager.h"
#include "TransactionQueue.h"
class RPCDoor;
class PeerDoor;
@@ -64,6 +65,7 @@ class Application
ProofOfWorkGenerator mPOWGen;
LoadManager mLoadMgr;
LoadFeeTrack mFeeTrack;
TXQueue mTxnQueue;
DatabaseCon *mRpcDB, *mTxnDB, *mLedgerDB, *mWalletDB, *mHashNodeDB, *mNetNodeDB;
@@ -110,6 +112,7 @@ public:
boost::recursive_mutex& getMasterLock() { return mMasterLock; }
ProofOfWorkGenerator& getPowGen() { return mPOWGen; }
LoadManager& getLoadManager() { return mLoadMgr; }
TXQueue& getTxnQueue() { return mTxnQueue; }
bool isNew(const uint256& s) { return mSuppressions.addSuppression(s); }