Skip to content

Optimize FindBlockNum #15209

@AskAlexSharov

Description

@AskAlexSharov

It's current bottleneck of eth_getLogs (and likely several others Receipt-realted RPC):

Image

related to #14371

Also maybe reduce amount of wrappers (if not possible - ok):

txNumsReader := rawdbv3.TxNums.WithCustomReadTxNumFunc(freezeblocks.ReadTxNumFuncFromBlockReader(ctx, cfg.blockReader))

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions