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
69686fa328
core, core/rawdb: fix transaction indexing ( #24024 )
...
This PR fixes a special corner case in transaction indexing.
When the chain is rewound by SetHead to a historical point which is even lower than the transaction indexes tail, then system will report Failed to decode block body error all the time, because the relevant blocks are already deleted.
In order to avoid this "non-critical-but-annoying" issue, we can recap the indexing target to head+1(to is excluded, so it means indexing transactions from 0 to head).
3 years ago
..
testdata
core/rawdb: avoid unnecessary receipt processing for log filtering ( #23147 )
3 years ago
accessors_chain.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
accessors_chain_test.go
core/rawdb: add slow path for getting legacy logs ( #23879 )
3 years ago
accessors_indexes.go
core/rawdb: fix logs to print block number, not address ( #23328 )
3 years ago
accessors_indexes_test.go
core/rawdb: single point of maintenance for writing and deleting tx lookup indexes ( #21480 )
4 years ago
accessors_metadata.go
all: core rework for the merge transition ( #23761 )
3 years ago
accessors_snapshot.go
eth: request id dispatcher and direct req/reply APIs ( #23576 )
3 years ago
accessors_state.go
core, eth, les, trie: add a prefix to contract code ( #21080 )
4 years ago
chain_iterator.go
core, core/rawdb: fix transaction indexing ( #24024 )
3 years ago
chain_iterator_test.go
core/rawdb: fix transaction indexing/unindexing hashing error ( #22457 )
4 years ago
database.go
all: core rework for the merge transition ( #23761 )
3 years ago
database_test.go
eth/protocols/snap: generate storage trie from full dirty snap data ( #22668 )
4 years ago
freezer.go
core/rawdb, ethdb: introduce batched/atomic reads from ancients ( #23566 )
3 years ago
freezer_batch.go
core/rawdb: better error message in freezer ( #23901 )
3 years ago
freezer_table.go
core/rawdb: freezer batch write ( #23462 )
3 years ago
freezer_table_test.go
core/rawdb: freezer batch write ( #23462 )
3 years ago
freezer_test.go
core/rawdb: better error message in freezer ( #23901 )
3 years ago
schema.go
all: core rework for the merge transition ( #23761 )
3 years ago
table.go
core/rawdb, ethdb: introduce batched/atomic reads from ancients ( #23566 )
3 years ago
table_test.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago