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
35e0525bf4
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
...
This pull request defines a gentrie for snap sync purpose.
The stackTrie is used to generate the merkle tree nodes upon receiving a state batch. Several additional options have been added into stackTrie to handle incomplete states (either missing states before or after).
In this pull request, these options have been relocated from stackTrie to genTrie, which serves as a wrapper for stackTrie specifically for snap sync purposes.
Further, the logic for managing incomplete state has been enhanced in this change. Originally, there are two cases handled:
- boundary node filtering
- internal (covered by extension node) node clearing
This changes adds one more:
- Clearing leftover nodes on the boundaries.
This feature is necessary if there are leftover trie nodes in database, otherwise node inconsistency may break the state healing.
7 months ago
..
asm
eth/tracers/js: fix isPush for push0 ( #28520 )
1 year ago
bloombits
core: fix typos ( #28218 )
1 year ago
forkid
params, core/forkid: add mainnet timestamp for Cancun ( #28958 )
10 months ago
rawdb
core/rawdb: add sanity-limit to header accessor ( #29534 )
7 months ago
state
core, eth/protocols/snap, trie: fix cause for snap-sync corruption, implement gentrie ( #29313 )
7 months ago
txpool
core/txpool: elevate the 'already reserved' error into a constant ( #29095 )
9 months ago
types
core: move genesis alloc types to core/types ( #29003 )
9 months ago
vm
core/vm, params: ensure order of forks, prevent overflow ( #29023 )
9 months ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
block_validator.go
core/types: support for optional blob sidecar in BlobTx ( #27841 )
1 year ago
block_validator_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
blockchain.go
core: move genesis alloc types to core/types ( #29003 )
9 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: remove the dependency from trie to triedb ( #28824 )
10 months ago
blockchain_repair_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
1 year ago
blockchain_sethead_test.go
all: remove the dependency from trie to triedb ( #28824 )
10 months ago
blockchain_snapshot_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
1 year ago
blockchain_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months 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
core,console: replace noarg fmt.Errorf with errors.New ( #27332 )
2 years ago
chain_indexer_test.go
core: fix potential race in chainIndexerTest ( #22346 )
4 years ago
chain_makers.go
all: remove the dependency from trie to triedb ( #28824 )
10 months ago
chain_makers_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
dao_test.go
all: activate pbss as experimental feature ( #26274 )
1 year ago
error.go
internal/ethapi: handle blobs in API methods ( #28786 )
10 months ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
all: use uint256 in state ( #28598 )
10 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
core: move genesis alloc types to core/types ( #29003 )
9 months ago
genesis.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
genesis_alloc.go
cmd, core, params: add support for the Holesky testnet ( #28007 )
1 year ago
genesis_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
headerchain.go
all: remove ethash pow, only retain shims needed for consensus and tests ( #27178 )
2 years ago
headerchain_test.go
all: remove the dependency from trie to triedb ( #28824 )
10 months ago
mkalloc.go
cmd, core, params: add support for the Holesky testnet ( #28007 )
1 year ago
rlp_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months 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 )
2 years ago
state_processor.go
all: use uint256 in state ( #28598 )
10 months ago
state_processor_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
state_transition.go
core/txpool: fix typo ( #29036 )
9 months ago
txindexer.go
core: cache transaction indexing tail in memory ( #28908 )
10 months ago
txindexer_test.go
core: move genesis alloc types to core/types ( #29003 )
9 months ago
types.go
core: use atomic type ( #27011 )
2 years ago