Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marius van der Wijden
d671dbd5b7
eth/downloader: fixes data race between synchronize and other methods ( #21201 )
...
* 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
4 years ago
..
downloader
eth/downloader: fixes data race between synchronize and other methods ( #21201 )
4 years ago
fetcher
core, eth, internal: include read storage entries in structlog output ( #21204 )
4 years ago
filters
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago
gasprice
core: types: less allocations when hashing and tx handling ( #21265 )
4 years ago
tracers
core/vm: use uint256 in EVM implementation ( #20787 )
4 years ago
api.go
eth: add debug_accountRange API ( #19645 )
5 years ago
api_backend.go
cmd, eth, internal, les: add txfee cap ( #21212 )
4 years ago
api_test.go
eth: add debug_accountRange API ( #19645 )
5 years ago
api_tracer.go
eth: returned revert reason in traceTx ( #21195 )
4 years ago
backend.go
les, les/lespay: implement new server pool ( #20758 )
5 years ago
bloombits.go
eth: improve shutdown synchronization ( #20695 )
5 years ago
config.go
cmd, eth, internal, les: add txfee cap ( #21212 )
4 years ago
discovery.go
cmd/geth: enable DNS discovery by default ( #20660 )
5 years ago
gen_config.go
cmd, eth, internal, les: add txfee cap ( #21212 )
4 years ago
handler.go
eth: don't block if transaction broadcast loop fails ( #21255 )
4 years ago
handler_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
helper_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
peer.go
eth: don't block if transaction broadcast loop fails ( #21255 )
4 years ago
protocol.go
eth: rework tx fetcher to use O(1) ops + manage network requests
5 years ago
protocol_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
sync.go
eth: interrupt chain insertion on shutdown ( #21114 )
5 years ago
sync_test.go
eth: improve shutdown synchronization ( #20695 )
5 years ago