mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Split off general network layer.
This commit is contained in:
parent
5da1e452ed
commit
42920f5d93
2
fork.cpp
2
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;
|
||||
|
@ -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;
|
||||
|
4
peer.cpp
4
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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user