HomePhabricator

Track block download times per individual block
2d1d6581eca4Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

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.

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Apr 3 2016, 13:24
deadalnixPushed on May 14 2017, 22:04
Parents
rABC3bc71e1572cb: Merge #7802: [qa] httpbasics: Actually test second connection
Branches
Unknown
Tags
Unknown

Event Timeline

Pieter Wuille <pieter.wuille@gmail.com> committed rABC2d1d6581eca4: Track block download times per individual block (authored by Pieter Wuille <pieter.wuille@gmail.com>).Apr 7 2016, 10:13