mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Use soci in some places:
* Brings the soci subtree into rippled. * Validator, peerfinder, and SHAMapStore use new soci backend. * Optional postgresql backend for soci (if POSTGRESQL_ROOT env var is set).
This commit is contained in:
@@ -329,7 +329,7 @@ public:
|
||||
, m_shaMapStore (make_SHAMapStore (setup_SHAMapStore (
|
||||
getConfig()), *this, m_nodeStoreScheduler,
|
||||
m_logs.journal ("SHAMapStore"), m_logs.journal ("NodeObject"),
|
||||
m_txMaster))
|
||||
m_txMaster, getConfig()))
|
||||
|
||||
, m_nodeStore (m_shaMapStore->makeDatabase ("NodeStore.main", 4))
|
||||
|
||||
@@ -394,7 +394,7 @@ public:
|
||||
, m_sntpClient (SNTPClient::New (*this))
|
||||
|
||||
, m_validators (Validators::make_Manager(*this, get_io_service(),
|
||||
getConfig ().getModuleDatabasePath (), m_logs.journal("UVL")))
|
||||
m_logs.journal("UVL"), getConfig ()))
|
||||
|
||||
, m_amendmentTable (make_AmendmentTable
|
||||
(weeks(2), MAJORITY_FRACTION,
|
||||
@@ -797,9 +797,8 @@ public:
|
||||
//
|
||||
// if (!getConfig ().RUN_STANDALONE)
|
||||
m_overlay = make_Overlay (setup_Overlay(getConfig()), *m_jobQueue,
|
||||
*serverHandler_, *m_resourceManager,
|
||||
getConfig ().getModuleDatabasePath (), *m_resolver,
|
||||
get_io_service());
|
||||
*serverHandler_, *m_resourceManager, *m_resolver, get_io_service(),
|
||||
getConfig());
|
||||
add (*m_overlay); // add to PropertyStream
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user