Skip to content

Commit

Permalink
Initial implementations of the TPU Vortexor
Browse files Browse the repository at this point in the history
  • Loading branch information
lijunwangs committed Oct 25, 2024
1 parent d6f0818 commit e69b8e6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions vortexor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "solana-vortexor"
description = "Solana TPU Vortexor"
documentation = "https://docs.rs/solana-vortexor"
default-run = "solana-vortexor"
version = { workspace = true }
authors = { workspace = true }
repository = { workspace = true }
Expand All @@ -12,6 +13,7 @@ edition = { workspace = true }
[dependencies]
async-channel = { workspace = true }
bytes = { workspace = true }
clap = { workspace = true }
crossbeam-channel = { workspace = true }
dashmap = { workspace = true }
futures = { workspace = true }
Expand All @@ -31,8 +33,10 @@ rand = { workspace = true }
rustls = { workspace = true }
smallvec = { workspace = true }
socket2 = { workspace = true }
solana-clap-utils = { workspace = true }
solana-measure = { workspace = true }
solana-metrics = { workspace = true }
solana-net-utils = { workspace = true }
solana-perf = { workspace = true }
solana-sdk = { workspace = true }
solana-streamer = { workspace = true }
Expand Down
1 change: 1 addition & 0 deletions vortexor/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pub mod cli;
pub mod vortexor;
3 changes: 3 additions & 0 deletions vortexor/src/vortexor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ use {
},
};

pub const MAX_QUIC_CONNECTIONS_PER_PEER: usize = 8;
pub const NUM_QUIC_ENDPOINTS: usize = 8;

pub struct TpuSockets {
pub tpu_quic: Vec<UdpSocket>,
pub tpu_quic_fwd: Vec<UdpSocket>,
Expand Down

0 comments on commit e69b8e6

Please sign in to comment.