mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Standalone mode uses temp DB files by default (RIPD-1129):
* If a [database_path] is configured, it will always be used, and tables will be upgraded on startup.
This commit is contained in:
@@ -86,7 +86,7 @@ LedgerMaster::LedgerMaster (Application& app, Stopwatch& stopwatch,
|
||||
, mValidLedgerSign (0)
|
||||
, mValidLedgerSeq (0)
|
||||
, mBuildingLedgerSeq (0)
|
||||
, standalone_ (app_.config().RUN_STANDALONE)
|
||||
, standalone_ (app_.config().standalone())
|
||||
, fetch_depth_ (app_.getSHAMapStore ().clampFetchDepth (
|
||||
app_.config().FETCH_DEPTH))
|
||||
, ledger_history_ (app_.config().LEDGER_HISTORY)
|
||||
@@ -209,7 +209,7 @@ LedgerMaster::setValidLedger(
|
||||
{
|
||||
std::vector <NetClock::time_point> times;
|
||||
|
||||
if (! app_.config().RUN_STANDALONE)
|
||||
if (! standalone_)
|
||||
{
|
||||
times = app_.getValidations().getValidationTimes(
|
||||
l->info().hash);
|
||||
|
||||
Reference in New Issue
Block a user