Skip to content

Commit

Permalink
Loosen tip requirement [v1.18] (jito-foundation#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalu committed Oct 12, 2024
1 parent 93953a7 commit 254d96d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/src/tpu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,9 @@ impl Tpu {

let bundle_account_locker = BundleAccountLocker::default();

// tip accounts can't be used in BankingStage to avoid someone from stealing tips mid-slot.
// it also helps reduce surface area for potential account contention
// The tip program can't be used in BankingStage to avoid someone from stealing tips mid-slot.
let mut blacklisted_accounts = HashSet::new();
blacklisted_accounts.insert(tip_manager.tip_payment_config_pubkey());
blacklisted_accounts.extend(tip_manager.get_tip_accounts());
blacklisted_accounts.insert(tip_manager.tip_payment_program_id());
let banking_stage = BankingStage::new(
block_production_method,
cluster_info,
Expand Down

0 comments on commit 254d96d

Please sign in to comment.