mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Reorganize source files
This commit is contained in:
@@ -26,10 +26,8 @@
|
||||
#include <ripple/protocol/Feature.h>
|
||||
#include <ripple/protocol/SystemParameters.h>
|
||||
#include <ripple/net/HTTPClient.h>
|
||||
#include <ripple/beast/net/URL.h>
|
||||
#include <ripple/beast/core/LexicalCast.h>
|
||||
#include <beast/streams/debug_ostream.h>
|
||||
#include <beast/ci_char_traits.h>
|
||||
#include <beast/detail/ci_char_traits.hpp>
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <boost/format.hpp>
|
||||
#include <boost/regex.hpp>
|
||||
@@ -328,15 +326,15 @@ void Config::loadFromString (std::string const& fileContents)
|
||||
|
||||
if (getSingleSection (secConfig, SECTION_NODE_SIZE, strTemp, j_))
|
||||
{
|
||||
if (beast::ci_equal(strTemp, "tiny"))
|
||||
if (beast::detail::ci_equal(strTemp, "tiny"))
|
||||
NODE_SIZE = 0;
|
||||
else if (beast::ci_equal(strTemp, "small"))
|
||||
else if (beast::detail::ci_equal(strTemp, "small"))
|
||||
NODE_SIZE = 1;
|
||||
else if (beast::ci_equal(strTemp, "medium"))
|
||||
else if (beast::detail::ci_equal(strTemp, "medium"))
|
||||
NODE_SIZE = 2;
|
||||
else if (beast::ci_equal(strTemp, "large"))
|
||||
else if (beast::detail::ci_equal(strTemp, "large"))
|
||||
NODE_SIZE = 3;
|
||||
else if (beast::ci_equal(strTemp, "huge"))
|
||||
else if (beast::detail::ci_equal(strTemp, "huge"))
|
||||
NODE_SIZE = 4;
|
||||
else
|
||||
{
|
||||
@@ -398,9 +396,9 @@ void Config::loadFromString (std::string const& fileContents)
|
||||
|
||||
if (getSingleSection (secConfig, SECTION_LEDGER_HISTORY, strTemp, j_))
|
||||
{
|
||||
if (beast::ci_equal(strTemp, "full"))
|
||||
if (beast::detail::ci_equal(strTemp, "full"))
|
||||
LEDGER_HISTORY = 1000000000u;
|
||||
else if (beast::ci_equal(strTemp, "none"))
|
||||
else if (beast::detail::ci_equal(strTemp, "none"))
|
||||
LEDGER_HISTORY = 0;
|
||||
else
|
||||
LEDGER_HISTORY = beast::lexicalCastThrow <std::uint32_t> (strTemp);
|
||||
@@ -408,9 +406,9 @@ void Config::loadFromString (std::string const& fileContents)
|
||||
|
||||
if (getSingleSection (secConfig, SECTION_FETCH_DEPTH, strTemp, j_))
|
||||
{
|
||||
if (beast::ci_equal(strTemp, "none"))
|
||||
if (beast::detail::ci_equal(strTemp, "none"))
|
||||
FETCH_DEPTH = 0;
|
||||
else if (beast::ci_equal(strTemp, "full"))
|
||||
else if (beast::detail::ci_equal(strTemp, "full"))
|
||||
FETCH_DEPTH = 1000000000u;
|
||||
else
|
||||
FETCH_DEPTH = beast::lexicalCastThrow <std::uint32_t> (strTemp);
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <ripple/core/JobTypes.h>
|
||||
#include <ripple/core/JobTypeInfo.h>
|
||||
#include <ripple/core/JobTypeData.h>
|
||||
#include <beast/clock/chrono_util.h>
|
||||
#include <ripple/beast/clock/chrono_util.h>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <ripple/basics/ThreadName.h>
|
||||
#include <ripple/basics/random.h>
|
||||
#include <ripple/core/impl/SNTPClock.h>
|
||||
#include <beast/asio/placeholders.h>
|
||||
#include <beast/placeholders.hpp>
|
||||
#include <ripple/beast/core/Thread.h>
|
||||
#include <boost/asio.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifndef RIPPLE_NET_SNTPCLOCK_H_INCLUDED
|
||||
#define RIPPLE_NET_SNTPCLOCK_H_INCLUDED
|
||||
|
||||
#include <beast/clock/abstract_clock.h>
|
||||
#include <ripple/beast/clock/abstract_clock.h>
|
||||
#include <ripple/beast/utility/Journal.h>
|
||||
#include <chrono>
|
||||
#include <memory>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
//==============================================================================
|
||||
|
||||
#include <ripple/core/impl/Workers.h>
|
||||
#include <beast/unit_test/suite.h>
|
||||
#include <ripple/beast/unit_test.h>
|
||||
#include <cassert>
|
||||
|
||||
namespace ripple {
|
||||
|
||||
Reference in New Issue
Block a user