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.
Guillaume Ballet
8990c92aea
core/state: add account address to Trie slot accessors ( #26934 )
...
This changes the Trie interface to add the plain account address as a
parameter to all storage-related methods.
After the introduction of the TryAccount* functions, TryGet, TryUpdate and
TryDelete are now only meant to read an account's storage. In their current
form, they assume that an account storage is stored in a separate trie, and
that the hashing of the slot is independent of its account's address.
The proposed structure for a stateless storage breaks these two
assumptions: the hashing of a slot key requires the address and all slots
and accounts are stored in a single trie.
This PR therefore adds an address parameter to the interface. It is ignored
in the MPT version, so this change has no functional impact, however it
will reduce the diff size when merging verkle trees.
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
params: schedule shanghai fork on mainnet ( #26908 )
2 years ago
rawdb
core/rawdb: update freezertable read meter ( #26946 )
2 years ago
state
core/state: add account address to Trie slot accessors ( #26934 )
2 years ago
txpool
core/txpool: allow future local transactions ( #26930 )
2 years ago
types
core, core/types: plain Message struct ( #25977 )
2 years ago
vm
core/vm: expose jumptable constructors ( #26880 )
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