Remove unused or obsolete classes and files

This commit is contained in:
Vinnie Falco
2016-04-11 05:32:30 -04:00
parent 735c341fae
commit 203739f7a4
425 changed files with 1968 additions and 5270 deletions

View File

@@ -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 {

View File

@@ -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>

View File

@@ -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>

View File

@@ -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";

View File

@@ -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 ();
}

View File

@@ -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 {

View File

@@ -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)

View File

@@ -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 ();

View File

@@ -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 {

View File

@@ -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");

View File

@@ -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);

View File

@@ -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);

View File

@@ -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 (

View File

@@ -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))