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
1cb3b6aee4
eth/protocols/snap: fix snap sync failure on empty storage range ( #28306 )
...
This change addresses an issue in snap sync, specifically when the entire sync process can be halted due to an encountered empty storage range.
Currently, on the snap sync client side, the response to an empty (partial) storage range is discarded as a non-delivery. However, this response can be a valid response, when the particular range requested does not contain any slots.
For instance, consider a large contract where the entire key space is divided into 16 chunks, and there are no available slots in the last chunk [0xf] -> [end]. When the node receives a request for this particular range, the response includes:
The proof with origin [0xf]
A nil storage slot set
If we simply discard this response, the finalization of the last range will be skipped, halting the entire sync process indefinitely. The test case TestSyncWithUnevenStorage can reproduce the scenario described above.
In addition, this change also defines the common variables MaxAddress and MaxHash.
11 months ago
..
asm
core: fix typos ( #28218 )
12 months ago
bloombits
core: fix typos ( #28218 )
12 months ago
forkid
core/forkid: add forkid test for holesky ( #28193 )
1 year ago
rawdb
cmd, core: resolve scheme from a read-write database ( #28313 )
12 months ago
state
trie: remove owner and binary marshaling from stacktrie ( #28291 )
12 months ago
txpool
core/txpool/legacypool: fix typo ( #28258 )
12 months ago
types
core: fix typos ( #28238 )
12 months ago
vm
core: fix typos ( #28255 )
12 months ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core/types, params: add blob transaction type, RLP encoded for now ( #27049 )
1 year ago
block_validator.go
core/types: support for optional blob sidecar in BlobTx ( #27841 )
1 year ago
block_validator_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
blockchain.go
core, eth: typos and some code formatting ( #28201 )
12 months ago
blockchain_insert.go
core, eth, trie: expose more detailed dirty ram tracking for diff layers ( #27971 )
1 year ago
blockchain_reader.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
blockchain_repair_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
1 year ago
blockchain_sethead_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
1 year ago
blockchain_snapshot_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
1 year ago
blockchain_test.go
core, eth, trie: expose more detailed dirty ram tracking for diff layers ( #27971 )
1 year ago
blocks.go
core: typos and comments improve
7 years ago
bloom_indexer.go
core: preallocate batch size in bloomIndexer ( #25289 )
2 years ago
chain_indexer.go
core,console: replace noarg fmt.Errorf with errors.New ( #27332 )
1 year ago
chain_indexer_test.go
core: fix potential race in chainIndexerTest ( #22346 )
4 years ago
chain_makers.go
core: infer blobGasUsed in chain maker ( #28212 )
12 months ago
chain_makers_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
dao_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
error.go
all: replace data gas to blob gas in comments ( #27825 )
1 year ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
core: implement BLOBBASEFEE opcode (0x4a) ( #28098 )
12 months 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
all: rename dataGas to blobGas ( #27789 )
1 year ago
gen_genesis_account.go
tests: update for London ( #22976 )
3 years ago
genesis.go
cmd, core: resolve scheme from a read-write database ( #28313 )
12 months ago
genesis_alloc.go
cmd, core, params: add support for the Holesky testnet ( #28007 )
1 year ago
genesis_test.go
cmd, core: resolve scheme from a read-write database ( #28313 )
12 months ago
headerchain.go
all: remove ethash pow, only retain shims needed for consensus and tests ( #27178 )
1 year ago
headerchain_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
mkalloc.go
cmd, core, params: add support for the Holesky testnet ( #28007 )
1 year 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/types, params: add blob transaction type, RLP encoded for now ( #27049 )
1 year ago
state_processor.go
core: implement BLOBBASEFEE opcode (0x4a) ( #28098 )
12 months ago
state_processor_test.go
eth/protocols/snap: fix snap sync failure on empty storage range ( #28306 )
11 months ago
state_transition.go
core: implement BLOBBASEFEE opcode (0x4a) ( #28098 )
12 months ago
types.go
core: use atomic type ( #27011 )
2 years ago