diff options
author | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-09-20 08:05:46 +0800 |
---|---|---|
committer | Christoph Jentzsch <jentzsch.software@gmail.com> | 2014-09-20 08:05:46 +0800 |
commit | e2fe9628d18bab06da1ff0bce93d5544ef173a79 (patch) | |
tree | 08d67f7c1396c34f9908aa0c4bd435969c8a35f3 | |
parent | 9f04e1d1b702de57b330f4f95dbe339698d2d57b (diff) | |
parent | 583111ea6831cb97f83273f5758583f62345bb90 (diff) | |
download | dexon-solidity-e2fe9628d18bab06da1ff0bce93d5544ef173a79.tar dexon-solidity-e2fe9628d18bab06da1ff0bce93d5544ef173a79.tar.gz dexon-solidity-e2fe9628d18bab06da1ff0bce93d5544ef173a79.tar.bz2 dexon-solidity-e2fe9628d18bab06da1ff0bce93d5544ef173a79.tar.lz dexon-solidity-e2fe9628d18bab06da1ff0bce93d5544ef173a79.tar.xz dexon-solidity-e2fe9628d18bab06da1ff0bce93d5544ef173a79.tar.zst dexon-solidity-e2fe9628d18bab06da1ff0bce93d5544ef173a79.zip |
Merge remote-tracking branch 'upstream/develop' into develop
-rw-r--r-- | TestHelper.cpp | 3 | ||||
-rw-r--r-- | peer.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 02a883db..20c42a9b 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -42,11 +42,14 @@ void mine(Client& c, int numBlocks) void connectClients(Client& c1, Client& c2) { + // TODO: Move to WebThree. eth::Client no longer handles networking. +#if 0 short c1Port = 20000; short c2Port = 21000; c1.startNetwork(c1Port); c2.startNetwork(c2Port); c2.connect("127.0.0.1", c1Port); +#endif } } @@ -46,7 +46,7 @@ int peerTest(int argc, char** argv) remoteHost = argv[i]; } - Host ph("Test", listenPort); + Host ph("Test", NetworkPreferences(listenPort)); if (!remoteHost.empty()) ph.connect(remoteHost, remotePort); |