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
..
evm-benchmarks @ 849b3e239a
tests: external evm benchmarks ( #24050 )
3 years ago
fuzzers
core, ethdb, tests, trie: implement NewBatchWithSize API for batcher ( #24392 )
3 years ago
solidity
tests/solidity/contracts: fix typo in OpCodes.sol ( #24123 )
3 years ago
testdata @ 092a8834dc
tests: update, enable legacy tests, remove vm tests ( #23350 )
3 years ago
block_test.go
tests: update for London ( #22976 )
3 years ago
block_test_util.go
tests: update tests/testdata to v9.0.4 (london) ( #23279 )
3 years ago
difficulty_test.go
cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) ( #23810 )
3 years ago
difficulty_test_util.go
all: simplify timestamps to uint64 ( #19372 )
6 years ago
gen_btheader.go
tests: update tests/testdata to v9.0.4 (london) ( #23279 )
3 years ago
gen_difficultytest.go
all: simplify timestamps to uint64 ( #19372 )
6 years ago
gen_stenv.go
core/evm: RANDOM opcode (EIP-4399) ( #24141 )
3 years ago
gen_sttransaction.go
tests: update for London ( #22976 )
3 years ago
init.go
cmd/geth, cmd/evm, params: implement Arrow Glacier (EIP 4345) ( #23810 )
3 years ago
init_test.go
tests: external evm benchmarks ( #24050 )
3 years ago
rlp_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
rlp_test_util.go
core, cmd/puppeth: implement constantinople fix, disable EIP-1283 ( #18486 )
6 years ago
state_test.go
tests: external evm benchmarks ( #24050 )
3 years ago
state_test_util.go
core/evm: RANDOM opcode (EIP-4399) ( #24141 )
3 years ago
transaction_test.go
tests: get test name from testing.T ( #22941 )
4 years ago
transaction_test_util.go
all: add support for EIP-2718, EIP-2930 transactions ( #21502 )
4 years ago