solana/runtime
Yueh-Hsuan Chiang fce949009d
Add new_from_file() API to AccountsFile (#30687)
#### Problem
Accounts db currently use AppendVec::new_from_file() directly
to create a new AcountsFile instance from an existing file.
However, this method should be abstracted out to AccountsFile
so that an existing file can be opened correctly using the right format.

#### Summary of Changes
Add new_from_file() API to AccountsFile which will open an existing
file based on its accounts file format.

Currently, it only supports AppendVec.
2023-03-15 20:38:20 -07:00
..
benches Renames types to be consistent with verify_accounts_hash (#30674) 2023-03-10 20:02:14 -05:00
src Add new_from_file() API to AccountsFile (#30687) 2023-03-15 20:38:20 -07:00
store-tool getter functions for StoredAccountMeta (#30447) 2023-02-27 10:03:22 -08:00
tests Move bank tests to separate file (#29912) 2023-02-02 16:32:22 -08:00
.gitignore
Cargo.toml chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
build.rs