diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-03-12 21:34:46 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-03-12 21:34:46 +0800 |
commit | 67fae64c9f4b719007ae4b256bee0dc19b5020db (patch) | |
tree | 06890e05b589d64c02e985743f859601ea1cd0d6 /peer.cpp | |
parent | c93c1901d0e3ef73a936d04ea8100e9ab7d56ca9 (diff) | |
parent | 8371e8934e0b55400db0dce5e28c3e3ae5a676f7 (diff) | |
download | dexon-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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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()) |