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 all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
lightchain.go eth: interrupt chain insertion on shutdown (#21114) 2020-05-26 21:37:37 +02:00
nodeset.go all: integrate the freezer with fast sync 2019-05-16 10:39:32 +03:00
odr_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
odr_util.go les: handler separation (#19639) 2019-08-21 11:29:34 +02:00
odr.go all: on-chain oracle checkpoint syncing (#19543) 2019-06-28 10:34:02 +03:00
postprocess.go les: fix and slim the unit tests of les (#20247) 2019-11-06 22:09:37 +01:00
trie_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
trie.go core: initial version of state snapshots 2020-02-25 12:51:04 +02:00
txpool_test.go cmd, core, eth: background transaction indexing (#20302) 2020-05-11 18:58:43 +03:00
txpool.go core, light, params: implement eip2028 (#19931) 2019-08-14 15:53:21 +03:00