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
48d1bf0678
consensus: improve consensus engine definition ( #26871 )
...
Makes clear the distinction between Finalize and FinalizedAndAssemble:
- In Finalize function, a series of state operations are applied according to consensus rules. The statedb is mutated and the root hash can be checked and compared afterwards.
This function should be used in block processing(receive afrom network and apply it locally) but not block generation.
- In FinalizeAndAssemble function, after applying state mutations, the block is also to be assembled with the latest
state root computed, updating the header.
This function should be used in block generation only.
2 years ago
..
asm
all: change format `0x%x` to `%#x` ( #25221 )
2 years ago
bloombits
all: remove deprecated uses of math.rand ( #26710 )
2 years ago
forkid
core/forkid: fix issue in validation test ( #26544 )
2 years ago
rawdb
core/rawdb: find smallest block stored in key-value store when chain gapped ( #26719 )
2 years ago
state
core: show db error-info in case of mismatched hash root ( #26870 )
2 years ago
txpool
core/txpool: use priceList.Put instead of heap.Push ( #26863 )
2 years ago
types
core, core/types: plain Message struct ( #25977 )
2 years ago
vm
core: show db error-info in case of mismatched hash root ( #26870 )
2 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
all: use unified emptyRootHash and emptyCodeHash ( #26718 )
2 years ago
block_validator.go
consensus: improve consensus engine definition ( #26871 )
2 years ago
block_validator_test.go
tests: update tests ( #26314 )
2 years ago
blockchain.go
consensus: improve consensus engine definition ( #26871 )
2 years ago
blockchain_insert.go
core: fix log order in "Imported new chain segment" ( #25768 )
2 years ago
blockchain_reader.go
all: change chain head markers from block to header ( #26777 )
2 years ago
blockchain_repair_test.go
all: change chain head markers from block to header ( #26777 )
2 years ago
blockchain_sethead_test.go
all: change chain head markers from block to header ( #26777 )
2 years ago
blockchain_snapshot_test.go
all: change chain head markers from block to header ( #26777 )
2 years ago
blockchain_test.go
all: change chain head markers from block to header ( #26777 )
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
core: add Timestamp method in BlockGen ( #26844 )
2 years ago
chain_makers_test.go
core: fix a merge fault ( #26802 )
2 years ago
dao_test.go
all: change chain head markers from block to header ( #26777 )
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, core/types: plain Message struct ( #25977 )
2 years ago
forkchoice.go
core: clarify code in forkchoice ( #26257 )
2 years ago
gaspool.go
core, miner: revert block gas counter in case of invalid transaction ( #26799 )
2 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
all: use unified emptyRootHash and emptyCodeHash ( #26718 )
2 years ago
genesis_alloc.go
all: remove support for Ropsten ( #26644 )
2 years ago
genesis_test.go
all: remove support for Ropsten ( #26644 )
2 years ago
headerchain.go
core, eth: merge snap-sync chain download progress logs ( #26676 )
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
core, core/types: plain Message struct ( #25977 )
2 years ago
state_processor.go
core, core/types: plain Message struct ( #25977 )
2 years ago
state_processor_test.go
all: use unified emptyRootHash and emptyCodeHash ( #26718 )
2 years ago
state_transition.go
core, core/types: plain Message struct ( #25977 )
2 years ago
types.go
core: prefetch next block state concurrently
6 years ago