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_test.go | ||
downloader.go | ||
peer.go | ||
queue_test.go | ||
queue.go |