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.
rjl493456442
b1f6dccfba
eth, les: rework chain tracer ( #25143 )
...
This PR simplifies the logic of chain tracer and also adds the unit tests.
The most important change has been made in this PR is the state management. Whenever a tracing state is acquired there is a corresponding release function be returned as well. It must be called once the state is used up, otherwise resource leaking can happen.
And also the logic of state management has been simplified a lot. Specifically, the state provider(eth backend, les backend) should ensure the state is available and referenced. State customers can use the state according to their own needs, or build other states based on the given state. But once the release function is called, there is no guarantee of the availability of the state.
Co-authored-by: Sina Mahmoodi <1591639+s1na@users.noreply.github.com>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2 years ago
..
catalyst
all: cleanup tests ( #25641 )
2 years ago
checkpointoracle
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
downloader
eth, les: unlock downloader peerSet if there's an error ( #25546 )
2 years ago
fetcher
all: cleanup the APIs for initializing genesis ( #25473 )
2 years ago
flowcontrol
all: fix some typos ( #25551 )
2 years ago
utils
all: use AbsTime.Add instead of conversion ( #25417 )
2 years ago
vflux
all: fix some typos ( #25551 )
2 years ago
api.go
all: remove concept of public/private API definitions ( #25053 )
2 years ago
api_backend.go
eth, les: rework chain tracer ( #25143 )
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
all: move genesis initialization to blockchain ( #25523 )
2 years ago
client_handler.go
core, eth, les, trie: remove the sync bloom, used by fast sync
3 years ago
commons.go
les: fix balance expiration ( #22343 )
4 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
all: fix some typos ( #25551 )
2 years ago
fetcher_test.go
all: more linters ( #24783 )
2 years ago
handler_test.go
all: introduce trie owner notion ( #24750 )
2 years ago
metrics.go
les: polish code ( #22625 )
4 years ago
odr.go
all: fix some typos ( #25551 )
2 years ago
odr_requests.go
les, light: improve txstatus retrieval ( #22349 )
4 years ago
odr_test.go
all: cleanup tests ( #25641 )
2 years ago
peer.go
all: more linters ( #24783 )
2 years ago
peer_test.go
all: cleanup the APIs for initializing genesis ( #25473 )
2 years ago
protocol.go
eth/protocols/eth, les: avoid Raw() when decoding HashOrNumber ( #22841 )
4 years ago
pruner.go
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
pruner_test.go
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
request_test.go
les, light: improve txstatus retrieval ( #22349 )
4 years ago
retrieve.go
les: generate random nums directly, not via strange conversions
4 years ago
server.go
all: remove version field from rpc.API
2 years ago
server_handler.go
all: introduce trie owner notion ( #24750 )
2 years ago
server_requests.go
tests/fuzzers: fix goroutine leak in les fuzzer ( #22455 )
4 years ago
servingqueue.go
les: avoid shutdown hang ( #23139 )
3 years ago
state_accessor.go
eth, les: rework chain tracer ( #25143 )
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: update license headers and AUTHORS from git history ( #24947 )
3 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