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
4d086430bd
core, ethdb, tests, trie: implement NewBatchWithSize API for batcher ( #24392 )
...
This PR adds an addtional API called `NewBatchWithSize` for db
batcher. It turns out that leveldb batch memory allocation is
super inefficient. The main reason is the allocation step of
leveldb Batch is too small when the batch size is large. It can
take a few second to build a leveldb batch with 100MB size.
Luckily, leveldb also offers another API called MakeBatch which can
pre-allocate the memory area. So if the approximate size of batch is
known in advance, this API can be used in this case.
It's needed in new state scheme PR which needs to commit a batch of
trie nodes in a single batch. Implement the feature in a seperate PR.
3 years ago
..
asm
core/asm: change order of items in stringtokenTypes ( #24153 )
3 years ago
beacon
all: separate catalyst package ( #24280 )
3 years ago
bloombits
all: fix some go-critic linter warnings ( #23709 )
3 years ago
forkid
eth/catalyst: implement kintsugi-spec v3 ( #24067 )
3 years ago
rawdb
core, ethdb, tests, trie: implement NewBatchWithSize API for batcher ( #24392 )
3 years ago
state
core/state: fix read-meters + simplify code ( #24304 )
3 years ago
types
core/types: document JSON field name equivalents of DynamicFeeTx ( #24143 )
3 years ago
vm
core/evm: RANDOM opcode (EIP-4399) ( #24141 )
3 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core: fix benchmark tests ( #23803 )
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
Merge pull request #24197 from rjl493456442/periodically-flush-batch
3 years ago
blockchain_insert.go
core: fix snapshot missing when recovery from crash ( #23496 )
3 years ago
blockchain_reader.go
core, eth: improve delivery speed on header requests ( #23105 )
3 years ago
blockchain_repair_test.go
core, miner, rpc, eth: fix goroutine leaks in tests ( #24211 )
3 years ago
blockchain_sethead_test.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
blockchain_snapshot_test.go
core: fix typo in comment ( #23658 )
3 years ago
blockchain_test.go
core: fix typo in blockchain test ( #24263 )
3 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: RANDOM opcode (EIP-4399) ( #24141 )
3 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 )
4 years ago
genesis.go
core/evm: RANDOM opcode (EIP-4399) ( #24141 )
3 years ago
genesis_alloc.go
cmd/geth: add support for sepolia testnet ( #23730 )
3 years ago
genesis_test.go
cmd/geth: add support for sepolia testnet ( #23730 )
3 years ago
headerchain.go
core, eth: improve delivery speed on header requests ( #23105 )
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
core: fix benchmark tests ( #23803 )
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/evm: RANDOM opcode (EIP-4399) ( #24141 )
3 years ago
tx_cacher.go
Comment error ( #18303 )
6 years ago
tx_journal.go
core: transaction journal should not be executable ( #23090 )
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
core: ignore basefee when comparing with pool gasprice in txpool ( #24080 )
3 years ago
tx_pool_test.go
core: more efficient nonce-update in txpool ( #22231 )
3 years ago
types.go
core: prefetch next block state concurrently
6 years ago