aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorSuhas Daftuar <[email protected]>2017-05-08 15:05:22 -0400
committerSuhas Daftuar <[email protected]>2017-06-05 16:33:35 -0400
commit76f74811c44b5119d5c19364b0594d423248ac0e (patch)
treeb4665449ef64f7e3c7e06b2724dcd265d8e1cb3d /src/httpserver.cpp
parentDelay parallel block download until chain has sufficient work (diff)
downloaddiscoin-76f74811c44b5119d5c19364b0594d423248ac0e.tar.xz
discoin-76f74811c44b5119d5c19364b0594d423248ac0e.zip
Add timeout for headers sync
At startup, we choose one peer to serve us the headers chain, until our best header is close to caught up. Disconnect this peer if more than 15 minutes + 1ms/expected_header passes and our best header is still more than 1 day away from current time.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions