From 9beddd418375566e86d230c8bb49ef515601b012 Mon Sep 17 00:00:00 2001 From: buffalu <85544055+buffalu@users.noreply.github.com> Date: Thu, 22 Feb 2024 10:49:42 -0600 Subject: [PATCH] Update release URLs for jito-solana (#589) --- core/src/banking_stage.rs | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/core/src/banking_stage.rs b/core/src/banking_stage.rs index 48c6bcd043..622c5cfdee 100644 --- a/core/src/banking_stage.rs +++ b/core/src/banking_stage.rs @@ -122,19 +122,19 @@ impl BankingStageStats { .load(Ordering::Relaxed) as u64 + self.dropped_packets_count.load(Ordering::Relaxed) as u64 + self - .dropped_duplicated_packets_count - .load(Ordering::Relaxed) as u64 + .dropped_duplicated_packets_count + .load(Ordering::Relaxed) as u64 + self.dropped_forward_packets_count.load(Ordering::Relaxed) as u64 + self.newly_buffered_packets_count.load(Ordering::Relaxed) as u64 + self.current_buffered_packets_count.load(Ordering::Relaxed) as u64 + self.rebuffered_packets_count.load(Ordering::Relaxed) as u64 + self.consumed_buffered_packets_count.load(Ordering::Relaxed) as u64 + self - .consume_buffered_packets_elapsed - .load(Ordering::Relaxed) + .consume_buffered_packets_elapsed + .load(Ordering::Relaxed) + self - .receive_and_buffer_packets_elapsed - .load(Ordering::Relaxed) + .receive_and_buffer_packets_elapsed + .load(Ordering::Relaxed) + self.filter_pending_packets_elapsed.load(Ordering::Relaxed) + self.packet_conversion_elapsed.load(Ordering::Relaxed) + self.transaction_processing_elapsed.load(Ordering::Relaxed) @@ -1250,7 +1250,7 @@ mod tests { 20, start_hash, )) - .unwrap(); + .unwrap(); } // Send a bunch of votes and transfers @@ -1309,17 +1309,17 @@ mod tests { (tpu_packet_batches, tpu_vote_sender), (gossip_packet_batches, gossip_vote_sender), ] - .into_iter() - .map(|(packet_batches, sender)| { - Builder::new() - .spawn(move || { - sender - .send(BankingPacketBatch::new((packet_batches, None))) - .unwrap() - }) - .unwrap() - }) - .for_each(|handle| handle.join().unwrap()); + .into_iter() + .map(|(packet_batches, sender)| { + Builder::new() + .spawn(move || { + sender + .send(BankingPacketBatch::new((packet_batches, None))) + .unwrap() + }) + .unwrap() + }) + .for_each(|handle| handle.join().unwrap()); banking_stage.join().unwrap(); exit.store(true, Ordering::Relaxed);