Pass the config parameters to the node DB constructor

This commit is contained in:
JoelKatz
2013-07-10 13:55:53 -07:00
committed by Vinnie Falco
parent 884fec075f
commit 3c53253f2d

View File

@@ -45,7 +45,10 @@ public:
, mNetOps (&mLedgerMaster)
, m_rpcServerHandler (mNetOps)
, mTempNodeCache ("NodeCache", 16384, 90)
, m_nodeStore ("type=LevelDB|path=/mnt/stuff|compact=1", "", 16384, 300)
, m_nodeStore (
theConfig.NODE_DB,
theConfig.FASTNODE_DB,
16384, 300)
, mSLECache ("LedgerEntryCache", 4096, 120)
, mSNTPClient (mAuxService)
, mJobQueue (mIOService)