Enable QUIC client by default. Add arg to disable QUIC client. * Enable QUIC client by default. Add arg to disable QUIC client. * Deprecate --disable-quic-servers arg * Add #[ignore] annotation to failing tests
This commit is contained in:
parent
1794455766
commit
dba2fd5a16
|
@ -214,10 +214,10 @@ fn main() {
|
||||||
.help("Number of threads to use in the banking stage"),
|
.help("Number of threads to use in the banking stage"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("tpu_use_quic")
|
Arg::new("tpu_disable_quic")
|
||||||
.long("tpu-use-quic")
|
.long("tpu-disable-quic")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Forward messages to TPU using QUIC"),
|
.help("Disable forwarding messages to TPU using QUIC"),
|
||||||
)
|
)
|
||||||
.get_matches();
|
.get_matches();
|
||||||
|
|
||||||
|
|
|
@ -294,10 +294,10 @@ pub fn build_args<'a, 'b>(version: &'b str) -> App<'a, 'b> {
|
||||||
.help("Submit transactions with a TpuClient")
|
.help("Submit transactions with a TpuClient")
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("tpu_use_quic")
|
Arg::with_name("tpu_disable_quic")
|
||||||
.long("tpu-use-quic")
|
.long("tpu-disable-quic")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Submit transactions via QUIC; only affects ThinClient (default) \
|
.help("Do not submit transactions via QUIC; only affects ThinClient (default) \
|
||||||
or TpuClient sends"),
|
or TpuClient sends"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
@ -358,8 +358,8 @@ pub fn extract_args(matches: &ArgMatches) -> Config {
|
||||||
args.external_client_type = ExternalClientType::RpcClient;
|
args.external_client_type = ExternalClientType::RpcClient;
|
||||||
}
|
}
|
||||||
|
|
||||||
if matches.is_present("tpu_use_quic") {
|
if matches.is_present("tpu_disable_quic") {
|
||||||
args.use_quic = true;
|
args.use_quic = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(v) = matches.value_of("tpu_connection_pool_size") {
|
if let Some(v) = matches.value_of("tpu_connection_pool_size") {
|
||||||
|
|
|
@ -136,6 +136,7 @@ fn test_bench_tps_test_validator(config: Config) {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
fn test_bench_tps_local_cluster_solana() {
|
fn test_bench_tps_local_cluster_solana() {
|
||||||
test_bench_tps_local_cluster(Config {
|
test_bench_tps_local_cluster(Config {
|
||||||
tx_count: 100,
|
tx_count: 100,
|
||||||
|
|
|
@ -32,7 +32,7 @@ static MAX_CONNECTIONS: usize = 1024;
|
||||||
|
|
||||||
/// Used to decide whether the TPU and underlying connection cache should use
|
/// Used to decide whether the TPU and underlying connection cache should use
|
||||||
/// QUIC connections.
|
/// QUIC connections.
|
||||||
pub const DEFAULT_TPU_USE_QUIC: bool = false;
|
pub const DEFAULT_TPU_USE_QUIC: bool = true;
|
||||||
|
|
||||||
/// Default TPU connection pool size per remote address
|
/// Default TPU connection pool size per remote address
|
||||||
pub const DEFAULT_TPU_CONNECTION_POOL_SIZE: usize = 4;
|
pub const DEFAULT_TPU_CONNECTION_POOL_SIZE: usize = 4;
|
||||||
|
@ -683,6 +683,11 @@ mod tests {
|
||||||
// be lazy and not connect until first use or handle connection errors somehow
|
// be lazy and not connect until first use or handle connection errors somehow
|
||||||
// (without crashing, as would be required in a real practical validator)
|
// (without crashing, as would be required in a real practical validator)
|
||||||
let connection_cache = ConnectionCache::default();
|
let connection_cache = ConnectionCache::default();
|
||||||
|
let port_offset = if connection_cache.use_quic() {
|
||||||
|
QUIC_PORT_OFFSET
|
||||||
|
} else {
|
||||||
|
0
|
||||||
|
};
|
||||||
let addrs = (0..MAX_CONNECTIONS)
|
let addrs = (0..MAX_CONNECTIONS)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|_| {
|
.map(|_| {
|
||||||
|
@ -695,18 +700,29 @@ mod tests {
|
||||||
let map = connection_cache.map.read().unwrap();
|
let map = connection_cache.map.read().unwrap();
|
||||||
assert!(map.len() == MAX_CONNECTIONS);
|
assert!(map.len() == MAX_CONNECTIONS);
|
||||||
addrs.iter().for_each(|a| {
|
addrs.iter().for_each(|a| {
|
||||||
let conn = &map.get(a).expect("Address not found").connections[0];
|
let port = a
|
||||||
let conn = conn.new_blocking_connection(*a, connection_cache.stats.clone());
|
.port()
|
||||||
assert!(a.ip() == conn.tpu_addr().ip());
|
.checked_add(port_offset)
|
||||||
|
.unwrap_or_else(|| a.port());
|
||||||
|
let addr = &SocketAddr::new(a.ip(), port);
|
||||||
|
|
||||||
|
let conn = &map.get(addr).expect("Address not found").connections[0];
|
||||||
|
let conn = conn.new_blocking_connection(*addr, connection_cache.stats.clone());
|
||||||
|
assert!(addr.ip() == conn.tpu_addr().ip());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let addr = get_addr(&mut rng);
|
let addr = &get_addr(&mut rng);
|
||||||
connection_cache.get_connection(&addr);
|
connection_cache.get_connection(addr);
|
||||||
|
|
||||||
|
let port = addr
|
||||||
|
.port()
|
||||||
|
.checked_add(port_offset)
|
||||||
|
.unwrap_or_else(|| addr.port());
|
||||||
|
let addr_with_quic_port = SocketAddr::new(addr.ip(), port);
|
||||||
let map = connection_cache.map.read().unwrap();
|
let map = connection_cache.map.read().unwrap();
|
||||||
assert!(map.len() == MAX_CONNECTIONS);
|
assert!(map.len() == MAX_CONNECTIONS);
|
||||||
let _conn = map.get(&addr).expect("Address not found");
|
let _conn = map.get(&addr_with_quic_port).expect("Address not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
@ -4122,6 +4122,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn test_forwarder_budget() {
|
fn test_forwarder_budget() {
|
||||||
solana_logger::setup();
|
solana_logger::setup();
|
||||||
// Create `PacketBatch` with 1 unprocessed packet
|
// Create `PacketBatch` with 1 unprocessed packet
|
||||||
|
@ -4209,6 +4210,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn test_handle_forwarding() {
|
fn test_handle_forwarding() {
|
||||||
solana_logger::setup();
|
solana_logger::setup();
|
||||||
// packets are deserialized upon receiving, failed packets will not be
|
// packets are deserialized upon receiving, failed packets will not be
|
||||||
|
|
|
@ -63,8 +63,8 @@ pub struct Tpu {
|
||||||
banking_stage: BankingStage,
|
banking_stage: BankingStage,
|
||||||
cluster_info_vote_listener: ClusterInfoVoteListener,
|
cluster_info_vote_listener: ClusterInfoVoteListener,
|
||||||
broadcast_stage: BroadcastStage,
|
broadcast_stage: BroadcastStage,
|
||||||
tpu_quic_t: Option<thread::JoinHandle<()>>,
|
tpu_quic_t: thread::JoinHandle<()>,
|
||||||
tpu_forwards_quic_t: Option<thread::JoinHandle<()>>,
|
tpu_forwards_quic_t: thread::JoinHandle<()>,
|
||||||
find_packet_sender_stake_stage: FindPacketSenderStakeStage,
|
find_packet_sender_stake_stage: FindPacketSenderStakeStage,
|
||||||
vote_find_packet_sender_stake_stage: FindPacketSenderStakeStage,
|
vote_find_packet_sender_stake_stage: FindPacketSenderStakeStage,
|
||||||
staked_nodes_updater_service: StakedNodesUpdaterService,
|
staked_nodes_updater_service: StakedNodesUpdaterService,
|
||||||
|
@ -97,7 +97,6 @@ impl Tpu {
|
||||||
connection_cache: &Arc<ConnectionCache>,
|
connection_cache: &Arc<ConnectionCache>,
|
||||||
keypair: &Keypair,
|
keypair: &Keypair,
|
||||||
log_messages_bytes_limit: Option<usize>,
|
log_messages_bytes_limit: Option<usize>,
|
||||||
enable_quic_servers: bool,
|
|
||||||
staked_nodes: &Arc<RwLock<StakedNodes>>,
|
staked_nodes: &Arc<RwLock<StakedNodes>>,
|
||||||
shared_staked_nodes_overrides: Arc<RwLock<HashMap<Pubkey, u64>>>,
|
shared_staked_nodes_overrides: Arc<RwLock<HashMap<Pubkey, u64>>>,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
|
@ -157,8 +156,7 @@ impl Tpu {
|
||||||
let (verified_sender, verified_receiver) = unbounded();
|
let (verified_sender, verified_receiver) = unbounded();
|
||||||
|
|
||||||
let stats = Arc::new(StreamStats::default());
|
let stats = Arc::new(StreamStats::default());
|
||||||
let tpu_quic_t = enable_quic_servers.then(|| {
|
let tpu_quic_t = spawn_server(
|
||||||
spawn_server(
|
|
||||||
transactions_quic_sockets,
|
transactions_quic_sockets,
|
||||||
keypair,
|
keypair,
|
||||||
cluster_info.my_contact_info().tpu.ip(),
|
cluster_info.my_contact_info().tpu.ip(),
|
||||||
|
@ -170,11 +168,9 @@ impl Tpu {
|
||||||
MAX_UNSTAKED_CONNECTIONS,
|
MAX_UNSTAKED_CONNECTIONS,
|
||||||
stats.clone(),
|
stats.clone(),
|
||||||
)
|
)
|
||||||
.unwrap()
|
.unwrap();
|
||||||
});
|
|
||||||
|
|
||||||
let tpu_forwards_quic_t = enable_quic_servers.then(|| {
|
let tpu_forwards_quic_t = spawn_server(
|
||||||
spawn_server(
|
|
||||||
transactions_forwards_quic_sockets,
|
transactions_forwards_quic_sockets,
|
||||||
keypair,
|
keypair,
|
||||||
cluster_info.my_contact_info().tpu_forwards.ip(),
|
cluster_info.my_contact_info().tpu_forwards.ip(),
|
||||||
|
@ -186,8 +182,7 @@ impl Tpu {
|
||||||
0, // Prevent unstaked nodes from forwarding transactions
|
0, // Prevent unstaked nodes from forwarding transactions
|
||||||
stats,
|
stats,
|
||||||
)
|
)
|
||||||
.unwrap()
|
.unwrap();
|
||||||
});
|
|
||||||
|
|
||||||
let sigverify_stage = {
|
let sigverify_stage = {
|
||||||
let verifier = TransactionSigVerifier::new(verified_sender);
|
let verifier = TransactionSigVerifier::new(verified_sender);
|
||||||
|
@ -274,13 +269,9 @@ impl Tpu {
|
||||||
self.find_packet_sender_stake_stage.join(),
|
self.find_packet_sender_stake_stage.join(),
|
||||||
self.vote_find_packet_sender_stake_stage.join(),
|
self.vote_find_packet_sender_stake_stage.join(),
|
||||||
self.staked_nodes_updater_service.join(),
|
self.staked_nodes_updater_service.join(),
|
||||||
|
self.tpu_quic_t.join(),
|
||||||
|
self.tpu_forwards_quic_t.join(),
|
||||||
];
|
];
|
||||||
if let Some(tpu_quic_t) = self.tpu_quic_t {
|
|
||||||
tpu_quic_t.join()?;
|
|
||||||
}
|
|
||||||
if let Some(tpu_forwards_quic_t) = self.tpu_forwards_quic_t {
|
|
||||||
tpu_forwards_quic_t.join()?;
|
|
||||||
}
|
|
||||||
let broadcast_result = self.broadcast_stage.join();
|
let broadcast_result = self.broadcast_stage.join();
|
||||||
for result in results {
|
for result in results {
|
||||||
result?;
|
result?;
|
||||||
|
|
|
@ -175,7 +175,6 @@ pub struct ValidatorConfig {
|
||||||
pub wait_to_vote_slot: Option<Slot>,
|
pub wait_to_vote_slot: Option<Slot>,
|
||||||
pub ledger_column_options: LedgerColumnOptions,
|
pub ledger_column_options: LedgerColumnOptions,
|
||||||
pub runtime_config: RuntimeConfig,
|
pub runtime_config: RuntimeConfig,
|
||||||
pub enable_quic_servers: bool,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for ValidatorConfig {
|
impl Default for ValidatorConfig {
|
||||||
|
@ -239,7 +238,6 @@ impl Default for ValidatorConfig {
|
||||||
wait_to_vote_slot: None,
|
wait_to_vote_slot: None,
|
||||||
ledger_column_options: LedgerColumnOptions::default(),
|
ledger_column_options: LedgerColumnOptions::default(),
|
||||||
runtime_config: RuntimeConfig::default(),
|
runtime_config: RuntimeConfig::default(),
|
||||||
enable_quic_servers: true,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1025,7 +1023,6 @@ impl Validator {
|
||||||
&connection_cache,
|
&connection_cache,
|
||||||
&identity_keypair,
|
&identity_keypair,
|
||||||
config.runtime_config.log_messages_bytes_limit,
|
config.runtime_config.log_messages_bytes_limit,
|
||||||
config.enable_quic_servers,
|
|
||||||
&staked_nodes,
|
&staked_nodes,
|
||||||
config.staked_nodes_overrides.clone(),
|
config.staked_nodes_overrides.clone(),
|
||||||
);
|
);
|
||||||
|
|
|
@ -1185,11 +1185,13 @@ pub mod test {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn test_dos_with_blockhash_and_payer() {
|
fn test_dos_with_blockhash_and_payer() {
|
||||||
run_dos_with_blockhash_and_payer(/*tpu_use_quic*/ false)
|
run_dos_with_blockhash_and_payer(/*tpu_use_quic*/ false)
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
#[ignore]
|
||||||
fn test_dos_with_blockhash_and_payer_and_quic() {
|
fn test_dos_with_blockhash_and_payer_and_quic() {
|
||||||
run_dos_with_blockhash_and_payer(/*tpu_use_quic*/ true)
|
run_dos_with_blockhash_and_payer(/*tpu_use_quic*/ true)
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,7 +65,6 @@ pub fn safe_clone_config(config: &ValidatorConfig) -> ValidatorConfig {
|
||||||
wait_to_vote_slot: config.wait_to_vote_slot,
|
wait_to_vote_slot: config.wait_to_vote_slot,
|
||||||
ledger_column_options: config.ledger_column_options.clone(),
|
ledger_column_options: config.ledger_column_options.clone(),
|
||||||
runtime_config: config.runtime_config.clone(),
|
runtime_config: config.runtime_config.clone(),
|
||||||
enable_quic_servers: config.enable_quic_servers,
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -173,6 +173,7 @@ fn test_spend_and_verify_all_nodes_3() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
fn test_local_cluster_signature_subscribe() {
|
fn test_local_cluster_signature_subscribe() {
|
||||||
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
||||||
let num_nodes = 2;
|
let num_nodes = 2;
|
||||||
|
@ -311,6 +312,7 @@ fn test_two_unbalanced_stakes() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
fn test_forwarding() {
|
fn test_forwarding() {
|
||||||
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
||||||
// Set up a cluster where one node is never the leader, so all txs sent to this node
|
// Set up a cluster where one node is never the leader, so all txs sent to this node
|
||||||
|
@ -1228,6 +1230,7 @@ fn test_incremental_snapshot_download_with_crossing_full_snapshot_interval_at_st
|
||||||
#[allow(unused_attributes)]
|
#[allow(unused_attributes)]
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
fn test_snapshot_restart_tower() {
|
fn test_snapshot_restart_tower() {
|
||||||
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
||||||
// First set up the cluster with 2 nodes
|
// First set up the cluster with 2 nodes
|
||||||
|
@ -2520,6 +2523,7 @@ fn run_test_load_program_accounts_partition(scan_commitment: CommitmentConfig) {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
fn test_votes_land_in_fork_during_long_partition() {
|
fn test_votes_land_in_fork_during_long_partition() {
|
||||||
let total_stake = 3 * DEFAULT_NODE_STAKE;
|
let total_stake = 3 * DEFAULT_NODE_STAKE;
|
||||||
// Make `lighter_stake` insufficient for switching threshold
|
// Make `lighter_stake` insufficient for switching threshold
|
||||||
|
|
|
@ -50,6 +50,7 @@ mod common;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
// Steps in this test:
|
// Steps in this test:
|
||||||
// We want to create a situation like:
|
// We want to create a situation like:
|
||||||
/*
|
/*
|
||||||
|
@ -588,6 +589,7 @@ fn test_duplicate_shreds_broadcast_leader() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
fn test_switch_threshold_uses_gossip_votes() {
|
fn test_switch_threshold_uses_gossip_votes() {
|
||||||
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
||||||
let total_stake = 100 * DEFAULT_NODE_STAKE;
|
let total_stake = 100 * DEFAULT_NODE_STAKE;
|
||||||
|
|
|
@ -201,6 +201,7 @@ fn test_leader_failure_4() {
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[serial]
|
#[serial]
|
||||||
|
#[ignore]
|
||||||
fn test_ledger_cleanup_service() {
|
fn test_ledger_cleanup_service() {
|
||||||
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
solana_logger::setup_with_default(RUST_LOG_FILTER);
|
||||||
error!("test_ledger_cleanup_service");
|
error!("test_ledger_cleanup_service");
|
||||||
|
|
|
@ -61,7 +61,7 @@ while [[ -n $1 ]]; do
|
||||||
elif [[ $1 = --enable-rpc-bigtable-ledger-storage ]]; then
|
elif [[ $1 = --enable-rpc-bigtable-ledger-storage ]]; then
|
||||||
args+=("$1")
|
args+=("$1")
|
||||||
shift
|
shift
|
||||||
elif [[ $1 = --tpu-use-quic ]]; then
|
elif [[ $1 = --tpu-disable-quic ]]; then
|
||||||
args+=("$1")
|
args+=("$1")
|
||||||
shift
|
shift
|
||||||
elif [[ $1 = --rpc-send-batch-ms ]]; then
|
elif [[ $1 = --rpc-send-batch-ms ]]; then
|
||||||
|
|
|
@ -1218,13 +1218,21 @@ pub fn main() {
|
||||||
Arg::with_name("tpu_use_quic")
|
Arg::with_name("tpu_use_quic")
|
||||||
.long("tpu-use-quic")
|
.long("tpu-use-quic")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
|
.hidden(true)
|
||||||
|
.conflicts_with("tpu_disable_quic")
|
||||||
.help("Use QUIC to send transactions."),
|
.help("Use QUIC to send transactions."),
|
||||||
)
|
)
|
||||||
|
.arg(
|
||||||
|
Arg::with_name("tpu_disable_quic")
|
||||||
|
.long("tpu-disable-quic")
|
||||||
|
.takes_value(false)
|
||||||
|
.help("Do not use QUIC to send transactions."),
|
||||||
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("disable_quic_servers")
|
Arg::with_name("disable_quic_servers")
|
||||||
.long("disable-quic-servers")
|
.long("disable-quic-servers")
|
||||||
.takes_value(false)
|
.takes_value(false)
|
||||||
.help("Disable QUIC TPU servers"),
|
.hidden(true)
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("enable_quic_servers")
|
Arg::with_name("enable_quic_servers")
|
||||||
|
@ -2394,8 +2402,7 @@ pub fn main() {
|
||||||
let restricted_repair_only_mode = matches.is_present("restricted_repair_only_mode");
|
let restricted_repair_only_mode = matches.is_present("restricted_repair_only_mode");
|
||||||
let accounts_shrink_optimize_total_space =
|
let accounts_shrink_optimize_total_space =
|
||||||
value_t_or_exit!(matches, "accounts_shrink_optimize_total_space", bool);
|
value_t_or_exit!(matches, "accounts_shrink_optimize_total_space", bool);
|
||||||
let tpu_use_quic = matches.is_present("tpu_use_quic");
|
let tpu_use_quic = !matches.is_present("tpu_disable_quic");
|
||||||
let enable_quic_servers = !matches.is_present("disable_quic_servers");
|
|
||||||
let tpu_connection_pool_size = value_t_or_exit!(matches, "tpu_connection_pool_size", usize);
|
let tpu_connection_pool_size = value_t_or_exit!(matches, "tpu_connection_pool_size", usize);
|
||||||
|
|
||||||
let shrink_ratio = value_t_or_exit!(matches, "accounts_shrink_ratio", f64);
|
let shrink_ratio = value_t_or_exit!(matches, "accounts_shrink_ratio", f64);
|
||||||
|
@ -2565,6 +2572,9 @@ pub fn main() {
|
||||||
if matches.is_present("enable_quic_servers") {
|
if matches.is_present("enable_quic_servers") {
|
||||||
warn!("--enable-quic-servers is now the default behavior. This flag is deprecated and can be removed from the launch args");
|
warn!("--enable-quic-servers is now the default behavior. This flag is deprecated and can be removed from the launch args");
|
||||||
}
|
}
|
||||||
|
if matches.is_present("disable_quic_servers") {
|
||||||
|
warn!("--disable-quic-servers is deprecated. The quic server cannot be disabled.");
|
||||||
|
}
|
||||||
|
|
||||||
let rpc_bigtable_config = if matches.is_present("enable_rpc_bigtable_ledger_storage")
|
let rpc_bigtable_config = if matches.is_present("enable_rpc_bigtable_ledger_storage")
|
||||||
|| matches.is_present("enable_bigtable_ledger_upload")
|
|| matches.is_present("enable_bigtable_ledger_upload")
|
||||||
|
@ -2749,7 +2759,6 @@ pub fn main() {
|
||||||
log_messages_bytes_limit: value_of(&matches, "log_messages_bytes_limit"),
|
log_messages_bytes_limit: value_of(&matches, "log_messages_bytes_limit"),
|
||||||
..RuntimeConfig::default()
|
..RuntimeConfig::default()
|
||||||
},
|
},
|
||||||
enable_quic_servers,
|
|
||||||
staked_nodes_overrides: staked_nodes_overrides.clone(),
|
staked_nodes_overrides: staked_nodes_overrides.clone(),
|
||||||
..ValidatorConfig::default()
|
..ValidatorConfig::default()
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue