aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Jentzsch <jentzsch.software@gmail.com>2014-09-20 08:05:46 +0800
committerChristoph Jentzsch <jentzsch.software@gmail.com>2014-09-20 08:05:46 +0800
commite2fe9628d18bab06da1ff0bce93d5544ef173a79 (patch)
tree08d67f7c1396c34f9908aa0c4bd435969c8a35f3
parent9f04e1d1b702de57b330f4f95dbe339698d2d57b (diff)
parent583111ea6831cb97f83273f5758583f62345bb90 (diff)
downloaddexon-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.cpp3
-rw-r--r--peer.cpp2
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
}
}
diff --git a/peer.cpp b/peer.cpp
index 821aab51..a99ce720 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -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);