core/rawdb: avoid unnecessary receipt processing for log filtering (#23147)
* core/types: rm extranous check in test * core/rawdb: add lightweight types for block logs * core/rawdb,eth: use lightweight accessor for log filtering * core/rawdb: add bench for decoding into rlpLogs
Showing
- core/rawdb/accessors_chain.go 81 additions, 0 deletionscore/rawdb/accessors_chain.go
- core/rawdb/accessors_chain_test.go 213 additions, 0 deletionscore/rawdb/accessors_chain_test.go
- core/rawdb/testdata/stored_receipts.bin 0 additions, 0 deletionscore/rawdb/testdata/stored_receipts.bin
- core/types/receipt_test.go 0 additions, 3 deletionscore/types/receipt_test.go
- eth/api_backend.go 7 additions, 6 deletionseth/api_backend.go
Loading
Please register or sign in to comment