Add NodeId to CNodeState (for logging/debugging purposes)
Rearrange ProcessMessages
Track partial block download progress, timings and bandwidth, and add disconnect logic for stalls.
Add extra debugging messages for download and stall logic.
Stripe downloads (so not a contiguous chunk is requested from one node).
Disable sipa stall disconnect logic, but still log when it would have been triggered.
Add CaughtUp() function (needed by later commits)
Display error when duplicate block received
Request headers while we don't have the headers (fix to headersfirst8)
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.
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