Go to file
godmodegalactus 804c75a7cd
updating server loop to make it similar to quiche example
2024-06-10 10:21:27 +02:00
block-builder updating server loop to make it similar to quiche example 2024-06-10 10:21:27 +02:00
blocking_client updating server loop to make it similar to quiche example 2024-06-10 10:21:27 +02:00
client updating version to 0.1.4 2024-06-06 13:50:22 +02:00
common enabling gso pacing and avoiding burst sending of packets 2024-06-07 12:51:10 +02:00
examples updating version to 0.1.4 2024-06-06 13:50:22 +02:00
plugin updating version to 0.1.4 2024-06-06 13:50:22 +02:00
proxy enabling gso pacing and avoiding burst sending of packets 2024-06-07 12:51:10 +02:00
quiche fixing tests 2024-06-07 18:23:46 +02:00
server updating server loop to make it similar to quiche example 2024-06-10 10:21:27 +02:00
.gitignore Creating 3 libraries, for plugin, client and common code between them 2024-05-10 11:46:04 +02:00
Cargo.lock updating server loop to make it similar to quiche example 2024-06-10 10:21:27 +02:00
Cargo.toml updating version to 0.1.4 2024-06-06 13:50:22 +02:00
README.md Creating seperate filters for all accounts subscription and all transactions subscription 2024-05-19 19:35:35 +02:00
config.json Update readme file 2024-05-16 17:46:13 +02:00
rust-toolchain.toml picking correct versions for rust compiler, clap and bincode 2024-05-15 11:18:39 +02:00

README.md

QUIC GEYSER PLUGIN

Solana geyser plugin which implements quic frontend for faster http-3 access of solana data.

Running Geyser

Compile and start the geyser plugin on a validator, and example config file is provided in config.json.

// To start a validator with geyser plugin add following argument to the solana validator
--geyser-plugin-config config.json

Client

Client can be configured like this :

use quic_geyser_client::client::Client;

let url = "127.0.0.1:10800"; // Address of quic plugin on the RPC
let client = Client::new( url, &Keypair::new(), ConnectionParameters::default())
        .await
        .unwrap();

// to subscribe updates for stake program, slots and blockmeta
client.subscribe(vec![
            Filter::Account(AccountFilter {
                owner: Some("Stake11111111111111111111111111111111111111"),
                accounts: None,
            }),
            Filter::Slot,
            Filter::BlockMeta,
        ])
        .await
        .unwrap();

You can also subscibe to all the account updates by using filter Filter::AccountsAll Similarly you can also subscibe to all transaction update by setting filter : Filter::TransactionsAll,.

Tester

Tester is an example program, which gets all the possible updates from quic server and tests the bandwidth used and lags wrt rest of the cluster.

You can run tester with following command.

cargo run --bin geyser-quic-plugin-tester --release -- -u ip_address:10800 -r rpc_address