Skip to content

Commit

Permalink
TransactionScheduler: SchedulerController (solana-labs#33825)
Browse files Browse the repository at this point in the history
  • Loading branch information
apfitzge authored Oct 27, 2023
1 parent 2a5ec4a commit ba112a0
Show file tree
Hide file tree
Showing 4 changed files with 637 additions and 1 deletion.
4 changes: 4 additions & 0 deletions core/src/banking_stage/immutable_deserialized_packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ impl ImmutableDeserializedPacket {
self.priority_details.compute_unit_limit
}

pub fn priority_details(&self) -> TransactionPriorityDetails {
self.priority_details.clone()
}

// This function deserializes packets into transactions, computes the blake3 hash of transaction
// messages, and verifies secp256k1 instructions.
pub fn build_sanitized_transaction(
Expand Down
2 changes: 2 additions & 0 deletions core/src/banking_stage/transaction_scheduler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ mod batch_id_generator;
mod in_flight_tracker;
#[allow(dead_code)]
mod prio_graph_scheduler;
#[allow(dead_code)]
mod scheduler_controller;
mod scheduler_error;
#[allow(dead_code)]
mod transaction_id_generator;
Loading

0 comments on commit ba112a0

Please sign in to comment.