Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

geyser: add entries_count field to block metadata #32988

Closed
fanatid opened this issue Aug 24, 2023 · 0 comments · Fixed by #33359
Closed

geyser: add entries_count field to block metadata #32988

fanatid opened this issue Aug 24, 2023 · 0 comments · Fixed by #33359
Assignees
Labels
community Community contribution

Comments

@fanatid
Copy link
Contributor

fanatid commented Aug 24, 2023

Problem

v1.16 introduced GeyserPlugin::notify_entry. In Triton One we would like to use it for online data generation in Old Faithful. In our gRPC plugin I added collecting entries for block reconstruction (block meta with all transactions, accounts updates, entries) but I still get errors about the failed reconstruction process. https://github.com/rpcpool/yellowstone-grpc/blob/v1.7.1%2Bsolana.1.16.1/yellowstone-grpc-geyser/src/grpc.rs#L886-L899

Proposed Solution

Add entries_count field to block metadata message — this would be the easiest way to understand how many entries we need to wait before trying to reconstruct the block.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community Community contribution
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants