mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 22:15:52 +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,17 +21,11 @@
|
||||
|
||||
// Unfortunate but necessary since RPC handlers can literally do anything
|
||||
#include <ripple/unity/app.h>
|
||||
#include <ripple/unity/json.h>
|
||||
#include <ripple/protocol/JsonFields.h>
|
||||
|
||||
#include <ripple/unity/rpcx.h>
|
||||
|
||||
#include <ripple/rpc/RPCHandler.h>
|
||||
#include <ripple/overlay/Overlay.h>
|
||||
#include <tuple>
|
||||
|
||||
#include <ripple/rpc/impl/Coroutine.cpp>
|
||||
#include <ripple/rpc/impl/ErrorCodes.cpp>
|
||||
#include <ripple/rpc/impl/JsonObject.cpp>
|
||||
#include <ripple/rpc/impl/JsonWriter.cpp>
|
||||
#include <ripple/rpc/impl/WriteJson.cpp>
|
||||
|
||||
Reference in New Issue
Block a user