Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added default slot for getProgramAccount requests #180

Merged
merged 1 commit into from
Oct 22, 2021
Merged

Added default slot for getProgramAccount requests #180

merged 1 commit into from
Oct 22, 2021

Conversation

bmuddha
Copy link
Collaborator

@bmuddha bmuddha commented Oct 22, 2021

It should increase the number of cache hits for getAccountInfo requests,
by reusing data saved by getProgramAccount previously

@bmuddha bmuddha requested a review from 00nktk October 22, 2021 14:14
In order to keep track of highest seen slot for related accounts
Copy link
Collaborator

@00nktk 00nktk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Вроде отлично, один небольшой nit, но на него можно забить.

src/rpc.rs Show resolved Hide resolved
@bmuddha bmuddha merged commit d2c314c into bestarch-ae:master Oct 22, 2021
@polachok
Copy link
Collaborator

Почему не добавлять слот программы во время вставки, а не извлечения?

@bmuddha bmuddha deleted the sub-reduce branch November 12, 2021 04:57
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.

None yet

3 participants