mirror of https://github.com/status-im/op-geth.git
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.go | ||
lightchain_test.go | ||
nodeset.go | ||
odr.go | ||
odr_test.go | ||
odr_util.go | ||
postprocess.go | ||
trie.go | ||
trie_test.go | ||
txpool.go | ||
txpool_test.go |