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

add: slot-to-blocktime index + gsfa: store OffsetAndSizeAndSlot instead of OffsetAndSizeAndBlocktime #200

Merged
merged 12 commits into from
Dec 17, 2024

Conversation

gagliardetto
Copy link
Collaborator

No description provided.

@gagliardetto gagliardetto changed the title Blocktime slot index add: solot-to-blocktime index + gsfa: store OffsetAndSizeAndSlot instead of OffsetAndSizeAndBlocktime Dec 11, 2024
@gagliardetto gagliardetto changed the title add: solot-to-blocktime index + gsfa: store OffsetAndSizeAndSlot instead of OffsetAndSizeAndBlocktime add: slot-to-blocktime index + gsfa: store OffsetAndSizeAndSlot instead of OffsetAndSizeAndBlocktime Dec 11, 2024
@gagliardetto gagliardetto marked this pull request as ready for review December 12, 2024 13:09
@gagliardetto
Copy link
Collaborator Author

One last thing: should gsfa also contain whether the tx was successful or not?

@anjor
Copy link
Contributor

anjor commented Dec 12, 2024

One last thing: should gsfa also contain whether the tx was successful or not?

So right now for the stream transactions we parse it out from the error. Don't think we need it in gsfa.

@gagliardetto
Copy link
Collaborator Author

by having the success/fail in the gsfa index, we would avoid about 90% of io and cpu time (fetch tx, maybe fetch meta, parse meta)

@anjor
Copy link
Contributor

anjor commented Dec 16, 2024

that makes sense. let's add it then.

@anjor
Copy link
Contributor

anjor commented Dec 17, 2024

@gagliardetto i am going to merge it. Let's add the success/fail to gsfa index in a separate PR.

@anjor anjor merged commit 3ed45d2 into rpcpool:main Dec 17, 2024
1 check passed
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.

3 participants