9219e0fba4
This adds a new API method on core.BlockChain to allow interrupting running data inserts, and calls the method before shutting down the downloader. The BlockChain interrupt checks are now done through a method instead of inlining the atomic load everywhere. There is no loss of efficiency from this and it makes the interrupt protocol a lot clearer because the check is defined next to the method that sets the flag. |
||
---|---|---|
.. | ||
lightchain_test.go | ||
lightchain.go | ||
nodeset.go | ||
odr_test.go | ||
odr_util.go | ||
odr.go | ||
postprocess.go | ||
trie_test.go | ||
trie.go | ||
txpool_test.go | ||
txpool.go |