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
388 downloads per month
Used in 11 crates
(3 directly)
1MB
20K
SLoC
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