diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-04-03 15:24:09 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-04-07 13:16:16 +0200 |
commit | 90f1d246d38803eb546c6652ddce5ebea55eec98 (patch) | |
tree | 949d47944a44ef018e736ba1d2c594a4fe443326 /src/qt/transactiondesc.cpp | |
parent | 4226aacdba7d0e1e22555dac69363b3b460a166b (diff) | |
download | bitcoin-90f1d246d38803eb546c6652ddce5ebea55eec98.tar.xz |
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/qt/transactiondesc.cpp')
0 files changed, 0 insertions, 0 deletions