Make InboundLedgers, LedgerConsensus abstract

This commit is contained in:
NATTSiM
2013-12-20 17:04:15 -08:00
committed by Vinnie Falco
parent 8c2ec2cfbe
commit 9bdb0774ad
6 changed files with 2156 additions and 1857 deletions

View File

@@ -131,7 +131,7 @@ public:
, m_sntpClient (SNTPClient::New (*this))
, m_inboundLedgers (*m_jobQueue)
, m_inboundLedgers (InboundLedgers::New(*m_jobQueue))
, m_txQueue (TxQueue::New ())
@@ -215,7 +215,7 @@ public:
InboundLedgers& getInboundLedgers ()
{
return m_inboundLedgers;
return *m_inboundLedgers;
}
TransactionMaster& getMasterTransaction ()
@@ -914,7 +914,7 @@ private:
NodeStoreScheduler m_nodeStoreScheduler;
ScopedPointer <NodeStore::Database> m_nodeStore;
ScopedPointer <SNTPClient> m_sntpClient;
InboundLedgers m_inboundLedgers;
beast::unique_ptr <InboundLedgers> m_inboundLedgers;
ScopedPointer <TxQueue> m_txQueue;
ScopedPointer <Validators::Manager> m_validators;
ScopedPointer <IFeatures> mFeatures;