mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Merge branch 'master' into develop
Conflicts: Builds/VisualStudio2012/RippleD.vcxproj modules/ripple_app/ripple_app.cpp modules/ripple_websocket/ripple_websocket.cpp src/cpp/ripple/NetworkOPs.cpp src/cpp/ripple/ripple_Application.cpp src/cpp/ripple/ripple_Peer.cpp
This commit is contained in:
@@ -843,14 +843,6 @@ bool serverOkay (std::string& reason)
|
||||
if (!theConfig.ELB_SUPPORT)
|
||||
return true;
|
||||
|
||||
/*
|
||||
if (!theApp)
|
||||
{
|
||||
reason = "Server has not started";
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
|
||||
if (getApp().isShutdown ())
|
||||
{
|
||||
reason = "Server is shutting down";
|
||||
@@ -869,6 +861,9 @@ bool serverOkay (std::string& reason)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!getApp().getLedgerMaster().isCaughtUp(reason))
|
||||
return false;
|
||||
|
||||
if (getApp().getFeeTrack ().isLoaded ())
|
||||
{
|
||||
reason = "Too much load";
|
||||
|
||||
Reference in New Issue
Block a user