mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor RippleCalc:
* Rationalize method and filenames, move to subdirectory. * Use Issue in Node. * Restrict access to PathState variables. * Line length and readability cleanups. * New PathCursor stores path calculation data during rippleCalc. * Extract methods PathCursor::node(), PathCursor::previousNode() and RippleCalc::addPath
This commit is contained in:
committed by
Vinnie Falco
parent
c59fc332d5
commit
194304e544
@@ -28,10 +28,21 @@
|
||||
|
||||
#include <ripple/module/rpc/ErrorCodes.h>
|
||||
|
||||
#include <ripple/module/app/paths/Node.cpp>
|
||||
#include <ripple/module/app/paths/PathRequest.cpp>
|
||||
#include <ripple/module/app/paths/PathRequests.cpp>
|
||||
#include <ripple/module/app/paths/RippleCalc.cpp>
|
||||
#include <ripple/module/app/paths/PathState.cpp>
|
||||
#include <ripple/module/app/paths/RippleCalc.cpp>
|
||||
#include <ripple/module/app/paths/cursor/AdvanceNode.cpp>
|
||||
#include <ripple/module/app/paths/cursor/DeliverNodeForward.cpp>
|
||||
#include <ripple/module/app/paths/cursor/DeliverNodeReverse.cpp>
|
||||
#include <ripple/module/app/paths/cursor/ForwardLiquidity.cpp>
|
||||
#include <ripple/module/app/paths/cursor/ForwardLiquidityForAccount.cpp>
|
||||
#include <ripple/module/app/paths/cursor/Liquidity.cpp>
|
||||
#include <ripple/module/app/paths/cursor/NextIncrement.cpp>
|
||||
#include <ripple/module/app/paths/cursor/ReverseLiquidity.cpp>
|
||||
#include <ripple/module/app/paths/cursor/ReverseLiquidityForAccount.cpp>
|
||||
#include <ripple/module/app/paths/cursor/RippleLiquidity.cpp>
|
||||
|
||||
#include <ripple/module/app/main/ParameterTable.cpp>
|
||||
#include <ripple/module/app/paths/RippleLineCache.cpp>
|
||||
|
||||
35
src/ripple/unity/http.h
Normal file
35
src/ripple/unity/http.h
Normal file
@@ -0,0 +1,35 @@
|
||||
//------------------------------------------------------------------------------
|
||||
/*
|
||||
This file is part of rippled: https://github.com/ripple/rippled
|
||||
Copyright (c) 2012, 2013 Ripple Labs Inc.
|
||||
|
||||
Permission to use, copy, modify, and/or distribute this software for any
|
||||
purpose with or without fee is hereby granted, provided that the above
|
||||
copyright notice and this permission notice appear in all copies.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
||||
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_HTTP_H_INCLUDED
|
||||
#define RIPPLE_HTTP_H_INCLUDED
|
||||
|
||||
// VFALCO This entire file is deprecated now, I'm working on a replacement
|
||||
|
||||
// VFALCO NOTE this sucks that we have to include asio in the header
|
||||
// just for HTTPMessage!
|
||||
#include <beast/module/asio/asio.h>
|
||||
|
||||
#include <ripple/http/api/Port.h>
|
||||
#include <ripple/http/api/ScopedStream.h>
|
||||
#include <ripple/http/api/Session.h>
|
||||
#include <ripple/http/api/Handler.h>
|
||||
#include <ripple/http/api/Server.h>
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user