Rename Block to EntrySlice

This commit is contained in:
Stephen Akridge
2019-01-09 13:34:41 -08:00
committed by sakridge
parent 045c5e8556
commit ebd676faaa
11 changed files with 15 additions and 13 deletions

View File

@@ -6,7 +6,9 @@ extern crate test;
use rand::seq::SliceRandom;
use rand::{thread_rng, Rng};
use solana::db_ledger::DbLedger;
use solana::ledger::{get_tmp_ledger_path, make_large_test_entries, make_tiny_test_entries, Block};
use solana::ledger::{
get_tmp_ledger_path, make_large_test_entries, make_tiny_test_entries, EntrySlice,
};
use solana::packet::{Blob, BLOB_HEADER_SIZE};
use test::Bencher;

View File

@@ -3,7 +3,7 @@
extern crate test;
use solana::entry::reconstruct_entries_from_blobs;
use solana::ledger::{next_entries, Block};
use solana::ledger::{next_entries, EntrySlice};
use solana_sdk::hash::{hash, Hash};
use solana_sdk::signature::{Keypair, KeypairUtil};
use solana_sdk::system_transaction::SystemTransaction;