plugeth/light
Felix Lange 9219e0fba4
eth: interrupt chain insertion on shutdown (#21114)
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.
2020-05-26 21:37:37 +02:00
..
lightchain_test.go
lightchain.go eth: interrupt chain insertion on shutdown (#21114) 2020-05-26 21:37:37 +02:00
nodeset.go
odr_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
odr_util.go
odr.go
postprocess.go
trie_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
trie.go
txpool_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
txpool.go