mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Levelization, improve structure of source files:
Source files are moved between modules, includes changed and added, and some code rewritten, with the goal of reducing cross-module dependencies and eliminating cycles in the dependency graph of classes. * Remove RippleAddress dependency in CKey_test * ByteOrder.h, Blob.h, and strHex.h are moved to basics/. This makes the basics/ module fully independent of other ripple sources. * types/ is merged into protocol/. The protocol module now contains all primitive types specific to the Ripple protocol. * Move ErrorCodes to protocol/ * Move base_uint to basics/ * Move Base58 to crypto/ * Remove dependence on Serializer in GenerateDeterministicKey * Eliminate unity header json.h * Remove obsolete unity headers * Remove unnecessary includes
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include <ripple/server/impl/JSONRPCUtil.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
#include <ripple/protocol/BuildInfo.h>
|
||||
#include <ripple/core/SystemParameters.h>
|
||||
#include <ripple/protocol/SystemParameters.h>
|
||||
#include <ripple/json/to_string.h>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <ripple/app/main/Application.h>
|
||||
#include <ripple/json/json_reader.h>
|
||||
#include <ripple/server/make_ServerHandler.h>
|
||||
#include <ripple/server/impl/JSONRPCUtil.h>
|
||||
#include <ripple/server/impl/ServerHandlerImp.h>
|
||||
|
||||
@@ -20,18 +20,17 @@
|
||||
#ifndef RIPPLE_SERVER_MAKE_SERVERHANDLER_H_INCLUDED
|
||||
#define RIPPLE_SERVER_MAKE_SERVERHANDLER_H_INCLUDED
|
||||
|
||||
#include <ripple/core/Config.h>
|
||||
#include <ripple/server/Server.h>
|
||||
#include <ripple/overlay/Overlay.h>
|
||||
#include <ripple/core/JobQueue.h>
|
||||
#include <ripple/resource/Manager.h>
|
||||
#include <ripple/server/ServerHandler.h>
|
||||
#include <beast/utility/Journal.h>
|
||||
#include <beast/utility/PropertyStream.h>
|
||||
#include <beast/cxx14/memory.h> // <memory>
|
||||
#include <beast/threads/Stoppable.h>
|
||||
#include <boost/asio/io_service.hpp>
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
class NetworkOPs;
|
||||
|
||||
std::unique_ptr <ServerHandler>
|
||||
make_ServerHandler (beast::Stoppable& parent, boost::asio::io_service& io_service,
|
||||
JobQueue& jobQueue, NetworkOPs& networkOPs, Resource::Manager& resourceManager);
|
||||
|
||||
Reference in New Issue
Block a user