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)
|
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})
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
10
crypto.cpp
10
crypto.cpp
@ -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;
|
||||||
|
@ -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;
|
||||||
|
6
fork.cpp
6
fork.cpp
@ -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;
|
||||||
|
@ -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;
|
||||||
|
2
main.cpp
2
main.cpp
@ -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)
|
||||||
|
@ -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;
|
||||||
|
4
peer.cpp
4
peer.cpp
@ -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;
|
||||||
|
6
rlp.cpp
6
rlp.cpp
@ -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>
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
2
trie.cpp
2
trie.cpp
@ -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>
|
||||||
|
@ -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
10
vm.cpp
@ -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>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user