HomePhabricator

Reduce download timeouts as blocks arrive
8ba7f842e5a0Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Reduce download timeouts as blocks arrive

Compare the block download timeout to what the timeout would be if calculated
based on current time and current value of nQueuedValidatedHeaders, but
ignoring other in-flight blocks from the same peer. If the calculation based on
present conditions is shorter, then set that to be the time after which we
disconnect the peer for not delivering this block.

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Apr 6 2015, 17:10
deadalnixPushed on May 14 2017, 22:04
Parents
rABCea2b425b00b0: Merge pull request #5997
Branches
Unknown
Tags
Unknown

Event Timeline

Suhas Daftuar <sdaftuar@gmail.com> committed rABC8ba7f842e5a0: Reduce download timeouts as blocks arrive (authored by Suhas Daftuar <sdaftuar@gmail.com>).Apr 15 2015, 13:28