05715f27cf
Added a cancel method to the downloader which gracefully shuts down any active syncing process (hash fetching or block downloading) and resets the queue and remove any pending blocks. Issue with the downloader which would stall because of an active ongoing process when an invalid block was found. |
||
---|---|---|
.. | ||
downloader | ||
backend.go | ||
handler.go | ||
peer.go | ||
protocol.go | ||
protocol_test.go | ||
sync.go |