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.
Sina Mahmoodi
2def62b99b
eth/filters: avoid block body retrieval when no matching logs ( #25199 )
...
Logs stored on disk have minimal information. Contextual information such as block
number, index of log in block, index of transaction in block are filled in upon request.
We can fill in all these fields only having the block header and list of receipts.
But determining the transaction hash of a log requires the block body.
The goal of this PR is postponing this retrieval until we are sure we the transaction hash.
It happens often that the header bloom filter signals there might be matches in a block,
but after actually checking them reveals the logs do not match. We want to avoid fetching
the body in this case.
Note that this changes the semantics of Backend.GetLogs. Downstream callers of
GetLogs now assume log context fields have not been derived, and need to call
DeriveFields on the logs if necessary.
2 years ago
..
catalyst
beacon/engine: move core/beacon to beacon/engine ( #26616 )
2 years ago
checkpointoracle
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
downloader
common/prque: generic priority queue ( #26290 )
2 years ago
fetcher
common/prque: generic priority queue ( #26290 )
2 years ago
flowcontrol
common/prque: generic priority queue ( #26290 )
2 years ago
utils
all: fix docstrings
2 years ago
vflux
common/prque: generic priority queue ( #26290 )
2 years ago
api.go
all: fix docstrings
2 years ago
api_backend.go
eth/filters: avoid block body retrieval when no matching logs ( #25199 )
2 years ago
api_test.go
all: add whitespace linter ( #25312 )
2 years ago
benchmark.go
all: add support for EIP-2718, EIP-2930 transactions ( #21502 )
4 years ago
bloombits.go
les: handler separation ( #19639 )
5 years ago
client.go
cmd, core, eth, els, params: disallow setheads below genesis, tweaks
2 years ago
client_handler.go
all: implement forkid changes for shanghai
2 years ago
commons.go
all: remove support for Ropsten ( #26644 )
2 years ago
costtracker.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
distributor.go
all: use AbsTime.Add instead of conversion ( #25417 )
2 years ago
distributor_test.go
les: separate peer into clientPeer and serverPeer ( #19991 )
5 years ago
enr_entry.go
cmd/devp2p: skip ENR field tails properly in nodeset filter ( #22565 )
4 years ago
fetcher.go
les/fetcher : fix requestTimer leak ( #26514 )
2 years ago
fetcher_test.go
all: fix spelling mistakes ( #25961 )
2 years ago
handler_test.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
metrics.go
les: polish code ( #22625 )
4 years ago
odr.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
odr_requests.go
all: fix docstrings
2 years ago
odr_test.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
peer.go
all: more linters ( #24783 )
2 years ago
peer_test.go
all: implement forkid changes for shanghai
2 years ago
protocol.go
all: fix docstrings
2 years ago
pruner.go
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
pruner_test.go
all: update license headers and AUTHORS from git history ( #24947 )
2 years ago
request_test.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
retrieve.go
les: generate random nums directly, not via strange conversions
4 years ago
server.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
server_handler.go
eth, les: polish forkid a bit, fix races and transition validation
2 years ago
server_requests.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
servingqueue.go
common/prque: generic priority queue ( #26290 )
2 years ago
state_accessor.go
all: implement EIP-1153 transient storage ( #26003 )
2 years ago
sync.go
les: duplicate downloader and fetcher to allow progressive refactoring
3 years ago
sync_test.go
les: fix data races in tests ( #23457 )
3 years ago
test_helper.go
all: implement forkid changes for shanghai
2 years ago
txrelay.go
les: generate random nums directly, not via strange conversions
4 years ago
ulc.go
cmd, eth, les: fix up ultra light config integration
5 years ago
ulc_test.go
all: more linters ( #24783 )
2 years ago