aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-08-27 18:48:30 +0800
committerGav Wood <i@gavwood.com>2014-08-27 18:48:30 +0800
commit42920f5d93b83cb5034380f2b8c9d39b045cc7ec (patch)
treeb85eeeabe1620ea2daae48affe80965b4b96ee36
parent5da1e452ed95e3a81c5d44e5f87aba3f3a3010df (diff)
downloaddexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.gz
dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.zst
dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.zip
Split off general network layer.
-rw-r--r--fork.cpp2
-rw-r--r--network.cpp2
-rw-r--r--peer.cpp4
-rw-r--r--txTest.cpp2
4 files changed, 5 insertions, 5 deletions
diff --git a/fork.cpp b/fork.cpp
index 09a866fb..f0edb702 100644
--- a/fork.cpp
+++ b/fork.cpp
@@ -24,7 +24,7 @@
#include <boost/filesystem/operations.hpp>
#include <libethereum/Client.h>
#include <libethereum/BlockChain.h>
-#include <libethereum/PeerServer.h>
+#include <libethereum/EthereumHost.h>
#include "TestHelper.h"
using namespace std;
using namespace eth;
diff --git a/network.cpp b/network.cpp
index 2a161418..978d6893 100644
--- a/network.cpp
+++ b/network.cpp
@@ -24,7 +24,7 @@
#include <boost/filesystem/operations.hpp>
#include <libethereum/Client.h>
#include <libethereum/BlockChain.h>
-#include <libethereum/PeerServer.h>
+#include <libethereum/EthereumHost.h>
#include "TestHelper.h"
using namespace std;
using namespace eth;
diff --git a/peer.cpp b/peer.cpp
index 7370df34..63f2b086 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -24,7 +24,7 @@
#include <thread>
#include <boost/filesystem/operations.hpp>
#include <libethereum/BlockChain.h>
-#include <libethereum/PeerServer.h>
+#include <libethereum/EthereumHost.h>
using namespace std;
using namespace eth;
using boost::asio::ip::tcp;
@@ -49,7 +49,7 @@ int peerTest(int argc, char** argv)
}
BlockChain ch(boost::filesystem::temp_directory_path().string());
- PeerServer pn("Test", ch, 0, listenPort);
+ EthereumHost pn("Test", ch, 0, listenPort);
if (!remoteHost.empty())
pn.connect(remoteHost, remotePort);
diff --git a/txTest.cpp b/txTest.cpp
index 53df93a6..314cf964 100644
--- a/txTest.cpp
+++ b/txTest.cpp
@@ -24,7 +24,7 @@
#include <boost/filesystem/operations.hpp>
#include <libethereum/Client.h>
#include <libethereum/BlockChain.h>
-#include <libethereum/PeerServer.h>
+#include <libethereum/EthereumHost.h>
#include "TestHelper.h"
using namespace std;
using namespace eth;