aboutsummaryrefslogtreecommitdiffstats
path: root/peer.cpp
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-03-12 21:34:46 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-03-12 21:34:46 +0800
commit67fae64c9f4b719007ae4b256bee0dc19b5020db (patch)
tree06890e05b589d64c02e985743f859601ea1cd0d6 /peer.cpp
parentc93c1901d0e3ef73a936d04ea8100e9ab7d56ca9 (diff)
parent8371e8934e0b55400db0dce5e28c3e3ae5a676f7 (diff)
downloaddexon-solidity-67fae64c9f4b719007ae4b256bee0dc19b5020db.tar
dexon-solidity-67fae64c9f4b719007ae4b256bee0dc19b5020db.tar.gz
dexon-solidity-67fae64c9f4b719007ae4b256bee0dc19b5020db.tar.bz2
dexon-solidity-67fae64c9f4b719007ae4b256bee0dc19b5020db.tar.lz
dexon-solidity-67fae64c9f4b719007ae4b256bee0dc19b5020db.tar.xz
dexon-solidity-67fae64c9f4b719007ae4b256bee0dc19b5020db.tar.zst
dexon-solidity-67fae64c9f4b719007ae4b256bee0dc19b5020db.zip
Merge remote-tracking branch 'upstream/develop' into addTests
Diffstat (limited to 'peer.cpp')
-rw-r--r--peer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/peer.cpp b/peer.cpp
index 0fe3fd1e..14712d4f 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -63,6 +63,7 @@ BOOST_AUTO_TEST_CASE(save_nodes)
for (auto i:{0,1,2,3,4,5})
{
Host* h = new Host("Test", NetworkPreferences(30300 + i, "127.0.0.1", true, true));
+ h->setIdealPeerCount(10);
// starting host is required so listenport is available
h->start();
while (!h->isStarted())