- move cost tracker into bank, so each bank has its own cost tracker; (#20527)

- move related modules to runtime
This commit is contained in:
Tao Zhu
2021-10-12 08:51:33 -05:00
committed by GitHub
parent a723de0e25
commit 005d6863fd
20 changed files with 60 additions and 39 deletions

View File

@@ -3,10 +3,9 @@
//! packing transactions into block; it also triggers persisting cost
//! table to blockstore.
use crate::cost_model::CostModel;
use solana_ledger::blockstore::Blockstore;
use solana_measure::measure::Measure;
use solana_runtime::bank::ExecuteTimings;
use solana_runtime::{bank::ExecuteTimings, cost_model::CostModel};
use solana_sdk::timing::timestamp;
use std::{
sync::{