Change download logic to allow calling getheaders/getdata on inbound peers
SendMessages will now call getheaders on both inbound and outbound peers,
once the headers chain is close to synced. It will also try downloading
blocks from inbound peers once we're out of initial block download (so
inbound peers will participate in parallel block fetching for the last day
or two of blocks being downloaded).
boolfFetch=state.fPreferredDownload||(nPreferredDownload==0&&!pto->fClient&&!pto->fOneShot);// Download if this is a nice peer, or we have no nice peers and this one might do.
boolfFetch=state.fPreferredDownload||(nPreferredDownload==0&&!pto->fClient&&!pto->fOneShot);// Download if this is a nice peer, or we have no nice peers and this one might do.