bitcoin/bitcoin — pull request #5157 by sipa (2014-10-28 16:34:40+00:00)
Title: Introduce preferred download peers

Keep track of whether we have peers that are preferred candidates for downloading blocks from, but if there are none, also use others.