Split off general network layer.

This commit is contained in:
Gav Wood 2014-08-27 12:48:30 +02:00
parent 5da1e452ed
commit 42920f5d93
4 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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;