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:
Edward Hennis
2016-05-18 14:26:40 -04:00
committed by seelabs
parent 1fe983948f
commit 9752268308
21 changed files with 183 additions and 71 deletions

View File

@@ -548,7 +548,7 @@ OverlayImpl::onPrepare()
// if it's a private peer or we are running as standalone
// automatic connections would defeat the purpose.
config.autoConnect =
!app_.config().RUN_STANDALONE &&
!app_.config().standalone() &&
!app_.config().PEER_PRIVATE;
config.listeningPort = port;
config.features = "";
@@ -591,7 +591,7 @@ OverlayImpl::onPrepare()
});
// Add the ips_fixed from the rippled.cfg file
if (! app_.config().RUN_STANDALONE && !app_.config().IPS_FIXED.empty ())
if (! app_.config().standalone() && !app_.config().IPS_FIXED.empty ())
{
m_resolver.resolve (app_.config().IPS_FIXED,
[this](