diff --git a/core/src/consensus.rs b/core/src/consensus.rs index 44dc780b9f..68dcb9366f 100644 --- a/core/src/consensus.rs +++ b/core/src/consensus.rs @@ -118,10 +118,6 @@ impl Tower { } let vote_state = VoteState::from(&account); if vote_state.is_none() { - info!( - "vote state for bank: {}, validator: {} is none", - bank_slot, key - ); datapoint_warn!( "tower_warn", ( @@ -133,10 +129,6 @@ impl Tower { continue; } let mut vote_state = vote_state.unwrap(); - info!( - "Vote states for slot: {}, account: {}, vote_states {:#?}", - bank_slot, key, vote_state.votes - ); if key == self.epoch_stakes.delegate_pubkey || vote_state.node_pubkey == self.epoch_stakes.delegate_pubkey @@ -160,10 +152,6 @@ impl Tower { let start_root = vote_state.root_slot; vote_state.process_slot_vote_unchecked(bank_slot); - info!( - "After simultated vote, vote states for slot: {}, account: {}, vote_states {:#?}", - bank_slot, key, vote_state.votes - ); for vote in &vote_state.votes { Self::update_ancestor_lockouts(&mut stake_lockouts, &vote, ancestors); diff --git a/core/src/replay_stage.rs b/core/src/replay_stage.rs index 83893d77ca..87fdb0565a 100644 --- a/core/src/replay_stage.rs +++ b/core/src/replay_stage.rs @@ -340,7 +340,7 @@ impl ReplayStage { where T: 'static + KeypairUtil + Send + Sync, { - info!("voting on bank {}", bank.slot()); + trace!("handle votable bank {}", bank.slot()); if let Some(new_root) = tower.record_vote(bank.slot(), bank.hash()) { // get the root bank before squash let root_bank = bank_forks @@ -361,7 +361,7 @@ impl ReplayStage { leader_schedule_cache.set_root(rooted_banks.last().unwrap()); bank_forks.write().unwrap().set_root(new_root); Self::handle_new_root(&bank_forks, progress); - info!("new root {}", new_root); + trace!("new root {}", new_root); if let Err(e) = root_bank_sender.send(rooted_banks) { trace!("root_bank_sender failed: {:?}", e); Err(e)?; @@ -472,9 +472,6 @@ impl ReplayStage { .filter(|b| { let is_votable = b.is_votable(); trace!("bank is votable: {} {}", b.slot(), is_votable); - if !is_votable { - info!("bank is not votable: {}", b.slot()); - } is_votable }) .filter(|b| { @@ -506,9 +503,6 @@ impl ReplayStage { let vote_threshold = tower.check_vote_stake_threshold(b.slot(), &stake_lockouts); Self::confirm_forks(tower, stake_lockouts, progress, bank_forks); debug!("bank vote_threshold: {} {}", b.slot(), vote_threshold); - if !vote_threshold { - info!("bank failed threshold check: {}", b.slot()); - } vote_threshold }) .map(|(b, stake_lockouts)| (tower.calculate_weight(&stake_lockouts), b.clone()))