Go to file
godmodegalactus d30e74542b
adding more logs to test failing tests
2024-10-07 21:08:49 +02:00
block-builder many minor changes 2024-07-10 18:02:46 +02:00
blocking_client Initial commit single threaded quiche server loop 2024-10-07 17:53:06 +02:00
client adding more logs to test failing tests 2024-10-07 21:08:49 +02:00
common Initial commit single threaded quiche server loop 2024-10-07 17:53:06 +02:00
examples Making it work for nonblocking client 2024-10-03 20:51:48 +02:00
plugin Initial commit single threaded quiche server loop 2024-10-07 17:53:06 +02:00
proxy Making everything use ipv6 instead of ipv4 2024-09-30 16:22:22 +02:00
quiche creating streams even if the whole message was sent 2024-10-04 12:19:05 +02:00
server Initial commit single threaded quiche server loop 2024-10-07 17:53:06 +02:00
snapshot removing throtlling by partial responses 2024-07-29 09:00:29 +02:00
.gitignore
Cargo.lock adding more logs to test failing tests 2024-10-07 21:08:49 +02:00
Cargo.toml using few streams instead of infinite streams 2024-10-02 21:03:00 +02:00
README.md
config.json handful stream working for small messages 2024-10-03 12:58:50 +02:00
run_clippy_fmt.sh moving clippy to stable 1.76.0 2024-06-21 09:41:42 +02:00
rust-toolchain.toml

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