Remove ledger.rs

Split into entry.rs for entry-constructing functions and EntrySlice
trait and db_ledger.rs for ledger helper test functions.
This commit is contained in:
Stephen Akridge
2019-01-09 14:33:44 -08:00
committed by sakridge
parent ebd676faaa
commit 491bca5e4b
25 changed files with 458 additions and 485 deletions

View File

@@ -108,8 +108,9 @@ pub fn chacha_cbc_encrypt_file_many_keys(
mod tests {
use crate::chacha::chacha_cbc_encrypt_ledger;
use crate::chacha_cuda::chacha_cbc_encrypt_file_many_keys;
use crate::db_ledger::get_tmp_ledger_path;
use crate::db_ledger::{DbLedger, DEFAULT_SLOT_HEIGHT};
use crate::ledger::{get_tmp_ledger_path, make_tiny_test_entries};
use crate::entry::make_tiny_test_entries;
use crate::replicator::sample_file;
use solana_sdk::hash::Hash;
use std::fs::{remove_dir_all, remove_file};