-
Marius van der Wijden authored
* eth/downloaded: fixed datarace between synchronize and Progress There was a race condition between `downloader.synchronize()` and `Progress` `syncWithPeer` `fetchHeight` `findAncestors` and `processHeaders` This PR changes the behavior of the downloader a bit. Previously the functions `Progress` `syncWithPeer` `fetchHeight` `findAncestors` and `processHeaders` read the syncMode anew within their loops. Now they read the syncMode at the start of their function and don't change it during their runtime. * eth/downloaded: comment * eth/downloader: added comment
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 |