Skip to content

Conversation

nicholaspai
Copy link
Member

@nicholaspai nicholaspai commented Aug 12, 2025

Currently we only cache getTransaction, we should also cache the result of getBlockTime. This PR adds internal methods to keep track of the latest confirmed block to determine how long to keep data in the cache for.

Currently we only cache getTransaction, we should also cache the result of getBlockTime. This PR adds internal methods to keep track of the latest `confirmed` and `finalized` blocks to determine how long to keep data in the cache for.
@nicholaspai nicholaspai requested review from pxrl and bmzig August 12, 2025 22:15
@nicholaspai nicholaspai marked this pull request as draft August 12, 2025 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant