Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gmg/refactor gyser rpc #174

Merged
merged 7 commits into from
Sep 1, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
422 changes: 398 additions & 24 deletions Cargo.lock

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ members = [
"lite-rpc",
"quic-forward-proxy",
"quic-forward-proxy-integration-test",
"cluster-endpoints",
"bench"
]

[workspace.package]
version = "0.2.2"
version = "0.2.3"
authors = ["gmgalactus <[email protected]>", "Aniket Prajapati <[email protected]>"]
repository = "https://github.com/blockworks-foundation/lite-rpc"
license = "AGPL"
Expand Down Expand Up @@ -51,6 +52,10 @@ dotenv = "0.15.0"
async-channel = "1.8.0"
quinn = "0.9.3"
rustls = { version = "=0.20.8", default-features = false }
solana-lite-rpc-services = {path = "services", version="0.2.2"}
solana-lite-rpc-core = {path = "core", version="0.2.2"}
solana-lite-rpc-services = {path = "services", version="0.2.3"}
solana-lite-rpc-core = {path = "core", version="0.2.3"}
solana-lite-rpc-cluster-endpoints = {path = "cluster-endpoints", version="0.2.3"}

async-trait = "0.1.68"
yellowstone-grpc-client = "1.9.0"
yellowstone-grpc-proto = "1.9.0"
2 changes: 1 addition & 1 deletion bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bench"
version = "0.2.2"
version = "0.2.3"
edition = "2021"

[dependencies]
Expand Down
40 changes: 40 additions & 0 deletions cluster-endpoints/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[package]
name = "solana-lite-rpc-cluster-endpoints"
version = "0.2.3"
edition = "2021"
description = "Core classes and methods used by solana lite rpc"
rust-version = "1.67.1"
repository = "https://github.com/blockworks-foundation/lite-rpc"
license = "AGPL"

[dependencies]
solana-sdk = { workspace = true }
solana-rpc-client-api = { workspace = true }
solana-transaction-status = { workspace = true }
solana-version = { workspace = true }
solana-client = { workspace = true }
solana-net-utils = { workspace = true }
solana-pubsub-client = { workspace = true }
solana-streamer = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = "1.*"
bincode = { workspace = true }
bs58 = { workspace = true }
base64 = { workspace = true }
thiserror = { workspace = true }
futures = { workspace = true }
bytes = { workspace = true }
anyhow = { workspace = true }
log = { workspace = true }
dashmap = { workspace = true }
quinn = { workspace = true }
chrono = { workspace = true }
rustls = { workspace = true }
async-trait = { workspace = true }
derive_more = "0.99.17"
async-channel = { workspace = true }
solana-lite-rpc-core = { workspace = true }
yellowstone-grpc-client = { workspace = true }
yellowstone-grpc-proto = { workspace = true }
itertools = {workspace = true}
9 changes: 9 additions & 0 deletions cluster-endpoints/src/endpoint_stremers.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
use solana_lite_rpc_core::streams::{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wha typo?

BlockStream, ClusterInfoStream, SlotStream, VoteAccountStream,
};
pub struct EndpointStreaming {
pub blocks_notifier: BlockStream,
pub slot_notifier: SlotStream,
pub vote_account_notifier: VoteAccountStream,
pub cluster_info_notifier: ClusterInfoStream,
}
Loading