Skip to content

Commit

Permalink
Loosen tip requirement [v2.0] (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
buffalu authored Oct 6, 2024
1 parent 03f1872 commit d35a9bd
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 @@ -297,11 +297,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 d35a9bd

Please sign in to comment.