Expand description
The interface for Geyser plugins. A plugin must implement the GeyserPlugin trait to work with the runtime. In addition, the dynamic library must export a “C” function _create_plugin which creates the implementation of the plugin.
Structs§
- Replica
Account Info - Information about an account being updated
- Replica
Account Info V2 - Information about an account being updated (extended with transaction signature doing this update)
- Replica
Account Info V3 - Information about an account being updated (extended with reference to transaction doing this update)
- Replica
Block Info - Replica
Block Info V2 - Extending ReplicaBlockInfo by sending the executed_transaction_count.
- Replica
Block Info V3 - Extending ReplicaBlockInfo by sending the entries_count.
- Replica
Block Info V4 - Extending ReplicaBlockInfo by sending RewardsAndNumPartitions.
- Replica
Entry Info - Replica
Entry Info V2 - Replica
Transaction Info - Information about a transaction
- Replica
Transaction Info V2 - Information about a transaction, including index in block
- Replica
Transaction Info V3 - Information about a transaction, including index in block
Enums§
- Geyser
Plugin Error - Errors returned by plugin calls
- Replica
Account Info Versions - A wrapper to future-proof ReplicaAccountInfo handling. If there were a change to the structure of ReplicaAccountInfo, there would be new enum entry for the newer version, forcing plugin implementations to handle the change.
- Replica
Block Info Versions - Replica
Entry Info Versions - A wrapper to future-proof ReplicaEntryInfo handling. To make a change to the structure of ReplicaEntryInfo, add an new enum variant wrapping a newer version, which will force plugin implementations to handle the change.
- Replica
Transaction Info Versions - A wrapper to future-proof ReplicaTransactionInfo handling. If there were a change to the structure of ReplicaTransactionInfo, there would be new enum entry for the newer version, forcing plugin implementations to handle the change.
- Slot
Status - The current status of a slot
Traits§
- Geyser
Plugin - Defines a Geyser plugin, to stream data from the runtime. Geyser plugins must describe desired behavior for load and unload, as well as how they will handle streamed data.