Skip to content

Commit

Permalink
add max_age_slots to ConsumeWork
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge committed Apr 18, 2023
1 parent c238f5a commit 7031b1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/banking_stage/scheduler_messages.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use {
crate::immutable_deserialized_packet::ImmutableDeserializedPacket,
solana_sdk::transaction::SanitizedTransaction, std::sync::Arc,
solana_poh::poh_recorder::Slot, solana_sdk::transaction::SanitizedTransaction, std::sync::Arc,
};

/// A unique identifier for a transaction batch.
Expand Down Expand Up @@ -29,6 +29,7 @@ pub struct ConsumeWork {
pub batch_id: TransactionBatchId,
pub transaction_ids: Vec<TransactionId>,
pub transactions: Vec<SanitizedTransaction>,
pub max_age_slots: Vec<Slot>,
}

/// Message: [Scheduler -> Worker]
Expand Down

0 comments on commit 7031b1a

Please sign in to comment.