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

#155 in Magic Beans

Download history 8/week @ 2024-07-22 111/week @ 2024-07-29 17/week @ 2024-08-05 8/week @ 2024-09-16 25/week @ 2024-09-23 2/week @ 2024-09-30 106/week @ 2024-10-28 584/week @ 2024-11-04

690 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
~827K SLoC