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 | |
parent | 5da1e452ed95e3a81c5d44e5f87aba3f3a3010df (diff) | |
download | dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.gz dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.bz2 dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.lz dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.xz dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.tar.zst dexon-solidity-42920f5d93b83cb5034380f2b8c9d39b045cc7ec.zip |
Split off general network layer.
-rw-r--r-- | fork.cpp | 2 | ||||
-rw-r--r-- | network.cpp | 2 | ||||
-rw-r--r-- | peer.cpp | 4 | ||||
-rw-r--r-- | txTest.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -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; @@ -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); @@ -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; |