6b48e7840d
When generating the locator, we just looked for the first block in the locator we had locally. However that block could be on a losing fork, in which case we replied with blocks from that losing fork, making things worse. Now building the locator only based on blocks in our winning fork.