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
0b53b29078
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
...
This PR does a few things.
It fixes a shutdown-order flaw in the chainfreezer. Previously, the chain-freezer would shutdown the freezer backend first, and then signal for the loop to exit. This can lead to a scenario where the freezer tries to fsync closed files, which is an error-conditon that could lead to exit via log.Crit.
It also makes the printout more detailed when truncating 'dangling' items, by showing the exact number instead of approximate MB.
This PR also adds calls to fsync files before closing them, and also makes the `db inspect` command slightly more robust.
2 years ago
..
asm
all: change format `0x%x` to `%#x` ( #25221 )
2 years ago
beacon
build: upgrade to go 1.19 ( #25726 )
2 years ago
bloombits
all: fix spelling mistakes ( #25961 )
2 years ago
forkid
eth, les: polish forkid a bit, fix races and transition validation
2 years ago
rawdb
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
2 years ago
state
core/state: remove notion of fake storage ( #24916 )
2 years ago
txpool
core/vm: implement EIP-3860: Limit and meter initcode ( #23847 )
2 years ago
types
all: assign zero after resize in implementations of heap.Interface ( #26296 )
2 years ago
vm
core/vm: enable EIP-3855 (PUSH0) in Shanghai ( #26475 )
2 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core/vm: implement EIP-3860: Limit and meter initcode ( #23847 )
2 years ago
block_validator.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
block_validator_test.go
tests: update tests ( #26314 )
2 years ago
blockchain.go
core, les, light: implement timestamp based sethead and genesis rewinds
2 years ago
blockchain_insert.go
core: fix log order in "Imported new chain segment" ( #25768 )
2 years ago
blockchain_reader.go
core, eth, les, tests, trie: abstract node scheme ( #25532 )
2 years ago
blockchain_repair_test.go
core, ethclient/gethclient: improve flaky tests ( #25918 )
2 years ago
blockchain_sethead_test.go
core, ethclient/gethclient: improve flaky tests ( #25918 )
2 years ago
blockchain_snapshot_test.go
core: fix typo in blockchain_snapshot_test.go ( #26357 )
2 years ago
blockchain_test.go
core, les, params: add timestamp based fork compatibility checks
2 years ago
blocks.go
core: typos and comments improve
8 years ago
bloom_indexer.go
core: preallocate batch size in bloomIndexer ( #25289 )
2 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
tests: update tests ( #26314 )
2 years ago
chain_makers_test.go
all: move genesis initialization to blockchain ( #25523 )
2 years ago
dao_test.go
core, ethclient/gethclient: improve flaky tests ( #25918 )
2 years ago
error.go
core/vm: implement EIP-3860: Limit and meter initcode ( #23847 )
2 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
core: clarify code in forkchoice ( #26257 )
2 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
cmd, core, eth, els, params: disallow setheads below genesis, tweaks
2 years ago
genesis_alloc.go
core/genesis: remove calaverasAllocData ( #25516 )
2 years ago
genesis_test.go
core, les, params: add timestamp based fork compatibility checks
2 years ago
headerchain.go
cmd, core, eth, els, params: disallow setheads below genesis, tweaks
2 years ago
headerchain_test.go
core, eth, les, tests, trie: abstract node scheme ( #25532 )
2 years ago
mkalloc.go
build: upgrade to go 1.19 ( #25726 )
2 years ago
rlp_test.go
all: cleanup tests ( #25641 )
2 years ago
sender_cacher.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
state_prefetcher.go
all: implement EIP-1153 transient storage ( #26003 )
2 years ago
state_processor.go
core, cmd: fill blockNumber in logs ( #26345 )
2 years ago
state_processor_test.go
core/vm: implement EIP-3860: Limit and meter initcode ( #23847 )
2 years ago
state_transition.go
core/vm: implement EIP-3860: Limit and meter initcode ( #23847 )
2 years ago
types.go
core: prefetch next block state concurrently
6 years ago