aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-06-28 05:47:24 +0800
committerGav Wood <i@gavwood.com>2014-06-28 05:47:24 +0800
commitb62f71c699de687268b5d83a526f66027fca07ea (patch)
tree075bf6824f198776505f5f6e0fed6a1ac978cb7a
parentd737f6df42f98c42d98d7bd4bad8a8c96e61d5a1 (diff)
downloaddexon-solidity-b62f71c699de687268b5d83a526f66027fca07ea.tar.gz
dexon-solidity-b62f71c699de687268b5d83a526f66027fca07ea.tar.zst
dexon-solidity-b62f71c699de687268b5d83a526f66027fca07ea.zip
Project refactor. Introduce the Serpent library.
-rw-r--r--MemTrie.cpp3
-rw-r--r--MemTrie.h4
-rw-r--r--TrieHash.cpp3
-rw-r--r--TrieHash.h4
-rw-r--r--crypto.cpp6
-rw-r--r--dagger.cpp2
-rw-r--r--hexPrefix.cpp4
-rw-r--r--main.cpp4
-rw-r--r--rlp.cpp6
-rw-r--r--trie.cpp2
-rw-r--r--vm.cpp8
11 files changed, 24 insertions, 22 deletions
diff --git a/MemTrie.cpp b/MemTrie.cpp
index d7f4e7d0..5c819ffb 100644
--- a/MemTrie.cpp
+++ b/MemTrie.cpp
@@ -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;
diff --git a/MemTrie.h b/MemTrie.h
index 7a923759..8c90f2f3 100644
--- a/MemTrie.h
+++ b/MemTrie.h
@@ -21,8 +21,8 @@
#pragma once
-#include <libethsupport/Common.h>
-#include <libethsupport/FixedHash.h>
+#include <libethential/Common.h>
+#include <libethential/FixedHash.h>
namespace eth
{
diff --git a/TrieHash.cpp b/TrieHash.cpp
index f6b73014..8f4161a1 100644
--- a/TrieHash.cpp
+++ b/TrieHash.cpp
@@ -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;
diff --git a/TrieHash.h b/TrieHash.h
index f226f2d7..391c4263 100644
--- a/TrieHash.h
+++ b/TrieHash.h
@@ -21,8 +21,8 @@
#pragma once
-#include <libethsupport/Common.h>
-#include <libethsupport/FixedHash.h>
+#include <libethential/Common.h>
+#include <libethential/FixedHash.h>
namespace eth
{
diff --git a/crypto.cpp b/crypto.cpp
index 53be1db1..c39de78d 100644
--- a/crypto.cpp
+++ b/crypto.cpp
@@ -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>
diff --git a/dagger.cpp b/dagger.cpp
index 27ad1c74..4f65b47a 100644
--- a/dagger.cpp
+++ b/dagger.cpp
@@ -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;
diff --git a/hexPrefix.cpp b/hexPrefix.cpp
index 871e86f0..5ea67092 100644
--- a/hexPrefix.cpp
+++ b/hexPrefix.cpp
@@ -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;
diff --git a/main.cpp b/main.cpp
index b85f00b0..1497f298 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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;
diff --git a/rlp.cpp b/rlp.cpp
index 0a62df9e..548be8d9 100644
--- a/rlp.cpp
+++ b/rlp.cpp
@@ -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>
diff --git a/trie.cpp b/trie.cpp
index 12d2c2e3..1ba69833 100644
--- a/trie.cpp
+++ b/trie.cpp
@@ -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>
diff --git a/vm.cpp b/vm.cpp
index f5970417..1d5c630f 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -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
{