mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Refactor FeeVote into IFeeVote abstract interface
This commit is contained in:
@@ -29,6 +29,10 @@
|
||||
#include "TransactionQueue.h"
|
||||
#include "OrderBookDB.h"
|
||||
|
||||
// VFALCO: TODO, Fix forward declares required for header dependency loops
|
||||
class IFeatureTable;
|
||||
class IFeeVote;
|
||||
|
||||
class RPCDoor;
|
||||
class PeerDoor;
|
||||
typedef TaggedCache< uint256, std::vector<unsigned char>, UptimeTimerAdapter> NodeCache;
|
||||
@@ -74,7 +78,7 @@ class Application
|
||||
LoadFeeTrack mFeeTrack;
|
||||
TXQueue mTxnQueue;
|
||||
OrderBookDB mOrderBookDB;
|
||||
FeeVote mFeeVote;
|
||||
IFeeVote* mFeeVote;
|
||||
FeatureTable mFeatureTable;
|
||||
|
||||
DatabaseCon *mRpcDB, *mTxnDB, *mLedgerDB, *mWalletDB, *mNetNodeDB, *mPathFindDB, *mHashNodeDB;
|
||||
@@ -133,7 +137,7 @@ public:
|
||||
PeerDoor& getPeerDoor() { return *mPeerDoor; }
|
||||
OrderBookDB& getOrderBookDB() { return mOrderBookDB; }
|
||||
SLECache& getSLECache() { return mSLECache; }
|
||||
FeeVote& getFeeVote() { return mFeeVote; }
|
||||
IFeeVote& getFeeVote() { return *mFeeVote; }
|
||||
FeatureTable& getFeatureTable() { return mFeatureTable; }
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user