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
..
asm
all: use strings.EqualFold for string comparison ( #24890 )
3 years ago
beacon
core/beacon: prevent invalid logsBloom length panic ( #24946 )
2 years ago
bloombits
Chore: Minimal gramatical errors (signleton -> singleton) ( #25057 )
2 years ago
forkid
eth, les, params: log chain config a bit saner ( #24904 )
2 years ago
rawdb
all: more linters ( #24783 )
2 years ago
state
all: more linters ( #24783 )
2 years ago
types
core/types: improve LogForStorage and ReceiptForStorage comments ( #25032 )
2 years ago
vm
all: more linters ( #24783 )
2 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core: fix benchmark panic ( #24657 )
3 years ago
block_validator.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
block_validator_test.go
all: core rework for the merge transition ( #23761 )
3 years ago
blockchain.go
all: introduce trie owner notion ( #24750 )
2 years ago
blockchain_insert.go
eth/downloader: implement beacon sync ( #23982 )
3 years ago
blockchain_reader.go
core, eth, internal, rpc: implement final block ( #24282 )
3 years ago
blockchain_repair_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
blockchain_sethead_test.go
all: more linters ( #24783 )
2 years ago
blockchain_snapshot_test.go
all: more linters ( #24783 )
2 years ago
blockchain_test.go
all: more linters ( #24783 )
2 years ago
blocks.go
core: typos and comments improve
8 years ago
bloom_indexer.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
chain_indexer.go
all: make logs a bit easier on the eye to digest ( #22665 )
4 years ago
chain_indexer_test.go
core: fix potential race in chainIndexerTest ( #22346 )
4 years ago
chain_makers.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
chain_makers_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
dao_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
3 years ago
error.go
core/vm: implement EIP-2681: Limit account nonce to 2^64-1 ( #23853 )
3 years ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
core/evm: fix error in comment ( #25040 )
2 years ago
forkchoice.go
all: core rework for the merge transition ( #23761 )
3 years ago
gaspool.go
miner: avoid unnecessary work ( #15883 )
7 years ago
gen_genesis.go
core: change baseFee into baseFeePerGas in genesis json
3 years ago
gen_genesis_account.go
tests: update for London ( #22976 )
3 years ago
genesis.go
build: add imports for go generate tools ( #24682 )
3 years ago
genesis_alloc.go
core, params: add kiln flag ( #24548 )
3 years ago
genesis_test.go
core: store genesis allocation and recommit them if necessary ( #24460 )
3 years ago
headerchain.go
core: recover state when beacon sets canonical head if it's missing ( #24613 )
3 years ago
headerchain_test.go
all: core rework for the merge transition ( #23761 )
3 years ago
mkalloc.go
all: add go:build lines ( #23468 )
3 years ago
rlp_test.go
all: update license headers and AUTHORS from git history ( #24947 )
3 years ago
state_prefetcher.go
all: removed blockhash from statedb ( #23126 )
3 years ago
state_processor.go
all: removed blockhash from statedb ( #23126 )
3 years ago
state_processor_test.go
core/vm: implement EIP-2681: Limit account nonce to 2^64-1 ( #23853 )
3 years ago
state_transition.go
core,eth: implement tx-level hooks for tracers ( #24510 )
3 years ago
tx_cacher.go
Comment error ( #18303 )
6 years ago
tx_journal.go
all: use common.FileExist for checking file existence ( #24748 )
3 years ago
tx_list.go
core: fixed stale comment in txlist ( #23825 )
3 years ago
tx_list_test.go
core: fix benchmark tests ( #23803 )
3 years ago
tx_noncer.go
core: more efficient nonce-update in txpool ( #22231 )
3 years ago
tx_pool.go
all: more linters ( #24783 )
2 years ago
tx_pool_test.go
all: replace uses of ioutil with io and os ( #24869 )
3 years ago
types.go
core: prefetch next block state concurrently
6 years ago