mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
commit
59da6057a0
1
peer.cpp
1
peer.cpp
@ -63,6 +63,7 @@ BOOST_AUTO_TEST_CASE(save_nodes)
|
|||||||
for (auto i:{0,1,2,3,4,5})
|
for (auto i:{0,1,2,3,4,5})
|
||||||
{
|
{
|
||||||
Host* h = new Host("Test", NetworkPreferences(30300 + i, "127.0.0.1", true, true));
|
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
|
// starting host is required so listenport is available
|
||||||
h->start();
|
h->start();
|
||||||
while (!h->isStarted())
|
while (!h->isStarted())
|
||||||
|
Loading…
Reference in New Issue
Block a user