Move Pubkey into its own module

This commit is contained in:
Greg Fitzgerald
2018-09-26 17:55:36 -06:00
parent c6d7cd2d33
commit b7ae5b712a
37 changed files with 99 additions and 70 deletions

View File

@@ -1,6 +1,6 @@
// Support erasure coding
use packet::{BlobRecycler, SharedBlob, BLOB_DATA_SIZE, BLOB_HEADER_SIZE};
use signature::Pubkey;
use pubkey::Pubkey;
use std::cmp;
use std::mem;
use std::result;
@@ -603,8 +603,9 @@ mod test {
use erasure;
use logger;
use packet::{BlobRecycler, BLOB_DATA_SIZE, BLOB_HEADER_SIZE, BLOB_SIZE};
use pubkey::Pubkey;
use rand::{thread_rng, Rng};
use signature::{Keypair, KeypairUtil, Pubkey};
use signature::{Keypair, KeypairUtil};
// use std::sync::{Arc, RwLock};
use window::{index_blobs, WindowSlot};