Track partial block download progress, timings and bandwidth, and add disconnect logic for stalls.
Disable sipa stall disconnect logic, but still log when it is triggered.
Improve getheader requests
Improve getheaders (recv) logging
Improve getblocks (reception) logging
Exit UpdateTip earlier so as to give the network a chance to catch up.
MAX_TRANSIT_PER_PEER = 3
Don't disconnect on ping timeout. (Doesn't seem to be a reliable indicator of inactivity).
Improve and shorten "ActiveTip: new best" debug line.
getheaders (only get the highest header the remote node will have).
Add nodeid to inactivity tracking
Only respond to getblocks requests that are asking for substantially newer block invs.
Use syncheight instead of startheight for broadcasting block invs
Add net2 debug option
Better logging of ProcessMessages() progress (needs "net2", "nLastDataPos")
Change check whether to send block inv after UpdateTip