diff options
author | subtly <subtly@users.noreply.github.com> | 2014-07-21 16:29:49 +0800 |
---|---|---|
committer | subtly <subtly@users.noreply.github.com> | 2014-07-21 16:29:49 +0800 |
commit | 5da1e452ed95e3a81c5d44e5f87aba3f3a3010df (patch) | |
tree | 80cf15843f7ed3b5d926b72f83651ee01b361b41 /peer.cpp | |
parent | f2524f55781502cb1bd203c31a42184e7294c23b (diff) | |
download | dexon-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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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(); } |