aboutsummaryrefslogtreecommitdiffstats
path: root/peer.cpp
diff options
context:
space:
mode:
authorsubtly <subtly@users.noreply.github.com>2014-07-21 16:29:49 +0800
committersubtly <subtly@users.noreply.github.com>2014-07-21 16:29:49 +0800
commit5da1e452ed95e3a81c5d44e5f87aba3f3a3010df (patch)
tree80cf15843f7ed3b5d926b72f83651ee01b361b41 /peer.cpp
parentf2524f55781502cb1bd203c31a42184e7294c23b (diff)
downloaddexon-solidity-5da1e452ed95e3a81c5d44e5f87aba3f3a3010df.tar.gz
dexon-solidity-5da1e452ed95e3a81c5d44e5f87aba3f3a3010df.tar.zst
dexon-solidity-5da1e452ed95e3a81c5d44e5f87aba3f3a3010df.zip
Fix for #246. Removed sync() to prevent race condition within dropped() and . Raised maxblocks to 64.
Diffstat (limited to 'peer.cpp')
-rw-r--r--peer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.cpp b/peer.cpp
index 20f2d322..7370df34 100644
--- a/peer.cpp
+++ b/peer.cpp
@@ -57,7 +57,7 @@ int peerTest(int argc, char** argv)
for (int i = 0; ; ++i)
{
this_thread::sleep_for(chrono::milliseconds(100));
- pn.sync();
+// pn.sync();
if (!(i % 10))
pn.pingAll();
}