* Add quic-client module to send transactions via quic, abstracted behind the TpuConnection trait (along with a legacy UDP implementation of TpuConnection) and change thin-client to use TpuConnection
6 lines
271 B
Rust
6 lines
271 B
Rust
pub const QUIC_PORT_OFFSET: u16 = 6;
|
|
// Empirically found max number of concurrent streams
|
|
// that seems to maximize TPS on GCE (higher values don't seem to
|
|
// give significant improvement or seem to impact stability)
|
|
pub const QUIC_MAX_CONCURRENT_STREAMS: usize = 2048;
|