aboutsummaryrefslogtreecommitdiffstats
path: root/ethdb/database.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-10 06:34:07 +0800
committerobscuren <geffobscura@gmail.com>2015-05-10 06:34:07 +0800
commit05715f27cfd68387f720db115bb8461f8725a341 (patch)
tree33a78a81f0caa8a5c1c30aa3286d52796b2faac8 /ethdb/database.go
parent45dc690947ebfe9fb3dc64ba3c74fb433b0f474d (diff)
downloadgo-tangerine-05715f27cfd68387f720db115bb8461f8725a341.tar
go-tangerine-05715f27cfd68387f720db115bb8461f8725a341.tar.gz
go-tangerine-05715f27cfd68387f720db115bb8461f8725a341.tar.bz2
go-tangerine-05715f27cfd68387f720db115bb8461f8725a341.tar.lz
go-tangerine-05715f27cfd68387f720db115bb8461f8725a341.tar.xz
go-tangerine-05715f27cfd68387f720db115bb8461f8725a341.tar.zst
go-tangerine-05715f27cfd68387f720db115bb8461f8725a341.zip
eth: added a cancel method for the downloader
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.
Diffstat (limited to 'ethdb/database.go')
0 files changed, 0 insertions, 0 deletions