aboutsummaryrefslogtreecommitdiffstats
path: root/peer.cpp
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 /peer.cpp
parent5da1e452ed95e3a81c5d44e5f87aba3f3a3010df (diff)
downloaddexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.gz
dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.zst
dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.zip
Split off general network layer.
Diffstat (limited to 'peer.cpp')
-rw-r--r--peer.cpp4
1 files changed, 2 insertions, 2 deletions
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);