14 releases (stable)

new 1.19.2 Nov 8, 2024
1.19.1 Nov 6, 2024
1.18.3 Feb 28, 2024
1.18.2 Dec 14, 2023
1.14.17-rc5 May 12, 2023

#57 in Magic Beans

Download history 21/week @ 2024-07-19 98/week @ 2024-07-26 28/week @ 2024-08-02 4/week @ 2024-08-09 5/week @ 2024-09-13 23/week @ 2024-09-20 6/week @ 2024-09-27 1/week @ 2024-10-04 388/week @ 2024-11-01

388 downloads per month
Used in 11 crates (3 directly)

Apache-2.0

1MB
20K SLoC

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

Dependencies

~33–48MB
~831K SLoC