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
794c6133ef
core/rawdb: freezer batch write ( #23462 )
...
This change is a rewrite of the freezer code.
When writing ancient chain data to the freezer, the previous version first encoded each
individual item to a temporary buffer, then wrote the buffer. For small item sizes (for
example, in the block hash freezer table), this strategy causes a lot of system calls for
writing tiny chunks of data. It also allocated a lot of temporary []byte buffers.
In the new version, we instead encode multiple items into a re-useable batch buffer, which
is then written to the file all at once. This avoids performing a system call for every
inserted item.
To make the internal batching work, the ancient database API had to be changed. While
integrating this new API in BlockChain.InsertReceiptChain, additional optimizations were
also added there.
Co-authored-by: Felix Lange <fjl@twurst.com>
3 years ago
..
asm
core/asm: fix the bug of "00" prefix number ( #22883 )
4 years ago
bloombits
core/bloombits: avoid crash when storing errors of different type ( #23437 )
4 years ago
forkid
core, params: define london block at 12965000 ( #23176 )
4 years ago
rawdb
core/rawdb: freezer batch write ( #23462 )
3 years ago
state
core: fix typo in iterator.go ( #23502 )
3 years ago
types
core/types: add benchmarks for rlp encoding/decoding ( #23190 )
4 years ago
vm
core/vm: rework jumpdest analysis benchmarks ( #23499 )
3 years ago
.gitignore
…
bench_test.go
EIP-1559: miner changes ( #22896 )
4 years ago
block_validator.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
4 years ago
block_validator_test.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
4 years ago
blockchain.go
core/rawdb: freezer batch write ( #23462 )
3 years ago
blockchain_insert.go
core: fix blockchain insert report time interval calculation ( #21723 )
4 years ago
blockchain_repair_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
4 years ago
blockchain_sethead_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
4 years ago
blockchain_snapshot_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
4 years ago
blockchain_test.go
core/rawdb: freezer batch write ( #23462 )
3 years ago
blocks.go
…
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
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
4 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 )
4 years ago
error.go
core/rawdb: freezer batch write ( #23462 )
3 years ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
all: implement EIP-1559 ( #22837 )
4 years ago
gaspool.go
miner: avoid unnecessary work ( #15883 )
7 years ago
gen_genesis.go
core: change baseFee into baseFeePerGas in genesis json
4 years ago
gen_genesis_account.go
tests: update for London ( #22976 )
4 years ago
genesis.go
cmd, core: remove calaveras testnet ( #23366 )
4 years ago
genesis_alloc.go
cmd/geth, core, params: replace baikal with calaveras ( #22972 )
4 years ago
genesis_test.go
cmd, core: remove calaveras testnet ( #23366 )
4 years ago
headerchain.go
all: change blacklist terms
4 years ago
headerchain_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
4 years ago
mkalloc.go
all: add go:build lines ( #23468 )
4 years ago
rlp_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
4 years ago
state_prefetcher.go
all: removed blockhash from statedb ( #23126 )
4 years ago
state_processor.go
all: removed blockhash from statedb ( #23126 )
4 years ago
state_processor_test.go
core: check if sender is EOA ( #23303 )
4 years ago
state_transition.go
core: only check sendernoeoa in non fake mode ( #23424 )
4 years ago
tx_cacher.go
Comment error ( #18303 )
6 years ago
tx_journal.go
core: transaction journal should not be executable ( #23090 )
4 years ago
tx_list.go
core: fix race conditions in txpool ( #23474 )
3 years ago
tx_list_test.go
Revert "core, txpool: less allocations when handling transactions ( #21232 )"
5 years ago
tx_noncer.go
core: fix write concurrency in txpool ( #19835 )
6 years ago
tx_pool.go
core: fix race conditions in txpool ( #23474 )
3 years ago
tx_pool_test.go
core: fix race conditions in txpool ( #23474 )
3 years ago
types.go
core: prefetch next block state concurrently
6 years ago