-
Felix Lange authored
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
downloader | Loading commit data... | |
fetcher | ||
filters | ||
gasprice | ||
tracers | ||
api.go | ||
api_backend.go | ||
api_test.go | ||
api_tracer.go | ||
backend.go | ||
bloombits.go | ||
config.go | ||
discovery.go | ||
gen_config.go | ||
handler.go | ||
handler_test.go | ||
helper_test.go | ||
peer.go | ||
protocol.go | ||
protocol_test.go | ||
sync.go | ||
sync_test.go |