Split out libethcore from libethereum.

This commit is contained in:
Gav Wood 2014-04-23 15:08:11 +01:00
parent 39a5c08051
commit 3a2597d871
18 changed files with 45 additions and 45 deletions

View File

@ -2,8 +2,8 @@ cmake_policy(SET CMP0015 NEW)
aux_source_directory(. SRC_LIST) aux_source_directory(. SRC_LIST)
include_directories(../secp256k1) include_directories(..)
include_directories(../libethereum) link_directories(../libethcore)
link_directories(../libethereum) link_directories(../libethereum)
add_executable(testeth ${SRC_LIST}) add_executable(testeth ${SRC_LIST})

View File

@ -21,8 +21,8 @@
#include "MemTrie.h" #include "MemTrie.h"
#include <CommonEth.h> #include <libethcore/TrieCommon.h>
#include <TrieCommon.h> #include <libethereum/CommonEth.h>
using namespace std; using namespace std;
using namespace eth; using namespace eth;

View File

@ -21,8 +21,8 @@
#pragma once #pragma once
#include <Common.h> #include <libethcore/Common.h>
#include <FixedHash.h> #include <libethcore/FixedHash.h>
namespace eth namespace eth
{ {

View File

@ -21,7 +21,7 @@
#include <thread> #include <thread>
#include <chrono> #include <chrono>
#include <Client.h> #include <libethereum/Client.h>
#include "TestHelper.h" #include "TestHelper.h"
namespace eth namespace eth

View File

@ -21,8 +21,8 @@
#include "TrieHash.h" #include "TrieHash.h"
#include <CommonEth.h> #include <libethcore/TrieCommon.h>
#include <TrieCommon.h> #include <libethereum/CommonEth.h>
using namespace std; using namespace std;
using namespace eth; using namespace eth;

View File

@ -21,8 +21,8 @@
#pragma once #pragma once
#include <Common.h> #include <libethcore/Common.h>
#include <FixedHash.h> #include <libethcore/FixedHash.h>
namespace eth namespace eth
{ {

View File

@ -21,11 +21,11 @@
*/ */
#include <random> #include <random>
#include <secp256k1.h> #include <secp256k1/secp256k1.h>
#include <Common.h> #include <libethcore/Common.h>
#include <RLP.h> #include <libethcore/RLP.h>
#include <Log.h> #include <libethcore/Log.h>
#include <Transaction.h> #include <libethereum/Transaction.h>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
using namespace std; using namespace std;

View File

@ -21,8 +21,8 @@
*/ */
#include <chrono> #include <chrono>
#include "Log.h" #include <libethcore/Log.h>
#include "Dagger.h" #include <libethereum/Dagger.h>
using namespace std; using namespace std;
using namespace std::chrono; using namespace std::chrono;
using namespace eth; using namespace eth;

View File

@ -22,9 +22,9 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
#include <Client.h> #include <libethereum/Client.h>
#include <BlockChain.h> #include <libethereum/BlockChain.h>
#include <PeerServer.h> #include <libethereum/PeerServer.h>
#include "TestHelper.h" #include "TestHelper.h"
using namespace std; using namespace std;
using namespace eth; using namespace eth;

View File

@ -22,8 +22,8 @@
#include <fstream> #include <fstream>
#include "JsonSpiritHeaders.h" #include "JsonSpiritHeaders.h"
#include "TrieCommon.h" #include <libethcore/TrieCommon.h>
#include "Log.h" #include <libethcore/Log.h>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
using namespace std; using namespace std;

View File

@ -33,7 +33,7 @@ int vmTest();
int hexPrefixTest(); int hexPrefixTest();
int peerTest(int argc, char** argv); int peerTest(int argc, char** argv);
#include <BlockInfo.h> #include <libethereum/BlockInfo.h>
using namespace eth; using namespace eth;
BOOST_AUTO_TEST_CASE(basic_tests) BOOST_AUTO_TEST_CASE(basic_tests)

View File

@ -22,9 +22,9 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
#include <Client.h> #include <libethereum/Client.h>
#include <BlockChain.h> #include <libethereum/BlockChain.h>
#include <PeerServer.h> #include <libethereum/PeerServer.h>
#include "TestHelper.h" #include "TestHelper.h"
using namespace std; using namespace std;
using namespace eth; using namespace eth;

View File

@ -23,8 +23,8 @@
#include <chrono> #include <chrono>
#include <thread> #include <thread>
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
#include <BlockChain.h> #include <libethereum/BlockChain.h>
#include <PeerServer.h> #include <libethereum/PeerServer.h>
using namespace std; using namespace std;
using namespace eth; using namespace eth;
using boost::asio::ip::tcp; using boost::asio::ip::tcp;

View File

@ -23,9 +23,9 @@
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#include "JsonSpiritHeaders.h" #include "JsonSpiritHeaders.h"
#include <Log.h> #include <libethcore/Log.h>
#include <RLP.h> #include <libethcore/RLP.h>
#include <Common.h> #include <libethcore/Common.h>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <algorithm> #include <algorithm>

View File

@ -21,10 +21,10 @@
*/ */
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
#include <secp256k1.h> #include <secp256k1/secp256k1.h>
#include <BlockChain.h> #include <libethereum/BlockChain.h>
#include <State.h> #include <libethereum/State.h>
#include <Defaults.h> #include <libethereum/Defaults.h>
using namespace std; using namespace std;
using namespace eth; using namespace eth;

View File

@ -23,7 +23,7 @@
#include <fstream> #include <fstream>
#include <random> #include <random>
#include "JsonSpiritHeaders.h" #include "JsonSpiritHeaders.h"
#include <TrieDB.h> #include <libethcore/TrieDB.h>
#include "TrieHash.h" #include "TrieHash.h"
#include "MemTrie.h" #include "MemTrie.h"
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>

View File

@ -22,9 +22,9 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
#include <Client.h> #include <libethereum/Client.h>
#include <BlockChain.h> #include <libethereum/BlockChain.h>
#include <PeerServer.h> #include <libethereum/PeerServer.h>
#include "TestHelper.h" #include "TestHelper.h"
using namespace std; using namespace std;
using namespace eth; using namespace eth;

10
vm.cpp
View File

@ -21,11 +21,11 @@
*/ */
#include <fstream> #include <fstream>
#include <ExtVMFace.h> #include <libethcore/Log.h>
#include <Transaction.h> #include <libethereum/ExtVMFace.h>
#include <VM.h> #include <libethereum/Transaction.h>
#include <Log.h> #include <libethereum/VM.h>
#include <Instruction.h> #include <libethereum/Instruction.h>
#include "JsonSpiritHeaders.h" #include "JsonSpiritHeaders.h"
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>