mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Allow a ledger close to be replayed for debug. Syntax: rippled -a --load --ledger=<seq> --replay
This commit is contained in:
@@ -14,7 +14,8 @@ DatabaseCon::DatabaseCon (const std::string& strName, const char* initStrings[],
|
||||
// responsibility to pass in the path. Add a member function to Application
|
||||
// or Config to compute this path.
|
||||
//
|
||||
boost::filesystem::path pPath = (theConfig.RUN_STANDALONE && (theConfig.START_UP != Config::LOAD))
|
||||
boost::filesystem::path pPath = (theConfig.RUN_STANDALONE &&
|
||||
((theConfig.START_UP != Config::LOAD) && (theConfig.START_UP != Config::REPLAY)))
|
||||
? "" // Use temporary files.
|
||||
: (theConfig.DATA_DIR / strName); // Use regular db files.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user