Skip to content

cache apiAt in blockCache #1044

@shunjizhan

Description

@shunjizhan

according to our assumption, most requests are targeting recent blocks, why not just construct and cache apiAt in blockCache on new block, so querying recent blocks should be much faster. Querying old blocks will construct new apiAt, which is fine and do not need to cache

Metadata

Metadata

Assignees

No one assigned

    Labels

    Lv. 1easy peasy, solution should be quite straightforwardpolishcode or feature polish

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions