Reorganize source files

This commit is contained in:
Vinnie Falco
2016-04-19 20:29:16 -04:00
parent 2cb3834bbb
commit 4469ff4b9a
422 changed files with 4031 additions and 13217 deletions

View File

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

View File

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

View File

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

View File

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

View File

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