miraland-geyser-plugin-interface

Crates.iomiraland-geyser-plugin-interface
lib.rsmiraland-geyser-plugin-interface
version1.18.3
sourcesrc
created_at2023-05-02 22:53:08.251198
updated_at2024-02-28 21:54:56.707821
descriptionThe Miraland Geyser plugin interface.
homepagehttps://solanalabs.com/
repositoryhttps://github.com/miraland-labs/miraland
max_upload_size
id854973
size17,689
Miraland (miralandlabs)

documentation

https://docs.rs/miraland-geyser-plugin-interface

README

Miraland

Miraland Geyser Plugin Interface

This crate enables an plugin to be added into the Miraland Validator runtime to take actions at the time of account updates or block and transaction processing; for example, saving the account state to an external database. The plugin must implement the GeyserPlugin trait. Please see the detail of the geyser_plugin_interface.rs for the interface definition.

The plugin should produce a cdylib dynamic library, which must expose a C function _create_plugin() that instantiates the implementation of the interface.

The https://github.com/solana-labs/solana-accountsdb-plugin-postgres repository provides an example of how to create a plugin which saves the accounts data into an external PostgreSQL databases.

More information about Miraland is available in the Miraland documentation.

Still have questions? Ask us on Stack Exchange

Commit count: 41

cargo fmt