Project refactor. Introduce the Serpent library.

This commit is contained in:
Gav Wood
2014-06-27 23:47:24 +02:00
parent d737f6df42
commit b62f71c699
11 changed files with 24 additions and 22 deletions
+2 -1
View File
@@ -21,7 +21,8 @@
#include "MemTrie.h"
#include <libethsupport/TrieCommon.h>
#include <libethcore/TrieCommon.h>
#include <libethcore/SHA3.h>
#include <libethcore/CommonEth.h>
using namespace std;
using namespace eth;
+2 -2
View File
@@ -21,8 +21,8 @@
#pragma once
#include <libethsupport/Common.h>
#include <libethsupport/FixedHash.h>
#include <libethential/Common.h>
#include <libethential/FixedHash.h>
namespace eth
{
+2 -1
View File
@@ -21,7 +21,8 @@
#include "TrieHash.h"
#include <libethsupport/TrieCommon.h>
#include <libethcore/TrieCommon.h>
#include <libethcore/SHA3.h>
#include <libethcore/CommonEth.h>
using namespace std;
using namespace eth;
+2 -2
View File
@@ -21,8 +21,8 @@
#pragma once
#include <libethsupport/Common.h>
#include <libethsupport/FixedHash.h>
#include <libethential/Common.h>
#include <libethential/FixedHash.h>
namespace eth
{
+3 -3
View File
@@ -22,9 +22,9 @@
#include <random>
#include <secp256k1/secp256k1.h>
#include <libethsupport/Common.h>
#include <libethsupport/RLP.h>
#include <libethsupport/Log.h>
#include <libethential/Common.h>
#include <libethential/RLP.h>
#include <libethential/Log.h>
#include <libethereum/Transaction.h>
#include <boost/test/unit_test.hpp>
+1 -1
View File
@@ -21,7 +21,7 @@
*/
#include <chrono>
#include <libethsupport/Log.h>
#include <libethential/Log.h>
#include <libethcore/Dagger.h>
using namespace std;
using namespace std::chrono;
+2 -2
View File
@@ -22,8 +22,8 @@
#include <fstream>
#include "JsonSpiritHeaders.h"
#include <libethsupport/TrieCommon.h>
#include <libethsupport/Log.h>
#include <libethcore/TrieCommon.h>
#include <libethential/Log.h>
#include <boost/test/unit_test.hpp>
using namespace std;
+2 -2
View File
@@ -20,7 +20,7 @@
* Main test functions.
*/
#include <libethsupport/TrieDB.h>
#include <libethcore/TrieDB.h>
#include "TrieHash.h"
#include "MemTrie.h"
@@ -35,7 +35,7 @@ int vmTest();
int hexPrefixTest();
int peerTest(int argc, char** argv);
#include <libethsupport/Log.h>
#include <libethential/Log.h>
#include <libethcore/BlockInfo.h>
using namespace std;
using namespace eth;
+3 -3
View File
@@ -23,9 +23,9 @@
#include <fstream>
#include <sstream>
#include "JsonSpiritHeaders.h"
#include <libethsupport/Log.h>
#include <libethsupport/RLP.h>
#include <libethsupport/Common.h>
#include <libethential/Log.h>
#include <libethential/RLP.h>
#include <libethential/Common.h>
#include <boost/test/unit_test.hpp>
#include <algorithm>
+1 -1
View File
@@ -23,7 +23,7 @@
#include <fstream>
#include <random>
#include "JsonSpiritHeaders.h"
#include <libethsupport/TrieDB.h>
#include <libethcore/TrieDB.h>
#include "TrieHash.h"
#include "MemTrie.h"
#include <boost/test/unit_test.hpp>
+4 -4
View File
@@ -22,8 +22,8 @@
#include <fstream>
#include <cstdint>
#include <libethsupport/Log.h>
#include <libethcore/Instruction.h>
#include <libethential/Log.h>
#include <libevmface/Instruction.h>
#include <libevm/ExtVMFace.h>
#include <libevm/VM.h>
#include <liblll/Compiler.h>
@@ -470,7 +470,7 @@ void doTests(json_spirit::mValue& v, bool _fillin)
BOOST_AUTO_TEST_CASE(vm_tests)
{
// Populate tests first:
try
/*try
{
cnote << "Populating VM tests...";
json_spirit::mValue v;
@@ -483,7 +483,7 @@ BOOST_AUTO_TEST_CASE(vm_tests)
catch (std::exception const& e)
{
BOOST_ERROR("Failed VM Test with Exception: " << e.what());
}
}*/
try
{