A lightweight gRPC service for streaming account and slot updates to subscribers.
When building for your validator, ensure the solana version library matches the imported packages here. Also, ensure that the cargo version (installed in rust-toolchain.toml) matches the rust-toolchain.toml in the solana repository.
There are two options for building:
For building using cargo:
$ cargo b --release
For building in docker:
$ ./f
When releasing, ensure the version being released matches the solana version. This keeps things simple :)
$ ./release
Releases built by CI can be found here. The release version should match the version of validator client you're running
- Copy and edit the config json file to suit your validator
- Add startup arg to solana validator
- Example:
--geyser-plugin-config geyser.json
- Example:
- Restart validator
- Check logs for
Starting GeyserPluginService from config files
orgeyser_grpc_plugin_server::server
For your convenience:
- Run
./s
script to rsync to a server. - Run
./f
to build the binary within a container and spit out to acontainer-output
folder.