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.
Martin Holst Swende
a907d7e81a
all: more linters ( #24783 )
...
This enables the following linters
- typecheck
- unused
- staticcheck
- bidichk
- durationcheck
- exportloopref
- gosec
WIth a few exceptions.
- We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
- The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
- Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
- The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
2 years ago
..
catalyst
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
checkpointoracle
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
downloader
all: more linters ( #24783 )
2 years ago
fetcher
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
flowcontrol
all: more linters ( #24783 )
2 years ago
utils
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
vflux
all: more linters ( #24783 )
2 years ago
api.go
les: move client pool to les/vflux/server ( #22495 )
4 years ago
api_backend.go
eth: make traceChain avoid OOM on long-running tracing ( #23736 )
3 years ago
api_test.go
all: replace uses of ioutil with io and os ( #24869 )
3 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
eth, les, params: log chain config a bit saner ( #24904 )
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
les, les/lespay: implement new server pool ( #20758 )
5 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: fix panic in ultralight client sync ( #24641 )
3 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
les: generate random nums directly, not via strange conversions
4 years ago
odr_requests.go
les, light: improve txstatus retrieval ( #22349 )
4 years ago
odr_test.go
all: more linters ( #24783 )
2 years ago
peer.go
all: more linters ( #24783 )
2 years ago
peer_test.go
les: introduce forkID ( #21974 )
4 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
les: fix goroutine leaks in tests ( #22707 )
4 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
all: removed blockhash from statedb ( #23126 )
3 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