aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRussell Yanofsky <[email protected]>2016-11-11 15:40:48 -0500
committerRussell Yanofsky <[email protected]>2016-11-14 12:02:31 -0500
commit05e57ccd746b2e14699d2b1980927f30070cb3ad (patch)
tree1cbafd8a97db85acf13ba2d809fc346569f7690d /src/main.cpp
parent[qa] Improve sync_blocks error messages. (diff)
downloaddiscoin-05e57ccd746b2e14699d2b1980927f30070cb3ad.tar.xz
discoin-05e57ccd746b2e14699d2b1980927f30070cb3ad.zip
[qa] Fix sync_blocks timeout argument
Motivation for this change is mainly to make sync_blocks behavior easier to understand. Behavior is unchanged in the normal case when there are only 2 nodes in the rpc_connections set. When there are more than 2 nodes, the previous "timeout -= wait" statement wouldn't take into account time spent waiting for all nodes and as a result could lead to blocking for longer than the requested timeout.
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions