downloader: improved downloading and synchronisation
* Downloader's peers keeps track of peer's previously requested hashes so that we don't have to re-request * Changed `AddBlock` to be fully synchronous
Showing
- eth/downloader/downloader.go 35 additions, 109 deletionseth/downloader/downloader.go
- eth/downloader/peer.go 14 additions, 1 deletioneth/downloader/peer.go
- eth/downloader/queue.go 3 additions, 0 deletionseth/downloader/queue.go
- eth/downloader/synchronous.go 77 additions, 0 deletionseth/downloader/synchronous.go
Loading
Please register or sign in to comment