diff options
author | Gav Wood <i@gavwood.com> | 2014-08-27 18:48:30 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-08-27 18:48:30 +0800 |
commit | 42920f5d93b83cb5034380f2b8c9d39b045cc7ec (patch) | |
tree | b85eeeabe1620ea2daae48affe80965b4b96ee36 /peer.cpp | |
parent | 5da1e452ed95e3a81c5d44e5f87aba3f3a3010df (diff) | |
download | dexon-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.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |