Move BankForks to solana_runtime (#10637)

* Move BankForks to solana_runtime

* Update imports
This commit is contained in:
Greg Fitzgerald
2020-06-17 09:27:03 -06:00
committed by GitHub
parent 336339ac33
commit 6ee222363e
56 changed files with 450 additions and 130 deletions

View File

@@ -3,11 +3,8 @@ use crate::{
consensus::StakeLockout, pubkey_references::PubkeyReferences,
replay_stage::SUPERMINORITY_THRESHOLD,
};
use solana_ledger::{
bank_forks::BankForks,
blockstore_processor::{ConfirmationProgress, ConfirmationTiming},
};
use solana_runtime::bank::Bank;
use solana_ledger::blockstore_processor::{ConfirmationProgress, ConfirmationTiming};
use solana_runtime::{bank::Bank, bank_forks::BankForks};
use solana_sdk::{account::Account, clock::Slot, hash::Hash, pubkey::Pubkey};
use std::{
collections::{BTreeMap, HashMap, HashSet},