Go to file
GroovieGermanikus e2c2b3d4cc
set version 0.10.6+yellowstone.1.15
2024-12-09 09:30:03 +01:00
.github/workflows move mock code 2023-12-15 10:20:41 +01:00
ci add missing rust-version.sh 2023-12-15 10:13:35 +01:00
examples strip down stream_blocks_single example 2024-07-02 17:38:23 +02:00
src add anyhow example 2024-06-13 10:21:38 +02:00
.gitignore gitignore 2023-12-15 10:28:49 +01:00
Cargo.lock WIP improve types 2024-06-13 09:15:56 +02:00
Cargo.toml set version 0.10.6+yellowstone.1.15 2024-12-09 09:30:03 +01:00
LICENSE add license file 2023-12-20 09:45:34 +01:00
README.md update README / versions 2024-11-25 17:41:55 +01:00
rust-toolchain.toml update to solana 1.18.15, v1.13.0+solana.1.18.9 2024-06-12 18:49:21 +02:00

README.md

Solana Geyser gRPC Multiplexing and Reconnect

This project provides multiplexing of multiple Yellowstone gRPC subscriptions based on Fastest Wins Strategy.

  • Multiple Futures get merged where the first next block that arrives will be emitted.
  • No guarantees are made about if the messages are continuous or not.
  • Reconnects are handled transparently inside the Futures.

Disclaimer: The library is designed with the needs of LiteRPC in mind yet might be useful for other projects as well.

The implementation is based on Rust Futures.

Please open an issue if you have any questions or suggestions -> New Issue.

Versions

These are the currently maintained versions of the library: see Wiki

Installation and Usage

cargo add geyser-grpc-connector

An example how to use the library is provided in stream_blocks_mainnet.rs.

Known issues

  • Library does not support other data than Blocks/Slots very well.
  • Should not be used with commitment level PROCESSED because slot numbers are not monotoic.
  • Library needs messages to be in order and provide slot information to work properly.