mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Split out libethcore from libethereum.
This commit is contained in:
parent
39a5c08051
commit
3a2597d871
@ -2,8 +2,8 @@ cmake_policy(SET CMP0015 NEW)
|
||||
|
||||
aux_source_directory(. SRC_LIST)
|
||||
|
||||
include_directories(../secp256k1)
|
||||
include_directories(../libethereum)
|
||||
include_directories(..)
|
||||
link_directories(../libethcore)
|
||||
link_directories(../libethereum)
|
||||
|
||||
add_executable(testeth ${SRC_LIST})
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include "MemTrie.h"
|
||||
|
||||
#include <CommonEth.h>
|
||||
#include <TrieCommon.h>
|
||||
#include <libethcore/TrieCommon.h>
|
||||
#include <libethereum/CommonEth.h>
|
||||
using namespace std;
|
||||
using namespace eth;
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Common.h>
|
||||
#include <FixedHash.h>
|
||||
#include <libethcore/Common.h>
|
||||
#include <libethcore/FixedHash.h>
|
||||
|
||||
namespace eth
|
||||
{
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <thread>
|
||||
#include <chrono>
|
||||
#include <Client.h>
|
||||
#include <libethereum/Client.h>
|
||||
#include "TestHelper.h"
|
||||
|
||||
namespace eth
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include "TrieHash.h"
|
||||
|
||||
#include <CommonEth.h>
|
||||
#include <TrieCommon.h>
|
||||
#include <libethcore/TrieCommon.h>
|
||||
#include <libethereum/CommonEth.h>
|
||||
using namespace std;
|
||||
using namespace eth;
|
||||
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Common.h>
|
||||
#include <FixedHash.h>
|
||||
#include <libethcore/Common.h>
|
||||
#include <libethcore/FixedHash.h>
|
||||
|
||||
namespace eth
|
||||
{
|
||||
|
10
crypto.cpp
10
crypto.cpp
@ -21,11 +21,11 @@
|
||||
*/
|
||||
|
||||
#include <random>
|
||||
#include <secp256k1.h>
|
||||
#include <Common.h>
|
||||
#include <RLP.h>
|
||||
#include <Log.h>
|
||||
#include <Transaction.h>
|
||||
#include <secp256k1/secp256k1.h>
|
||||
#include <libethcore/Common.h>
|
||||
#include <libethcore/RLP.h>
|
||||
#include <libethcore/Log.h>
|
||||
#include <libethereum/Transaction.h>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
using namespace std;
|
||||
|
@ -21,8 +21,8 @@
|
||||
*/
|
||||
|
||||
#include <chrono>
|
||||
#include "Log.h"
|
||||
#include "Dagger.h"
|
||||
#include <libethcore/Log.h>
|
||||
#include <libethereum/Dagger.h>
|
||||
using namespace std;
|
||||
using namespace std::chrono;
|
||||
using namespace eth;
|
||||
|
6
fork.cpp
6
fork.cpp
@ -22,9 +22,9 @@
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <Client.h>
|
||||
#include <BlockChain.h>
|
||||
#include <PeerServer.h>
|
||||
#include <libethereum/Client.h>
|
||||
#include <libethereum/BlockChain.h>
|
||||
#include <libethereum/PeerServer.h>
|
||||
#include "TestHelper.h"
|
||||
using namespace std;
|
||||
using namespace eth;
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
#include <fstream>
|
||||
#include "JsonSpiritHeaders.h"
|
||||
#include "TrieCommon.h"
|
||||
#include "Log.h"
|
||||
#include <libethcore/TrieCommon.h>
|
||||
#include <libethcore/Log.h>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
using namespace std;
|
||||
|
2
main.cpp
2
main.cpp
@ -33,7 +33,7 @@ int vmTest();
|
||||
int hexPrefixTest();
|
||||
int peerTest(int argc, char** argv);
|
||||
|
||||
#include <BlockInfo.h>
|
||||
#include <libethereum/BlockInfo.h>
|
||||
using namespace eth;
|
||||
|
||||
BOOST_AUTO_TEST_CASE(basic_tests)
|
||||
|
@ -22,9 +22,9 @@
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <Client.h>
|
||||
#include <BlockChain.h>
|
||||
#include <PeerServer.h>
|
||||
#include <libethereum/Client.h>
|
||||
#include <libethereum/BlockChain.h>
|
||||
#include <libethereum/PeerServer.h>
|
||||
#include "TestHelper.h"
|
||||
using namespace std;
|
||||
using namespace eth;
|
||||
|
4
peer.cpp
4
peer.cpp
@ -23,8 +23,8 @@
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <BlockChain.h>
|
||||
#include <PeerServer.h>
|
||||
#include <libethereum/BlockChain.h>
|
||||
#include <libethereum/PeerServer.h>
|
||||
using namespace std;
|
||||
using namespace eth;
|
||||
using boost::asio::ip::tcp;
|
||||
|
6
rlp.cpp
6
rlp.cpp
@ -23,9 +23,9 @@
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include "JsonSpiritHeaders.h"
|
||||
#include <Log.h>
|
||||
#include <RLP.h>
|
||||
#include <Common.h>
|
||||
#include <libethcore/Log.h>
|
||||
#include <libethcore/RLP.h>
|
||||
#include <libethcore/Common.h>
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <algorithm>
|
||||
|
||||
|
@ -21,10 +21,10 @@
|
||||
*/
|
||||
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <secp256k1.h>
|
||||
#include <BlockChain.h>
|
||||
#include <State.h>
|
||||
#include <Defaults.h>
|
||||
#include <secp256k1/secp256k1.h>
|
||||
#include <libethereum/BlockChain.h>
|
||||
#include <libethereum/State.h>
|
||||
#include <libethereum/Defaults.h>
|
||||
using namespace std;
|
||||
using namespace eth;
|
||||
|
||||
|
2
trie.cpp
2
trie.cpp
@ -23,7 +23,7 @@
|
||||
#include <fstream>
|
||||
#include <random>
|
||||
#include "JsonSpiritHeaders.h"
|
||||
#include <TrieDB.h>
|
||||
#include <libethcore/TrieDB.h>
|
||||
#include "TrieHash.h"
|
||||
#include "MemTrie.h"
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
@ -22,9 +22,9 @@
|
||||
|
||||
#include <boost/test/unit_test.hpp>
|
||||
#include <boost/filesystem/operations.hpp>
|
||||
#include <Client.h>
|
||||
#include <BlockChain.h>
|
||||
#include <PeerServer.h>
|
||||
#include <libethereum/Client.h>
|
||||
#include <libethereum/BlockChain.h>
|
||||
#include <libethereum/PeerServer.h>
|
||||
#include "TestHelper.h"
|
||||
using namespace std;
|
||||
using namespace eth;
|
||||
|
10
vm.cpp
10
vm.cpp
@ -21,11 +21,11 @@
|
||||
*/
|
||||
|
||||
#include <fstream>
|
||||
#include <ExtVMFace.h>
|
||||
#include <Transaction.h>
|
||||
#include <VM.h>
|
||||
#include <Log.h>
|
||||
#include <Instruction.h>
|
||||
#include <libethcore/Log.h>
|
||||
#include <libethereum/ExtVMFace.h>
|
||||
#include <libethereum/Transaction.h>
|
||||
#include <libethereum/VM.h>
|
||||
#include <libethereum/Instruction.h>
|
||||
#include "JsonSpiritHeaders.h"
|
||||
#include <boost/test/unit_test.hpp>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user