mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove unused or obsolete classes and files
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
#include <ripple/net/InfoSub.h>
|
||||
#include <ripple/server/Role.h>
|
||||
|
||||
#include <beast/utility/Journal.h>
|
||||
#include <ripple/beast/utility/Journal.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifndef RIPPLED_RIPPLE_RPC_VERSIONS_H
|
||||
#define RIPPLED_RIPPLE_RPC_VERSIONS_H
|
||||
|
||||
#include <beast/module/core/diagnostic/SemanticVersion.h>
|
||||
#include <ripple/beast/core/SemanticVersion.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/json/Object.h>
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <ripple/app/misc/SHAMapStore.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <beast/module/core/text/LexicalCast.h>
|
||||
#include <ripple/beast/core/LexicalCast.h>
|
||||
#include <boost/algorithm/string/case_conv.hpp>
|
||||
#include <boost/format.hpp>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <ripple/rpc/impl/Handler.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -37,7 +37,7 @@ namespace ripple {
|
||||
// XXX Might allow domain for manual connections.
|
||||
Json::Value doConnect (RPC::Context& context)
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
if (context.app.config().RUN_STANDALONE)
|
||||
return "cannot connect in standalone mode";
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include <ripple/json/json_value.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -32,7 +32,7 @@ Json::Value doConsensusInfo (RPC::Context& context)
|
||||
Json::Value ret (Json::objectValue);
|
||||
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
ret[jss::info] = context.netOps.getConsensusInfo ();
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/net/RPCErr.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <beast/module/core/text/LexicalCast.h>
|
||||
#include <ripple/beast/core/LexicalCast.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
#include <ripple/protocol/Indexes.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
Json::Value doLedgerAccept (RPC::Context& context)
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
Json::Value jvResult;
|
||||
|
||||
if (!context.app.config().RUN_STANDALONE)
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include <ripple/overlay/Overlay.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -34,7 +34,7 @@ Json::Value doPeers (RPC::Context& context)
|
||||
Json::Value jvResult (Json::objectValue);
|
||||
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
|
||||
jvResult[jss::peers] = context.app.overlay ().json ();
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <ripple/protocol/ErrorCodes.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/basics/base_uint.h>
|
||||
#include <beast/rngfill.h>
|
||||
#include <ripple/beast/utility/rngfill.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <ripple/json/json_value.h>
|
||||
#include <ripple/rpc/impl/Handler.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -31,7 +31,7 @@ struct Context;
|
||||
|
||||
Json::Value doStop (RPC::Context& context)
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
context.app.signalStop ();
|
||||
|
||||
return RPC::makeObjectValue (systemName () + " server stopping");
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <BeastConfig.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <ripple/app/misc/ValidatorList.h>
|
||||
#include <ripple/json/json_value.h>
|
||||
@@ -37,7 +37,7 @@ namespace ripple {
|
||||
// }
|
||||
Json::Value doUnlAdd (RPC::Context& context)
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
|
||||
if (!context.params.isMember (jss::node))
|
||||
return rpcError (rpcINVALID_PARAMS);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
#include <ripple/protocol/PublicKey.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <ripple/rpc/impl/Handler.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace ripple {
|
||||
// }
|
||||
Json::Value doUnlDelete (RPC::Context& context)
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
|
||||
if (!context.params.isMember (jss::node))
|
||||
return rpcError (rpcINVALID_PARAMS);
|
||||
|
||||
@@ -22,13 +22,13 @@
|
||||
#include <ripple/app/misc/ValidatorList.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
Json::Value doUnlList (RPC::Context& context)
|
||||
{
|
||||
auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
auto lock = make_lock(context.app.getMasterMutex());
|
||||
Json::Value obj (Json::objectValue);
|
||||
|
||||
context.app.validators().for_each (
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <ripple/protocol/ErrorCodes.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/rpc/Context.h>
|
||||
#include <beast/utility/make_lock.h>
|
||||
#include <ripple/basics/make_lock.h>
|
||||
#include <iostream>
|
||||
|
||||
namespace ripple {
|
||||
@@ -40,7 +40,7 @@ Json::Value doValidationSeed (RPC::Context& context)
|
||||
// keys at runtime.
|
||||
return rpcError (rpcNOT_IMPL);
|
||||
|
||||
// auto lock = beast::make_lock(context.app.getMasterMutex());
|
||||
// auto lock = make_lock(context.app.getMasterMutex());
|
||||
// Json::Value obj (Json::objectValue);
|
||||
|
||||
// if (!context.params.isMember (jss::secret))
|
||||
|
||||
Reference in New Issue
Block a user