mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 21:15:58 +00:00
Emergency fix.
This commit is contained in:
@@ -1160,6 +1160,16 @@ Json::Value RPCHandler::doSubmit(Json::Value jvRequest)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Json::Value RPCHandler::doLedgerOkay(Json::Value)
|
||||||
|
{
|
||||||
|
theApp->getOPs().clearNeedNetworkLedger();
|
||||||
|
Json::Value ret(Json::objectValue);
|
||||||
|
|
||||||
|
ret["okay"] = true;
|
||||||
|
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
Json::Value RPCHandler::doServerInfo(Json::Value)
|
Json::Value RPCHandler::doServerInfo(Json::Value)
|
||||||
{
|
{
|
||||||
Json::Value ret(Json::objectValue);
|
Json::Value ret(Json::objectValue);
|
||||||
@@ -2447,6 +2457,7 @@ Json::Value RPCHandler::doCommand(Json::Value& jvRequest, int iRole)
|
|||||||
{ "ripple_path_find", &RPCHandler::doRipplePathFind, false, optCurrent },
|
{ "ripple_path_find", &RPCHandler::doRipplePathFind, false, optCurrent },
|
||||||
{ "submit", &RPCHandler::doSubmit, false, optCurrent },
|
{ "submit", &RPCHandler::doSubmit, false, optCurrent },
|
||||||
{ "server_info", &RPCHandler::doServerInfo, true, optNone },
|
{ "server_info", &RPCHandler::doServerInfo, true, optNone },
|
||||||
|
{ "ledger_okay", &RPCHandler::doLedgerOkay, true, optNone },
|
||||||
{ "stop", &RPCHandler::doStop, true, optNone },
|
{ "stop", &RPCHandler::doStop, true, optNone },
|
||||||
{ "transaction_entry", &RPCHandler::doTransactionEntry, false, optCurrent },
|
{ "transaction_entry", &RPCHandler::doTransactionEntry, false, optCurrent },
|
||||||
{ "tx", &RPCHandler::doTx, false, optNetwork },
|
{ "tx", &RPCHandler::doTx, false, optNetwork },
|
||||||
|
|||||||
@@ -90,6 +90,7 @@ class RPCHandler
|
|||||||
|
|
||||||
Json::Value doSubscribe(Json::Value params);
|
Json::Value doSubscribe(Json::Value params);
|
||||||
Json::Value doUnsubscribe(Json::Value params);
|
Json::Value doUnsubscribe(Json::Value params);
|
||||||
|
Json::Value doLedgerOkay(Json::Value params);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user