• Felix Lange's avatar
    eth: interrupt chain insertion on shutdown (#21114) · 9219e0fb
    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.
    9219e0fb
Name
Last commit
Last update
..
downloader Loading commit data...
fetcher Loading commit data...
filters Loading commit data...
gasprice Loading commit data...
tracers Loading commit data...
api.go Loading commit data...
api_backend.go Loading commit data...
api_test.go Loading commit data...
api_tracer.go Loading commit data...
backend.go Loading commit data...
bloombits.go Loading commit data...
config.go Loading commit data...
discovery.go Loading commit data...
gen_config.go Loading commit data...
handler.go Loading commit data...
handler_test.go Loading commit data...
helper_test.go Loading commit data...
peer.go Loading commit data...
protocol.go Loading commit data...
protocol_test.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...