26 stable releases

new 2.0.2 Jul 10, 2024
2.0.1 Jun 24, 2024
1.18.17 Jun 17, 2024
1.18.15 May 31, 2024
0.1.0 Jan 30, 2024

#1619 in Magic Beans

Download history 638/week @ 2024-03-13 439/week @ 2024-03-20 448/week @ 2024-03-27 448/week @ 2024-04-03 631/week @ 2024-04-10 213/week @ 2024-04-17 2133/week @ 2024-04-24 1642/week @ 2024-05-01 2024/week @ 2024-05-08 1976/week @ 2024-05-15 1406/week @ 2024-05-22 1782/week @ 2024-05-29 1976/week @ 2024-06-05 1891/week @ 2024-06-12 3766/week @ 2024-06-19 2046/week @ 2024-06-26

10,005 downloads per month
Used in 16 crates (2 directly)

Apache-2.0

1MB
23K SLoC

Solana

Solana Geyser Plugin Interface

This crate enables a plugin to be added into the Solana 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 details 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 database.

More information about Solana is available in the Solana documentation.

Still have questions? Ask us on Stack Exchange

Dependencies

~27–42MB
~715K SLoC