Skip to content

Pre-fetch transactions from the database #98

@sug0

Description

@sug0

Clients performing shielded sync will want to fetch a batch of masp transactions between two block heights $[h_0, h_1]$. However, the current clients only perform requests in small batches (of around 30 blocks, and $30 \ll h_1 - h_0 + 1$). Perhaps we could pre-fetch and cache transfers from a higher block range, to decrease the number of calls to Postgres, and speed-up shielded sync. The extra data would be cached and eventually released from memory.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions