aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2016-04-03 15:24:09 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-04-07 13:16:16 +0200
commit90f1d246d38803eb546c6652ddce5ebea55eec98 (patch)
tree949d47944a44ef018e736ba1d2c594a4fe443326 /src/chain.h
parent4226aacdba7d0e1e22555dac69363b3b460a166b (diff)
Track block download times per individual block
Currently, we're keeping a timeout for each requested block, starting from when it is requested, with a correction factor for the number of blocks in the queue. That's unnecessarily complicated and inaccurate. As peers process block requests in order, we can make the timeout for each block start counting only when all previous ones have been received, and have a correction based on the number of peers, rather than the total number of blocks. Conflicts: src/main.cpp src/main.h Self check after the last peer is removed Github-Pull: #7804 Rebased-From: 2d1d6581eca4508838cd339cc19c72efc42d6ea0 0e24bbf679c95784ed5514a6a1f2fbf99dd97725
Diffstat (limited to 'src/chain.h')
0 files changed, 0 insertions, 0 deletions