refactor: create type (#17818)
This commit is contained in:
parent
2a9b127029
commit
576e3d95f7
|
@ -765,11 +765,13 @@ struct RemoveUnrootedSlotsSynchronization {
|
||||||
signal: Condvar,
|
signal: Condvar,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type AccountInfoAccountsIndex = AccountsIndex<AccountInfo>;
|
||||||
|
|
||||||
// This structure handles the load/store of the accounts
|
// This structure handles the load/store of the accounts
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct AccountsDb {
|
pub struct AccountsDb {
|
||||||
/// Keeps tracks of index into AppendVec on a per slot basis
|
/// Keeps tracks of index into AppendVec on a per slot basis
|
||||||
pub accounts_index: AccountsIndex<AccountInfo>,
|
pub accounts_index: AccountInfoAccountsIndex,
|
||||||
|
|
||||||
pub storage: AccountStorage,
|
pub storage: AccountStorage,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue