Questions tagged [geyser]
The geyser tag has no usage guidance.
14
questions
0
votes
0
answers
14
views
Question about Solana codebase — what is the reason for saving V0_0_1 in enum ReplicaBlockInfoVersions?
I found ReplicaBlockInfoVersions enum in src/geyser_plugin_interface.rs (snipped under the text). Where oneof is V0_0_1. I found no usage of ReplicaBlockInfoVersions::V0_0_1 or ReplicaBlockInfo in ...
2
votes
0
answers
54
views
Get owner from PDA if the owner is off-curve - DAS API
Is it somehow possible to get and deserialize the owner of the token account if the owner is a PDA and off-curve around this line - https://github.com/metaplex-foundation/digital-asset-rpc-...
0
votes
0
answers
13
views
Geyser closed account notifications
When an account is closed, the notification that comes from the geyser plugins account_update method includes the account with owner set to System Program - regardless of who the owner was before it ...
1
vote
1
answer
29
views
Where in Solana's codebase are new Geyser transactions notified?
I'm trying to understand the part of Solana's codebase where new transactions for Geyser are notified.
I've observed functions in GeyserService like transaction_update_receiver that seem to handle the ...
2
votes
2
answers
99
views
Is there any Geyser plugin providers
Is there any rpc providers that provides geyser plugin. Or should I develop the plugin myself. I only need typical account data update monitoring nothing customized.
3
votes
1
answer
73
views
How to get all transaction logs for a specific program? Both old and new transactions
What is the best way to get all the program logs from a specific program?
There are two types of logs I am curious about getting for any given programId:
all the older, already finalized, transaction ...
2
votes
1
answer
91
views
Websocket or Geyser to monitor many accounts
I'm looking to monitor 500+ accounts to do periodical operations and use the most recent data when there is a change on them (processed commitment). I'm wondering if websockets are actually the best ...
2
votes
1
answer
31
views
On what confirmation leavel block metadata are produced
In geyser plugin there is notify_block_metadata() and I am curious if this block_metadata is produced always when slot is already rooted or can be produced also for confirmed and processed slots.
1
vote
1
answer
29
views
Is there a reason why pubkey in `Reward` struct is `String` instead of `&[u8]` or `Pubkey`
In most places pubkey is represented by &[u8] or Pubkey is there any particular reason why Reward struct inside ReplicaBlockInfo use this "fronted/json friendly" representation? Similar ...
4
votes
2
answers
507
views
How to use a Geyser plugin
I want to periodically sync a set of accounts from a validator to my database and I find Geyser plugins fit my need. But the document doesn't show how to attach the plugin to a running validator or ...
2
votes
0
answers
29
views
How do you get holder wallet address from token account data? [duplicate]
I'm trying to run geyser plugin to listen in on account data updates, and my plan is to build an index with holder wallet address as the key, and list of owned token accounts as the value.
So say if a ...
1
vote
2
answers
69
views
Can geyser plugins be used on historical data
Per documentation it is said that Geyser Plugin system can be used to offload currently validated data to different databases, however, I do not understand whether it can be used to process historical ...
6
votes
2
answers
84
views
Geyser Plugin Behaviour for Closed Accounts
When I call the getAccountInfo web3 method for an account on which a CloseAccount instruction has been run, it returns null. I wanted to ask if the Geyser plugin notifies about an account update when ...
4
votes
1
answer
139
views
Convert slot to timestamp in Geyser
I currently run a Geyser plugin and it sends slot alongside every account. Is there a reliable way to determine when the slot occurred? When the plugin boots up, it sends all accounts since genesis. ...