bitcoin/bitcoin — pull request #1835 by jgarzik (2012-09-19 02:37:35+00:00)
Title: P2P: request blocks from new peer, if "block" not seen in 1 hour

If we appear stuck and a new peer has blocks for us, ask for them.

NOTE: This triggers during the "version" message, and so, does not help cases where there is no connection turn-over.

However, this seems a very simple way to address stuck network sync under reverse-header-sync or something more fancy appears.

Builds on top of bug fix submitted in #1834.