Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion core/src/forwarding_stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mod packet_container;
/// [`ForwardingClientOption`] enum represents the available client types for
/// TPU communication:
/// * [`ConnectionCacheClient`]: Uses a shared [`ConnectionCache`] to manage
/// connections.
/// connections.
/// * [`TpuClientNextClient`]: Relies on the `tpu-client-next` crate.
pub enum ForwardingClientOption<'a> {
ConnectionCache(Arc<ConnectionCache>),
Expand Down
6 changes: 3 additions & 3 deletions ledger/src/blockstore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1642,12 +1642,12 @@ impl Blockstore {
/// Arguments:
/// - `shred`: the shred to be inserted
/// - `shred_insertion_tracker`: collection of shred insertion tracking
/// data.
/// data.
/// - `is_trusted`: if false, this function will check whether the
/// input shred is duplicate.
/// input shred is duplicate.
/// - `handle_duplicate`: the function that handles duplication.
/// - `leader_schedule`: the leader schedule will be used to check
/// whether it is okay to insert the input shred.
/// whether it is okay to insert the input shred.
/// - `shred_source`: the source of the shred.
#[allow(clippy::too_many_arguments)]
fn check_insert_data_shred<'a>(
Expand Down
4 changes: 2 additions & 2 deletions rpc/src/rpc_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ pub struct JsonRpcServiceConfig<'a> {
/// [`ClientOption`] enum represents the available client types for TPU
/// communication:
/// * [`ConnectionCacheClient`]: Uses a shared [`ConnectionCache`] to manage
/// connections efficiently.
/// connections efficiently.
/// * [`TpuClientNextClient`]: Relies on the `tpu-client-next` crate and
/// requires a reference to a [`Keypair`].
/// requires a reference to a [`Keypair`].
pub enum ClientOption<'a> {
ConnectionCache(Arc<ConnectionCache>),
TpuClientNext(&'a Keypair, UdpSocket),
Expand Down
Loading