mirror of
https://github.com/Xahau/xahaud.git
synced 2026-06-03 16:56:36 +00:00
clang
This commit is contained in:
@@ -392,7 +392,8 @@ private:
|
||||
|
||||
if (app_.getFeeTrack().isLoadedLocal())
|
||||
{
|
||||
JLOG(j_.warn()) << "Ledger Cleaner: Waiting for load to subside";
|
||||
JLOG(j_.warn())
|
||||
<< "Ledger Cleaner: Waiting for load to subside";
|
||||
std::this_thread::sleep_for(std::chrono::seconds(5));
|
||||
continue;
|
||||
}
|
||||
@@ -416,12 +417,14 @@ private:
|
||||
if (ledgerHash.isZero())
|
||||
{
|
||||
JLOG(j_.warn())
|
||||
<< "Ledger Cleaner: Unable to get hash for ledger " << ledgerIndex;
|
||||
<< "Ledger Cleaner: Unable to get hash for ledger "
|
||||
<< ledgerIndex;
|
||||
fail = true;
|
||||
}
|
||||
else if (!doLedger(ledgerIndex, ledgerHash, doNodes, doTxns))
|
||||
{
|
||||
JLOG(j_.warn()) << "Ledger Cleaner: Failed to process ledger " << ledgerIndex;
|
||||
JLOG(j_.warn()) << "Ledger Cleaner: Failed to process ledger "
|
||||
<< ledgerIndex;
|
||||
fail = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@ class NetworkOPs;
|
||||
class SHAMapStoreImp : public SHAMapStore
|
||||
{
|
||||
private:
|
||||
|
||||
class SavedStateDB
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include <ripple/basics/base_uint.h>
|
||||
#include <ripple/beast/net/IPEndpoint.h>
|
||||
#include <ripple/beast/utility/Journal.h>
|
||||
#include <ripple/core/ConfigSections.h>
|
||||
#include <ripple/protocol/PublicKey.h>
|
||||
#include <ripple/protocol/SystemParameters.h> // VFALCO Breaks levelization
|
||||
#include <boost/beast/core/string.hpp>
|
||||
@@ -39,7 +40,6 @@
|
||||
#include <type_traits>
|
||||
#include <unordered_set>
|
||||
#include <vector>
|
||||
#include <ripple/core/ConfigSections.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -354,11 +354,12 @@ public:
|
||||
bool
|
||||
mem_backend() const
|
||||
{
|
||||
static bool const isMem =
|
||||
(!section(SECTION_RELATIONAL_DB).empty() &&
|
||||
boost::beast::iequals(get(section(SECTION_RELATIONAL_DB), "backend"), "memory")) ||
|
||||
static bool const isMem =
|
||||
(!section(SECTION_RELATIONAL_DB).empty() &&
|
||||
boost::beast::iequals(
|
||||
get(section(SECTION_RELATIONAL_DB), "backend"), "memory")) ||
|
||||
(!section("node_db").empty() &&
|
||||
boost::beast::iequals(get(section("node_db"), "type"), "memory"));
|
||||
boost::beast::iequals(get(section("node_db"), "type"), "memory"));
|
||||
|
||||
return isMem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user