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.
meowsbits
c72b16c340
core: use block difficulty for genesis ( #23793 )
...
* core: write test showing that TD is not stored properly at genesis
The ToBlock method applies a default value for an empty
difficulty value. This default is not carried over through the Commit
method because the TotalDifficulty database write writes the
original difficulty value (nil) instead of the defaulty value
present on the genesis Block.
Date: 2021-10-22 08:25:32-07:00
Signed-off-by: meows <b5c6@protonmail.com>
* core: write TD value from Block, not original genesis value
This an issue where a default TD value was not written to
the database, resulting in a 0 value TD at genesis.
A test for this issue was provided at 90e3ffd393
Date: 2021-10-22 08:28:00-07:00
Signed-off-by: meows <b5c6@protonmail.com>
* core: fix tests by adding GenesisDifficulty to expected result
See prior two commits.
Date: 2021-10-22 09:16:01-07:00
Signed-off-by: meows <b5c6@protonmail.com>
* les: fix test with genesis change
Co-authored-by: Martin Holst Swende <martin@swende.se>
3 years ago
..
asm
core/asm: fix the bug of "00" prefix number ( #22883 )
4 years ago
bloombits
all: fix some go-critic linter warnings ( #23709 )
3 years ago
forkid
core, params: define london block at 12965000 ( #23176 )
3 years ago
rawdb
core/rawdb, ethdb: introduce batched/atomic reads from ancients ( #23566 )
3 years ago
state
core/state/snapshot: fix BAD BLOCK error when snapshot is generating ( #23635 )
3 years ago
types
core/types: add MarshalBinary, UnmarshalBinary for Receipt ( #22806 )
3 years ago
vm
core,eth: call frame tracing ( #23087 )
3 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
EIP-1559: miner changes ( #22896 )
4 years ago
block_validator.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
block_validator_test.go
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
3 years ago
blockchain.go
core: refactored blockchain.go ( #23735 )
3 years ago
blockchain_insert.go
core: fix blockchain insert report time interval calculation ( #21723 )
4 years ago
blockchain_reader.go
core: refactored blockchain.go ( #23735 )
3 years ago
blockchain_repair_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
3 years ago
blockchain_sethead_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
3 years ago
blockchain_snapshot_test.go
core: fix typo in comment ( #23658 )
3 years ago
blockchain_test.go
core: use block difficulty for genesis ( #23793 )
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
cmd, core, eth, miner: deprecate miner.gastarget flag ( #23213 )
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/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
3 years ago
gen_genesis_account.go
tests: update for London ( #22976 )
3 years ago
genesis.go
core: use block difficulty for genesis ( #23793 )
3 years ago
genesis_alloc.go
cmd/geth, core, params: replace baikal with calaveras ( #22972 )
3 years ago
genesis_test.go
core: use block difficulty for genesis ( #23793 )
3 years ago
headerchain.go
consensus/clique, core: API cleanup ( #23100 )
3 years ago
headerchain_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
3 years ago
mkalloc.go
all: add go:build lines ( #23468 )
3 years ago
rlp_test.go
accounts/abi/bind: fix bounded contracts and sim backend for 1559 ( #23038 )
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: check if sender is EOA ( #23303 )
3 years ago
state_transition.go
core: only check sendernoeoa in non fake mode ( #23424 )
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: make txPricedList.stales the first field for 64bit alignment ( #23542 )
3 years ago
tx_list_test.go
Revert "core, txpool: less allocations when handling transactions ( #21232 )"
4 years ago
tx_noncer.go
core: fix write concurrency in txpool ( #19835 )
5 years ago
tx_pool.go
core: remove unused error from TxPool.Pending ( #23720 )
3 years ago
tx_pool_test.go
core: remove unused error from TxPool.Pending ( #23720 )
3 years ago
types.go
core: prefetch next block state concurrently
6 years ago