Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit ba112a0

Browse files
authored
TransactionScheduler: SchedulerController (#33825)
1 parent 2a5ec4a commit ba112a0

File tree

4 files changed

+637
-1
lines changed

4 files changed

+637
-1
lines changed

core/src/banking_stage/immutable_deserialized_packet.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ impl ImmutableDeserializedPacket {
9696
self.priority_details.compute_unit_limit
9797
}
9898

99+
pub fn priority_details(&self) -> TransactionPriorityDetails {
100+
self.priority_details.clone()
101+
}
102+
99103
// This function deserializes packets into transactions, computes the blake3 hash of transaction
100104
// messages, and verifies secp256k1 instructions.
101105
pub fn build_sanitized_transaction(

core/src/banking_stage/transaction_scheduler/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ mod batch_id_generator;
1212
mod in_flight_tracker;
1313
#[allow(dead_code)]
1414
mod prio_graph_scheduler;
15+
#[allow(dead_code)]
16+
mod scheduler_controller;
1517
mod scheduler_error;
1618
#[allow(dead_code)]
1719
mod transaction_id_generator;

0 commit comments

Comments
 (0)