About

Using the library

Adding to Cargo.toml toml jito-geyser-protos = "0.0.2"

Importing rust use jito_geyser_protos::solana::storage::confirmed_block::ConfirmedBlock;

Note: - Supports any solana library ~v1.14.

How to pull in Solana Labs changes

Pulling in updates - confirmedblock.proto and transactionbyaddr.proto are untouched. - Added the following to lib.rs (previously under generated in convert.rs) rust pub mod solana { pub mod geyser { tonic::include_proto!("solana.geyser"); } pub mod storage { pub mod confirmed_block { tonic::include_proto!("solana.storage.confirmed_block"); } } } - Moved the txbyaddr to canonical includeproto! in lib.rs rust pub mod tx_by_addr { tonic::include_proto!("solana.storage.transaction_by_addr"); } - Rename convert.rs modules where necessary