Closed whunmr closed 5 years ago
@whitefen @Radar3 please help to review these commits. thanks.
I have reviewed the code. Every change looks well. But one thing should be care: If there are very few peers, or only one peer, disconnect that peer may be dangerous.
Remove nil handling of GetIndexBestHeader
Use lightweight IsInitialBlockDownload avoid chain tip access data race