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.
Move "received block" message so that we can include the height in the debug message.
Log concurrent downloads
Improve getheader requests
Improve getheaders (recv) logging
Improve getblocks (reception) logging
Only UpdateTip one at a time, so as not to block network activity.
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
Add debug "tx" and "tx2" options
Process "notfound" messages, and safeguard against unreasonably long ones.